diff options
Diffstat (limited to 'tests/org.eclipse.etrice.runtime.cpp.tests/src/RunAllTestCases.cpp')
-rw-r--r-- | tests/org.eclipse.etrice.runtime.cpp.tests/src/RunAllTestCases.cpp | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/tests/org.eclipse.etrice.runtime.cpp.tests/src/RunAllTestCases.cpp b/tests/org.eclipse.etrice.runtime.cpp.tests/src/RunAllTestCases.cpp index 3a9a7be59..322ca7a2c 100644 --- a/tests/org.eclipse.etrice.runtime.cpp.tests/src/RunAllTestCases.cpp +++ b/tests/org.eclipse.etrice.runtime.cpp.tests/src/RunAllTestCases.cpp @@ -10,9 +10,15 @@ * *******************************************************************************/ -#include <containers/StaticDequeTest.h> +#include "common/containers/Set.h" +#include "containers/SetTest.h" +#include "containers/StaticDequeTest.h" #include "containers/StaticArrayTest.h" #include "containers/StaticStringTest.h" +#include "containers/StringTest.h" +#include "containers/VectorTest.h" +#include "containers/PairTest.h" +#include "containers/MapTest.h" #include "debugging/MSCFunctionObjectTest.h" #include "debugging/MSCFilterTest.h" #include "debugging/MSCLoggerTest.h" @@ -41,6 +47,21 @@ int main() { StaticDequeTest dequeTest; dequeTest.run(); + StringTest stringTest; + stringTest.run(); + + VectorTest vectorTest; + vectorTest.run(); + + SetTest setTest; + setTest.run(); + + PairTest pairTest; + pairTest.run(); + + MapTest mapTest; + mapTest.run(); + // Test debugging MSCFilterTest filterTest; filterTest.run(); @@ -81,6 +102,15 @@ int main() { etUnit_close(); + printf("String allocations %d and deallocations %d\n", etRuntime::String::getNAllocations(), etRuntime::String::getNDeallocations()); + printf("String creations %d and destructions %d\n", etRuntime::String::getNCreated(), etRuntime::String::getNDestroyed()); + printf("Vector allocations %d and deallocations %d\n", etRuntime::VectorStats::getNAllocations(), etRuntime::VectorStats::getNDeallocations()); + printf("Vector creations %d and destructions %d\n", etRuntime::VectorStats::getNCreated(), etRuntime::VectorStats::getNDestroyed()); + printf("Set creations %d and destructions %d\n", etRuntime::SetStats::getNCreated(), etRuntime::SetStats::getNDestroyed()); + printf("Map creations %d and destructions %d\n", etRuntime::MapStats::getNCreated(), etRuntime::MapStats::getNDestroyed()); + + fflush(stdout); + return 0; } |