commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1580369 [5/5] - in /commons/proper/scxml/trunk/src: main/java/org/apache/commons/scxml2/ main/java/org/apache/commons/scxml2/env/ main/java/org/apache/commons/scxml2/env/groovy/ main/java/org/apache/commons/scxml2/env/jexl/ main/java/org/a...
Date Sat, 22 Mar 2014 23:34:23 GMT
Modified: commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/model/DatamodelTest.java
URL: http://svn.apache.org/viewvc/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/model/DatamodelTest.java?rev=1580369&r1=1580368&r2=1580369&view=diff
==============================================================================
--- commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/model/DatamodelTest.java
(original)
+++ commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/model/DatamodelTest.java
Sat Mar 22 23:34:20 2014
@@ -94,7 +94,7 @@ public class DatamodelTest {
         exec01 = SCXMLTestHelper.getExecutor(datamodel04jexl,
             new JexlContext(), new JexlEvaluator());
         Assert.assertNotNull(exec01);
-        Set<TransitionTarget> currentStates = exec01.getCurrentStatus().getStates();
+        Set<EnterableState> currentStates = exec01.getCurrentStatus().getStates();
         Assert.assertEquals(1, currentStates.size());
         Assert.assertEquals("ten", currentStates.iterator().next().getId());
         Map<String, Object> payload = new HashMap<String, Object>();
@@ -121,7 +121,7 @@ public class DatamodelTest {
     private void runtest() throws Exception {
         //// Interleaved
         // exec01
-        Set<TransitionTarget> currentStates = exec01.getCurrentStatus().getStates();
+        Set<EnterableState> currentStates = exec01.getCurrentStatus().getStates();
         Assert.assertEquals(1, currentStates.size());
         Assert.assertEquals("ten", currentStates.iterator().next().getId());
         exec01 = SCXMLTestHelper.testExecutorSerializability(exec01);
@@ -154,7 +154,7 @@ public class DatamodelTest {
         Assert.assertEquals("forty", currentStates.iterator().next().getId());
     }
 
-    private Set<TransitionTarget> fireEvent(String name, SCXMLExecutor exec) throws
Exception {
+    private Set<EnterableState> fireEvent(String name, SCXMLExecutor exec) throws Exception
{
         TriggerEvent[] evts = {new TriggerEvent(name,
                 TriggerEvent.SIGNAL_EVENT, null)};
         exec.triggerEvents(evts);

Modified: commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/model/HistoryTest.java
URL: http://svn.apache.org/viewvc/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/model/HistoryTest.java?rev=1580369&r1=1580368&r2=1580369&view=diff
==============================================================================
--- commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/model/HistoryTest.java
(original)
+++ commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/model/HistoryTest.java
Sat Mar 22 23:34:20 2014
@@ -91,7 +91,7 @@ public class HistoryTest {
     @Test
     public void testHistoryDefaults01() throws Exception {
         exec = SCXMLTestHelper.getExecutor(defaults01);
-        Set<TransitionTarget> currentStates = exec.getCurrentStatus().getStates();
+        Set<EnterableState> currentStates = exec.getCurrentStatus().getStates();
         Assert.assertEquals(1, currentStates.size());
         Assert.assertEquals("state11", currentStates.iterator().next().getId());
         currentStates = SCXMLTestHelper.fireEvent(exec, "state.next");
@@ -105,7 +105,7 @@ public class HistoryTest {
     @Test
     public void testHistoryParallel01() throws Exception {
         exec = SCXMLTestHelper.getExecutor(parallel01);
-        Set<TransitionTarget> currentStates = exec.getCurrentStatus().getStates();
+        Set<EnterableState> currentStates = exec.getCurrentStatus().getStates();
         Assert.assertEquals(1, currentStates.size());
         SCXMLTestHelper.assertState(exec, "off_call");
         SCXMLTestHelper.assertPostTriggerStates(exec, "dial", new String[] { "talking", "on_call"
});
@@ -120,7 +120,7 @@ public class HistoryTest {
     }
 
     private void runHistoryFlow() throws Exception {
-        Set<TransitionTarget> currentStates = exec.getCurrentStatus().getStates();
+        Set<EnterableState> currentStates = exec.getCurrentStatus().getStates();
         Assert.assertEquals(1, currentStates.size());
         Assert.assertEquals("phase1", currentStates.iterator().next().getId());
         Assert.assertEquals("phase1", pauseAndResume());
@@ -133,25 +133,24 @@ public class HistoryTest {
         exec.reset();
         currentStates = exec.getCurrentStatus().getStates();
         Assert.assertEquals(1, currentStates.size());
-        Assert.assertEquals("phase1", ((State)currentStates.iterator().
-            next()).getId());
+        Assert.assertEquals("phase1", currentStates.iterator().next().getId());
     }
 
     private String pauseAndResume() throws Exception {
-        Set<TransitionTarget> currentStates = SCXMLTestHelper.fireEvent(exec, "flow.pause");
+        Set<EnterableState> currentStates = SCXMLTestHelper.fireEvent(exec, "flow.pause");
         Assert.assertEquals(1, currentStates.size());
         Assert.assertEquals("interrupted", currentStates.iterator().next().getId());
         exec = SCXMLTestHelper.testExecutorSerializability(exec);
         currentStates = SCXMLTestHelper.fireEvent(exec, "flow.resume");
         Assert.assertEquals(1, currentStates.size());
         exec = SCXMLTestHelper.testExecutorSerializability(exec);
-        return ((State)currentStates.iterator().next()).getId();
+        return currentStates.iterator().next().getId();
     }
 
     private String nextPhase() throws Exception {
-        Set<TransitionTarget> currentStates = SCXMLTestHelper.fireEvent(exec, "phase.done");
+        Set<EnterableState> currentStates = SCXMLTestHelper.fireEvent(exec, "phase.done");
         Assert.assertEquals(1, currentStates.size());
-        return ((State)currentStates.iterator().next()).getId();
+        return currentStates.iterator().next().getId();
     }
 
 }

Modified: commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/model/ScriptTest.java
URL: http://svn.apache.org/viewvc/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/model/ScriptTest.java?rev=1580369&r1=1580368&r2=1580369&view=diff
==============================================================================
--- commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/model/ScriptTest.java
(original)
+++ commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/model/ScriptTest.java
Sat Mar 22 23:34:20 2014
@@ -56,7 +56,7 @@ public class ScriptTest {
     @Test
     public void testJexlScriptExecution() throws Exception {
         SCXMLExecutor exec = SCXMLTestHelper.getExecutor(script01jexl);
-        Set<TransitionTarget> currentStates = exec.getCurrentStatus().getStates();
+        Set<EnterableState> currentStates = exec.getCurrentStatus().getStates();
         Assert.assertEquals(1, currentStates.size());
         Assert.assertEquals("end", currentStates.iterator().next().getId());
     }
@@ -64,7 +64,7 @@ public class ScriptTest {
     @Test
     public void testJavaScriptExecution() throws Exception {
         SCXMLExecutor exec = SCXMLTestHelper.getExecutor(script01js, new JSEvaluator());
-        Set<TransitionTarget> currentStates = exec.getCurrentStatus().getStates();
+        Set<EnterableState> currentStates = exec.getCurrentStatus().getStates();
         Assert.assertEquals(1, currentStates.size());
         Assert.assertEquals("end", currentStates.iterator().next().getId());
     }

Modified: commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/model/StatelessModelTest.java
URL: http://svn.apache.org/viewvc/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/model/StatelessModelTest.java?rev=1580369&r1=1580368&r2=1580369&view=diff
==============================================================================
--- commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/model/StatelessModelTest.java
(original)
+++ commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/model/StatelessModelTest.java
Sat Mar 22 23:34:20 2014
@@ -31,7 +31,7 @@ import org.junit.Test;
 /**
  * Unit tests {@link org.apache.commons.scxml2.SCXMLExecutor}.
  */
-public class StatelessModelTest {
+public class    StatelessModelTest {
 
     // Test data
     private URL stateless01jexl, stateless01par;
@@ -98,7 +98,7 @@ public class StatelessModelTest {
         Assert.assertNotNull(exec02);
         Assert.assertFalse(exec01 == exec02);
 
-        Set<TransitionTarget> currentStates = exec01.getCurrentStatus().getStates();
+        Set<EnterableState> currentStates = exec01.getCurrentStatus().getStates();
         checkParallelStates(currentStates, "state1.init", "state2.init", "exec01");
 
         currentStates = exec02.getCurrentStatus().getStates();
@@ -126,7 +126,7 @@ public class StatelessModelTest {
         Assert.assertNotNull(exec01);
         Assert.assertTrue(scxml01par != scxml02par);
 
-        Set<TransitionTarget> currentStates = exec01.getCurrentStatus().getStates();
+        Set<EnterableState> currentStates = exec01.getCurrentStatus().getStates();
         checkParallelStates(currentStates, "state1.init", "state2.init", "exec01");
 
         currentStates = fireEvent("state1.event", exec01);
@@ -138,9 +138,9 @@ public class StatelessModelTest {
         checkParallelStates(currentStates, "next", null, "exec01");
     }
 
-    private void checkParallelStates(Set<TransitionTarget> currentStates,
+    private void checkParallelStates(Set<EnterableState> currentStates,
             String s1, String s2, String label) {
-        Iterator<TransitionTarget> i = currentStates.iterator();
+        Iterator<EnterableState> i = currentStates.iterator();
         Assert.assertTrue("Not enough states", i.hasNext());
         String cs1 = i.next().getId();
         String cs2;
@@ -170,7 +170,7 @@ public class StatelessModelTest {
     private void runSimultaneousTest() throws Exception {
         //// Interleaved
         // exec01
-        Set<TransitionTarget> currentStates = exec01.getCurrentStatus().getStates();
+        Set<EnterableState> currentStates = exec01.getCurrentStatus().getStates();
         Assert.assertEquals(1, currentStates.size());
         Assert.assertEquals("ten", currentStates.iterator().next().getId());
         currentStates = fireEvent("ten.done", exec01);
@@ -194,7 +194,7 @@ public class StatelessModelTest {
     }
 
     private void runSequentialTest() throws Exception {
-        Set<TransitionTarget> currentStates = exec01.getCurrentStatus().getStates();
+        Set<EnterableState> currentStates = exec01.getCurrentStatus().getStates();
         Assert.assertEquals(1, currentStates.size());
         Assert.assertEquals("ten", (currentStates.iterator().
             next()).getId());
@@ -208,9 +208,8 @@ public class StatelessModelTest {
             next()).getId());
     }
 
-    private Set<TransitionTarget> fireEvent(String name, SCXMLExecutor exec) throws
Exception {
-        TriggerEvent[] evts = {new TriggerEvent(name,
-                TriggerEvent.SIGNAL_EVENT, null)};
+    private Set<EnterableState> fireEvent(String name, SCXMLExecutor exec) throws Exception
{
+        TriggerEvent[] evts = {new TriggerEvent(name, TriggerEvent.SIGNAL_EVENT, null)};
         exec.triggerEvents(evts);
         return exec.getCurrentStatus().getStates();
     }

Modified: commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/model/actions-state-test.xml
URL: http://svn.apache.org/viewvc/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/model/actions-state-test.xml?rev=1580369&r1=1580368&r2=1580369&view=diff
==============================================================================
--- commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/model/actions-state-test.xml
(original)
+++ commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/model/actions-state-test.xml
Sat Mar 22 23:34:20 2014
@@ -20,7 +20,7 @@
        version="1.0"
        initial="actionsTest">
   
-  <state id="actionsTest" final="true">
+  <state id="actionsTest">
     <onentry>
       <cs:var name="foo"/>
       <cs:var name="delta" expr="1+2+3" />

Modified: commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/model/assign-test-01.xml
URL: http://svn.apache.org/viewvc/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/model/assign-test-01.xml?rev=1580369&r1=1580368&r2=1580369&view=diff
==============================================================================
--- commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/model/assign-test-01.xml
(original)
+++ commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/model/assign-test-01.xml
Sat Mar 22 23:34:20 2014
@@ -65,6 +65,6 @@
 
   </state>
 
-  <state id="assign3" final="true"/>
+  <final id="assign3"/>
 
 </scxml>

Modified: commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/model/assign-test-02.xml
URL: http://svn.apache.org/viewvc/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/model/assign-test-02.xml?rev=1580369&r1=1580368&r2=1580369&view=diff
==============================================================================
--- commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/model/assign-test-02.xml
(original)
+++ commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/model/assign-test-02.xml
Sat Mar 22 23:34:20 2014
@@ -32,7 +32,7 @@
        </data>
    </datamodel>
    <!-- verify the destination contents -->
-   <state id="assign1" final="true">
+   <state id="assign1">
        <transition cond="Data(destination,'rad:bar/rad:a') eq 3 and Data(destination,'rad:bar/rad:b')
eq 4" target="assign2" />
    </state>
    <!-- copy the new contents and verify -->
@@ -42,5 +42,5 @@
        </onentry>
        <transition cond="Data(destination,'rad:bar/rad:a') eq 1 and Data(destination,'rad:bar/rad:b')
eq 2" target="assign3" />
    </state>
-   <state id="assign3" final="true" />
+   <final id="assign3"/>
 </scxml>

Modified: commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/model/parallel-01.xml
URL: http://svn.apache.org/viewvc/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/model/parallel-01.xml?rev=1580369&r1=1580368&r2=1580369&view=diff
==============================================================================
--- commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/model/parallel-01.xml
(original)
+++ commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/model/parallel-01.xml
Sat Mar 22 23:34:20 2014
@@ -61,7 +61,7 @@
 
     </parallel>
 
-    <state id="end" final="true" />
+    <final id="end"/>
 
 </scxml>
 

Modified: commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/model/parallel-03.xml
URL: http://svn.apache.org/viewvc/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/model/parallel-03.xml?rev=1580369&r1=1580368&r2=1580369&view=diff
==============================================================================
--- commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/model/parallel-03.xml
(original)
+++ commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/model/parallel-03.xml
Sat Mar 22 23:34:20 2014
@@ -109,7 +109,7 @@
 
     </parallel>
 
-    <state id="end" final="true" />
+    <final id="end"/>
 
 </scxml>
 

Modified: commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/model/stateless-parallel-01.xml
URL: http://svn.apache.org/viewvc/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/model/stateless-parallel-01.xml?rev=1580369&r1=1580368&r2=1580369&view=diff
==============================================================================
--- commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/model/stateless-parallel-01.xml
(original)
+++ commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/model/stateless-parallel-01.xml
Sat Mar 22 23:34:20 2014
@@ -28,7 +28,7 @@
             <state id="state1.init">
                 <transition event="state1.event" target="state1.final" />
             </state>
-            <state id="state1.final" final="true" />
+            <final id="state1.final"/>
         </state>
 
         <state id="state2">
@@ -38,13 +38,13 @@
             <state id="state2.init">
                 <transition event="state2.event" target="state2.final" />
             </state>
-            <state id="state2.final" final="true" />
+            <final id="state2.final"/>
         </state>
 
         <transition event="main.done" target="next" />
 
     </parallel>
 
-    <state id="next" final="true"/>
+    <final id="next"/>
 
 </scxml>

Modified: commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/prefix-01.xml
URL: http://svn.apache.org/viewvc/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/prefix-01.xml?rev=1580369&r1=1580368&r2=1580369&view=diff
==============================================================================
--- commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/prefix-01.xml (original)
+++ commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/prefix-01.xml Sat Mar
22 23:34:20 2014
@@ -23,7 +23,7 @@
         <scxml:transition event="ten.done" target="twenty"/>
     </scxml:state>
 
-    <scxml:state id="twenty" final="true" />
+    <scxml:final id="twenty"/>
 
 </scxml:scxml>
 

Modified: commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/send-01.xml
URL: http://svn.apache.org/viewvc/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/send-01.xml?rev=1580369&r1=1580368&r2=1580369&view=diff
==============================================================================
--- commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/send-01.xml (original)
+++ commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/send-01.xml Sat Mar
22 23:34:20 2014
@@ -42,7 +42,7 @@
         </transition>
     </state>
 
-    <state id="twenty" final="true" />
+    <final id="twenty"/>
 
 </scxml>
 

Modified: commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/send-02.xml
URL: http://svn.apache.org/viewvc/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/send-02.xml?rev=1580369&r1=1580368&r2=1580369&view=diff
==============================================================================
--- commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/send-02.xml (original)
+++ commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/send-02.xml Sat Mar
22 23:34:20 2014
@@ -82,9 +82,9 @@
 
     </state>
 
-    <state id="eighty" final="true" />
+    <final id="eighty"/>
 
-    <state id="ninety" final="true" />
+    <final id="ninety"/>
 
 </scxml>
 

Modified: commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/tie-breaker-01.xml
URL: http://svn.apache.org/viewvc/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/tie-breaker-01.xml?rev=1580369&r1=1580368&r2=1580369&view=diff
==============================================================================
--- commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/tie-breaker-01.xml
(original)
+++ commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/tie-breaker-01.xml
Sat Mar 22 23:34:20 2014
@@ -28,9 +28,9 @@
         <transition event="ten.done" target="thirty" />
     </state>
 
-    <state id="twenty" final="true" />
+    <final id="twenty"/>
 
-    <state id="thirty" final="true" />
+    <final id="thirty"/>
 
 </scxml>
 

Modified: commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/tie-breaker-02.xml
URL: http://svn.apache.org/viewvc/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/tie-breaker-02.xml?rev=1580369&r1=1580368&r2=1580369&view=diff
==============================================================================
--- commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/tie-breaker-02.xml
(original)
+++ commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/tie-breaker-02.xml
Sat Mar 22 23:34:20 2014
@@ -37,9 +37,9 @@
 
     </state>
 
-    <state id="twenty" final="true" />
+    <final id="twenty"/>
 
-    <state id="thirty" final="true" />
+    <final id="thirty"/>
 
 </scxml>
 

Modified: commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/tie-breaker-03.xml
URL: http://svn.apache.org/viewvc/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/tie-breaker-03.xml?rev=1580369&r1=1580368&r2=1580369&view=diff
==============================================================================
--- commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/tie-breaker-03.xml
(original)
+++ commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/tie-breaker-03.xml
Sat Mar 22 23:34:20 2014
@@ -44,13 +44,13 @@
 
     </state>
 
-    <state id="twenty" final="true" />
+    <final id="twenty"/>
 
-    <state id="thirty" final="true" />
+    <final id="thirty"/>
 
-    <state id="forty" final="true" />
+    <final id="forty"/>
 
-    <state id="fifty" final="true" />
+    <final id="fifty"/>
 
 </scxml>
 

Modified: commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/tie-breaker-04.xml
URL: http://svn.apache.org/viewvc/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/tie-breaker-04.xml?rev=1580369&r1=1580368&r2=1580369&view=diff
==============================================================================
--- commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/tie-breaker-04.xml
(original)
+++ commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/tie-breaker-04.xml
Sat Mar 22 23:34:20 2014
@@ -32,5 +32,5 @@
         </state> 
     </state> 
      
-    <state id="s2" final="true" /> 
+    <final id="s2"/>
 </scxml> 

Modified: commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/transitions-01.xml
URL: http://svn.apache.org/viewvc/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/transitions-01.xml?rev=1580369&r1=1580368&r2=1580369&view=diff
==============================================================================
--- commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/transitions-01.xml
(original)
+++ commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/transitions-01.xml
Sat Mar 22 23:34:20 2014
@@ -130,7 +130,7 @@
     </parallel>
 
     <!-- Declare victory -->
-    <state id="forty" final="true" />
+    <final id="forty"/>
 
 </scxml>
 

Modified: commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/transitions-02.xml
URL: http://svn.apache.org/viewvc/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/transitions-02.xml?rev=1580369&r1=1580368&r2=1580369&view=diff
==============================================================================
--- commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/transitions-02.xml
(original)
+++ commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/transitions-02.xml
Sat Mar 22 23:34:20 2014
@@ -47,7 +47,7 @@
 
     </state>
 
-    <state id="twenty" final="true" />
+    <final id="twenty"/>
 
 </scxml>
 

Modified: commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/transitions-03.xml
URL: http://svn.apache.org/viewvc/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/transitions-03.xml?rev=1580369&r1=1580368&r2=1580369&view=diff
==============================================================================
--- commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/transitions-03.xml
(original)
+++ commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/transitions-03.xml
Sat Mar 22 23:34:20 2014
@@ -82,7 +82,7 @@
 
     </parallel>
 
-    <state id="thirty" final="true" />
+    <final id="thirty"/>
 
 </scxml>
 

Modified: commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/transitions-04.xml
URL: http://svn.apache.org/viewvc/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/transitions-04.xml?rev=1580369&r1=1580368&r2=1580369&view=diff
==============================================================================
--- commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/transitions-04.xml
(original)
+++ commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/transitions-04.xml
Sat Mar 22 23:34:20 2014
@@ -84,7 +84,7 @@
 
     </parallel>
 
-    <state id="thirty" final="true" />
+    <final id="thirty"/>
 
 </scxml>
 

Modified: commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/transitions-05.xml
URL: http://svn.apache.org/viewvc/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/transitions-05.xml?rev=1580369&r1=1580368&r2=1580369&view=diff
==============================================================================
--- commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/transitions-05.xml
(original)
+++ commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml2/transitions-05.xml
Sat Mar 22 23:34:20 2014
@@ -64,7 +64,7 @@
 
     </parallel>
 
-    <state id="end" final="true" />
+    <final id="end"/>
 
 </scxml>
 



Mime
View raw message