]> gerrit.simantics Code Review - simantics/platform.git/commit
Enhancements to modelled tests 99/599/2
authorjsimomaa <jani.simomaa@gmail.com>
Mon, 5 Jun 2017 12:14:49 +0000 (15:14 +0300)
committerJani Simomaa <jani.simomaa@semantum.fi>
Mon, 5 Jun 2017 17:53:48 +0000 (20:53 +0300)
commit4789a20d317a245e03096df441baba1ab338c1f0
tree0f8590c810939bd223a18657880b59ce88408f00
parent1cc487c3f6cf4b46b1fdd727183a9483e3bc05bb
Enhancements to modelled tests

* Single test has now an isolated and own SCL CommandSession
* Tests can depend on one another and the SCL variables are available
for the depenent tests
* Added support for declaring SCL variables under the test definition
(suitable e.g. for large literals for comparison)

refs #7277

Change-Id: I5089bca479f681b42ee955851ab50ce24a3158a3
15 files changed:
bundles/org.simantics.tests.modelled.ontology/graph/Tests.pgraph
bundles/org.simantics.tests.modelled.ui.ontology/graph/TestsUI.pgraph
bundles/org.simantics.tests.modelled.ui/scl/Simantics/TestsUI.scl
bundles/org.simantics.tests.modelled.ui/src/org/simantics/tests/modelled/ui/STSCounterPanel.java
bundles/org.simantics.tests.modelled.ui/src/org/simantics/tests/modelled/ui/STSTestEditor.java
bundles/org.simantics.tests.modelled.ui/src/org/simantics/tests/modelled/ui/STSTestRunnerView.java
bundles/org.simantics.tests.modelled.ui/src/org/simantics/tests/modelled/ui/STSTestSuiteModel.java
bundles/org.simantics.tests.modelled/scl/Simantics/Tests.scl
bundles/org.simantics.tests.modelled/src/org/simantics/tests/modelled/TestsGraphUtils.java
bundles/org.simantics.tests.modelled/src/org/simantics/tests/modelled/junit/v2/ModelledSTSRunner.java
bundles/org.simantics.tests.modelled/src/org/simantics/tests/modelled/junit/v2/ModelledSTSSuiteRunner.java
bundles/org.simantics.tests.modelled/src/org/simantics/tests/modelled/junit/v2/ModelledSTSTestRunner.java
bundles/org.simantics.tests.modelled/src/org/simantics/tests/modelled/utils/ModelledSTSSuite.java
bundles/org.simantics.tests.modelled/src/org/simantics/tests/modelled/utils/ModelledSTSTest.java
bundles/org.simantics.tests.modelled/src/org/simantics/tests/modelled/utils/STSSuiteTestCollector.java