Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorHenrik Rentz-Reichert2019-04-05 06:30:45 -0400
committerHenrik Rentz-Reichert2019-04-26 13:07:27 -0400
commit5304c038dc6ad38868064cd7fa84d5bd89dcc931 (patch)
treee721e75b2362d802937dd302168181fbeabea29a /tests
parent636465baf602e2bc9ea0b6ae89c2bb255306eaaf (diff)
downloadorg.eclipse.etrice-5304c038dc6ad38868064cd7fa84d5bd89dcc931.tar.gz
org.eclipse.etrice-5304c038dc6ad38868064cd7fa84d5bd89dcc931.tar.xz
org.eclipse.etrice-5304c038dc6ad38868064cd7fa84d5bd89dcc931.zip
Bug 546142 - etRuntime should give access to message service statistics
* equipped message service with a name * runtime allows access to message service statistics * runtime allows to reset all message service statistics Change-Id: I807dfd47883f53f5123c92734056d2cc5c346172
Diffstat (limited to 'tests')
-rw-r--r--tests/org.eclipse.etrice.runtime.c.tests/src/runtime/TestEtMessageQueue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/org.eclipse.etrice.runtime.c.tests/src/runtime/TestEtMessageQueue.c b/tests/org.eclipse.etrice.runtime.c.tests/src/runtime/TestEtMessageQueue.c
index a2deeb162..e95a95e4f 100644
--- a/tests/org.eclipse.etrice.runtime.c.tests/src/runtime/TestEtMessageQueue.c
+++ b/tests/org.eclipse.etrice.runtime.c.tests/src/runtime/TestEtMessageQueue.c
@@ -26,13 +26,13 @@ void TestEtMessageQueue_testPushPop(etInt16 id){
etMessageQueue_push(&queue1, &msg2);
EXPECT_EQUAL_INT16(id, "etMessageQueue.size before", 2, queue1.size);
- EXPECT_EQUAL_INT16(id, "etMessageQueue.highWaterMark before", 2, queue1.highWaterMark);
+ EXPECT_EQUAL_INT16(id, "etMessageQueue.statistics.highWaterMark before", 2, queue1.statistics.highWaterMark);
etMessage* rcvMsg1 = etMessageQueue_pop(&queue1);
etMessage* rcvMsg2 = etMessageQueue_pop(&queue1);
EXPECT_EQUAL_INT16(id, "etMessageQueue.size after", 0, queue1.size);
- EXPECT_EQUAL_INT16(id, "etMessageQueue.highWaterMark after", 2, queue1.highWaterMark);
+ EXPECT_EQUAL_INT16(id, "etMessageQueue.statistics.highWaterMark after", 2, queue1.statistics.highWaterMark);
EXPECT_EQUAL_INT16(id, "rcvMsg1->address", 123, rcvMsg1->address);
EXPECT_EQUAL_INT16(id, "rcvMsg1->evtID", 456, rcvMsg1->evtID);

Back to the top