From c58dc8d9c4577881ff5521f7f8d3c0bcae1aa789 Mon Sep 17 00:00:00 2001 From: Antti Villberg Date: Wed, 11 Jul 2018 13:20:24 +0300 Subject: [PATCH] Added regression suite library for DB client gitlab #5 Change-Id: I142376af2f4e663622dd77b18ba51ae0cc9914f6 --- .../.classpath | 7 +++++ .../.project | 28 ++++++++++++++++++ .../META-INF/MANIFEST.MF | 10 +++++++ .../build.properties | 5 ++++ .../dbregressionsuite.pgraph | 15 ++++++++++ .../dbregressionsuite.sharedLibrary | Bin 0 -> 2563 bytes bundles/pom.xml | 1 + .../feature.xml | 28 ++++++++++++++++++ 8 files changed, 94 insertions(+) create mode 100644 bundles/org.simantics.db.regressionsuite.ontology/.classpath create mode 100644 bundles/org.simantics.db.regressionsuite.ontology/.project create mode 100644 bundles/org.simantics.db.regressionsuite.ontology/META-INF/MANIFEST.MF create mode 100644 bundles/org.simantics.db.regressionsuite.ontology/build.properties create mode 100644 bundles/org.simantics.db.regressionsuite.ontology/dbregressionsuite.pgraph create mode 100644 bundles/org.simantics.db.regressionsuite.ontology/dbregressionsuite.sharedLibrary 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 0000000000000000000000000000000000000000..d214e0ad0c9bc38f3f92abcfa4160b27fd32f9d6 GIT binary patch literal 2563 zcmbtWZExE)5O!S0mX#>)$=WV$IrU}9n%Z%;4nwd6OX6&Ekv4(lq#py?Vr&AkXpmGr z|DJu@pWN<9$x)C23orqMc+Wle!sC&Wrv_BA@QimQm6JlDFax8s*p&1}2b$_c9WxqN z0L-45QX;u>P%LNI+UXyf$(Tk>F^(fa!+S>6Fx9B))N*QGrimU1Y2<~YSZhwMcocP+ z?3Y5SnNe(iW?{@!NGChwLlR9$qp?Hwb{jvD#@_z>_xnG5PcA-^)6<}n&vw?6Oo>GH z*ojDDUBuungKT5PMVw1!-e`EpV$C&Yc7b_MMJMxQorLU$$3PYF9Ga$2snixi-?1yj zbZD1Q(vy*$Ia$H(Fv}y@i!{kwE9ZQKQD}tRS*I1-QX9!tut#hNMmAxSTKNl&lK)=8 ztf858gX0E_NB?sl=Xz11AiIF&(*eh&ztaciMVz`RlgEA2NhWV3A^`?=A-++r!>G=n z6-)qqIna8vU#|yzNMW;js(IXIeb^k_(IDZP{c`kU${CNxHI?ydLiXzy5!E+B4li5p z8nxYeVA}sY)*=#p?0*+SSC{V@0y>8(x7uM!D>Mda9-+BP&4~(wv@rpuRThjn=i@=*)fGxu)Ur?!y#kP@MsG{P~ zX$Jewaz4RLV&u0*#^oaf4tERym&1TbZsNQ%$Xt+^oJZEKWLmnbXDF)dw2OeDIe2WE zRHL#91J8UdJ?e|8ybbRy7HBcG%k62#DoHBVC<`^R{<9cT>iNaq+9>b*> zGU87!zWPxV`JOvfJm6yV2~{MxY;{gO*K>Q4!RI5}1G2wQe*O&Y!^~bDlCAA~lmik9 z&m}~{SB@N5PqoYeD&PY;Ii6g=KLziBZ%aJet=+aWvTWe=vYK)-*{44Fl}3s^fZEMb zF<(MF7s^#JMf+g5b2>@!Ug`*=4&0EA<~x+sKcTA#c^&k+3pHW5O2?mv(3M8*IB literal 0 HcmV?d00001 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"/> + + + + + + + + -- 2.45.2