1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-09-29 15:29:04 +00:00
plantuml/test/nonreg/scxml/SCXML0001_Test.java

45 lines
721 B
Java
Raw Normal View History

2022-08-30 19:15:53 +00:00
package nonreg.scxml;
import java.io.IOException;
import org.junit.jupiter.api.Test;
/*
Test diagram MUST be put between triple quotes
"""
@startuml
state s1
state s2
[*] --> s1
s1 --> s2 : play
@enduml
"""
Expected result MUST be put between triple brackets
{{{
<?xml version="1.0" encoding="UTF-8"?><scxml xmlns="http://www.w3.org/2005/07/scxml" initial="start" version="1.0">
<state id="s1">
<transition event="play" target="s2"/>
</state>
<state id="s2"/>
<state id="start">
<transition target="s1"/>
</state>
</scxml>
}}}
*/
public class SCXML0001_Test extends ScXmlTest {
@Test
void testSimple() throws IOException {
checkXmlAndDescription("(3 entities)");
}
}