From: Antti Villberg Date: Wed, 11 Jul 2018 10:20:24 +0000 (+0300) Subject: Added regression suite library for DB client X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=refs%2Fheads%2Fprivate%2Fthreads-testing;p=simantics%2Fplatform.git Added regression suite library for DB client gitlab #5 Change-Id: I142376af2f4e663622dd77b18ba51ae0cc9914f6 --- diff --git a/bundles/org.simantics.db.regressionsuite.ontology/.classpath b/bundles/org.simantics.db.regressionsuite.ontology/.classpath new file mode 100644 index 000000000..b862a296d --- /dev/null +++ b/bundles/org.simantics.db.regressionsuite.ontology/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/bundles/org.simantics.db.regressionsuite.ontology/.project b/bundles/org.simantics.db.regressionsuite.ontology/.project new file mode 100644 index 000000000..363e8dd3a --- /dev/null +++ b/bundles/org.simantics.db.regressionsuite.ontology/.project @@ -0,0 +1,28 @@ + + + org.simantics.db.regressionsuite.ontology + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + 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 index 000000000..abe14672b --- /dev/null +++ b/bundles/org.simantics.db.regressionsuite.ontology/META-INF/MANIFEST.MF @@ -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 index 000000000..ecdc7c302 --- /dev/null +++ b/bundles/org.simantics.db.regressionsuite.ontology/build.properties @@ -0,0 +1,5 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + graph.tg diff --git a/bundles/org.simantics.db.regressionsuite.ontology/dbregressionsuite.pgraph b/bundles/org.simantics.db.regressionsuite.ontology/dbregressionsuite.pgraph new file mode 100644 index 000000000..e0856af6d --- /dev/null +++ b/bundles/org.simantics.db.regressionsuite.ontology/dbregressionsuite.pgraph @@ -0,0 +1,15 @@ +L0 = +PlatformUI = +Tests = + +BASE = : 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 index 000000000..d214e0ad0 Binary files /dev/null and b/bundles/org.simantics.db.regressionsuite.ontology/dbregressionsuite.sharedLibrary differ diff --git a/bundles/pom.xml b/bundles/pom.xml index 88535ff46..4d3d2f58a 100644 --- a/bundles/pom.xml +++ b/bundles/pom.xml @@ -90,6 +90,7 @@ org.simantics.db.procore org.simantics.db.procore.server.environment org.simantics.db.procore.ui + org.simantics.db.regressionsuite.ontology org.simantics.db.server org.simantics.db.services org.simantics.db.testing diff --git a/features/org.simantics.db.client.feature/feature.xml b/features/org.simantics.db.client.feature/feature.xml index c7c3a7c01..831b84a3c 100644 --- a/features/org.simantics.db.client.feature/feature.xml +++ b/features/org.simantics.db.client.feature/feature.xml @@ -136,4 +136,32 @@ version="0.0.0" unpack="false"/> + + + + + + + +