]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Added regression suite library for DB client
authorAntti Villberg <antti.villberg@semantum.fi>
Wed, 11 Jul 2018 10:20:24 +0000 (13:20 +0300)
committerAntti Villberg <antti.villberg@semantum.fi>
Wed, 11 Jul 2018 10:21:43 +0000 (13:21 +0300)
gitlab #5

Change-Id: I142376af2f4e663622dd77b18ba51ae0cc9914f6

bundles/org.simantics.db.regressionsuite.ontology/.classpath [new file with mode: 0644]
bundles/org.simantics.db.regressionsuite.ontology/.project [new file with mode: 0644]
bundles/org.simantics.db.regressionsuite.ontology/META-INF/MANIFEST.MF [new file with mode: 0644]
bundles/org.simantics.db.regressionsuite.ontology/build.properties [new file with mode: 0644]
bundles/org.simantics.db.regressionsuite.ontology/dbregressionsuite.pgraph [new file with mode: 0644]
bundles/org.simantics.db.regressionsuite.ontology/dbregressionsuite.sharedLibrary [new file with mode: 0644]
bundles/pom.xml
features/org.simantics.db.client.feature/feature.xml

diff --git a/bundles/org.simantics.db.regressionsuite.ontology/.classpath b/bundles/org.simantics.db.regressionsuite.ontology/.classpath
new file mode 100644 (file)
index 0000000..b862a29
--- /dev/null
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<classpath>\r
+       <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>\r
+       <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>\r
+       <classpathentry kind="src" path="src"/>\r
+       <classpathentry kind="output" path="bin"/>\r
+</classpath>\r
diff --git a/bundles/org.simantics.db.regressionsuite.ontology/.project b/bundles/org.simantics.db.regressionsuite.ontology/.project
new file mode 100644 (file)
index 0000000..363e8dd
--- /dev/null
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<projectDescription>\r
+       <name>org.simantics.db.regressionsuite.ontology</name>\r
+       <comment></comment>\r
+       <projects>\r
+       </projects>\r
+       <buildSpec>\r
+               <buildCommand>\r
+                       <name>org.eclipse.jdt.core.javabuilder</name>\r
+                       <arguments>\r
+                       </arguments>\r
+               </buildCommand>\r
+               <buildCommand>\r
+                       <name>org.eclipse.pde.ManifestBuilder</name>\r
+                       <arguments>\r
+                       </arguments>\r
+               </buildCommand>\r
+               <buildCommand>\r
+                       <name>org.eclipse.pde.SchemaBuilder</name>\r
+                       <arguments>\r
+                       </arguments>\r
+               </buildCommand>\r
+       </buildSpec>\r
+       <natures>\r
+               <nature>org.eclipse.pde.PluginNature</nature>\r
+               <nature>org.eclipse.jdt.core.javanature</nature>\r
+       </natures>\r
+</projectDescription>\r
diff --git a/bundles/org.simantics.db.regressionsuite.ontology/META-INF/MANIFEST.MF b/bundles/org.simantics.db.regressionsuite.ontology/META-INF/MANIFEST.MF
new file mode 100644 (file)
index 0000000..abe1467
--- /dev/null
@@ -0,0 +1,10 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: DB Regression Test Suite
+Bundle-SymbolicName: org.simantics.db.regressionsuite.ontology
+Bundle-Version: 1.0.0.qualifier
+Bundle-Vendor: Semantum Oy
+Automatic-Module-Name: org.simantics.db.regressionsuite.ontology
+Bundle-RequiredExecutionEnvironment: JavaSE-1.8
+Require-Bundle: org.simantics.tests.modelled.ontology;bundle-version="1.0.0",
+ org.simantics.tests.modelled;bundle-version="1.0.0"
diff --git a/bundles/org.simantics.db.regressionsuite.ontology/build.properties b/bundles/org.simantics.db.regressionsuite.ontology/build.properties
new file mode 100644 (file)
index 0000000..ecdc7c3
--- /dev/null
@@ -0,0 +1,5 @@
+source.. = src/\r
+output.. = bin/\r
+bin.includes = META-INF/,\\r
+               .,\\r
+               graph.tg\r
diff --git a/bundles/org.simantics.db.regressionsuite.ontology/dbregressionsuite.pgraph b/bundles/org.simantics.db.regressionsuite.ontology/dbregressionsuite.pgraph
new file mode 100644 (file)
index 0000000..e0856af
--- /dev/null
@@ -0,0 +1,15 @@
+L0 = <http://www.simantics.org/Layer0-1.1>
+PlatformUI = <http://www.simantics.org/PlatformUI-1.0>
+Tests = <http://www.simantics.org/Tests-1.0>
+
+BASE = <http://SimanticsDBRegressionSuite@A> : PlatformUI.SharedOntology
+  @L0.new
+BASE.ReadGraph : Tests.STSSuite
+BASE.ReadGraph.getResource_1 : Tests.STSTest
+  Tests.STSTest.definition "fa75cf518d69af84d7b15657d447ed4ef8530e126604aac26eb51407d96b4a78" // "> import \"Simantics/All\"\r\n> import \"Junit/Assert\" as ASSERT\r\n> rootURI = \"http://Simantics..
+BASE.SCLMain : L0.SCLModule
+  L0.SCLModule.definition "6542249f67ffe91ca387bb977f7876173e5889d5f6fe501f1cf591df276368f1" // "include \"Simantics/All\"\r\ninclude \"http://SimanticsDBRegressionSuite@A\" as SUITE\r\n\r\ncreate..
+BASE.TestData : L0.Library
+BASE.TestData.a : L0.Library
+BASE.TestData.b : L0.Library
+a.b : L0.Library
diff --git a/bundles/org.simantics.db.regressionsuite.ontology/dbregressionsuite.sharedLibrary b/bundles/org.simantics.db.regressionsuite.ontology/dbregressionsuite.sharedLibrary
new file mode 100644 (file)
index 0000000..d214e0a
Binary files /dev/null and b/bundles/org.simantics.db.regressionsuite.ontology/dbregressionsuite.sharedLibrary differ
index 88535ff46103c6d8dc6905083321a5e4221550c1..4d3d2f58afaef9a350a5eff766d200cb76e6789b 100644 (file)
@@ -90,6 +90,7 @@
                <module>org.simantics.db.procore</module>
                <module>org.simantics.db.procore.server.environment</module>
                <module>org.simantics.db.procore.ui</module>
+               <module>org.simantics.db.regressionsuite.ontology</module>
                <module>org.simantics.db.server</module>
                <module>org.simantics.db.services</module>
                <module>org.simantics.db.testing</module>
index c7c3a7c01d7ac3a7866e3e9d56750e08eea95668..831b84a3cc9472c5a2a18fdafb272b7669ad2005 100644 (file)
          version="0.0.0"
          unpack="false"/>
 
+   <plugin
+         id="org.simantics.db.regressionsuite.ontology"
+         download-size="0"
+         install-size="0"
+         version="0.0.0"
+         unpack="false"/>
+
+   <plugin
+         id="org.simantics.tests.modelled"
+         download-size="0"
+         install-size="0"
+         version="0.0.0"
+         unpack="false"/>
+
+   <plugin
+         id="org.simantics.tests.modelled.ontology"
+         download-size="0"
+         install-size="0"
+         version="0.0.0"
+         unpack="false"/>
+
+   <plugin
+         id="org.simantics.db.testing"
+         download-size="0"
+         install-size="0"
+         version="0.0.0"
+         unpack="false"/>
+
 </feature>