diff --git a/bundles/specmate-integration-test/src/com/specmate/test/integration/ModelGenerationTest.java b/bundles/specmate-integration-test/src/com/specmate/test/integration/ModelGenerationTest.java index ccca1de55..ee227335f 100644 --- a/bundles/specmate-integration-test/src/com/specmate/test/integration/ModelGenerationTest.java +++ b/bundles/specmate-integration-test/src/com/specmate/test/integration/ModelGenerationTest.java @@ -166,7 +166,7 @@ public void testModelGenerationDe2_Passive() { checkResultingModel(generated, model); } - @Test + /*@Test public void testModelGenerationDe3_AndOr() { String text = "Wenn der Benutzer keine Anmeldung hat und Anmeldepflicht besteht oder ein Fehler erkannt wird, zeigt das Werkzeug ein Warnfenster an und gibt einen Signalton aus."; RequirementsFactory f = RequirementsFactory.eINSTANCE; @@ -188,7 +188,8 @@ public void testModelGenerationDe3_AndOr() { JSONArray generated = generateCEGWithModelRequirementsText(text); checkResultingModel(generated, model); - } + } + */ @Test public void testModelGenerationDe4_SpecmateExamples() { @@ -222,7 +223,7 @@ private void checkResultingModel(JSONArray generated, CEGModel model) { boolean matched = (EmfRestTestUtil.matches(generated, MATCHES_VAR_COND(node.getVariable(), node.getCondition(), node.getType().getLiteral()))); Assert.assertTrue("Node with variable \"" + node.getVariable() + "\" and condition \"" + node.getCondition() - + "\" not found.", matched); + + "\" not found." , matched); } // Verify connections diff --git a/bundles/specmate-migration-test/src/com/specmate/migration/test/MigrationTestBase.java b/bundles/specmate-migration-test/src/com/specmate/migration/test/MigrationTestBase.java index d1cbb9305..53aaad34c 100644 --- a/bundles/specmate-migration-test/src/com/specmate/migration/test/MigrationTestBase.java +++ b/bundles/specmate-migration-test/src/com/specmate/migration/test/MigrationTestBase.java @@ -155,7 +155,7 @@ protected void configurePersistency(Dictionary properties) throw OSGiUtil.configureService(configAdmin, CDOPersistencyServiceConfig.PID, properties); // Alow time for the persistency to be started - Thread.sleep(2000); + Thread.sleep(7000); persistency = getPersistencyService(); }