Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.etrice.integration.tests/src-gen/org/eclipse/etrice/integration/PingPongThreadTest/SubSystem_PingPongRunner.java')
-rw-r--r--tests/org.eclipse.etrice.integration.tests/src-gen/org/eclipse/etrice/integration/PingPongThreadTest/SubSystem_PingPongRunner.java20
1 files changed, 4 insertions, 16 deletions
diff --git a/tests/org.eclipse.etrice.integration.tests/src-gen/org/eclipse/etrice/integration/PingPongThreadTest/SubSystem_PingPongRunner.java b/tests/org.eclipse.etrice.integration.tests/src-gen/org/eclipse/etrice/integration/PingPongThreadTest/SubSystem_PingPongRunner.java
index 138b60d34..406588a1d 100644
--- a/tests/org.eclipse.etrice.integration.tests/src-gen/org/eclipse/etrice/integration/PingPongThreadTest/SubSystem_PingPongRunner.java
+++ b/tests/org.eclipse.etrice.integration.tests/src-gen/org/eclipse/etrice/integration/PingPongThreadTest/SubSystem_PingPongRunner.java
@@ -11,26 +11,14 @@ import org.eclipse.etrice.runtime.java.modelbase.SubSystemRunnerBase;
class SubSystem_PingPongRunner extends SubSystemRunnerBase {
- static SubSystem_PingPong main_component = new SubSystem_PingPong(null, "SubSystem_PingPong");
-
/**
* main function
- * creates component and starts and stops the lifecycle
+ * creates the main component and starts and stops the lifecycle
*/
public static void main(String[] args) {
-
- System.out.println("*** T H E B E G I N ***");
+ // instantiate the main component
+ SubSystem_PingPong main_component = new SubSystem_PingPong("SubSystem_PingPong");
- main_component.init(); // lifecycle init
- main_component.start(); // lifecycle start
-
- // application runs until quit
- waitForQuit();
-
- // end the lifecycle
- main_component.stop(); // lifecycle stop
- main_component.destroy(); // lifecycle destroy
-
- System.out.println("*** T H E E N D ***");
+ run(main_component, args);
}
};

Back to the top