1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-12-29 13:22:43 +00:00
plantuml/test/nonreg/graphml/component/GML0001_Test.java

40 lines
795 B
Java
Raw Normal View History

package nonreg.graphml.component;
import java.io.IOException;
import org.junit.jupiter.api.Test;
import nonreg.graphml.GraphmlTest;
/*
Test diagram MUST be put between triple quotes
"""
@startuml
component comp1
component comp2
@enduml
"""
Expected result MUST be put between triple brackets
{{{
<?xml version="1.0" encoding="UTF-8"?><graphml xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd">
<graph edgedefault="undirected">
<node id="comp1"/>
<node id="comp2"/>
</graph>
</graphml>
}}}
*/
public class GML0001_Test extends GraphmlTest {
@Test
void testSimple() throws IOException {
2022-08-29 16:52:23 +00:00
checkXmlAndDescription("(2 entities)");
}
}