Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Schuetz2012-02-26 14:58:40 +0000
committerThomas Schuetz2012-02-26 14:58:40 +0000
commitafc4b117aab39c0f6f726c4efdaa83f441faf61c (patch)
treedaaef66ac1629df2d828aff1559434fe67f55d13 /tests/org.eclipse.etrice.generator.c.tests/src/test
parent724f46d55b352c16731b46a332b13d436b536aae (diff)
downloadorg.eclipse.etrice-afc4b117aab39c0f6f726c4efdaa83f441faf61c.tar.gz
org.eclipse.etrice-afc4b117aab39c0f6f726c4efdaa83f441faf61c.tar.xz
org.eclipse.etrice-afc4b117aab39c0f6f726c4efdaa83f441faf61c.zip
[runtime.c] reorganized runtime.c for separation of common and platform specific parts, adapted include pathes, C-generator and tests
Diffstat (limited to 'tests/org.eclipse.etrice.generator.c.tests/src/test')
-rw-r--r--tests/org.eclipse.etrice.generator.c.tests/src/test/generator/RunCGeneratorTestcases.c4
-rw-r--r--tests/org.eclipse.etrice.generator.c.tests/src/test/generator/TestDataClass.c2
-rw-r--r--tests/org.eclipse.etrice.generator.c.tests/src/test/runtime/RunCRuntimeTestcases.c2
-rw-r--r--tests/org.eclipse.etrice.generator.c.tests/src/test/runtime/TestEtMessage.c4
-rw-r--r--tests/org.eclipse.etrice.generator.c.tests/src/test/runtime/TestEtMessageQueue.c4
-rw-r--r--tests/org.eclipse.etrice.generator.c.tests/src/test/runtime/TestEtMessageService.c4
-rw-r--r--tests/org.eclipse.etrice.generator.c.tests/src/test/runtime/TestEtMessageService.h2
-rw-r--r--tests/org.eclipse.etrice.generator.c.tests/src/test/runtime/TestEtUnit.c4
8 files changed, 13 insertions, 13 deletions
diff --git a/tests/org.eclipse.etrice.generator.c.tests/src/test/generator/RunCGeneratorTestcases.c b/tests/org.eclipse.etrice.generator.c.tests/src/test/generator/RunCGeneratorTestcases.c
index 615ba7422..ae0e95690 100644
--- a/tests/org.eclipse.etrice.generator.c.tests/src/test/generator/RunCGeneratorTestcases.c
+++ b/tests/org.eclipse.etrice.generator.c.tests/src/test/generator/RunCGeneratorTestcases.c
@@ -20,8 +20,8 @@
#include "RunCGeneratorTestcases.h"
#include "TestDataClass.h"
-#include "etUnit.h"
-#include "etMSCLogger.h"
+#include "etUnit/etUnit.h"
+#include "debugging/etMSCLogger.h"
diff --git a/tests/org.eclipse.etrice.generator.c.tests/src/test/generator/TestDataClass.c b/tests/org.eclipse.etrice.generator.c.tests/src/test/generator/TestDataClass.c
index e3c521dd3..4ecaf4213 100644
--- a/tests/org.eclipse.etrice.generator.c.tests/src/test/generator/TestDataClass.c
+++ b/tests/org.eclipse.etrice.generator.c.tests/src/test/generator/TestDataClass.c
@@ -21,7 +21,7 @@
#include "TestDataClass.h"
-#include "etUnit.h"
+#include "etUnit/etUnit.h"
#include "../../../src-gen/cGenRef/DataClass1.h"
diff --git a/tests/org.eclipse.etrice.generator.c.tests/src/test/runtime/RunCRuntimeTestcases.c b/tests/org.eclipse.etrice.generator.c.tests/src/test/runtime/RunCRuntimeTestcases.c
index a9a502f3b..a8536fe89 100644
--- a/tests/org.eclipse.etrice.generator.c.tests/src/test/runtime/RunCRuntimeTestcases.c
+++ b/tests/org.eclipse.etrice.generator.c.tests/src/test/runtime/RunCRuntimeTestcases.c
@@ -27,7 +27,7 @@
#include "TestEtMessageService.h"
#include "TestEtUnit.h"
-#include "etUnit.h"
+#include "etUnit/etUnit.h"
void RunCRuntimeTestcases(void){
diff --git a/tests/org.eclipse.etrice.generator.c.tests/src/test/runtime/TestEtMessage.c b/tests/org.eclipse.etrice.generator.c.tests/src/test/runtime/TestEtMessage.c
index c360b0a84..a0e6b55b9 100644
--- a/tests/org.eclipse.etrice.generator.c.tests/src/test/runtime/TestEtMessage.c
+++ b/tests/org.eclipse.etrice.generator.c.tests/src/test/runtime/TestEtMessage.c
@@ -13,8 +13,8 @@
#include "TestEtMessage.h"
#include <stddef.h>
-#include "etUnit.h"
-#include "etMessage.h"
+#include "etUnit/etUnit.h"
+#include "messaging/etMessage.h"
diff --git a/tests/org.eclipse.etrice.generator.c.tests/src/test/runtime/TestEtMessageQueue.c b/tests/org.eclipse.etrice.generator.c.tests/src/test/runtime/TestEtMessageQueue.c
index 3a453962c..30228fc98 100644
--- a/tests/org.eclipse.etrice.generator.c.tests/src/test/runtime/TestEtMessageQueue.c
+++ b/tests/org.eclipse.etrice.generator.c.tests/src/test/runtime/TestEtMessageQueue.c
@@ -11,8 +11,8 @@
*******************************************************************************/
#include "TestEtMessageQueue.h"
-#include "etUnit.h"
-#include "etMessageQueue.h"
+#include "etUnit/etUnit.h"
+#include "messaging/etMessageQueue.h"
void TestEtMessageQueue_testPushPop(void){
diff --git a/tests/org.eclipse.etrice.generator.c.tests/src/test/runtime/TestEtMessageService.c b/tests/org.eclipse.etrice.generator.c.tests/src/test/runtime/TestEtMessageService.c
index 867576097..9c1499ea8 100644
--- a/tests/org.eclipse.etrice.generator.c.tests/src/test/runtime/TestEtMessageService.c
+++ b/tests/org.eclipse.etrice.generator.c.tests/src/test/runtime/TestEtMessageService.c
@@ -11,8 +11,8 @@
*******************************************************************************/
#include "TestEtMessageService.h"
-#include "etUnit.h"
-#include "etMessageService.h"
+#include "etUnit/etUnit.h"
+#include "messaging/etMessageService.h"
/* mocking for MessageDispatcher */
diff --git a/tests/org.eclipse.etrice.generator.c.tests/src/test/runtime/TestEtMessageService.h b/tests/org.eclipse.etrice.generator.c.tests/src/test/runtime/TestEtMessageService.h
index 43a85baee..b8925ebdd 100644
--- a/tests/org.eclipse.etrice.generator.c.tests/src/test/runtime/TestEtMessageService.h
+++ b/tests/org.eclipse.etrice.generator.c.tests/src/test/runtime/TestEtMessageService.h
@@ -13,7 +13,7 @@
#ifndef _TESTRMESSAGESERVICE_H_
#define _TESTRMESSAGESERVICE_H_
-#include "etMessageService.h"
+#include "messaging/etMessageService.h"
void TestEtMessageService_runSuite(void);
diff --git a/tests/org.eclipse.etrice.generator.c.tests/src/test/runtime/TestEtUnit.c b/tests/org.eclipse.etrice.generator.c.tests/src/test/runtime/TestEtUnit.c
index 3f01d0587..42359c26a 100644
--- a/tests/org.eclipse.etrice.generator.c.tests/src/test/runtime/TestEtUnit.c
+++ b/tests/org.eclipse.etrice.generator.c.tests/src/test/runtime/TestEtUnit.c
@@ -19,7 +19,7 @@
*/
#include "TestEtUnit.h"
-#include "etUnit.h"
+#include "etUnit/etUnit.h"
void TestEtUnit_Expect(void){
EXPECT_TRUE("EXPECT_TRUE", TRUE);
@@ -37,7 +37,7 @@ void TestEtUnit_Expect(void){
/* float values */
EXPECT_EQUAL_FLOAT32("EXPECT_EQUAL_FLOAT32", (etFloat32) 123.456, (etFloat32) 123.456, (etFloat32) 0.0001);
- EXPECT_EQUAL_FLOAT64("EXPECT_EQUAL_FLOAT64", (etFloat64) 123.456, (etFloat64) 123.456, (etFloat64) 0.0001);
+ EXPECT_EQUAL_FLOAT32("EXPECT_EQUAL_FLOAT32", (etFloat32) 123.456, (etFloat32) 123.456, (etFloat32) 0.0001);
/* Pointers */
etUInt16 value;

Back to the top