From 9660d3ced9652013328b2c6da7b70de2627c960e Mon Sep 17 00:00:00 2001 From: Arnaud Roques Date: Wed, 22 Feb 2023 20:44:05 +0100 Subject: [PATCH] Remove tests until XMI is ready --- test/nonreg/xmi/clazz/XMI0000_Test.java | 82 ------------------ test/nonreg/xmi/clazz/XMI0002_Test.java | 107 ------------------------ test/nonreg/xmi/clazz/XMI0003_Test.java | 100 ---------------------- 3 files changed, 289 deletions(-) delete mode 100644 test/nonreg/xmi/clazz/XMI0000_Test.java delete mode 100644 test/nonreg/xmi/clazz/XMI0002_Test.java delete mode 100644 test/nonreg/xmi/clazz/XMI0003_Test.java diff --git a/test/nonreg/xmi/clazz/XMI0000_Test.java b/test/nonreg/xmi/clazz/XMI0000_Test.java deleted file mode 100644 index 579049af0..000000000 --- a/test/nonreg/xmi/clazz/XMI0000_Test.java +++ /dev/null @@ -1,82 +0,0 @@ -package nonreg.xmi.clazz; - -import java.io.IOException; - -import org.junit.jupiter.api.Test; - -import nonreg.xmi.XmiTest; - -/* - - -https://forum.plantuml.net/12644/class-access-modifiers-not-in-xmi-export - -Test diagram MUST be put between triple quotes - -""" -@startuml --class foo{ - # field1 : type -} -@enduml -""" - -Expected result MUST be put between triple brackets - -{{{star - - - - PlantUML - 1.2023.2beta7 - - - - - - - - - - - - - - - - -}}}star - -{{{argo - - - - PlantUML - 1.2023.2beta7 - - - - - - - - - - - - - - - - -}}}argo - - */ -public class XMI0000_Test extends XmiTest { - - @Test - void testSimple() throws IOException { - checkXmlAndDescription("(1 entities)"); - } - -} diff --git a/test/nonreg/xmi/clazz/XMI0002_Test.java b/test/nonreg/xmi/clazz/XMI0002_Test.java deleted file mode 100644 index 700dfa9d1..000000000 --- a/test/nonreg/xmi/clazz/XMI0002_Test.java +++ /dev/null @@ -1,107 +0,0 @@ -package nonreg.xmi.clazz; - -import java.io.IOException; - -import org.junit.jupiter.api.Test; - -import nonreg.xmi.XmiTest; - -/* - - -https://forum.plantuml.net/12972/only-the-first-line-any-component-description-exported-file - - -Test diagram MUST be put between triple quotes - -""" -@startuml -class A { -} - -class B{ -} - -A -->B -@enduml -""" - -Expected result MUST be put between triple brackets - -{{{star - - - - PlantUML - 1.2023.2beta7 - - - - - - - - - - - - - - - - - - - - - - - - - - -}}}star - -{{{argo - - - - PlantUML - 1.2023.2beta7 - - - - - - - - - - - - - - - - - - - - - - - - - - -}}}argo - - */ -public class XMI0002_Test extends XmiTest { - - @Test - void testSimple() throws IOException { - checkXmlAndDescription("(2 entities)"); - } - -} diff --git a/test/nonreg/xmi/clazz/XMI0003_Test.java b/test/nonreg/xmi/clazz/XMI0003_Test.java deleted file mode 100644 index 635b0bf2d..000000000 --- a/test/nonreg/xmi/clazz/XMI0003_Test.java +++ /dev/null @@ -1,100 +0,0 @@ -package nonreg.xmi.clazz; - -import java.io.IOException; - -import org.junit.jupiter.api.Test; - -import nonreg.xmi.XmiTest; - -/* - - - - -Test diagram MUST be put between triple quotes - -""" -@startuml -class A { - {method}{abstract}{static} + method -} - -abstract class B{ -} - -static class C{ -} - -@enduml -""" - -Expected result MUST be put between triple brackets - -{{{star - - - - PlantUML - 1.2023.2beta7 - - - - - - - - - - - - - - - - - - - - - - -}}}star - -{{{argo - - - - PlantUML - 1.2023.2beta7 - - - - - - - - - - - - - - - - - - - - - -}}}argo - - */ -public class XMI0003_Test extends XmiTest { - - @Test - void testSimple() throws IOException { - checkXmlAndDescription("(3 entities)"); - } - -}