Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorHenrik Rentz-Reichert2013-01-02 09:54:08 +0000
committerHenrik Rentz-Reichert2013-01-02 09:54:08 +0000
commite95e418b3e83e3bd0811735091d1309a4a696a08 (patch)
tree41aab9513ad5d96720c0c11f9dae10ce5c4746e9 /tests
parent2df86402622deb4cc335bbf7e82b95d56af5a358 (diff)
downloadorg.eclipse.etrice-e95e418b3e83e3bd0811735091d1309a4a696a08.tar.gz
org.eclipse.etrice-e95e418b3e83e3bd0811735091d1309a4a696a08.tar.xz
org.eclipse.etrice-e95e418b3e83e3bd0811735091d1309a4a696a08.zip
[generator.common.tests] removed premature 'finished' calls
in constructors of static configuration test
Diffstat (limited to 'tests')
-rw-r--r--tests/org.eclipse.etrice.generator.common.tests/models/StaticConfigTest_Java.room6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/org.eclipse.etrice.generator.common.tests/models/StaticConfigTest_Java.room b/tests/org.eclipse.etrice.generator.common.tests/models/StaticConfigTest_Java.room
index 77f6e2f1f..b79afbc69 100644
--- a/tests/org.eclipse.etrice.generator.common.tests/models/StaticConfigTest_Java.room
+++ b/tests/org.eclipse.etrice.generator.common.tests/models/StaticConfigTest_Java.room
@@ -44,7 +44,6 @@ RoomModel StaticConfigTest {
Behavior {
Operation Tester_ac() {
"caseId = etUnit_openTestCase(\"AttrConfigTest_case_Tester_ac\");"
- "etUnit_testFinished(caseId);"
}
Operation ~Tester_ac() {
"etUnit_closeTestCase(caseId);"
@@ -62,6 +61,7 @@ RoomModel StaticConfigTest {
"EXPECT_TRUE(caseId_2, \"Tester_ac:2\", testee_super2.getFloat64_super_c() == 2.2);"
"EXPECT_TRUE(caseId_2, \"Tester_ac:3\", testee_super2.getFloat64_super_i() == 3.3);"
"EXPECT_EQUAL_FLOAT32(caseId,\"Tester_ac:4\", 25.f, testee_super2.getReg_port().getFloat_i(), 0.1f);"
+ "etUnit_testFinished(caseId);"
}
}
}
@@ -81,7 +81,6 @@ RoomModel StaticConfigTest {
Behavior {
Operation Testee_1_ac() {
"caseId = etUnit_openTestCase(\"AttrConfigTest_case_Testee_1_ac\");"
- "etUnit_testFinished(caseId);"
}
Operation ~Testee_1_ac() {
"etUnit_closeTestCase(caseId);"
@@ -171,7 +170,6 @@ RoomModel StaticConfigTest {
Behavior {
Operation Testee_2_ac() {
"caseId = etUnit_openTestCase(\"AttrConfigTest_case_Testee_2_ac\");"
- "etUnit_testFinished(caseId);"
}
Operation ~Testee_2_ac() {
"etUnit_closeTestCase(caseId);"
@@ -379,4 +377,4 @@ RoomModel StaticConfigTest {
}
}
-} \ No newline at end of file
+}

Back to the top