From 557eaf3819ee03755134775d16ce1a2951e74222 Mon Sep 17 00:00:00 2001 From: Thomas Schuetz Date: Tue, 30 Apr 2013 12:20:01 +0200 Subject: [runtime.c.tests] added testcases for etTimeHelpers Change-Id: I0406acf26920b3cf40c8802128513c1cc540b7db --- .../tmp/testlog/TestCRuntime.etu | 11 ++++++++--- .../tmp/testlog/TestEtUnitSpecial.etu | 4 ++-- 2 files changed, 10 insertions(+), 5 deletions(-) (limited to 'tests/org.eclipse.etrice.runtime.c.tests/tmp') diff --git a/tests/org.eclipse.etrice.runtime.c.tests/tmp/testlog/TestCRuntime.etu b/tests/org.eclipse.etrice.runtime.c.tests/tmp/testlog/TestCRuntime.etu index 4bdbf94a6..73347e136 100644 --- a/tests/org.eclipse.etrice.runtime.c.tests/tmp/testlog/TestCRuntime.etu +++ b/tests/org.eclipse.etrice.runtime.c.tests/tmp/testlog/TestCRuntime.etu @@ -1,10 +1,10 @@ etUnit report ts start: TestQueue tc start 1: TestEtQueue_test -tc end 1: 0 +tc end 1: 15 ts start: TestMemory tc start 2: TestEtMemory_testFixedSize -tc end 2: 15 +tc end 2: 0 tc start 3: TestEtMemory_testFreeList tc end 3: 0 ts start: TestMessage @@ -14,7 +14,7 @@ ts start: TestEtMessageQueue tc start 5: TestEtMessageQueue_testPushPop tc end 5: 0 tc start 6: TestEtMessageQueue_testMassiveMessaging -tc end 6: 0 +tc end 6: 16 ts start: TestEtUnit tc start 7: TestEtUnit_Expect_Order tc end 7: 0 @@ -25,3 +25,8 @@ tc start 9: TestEtTimer_lifecycle tc end 9: 1513 tc start 10: TestEtTimer_multiTimer tc end 10: 1014 +ts start: TestEtTimeHelpers +tc start 11: TestEtTimeHelpers_convertToMSec +tc end 11: 0 +tc start 12: TestEtTimeHelpers_convertToEtTime +tc end 12: 0 diff --git a/tests/org.eclipse.etrice.runtime.c.tests/tmp/testlog/TestEtUnitSpecial.etu b/tests/org.eclipse.etrice.runtime.c.tests/tmp/testlog/TestEtUnitSpecial.etu index 78f14cc25..71e585534 100644 --- a/tests/org.eclipse.etrice.runtime.c.tests/tmp/testlog/TestEtUnitSpecial.etu +++ b/tests/org.eclipse.etrice.runtime.c.tests/tmp/testlog/TestEtUnitSpecial.etu @@ -1,4 +1,4 @@ etUnit report ts start: etUnit -tc start 11: openAll and closeAll -tc end 11: 0 +tc start 13: openAll and closeAll +tc end 13: 0 -- cgit v1.2.1 From 3f26e81bc9be937a2f6c0bf765628093e6eda05b Mon Sep 17 00:00:00 2001 From: Thomas Schuetz Date: Tue, 30 Apr 2013 14:21:39 +0200 Subject: [runtime.c.tests] fixed testcase for etMessageService https://bugs.eclipse.org/bugs/show_bug.cgi?id=406888 Change-Id: Ifd556ddb0290477e1588672fa6062433ca887448 --- .../tmp/testlog/TestCRuntime.etu | 41 ++++++++++++++-------- .../tmp/testlog/TestEtUnitSpecial.etu | 4 +-- 2 files changed, 28 insertions(+), 17 deletions(-) (limited to 'tests/org.eclipse.etrice.runtime.c.tests/tmp') diff --git a/tests/org.eclipse.etrice.runtime.c.tests/tmp/testlog/TestCRuntime.etu b/tests/org.eclipse.etrice.runtime.c.tests/tmp/testlog/TestCRuntime.etu index 73347e136..ceff20102 100644 --- a/tests/org.eclipse.etrice.runtime.c.tests/tmp/testlog/TestCRuntime.etu +++ b/tests/org.eclipse.etrice.runtime.c.tests/tmp/testlog/TestCRuntime.etu @@ -1,12 +1,12 @@ etUnit report ts start: TestQueue tc start 1: TestEtQueue_test -tc end 1: 15 +tc end 1: 13 ts start: TestMemory tc start 2: TestEtMemory_testFixedSize -tc end 2: 0 +tc end 2: 11 tc start 3: TestEtMemory_testFreeList -tc end 3: 0 +tc end 3: 4 ts start: TestMessage tc start 4: TestEtMessage_testBasicMessage tc end 4: 0 @@ -14,19 +14,30 @@ ts start: TestEtMessageQueue tc start 5: TestEtMessageQueue_testPushPop tc end 5: 0 tc start 6: TestEtMessageQueue_testMassiveMessaging -tc end 6: 16 -ts start: TestEtUnit -tc start 7: TestEtUnit_Expect_Order +tc end 6: 15 +ts start: TestEtMessageService +tc start 7: TestEtMessageService_init tc end 7: 0 -tc start 8: TestEtUnit_Expect +tc start 8: TestEtMessageService_GetPushPopReturn tc end 8: 0 -ts start: TestEtTimer -tc start 9: TestEtTimer_lifecycle -tc end 9: 1513 -tc start 10: TestEtTimer_multiTimer -tc end 10: 1014 -ts start: TestEtTimeHelpers -tc start 11: TestEtTimeHelpers_convertToMSec +tc start 9: TestEtMessageService_GetReturn +tc end 9: 0 +tc start 10: TestEtMessageService_execute +tc end 10: 100 +tc start 11: TestEtMessageService_getMessagePoolLowWaterMark tc end 11: 0 -tc start 12: TestEtTimeHelpers_convertToEtTime +ts start: TestEtUnit +tc start 12: TestEtUnit_Expect_Order tc end 12: 0 +tc start 13: TestEtUnit_Expect +tc end 13: 0 +ts start: TestEtTimer +tc start 14: TestEtTimer_lifecycle +tc end 14: 1500 +tc start 15: TestEtTimer_multiTimer +tc end 15: 1001 +ts start: TestEtTimeHelpers +tc start 16: TestEtTimeHelpers_convertToMSec +tc end 16: 0 +tc start 17: TestEtTimeHelpers_convertToEtTime +tc end 17: 0 diff --git a/tests/org.eclipse.etrice.runtime.c.tests/tmp/testlog/TestEtUnitSpecial.etu b/tests/org.eclipse.etrice.runtime.c.tests/tmp/testlog/TestEtUnitSpecial.etu index 71e585534..1da4cc53a 100644 --- a/tests/org.eclipse.etrice.runtime.c.tests/tmp/testlog/TestEtUnitSpecial.etu +++ b/tests/org.eclipse.etrice.runtime.c.tests/tmp/testlog/TestEtUnitSpecial.etu @@ -1,4 +1,4 @@ etUnit report ts start: etUnit -tc start 13: openAll and closeAll -tc end 13: 0 +tc start 18: openAll and closeAll +tc end 18: 0 -- cgit v1.2.1