Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Rentz-Reichert2011-07-18 13:39:36 +0000
committerHenrik Rentz-Reichert2011-07-18 13:39:36 +0000
commit93a1fc6dae7384fbfd714afeced2bacc1baab58f (patch)
tree6ae4f94855fe7601bc778a82ce464d83cc008c55 /tests/org.eclipse.etrice.integration.tests/src/org/eclipse
parent61eb3b254ec4e57be0782b648654d5f19ba49682 (diff)
parentb8bea276e4a9ed70e0b82d6845f4a7aa549d6509 (diff)
downloadorg.eclipse.etrice-93a1fc6dae7384fbfd714afeced2bacc1baab58f.tar.gz
org.eclipse.etrice-93a1fc6dae7384fbfd714afeced2bacc1baab58f.tar.xz
org.eclipse.etrice-93a1fc6dae7384fbfd714afeced2bacc1baab58f.zip
[core.room, ui.behavior, ui.structure] rename refactoring
not handled yet: - actor class rename (with diagram file rename) - rename initiated by structure diagram (e.g. interface port rename affects containing actor class) Merge branch 'master' of ssh://hrentzreich@git.eclipse.org/gitroot/etrice/org.eclipse.etrice.git Conflicts: plugins/org.eclipse.etrice.generator.java/src/templates/ProtocolClass.xpt
Diffstat (limited to 'tests/org.eclipse.etrice.integration.tests/src/org/eclipse')
-rw-r--r--tests/org.eclipse.etrice.integration.tests/src/org/eclipse/etrice/integration/tests/IntegrationTestHandler.java128
1 files changed, 64 insertions, 64 deletions
diff --git a/tests/org.eclipse.etrice.integration.tests/src/org/eclipse/etrice/integration/tests/IntegrationTestHandler.java b/tests/org.eclipse.etrice.integration.tests/src/org/eclipse/etrice/integration/tests/IntegrationTestHandler.java
index 8d35f6a01..dfc6d85ff 100644
--- a/tests/org.eclipse.etrice.integration.tests/src/org/eclipse/etrice/integration/tests/IntegrationTestHandler.java
+++ b/tests/org.eclipse.etrice.integration.tests/src/org/eclipse/etrice/integration/tests/IntegrationTestHandler.java
@@ -1,64 +1,64 @@
-/*******************************************************************************
- * Copyright (c) 2010 Tieto Deutschland Gmbh (http://www.tieto.com).
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Autor:
- * Thomas Jung
- *
- *******************************************************************************/
-
-package org.eclipse.etrice.integration.tests;
-
-
-import static org.junit.Assert.assertEquals;
-
-import org.eclipse.etrice.integration.HandlerTest.SubSystem_HandlerTest;
-import org.eclipse.etrice.integration.tests.base.IntegrationTestBase;
-import org.eclipse.etrice.runtime.java.modelbase.SubSystemClassBase;
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Test;
-
-
-
-public class IntegrationTestHandler extends IntegrationTestBase {
- @Before
- public void setUp() throws Exception {
- // we have to launch a JUnit Plugin test since for the build we need an Eclipse environment
- // in this context the Mwe2Launcher suffers from https://bugs.eclipse.org/bugs/show_bug.cgi?id=318721
- /*
- Mwe2Launcher.main(new String[]{"/org.eclipse.etrice.integration.tests/src/de/protos/etrice/integration/test/IntegrationTestFSMGenerator.mwe2"});
- final IWorkspace workspace = ResourcesPlugin.getWorkspace();
- final IProject project = workspace.getRoot().getProject("/org.eclipse.etrice.integration.tests");
- project.build(IncrementalProjectBuilder.INCREMENTAL_BUILD, null);
- */
- }
-
- @Test (timeout=5000)
- public void testHandler(){
- SubSystem_HandlerTest main_component = new SubSystem_HandlerTest(null,"MainComponent");
-
- // hand over the semaphore to the subsystem
- main_component.setTestSemaphore(this.testSem);
-
- main_component.init(); // lifecycle init
- main_component.start(); // lifecycle start
-
- waitForTestcase();
-
- assertEquals(0,main_component.getTestErrorCode());
-
- // end the lifecycle
- main_component.stop(); // lifecycle stop
- main_component.destroy(); // lifecycle destroy
- }
-
- @After
- public void tearDown() throws Exception {
- }
-
-
-}
+/*******************************************************************************
+ * Copyright (c) 2010 Tieto Deutschland Gmbh (http://www.tieto.com).
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Autor:
+ * Thomas Jung
+ *
+ *******************************************************************************/
+
+package org.eclipse.etrice.integration.tests;
+
+
+import static org.junit.Assert.assertEquals;
+
+import org.eclipse.etrice.integration.HandlerTest.SubSystem_HandlerTest;
+import org.eclipse.etrice.integration.tests.base.IntegrationTestBase;
+import org.eclipse.etrice.runtime.java.modelbase.SubSystemClassBase;
+import org.junit.After;
+import org.junit.Before;
+import org.junit.Test;
+
+
+
+public class IntegrationTestHandler extends IntegrationTestBase {
+ @Before
+ public void setUp() throws Exception {
+ // we have to launch a JUnit Plugin test since for the build we need an Eclipse environment
+ // in this context the Mwe2Launcher suffers from https://bugs.eclipse.org/bugs/show_bug.cgi?id=318721
+ /*
+ Mwe2Launcher.main(new String[]{"/org.eclipse.etrice.integration.tests/src/de/protos/etrice/integration/test/IntegrationTestFSMGenerator.mwe2"});
+ final IWorkspace workspace = ResourcesPlugin.getWorkspace();
+ final IProject project = workspace.getRoot().getProject("/org.eclipse.etrice.integration.tests");
+ project.build(IncrementalProjectBuilder.INCREMENTAL_BUILD, null);
+ */
+ }
+
+ @Test (timeout=5000)
+ public void testHandler(){
+ SubSystem_HandlerTest main_component = new SubSystem_HandlerTest(null,"MainComponent");
+
+ // hand over the semaphore to the subsystem
+ main_component.setTestSemaphore(this.testSem);
+
+ main_component.init(); // lifecycle init
+ main_component.start(); // lifecycle start
+
+ waitForTestcase();
+
+ assertEquals(0,main_component.getTestErrorCode());
+
+ // end the lifecycle
+ main_component.stop(); // lifecycle stop
+ main_component.destroy(); // lifecycle destroy
+ }
+
+ @After
+ public void tearDown() throws Exception {
+ }
+
+
+}

Back to the top