Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Schuetz2010-12-22 00:01:56 +0000
committerThomas Schuetz2010-12-22 00:01:56 +0000
commitb1c0f323423984fc5bf8cdbaa1df14cea7e2b62e (patch)
tree5bc92e442e30fd7e5447e4f55ddedf8475e4aab1 /tests/org.eclipse.etrice.integration.tests/src/org/eclipse/etrice/integration/tests
parent1f25cff04ca110ab6659a2bb3f4b516a23e8e060 (diff)
downloadorg.eclipse.etrice-b1c0f323423984fc5bf8cdbaa1df14cea7e2b62e.tar.gz
org.eclipse.etrice-b1c0f323423984fc5bf8cdbaa1df14cea7e2b62e.tar.xz
org.eclipse.etrice-b1c0f323423984fc5bf8cdbaa1df14cea7e2b62e.zip
integration.tests : repaired HFSM integration test
Diffstat (limited to 'tests/org.eclipse.etrice.integration.tests/src/org/eclipse/etrice/integration/tests')
-rw-r--r--tests/org.eclipse.etrice.integration.tests/src/org/eclipse/etrice/integration/tests/IntegrationTestFSMGenerator.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/org.eclipse.etrice.integration.tests/src/org/eclipse/etrice/integration/tests/IntegrationTestFSMGenerator.java b/tests/org.eclipse.etrice.integration.tests/src/org/eclipse/etrice/integration/tests/IntegrationTestFSMGenerator.java
index 22b378d3e..1a41a0c41 100644
--- a/tests/org.eclipse.etrice.integration.tests/src/org/eclipse/etrice/integration/tests/IntegrationTestFSMGenerator.java
+++ b/tests/org.eclipse.etrice.integration.tests/src/org/eclipse/etrice/integration/tests/IntegrationTestFSMGenerator.java
@@ -16,7 +16,7 @@ package org.eclipse.etrice.integration.tests;
import static org.junit.Assert.assertEquals;
import org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher;
-import org.eclipse.etrice.integration.tests.ComponentMain;
+import org.eclipse.etrice.integration.tests.SubSystemHFSMTest;
import org.eclipse.etrice.integration.tests.a_HFSM_Tester;
import org.junit.After;
import org.junit.Before;
@@ -43,13 +43,13 @@ public class IntegrationTestFSMGenerator {
@Test(timeout=1000)
public void testHFSM(){
- ComponentMain main_component = new ComponentMain(null,"MainComponent");
+ SubSystemHFSMTest main_component = new SubSystemHFSMTest(null,"MainComponent");
main_component.init(); // lifecycle init
main_component.start(); // lifecycle start
main_component.waitTerminate();
- assertEquals(a_HFSM_Tester.STATE_TestPass ,main_component.getInstance("/MainComponent/HFSM_Tests/Tester").getState());
+ assertEquals(a_HFSM_Tester.STATE_TestPass ,main_component.getInstance("/MainComponent/application/HFSM_Tests/Tester").getState());
// end the lifecycle
main_component.stop(); // lifecycle stop

Back to the top