Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/Debug/liborg.eclipse.etrice.runtime.c.abin61110 -> 61202 bytes
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/src/RUnit.h8
2 files changed, 8 insertions, 0 deletions
diff --git a/runtime/org.eclipse.etrice.runtime.c/Debug/liborg.eclipse.etrice.runtime.c.a b/runtime/org.eclipse.etrice.runtime.c/Debug/liborg.eclipse.etrice.runtime.c.a
index e1cd290a4..94a54ec43 100644
--- a/runtime/org.eclipse.etrice.runtime.c/Debug/liborg.eclipse.etrice.runtime.c.a
+++ b/runtime/org.eclipse.etrice.runtime.c/Debug/liborg.eclipse.etrice.runtime.c.a
Binary files differ
diff --git a/runtime/org.eclipse.etrice.runtime.c/src/RUnit.h b/runtime/org.eclipse.etrice.runtime.c/src/RUnit.h
index a3badcc7e..c29b8809d 100644
--- a/runtime/org.eclipse.etrice.runtime.c/src/RUnit.h
+++ b/runtime/org.eclipse.etrice.runtime.c/src/RUnit.h
@@ -50,4 +50,12 @@ void EXPECT_EQUAL_FLOAT64(const char* testcase, etFloat64 expected, etFloat64 ac
void expect_equal_void_ptr(const char* testcase, const void* expected, const void* actual);
+/* Helpers for adding testcases */
+
+#define ADD_TESTCASE(testcase) \
+ RUnit_openTestCase(#testcase); \
+ testcase(); \
+ RUnit_closeTestCase();
+
+
#endif /* _RUNIT_H_ */

Back to the top