Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38 from jp-embedded/test375
Test375
- Loading branch information
Showing
5 changed files
with
66 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0"?> | ||
<!-- test that onentry handlers are executed in document order. event1 should be raised before event2 --> | ||
|
||
|
||
<scxml conf:datamodel="" version="1.0" xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance"> | ||
|
||
|
||
|
||
<state id="s0"> | ||
<onentry> | ||
<raise event="event1"/> | ||
</onentry> | ||
<onentry> | ||
<raise event="event2"/> | ||
</onentry> | ||
|
||
<transition event="event1" target="s1"/> | ||
<transition event="*" conf:targetfail=""/> | ||
|
||
</state> | ||
|
||
<state id="s1"> | ||
<transition event="event2" conf:targetpass=""/> | ||
<transition event="*" conf:targetfail=""/> | ||
</state> | ||
|
||
|
||
<conf:pass/> | ||
<conf:fail/> | ||
</scxml> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters