blob: 3a9a7be5978fef70e2911a2dc1cd87c0b922bf1a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
/*******************************************************************************
* Copyright (c) 2013 protos software gmbh (http://www.protos.de).
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* CONTRIBUTORS:
* Juergen Haug (initial contribution)
*
*******************************************************************************/
#include <containers/StaticDequeTest.h>
#include "containers/StaticArrayTest.h"
#include "containers/StaticStringTest.h"
#include "debugging/MSCFunctionObjectTest.h"
#include "debugging/MSCFilterTest.h"
#include "debugging/MSCLoggerTest.h"
#include "debugging/DebuggingServiceTest.h"
#include "messaging/AddressTest.h"
#include "messaging/MessageTest.h"
#include "messaging/RTObjectTest.h"
#include "messaging/MessageSeQueueTest.h"
#include "messaging/MessageDispatcherTest.h"
#include "messaging/MessageServiceTest.h"
#include "messaging/MessageServiceControllerTest.h"
#include "messaging/StaticMessageMemoryTest.h"
#include "etUnit/etUnit.h"
int main() {
etUnit_open("log/testlog", "TestCppRuntime");
// Test containers
StaticArrayTest staticArrayTest;
staticArrayTest.run();
StaticStringTest staticStringTest;
staticStringTest.run();
StaticDequeTest dequeTest;
dequeTest.run();
// Test debugging
MSCFilterTest filterTest;
filterTest.run();
MSCLoggerTest loggerTest;
loggerTest.run();
DebuggingServiceTest debugSvcTest;
debugSvcTest.run();
MSCFunctionObjectTest mscFunctionObjTest;
mscFunctionObjTest.run();
// Test messaging
AddressTest addressTest;
addressTest.run();
MessageTest messageTest;
messageTest.run();
RTObjectTest rtobjectTest;
rtobjectTest.run();
MessageSeQueueTest msgQueueTest;
msgQueueTest.run();
MessageDispatcherTest msgDispatcherTest;
msgDispatcherTest.run();
MessageServiceTest msgServiceTest;
msgServiceTest.run();
MessageServiceControllerTest msgSvcCtrlTest;
msgSvcCtrlTest.run();
StaticMessageMemoryTest staticMsgMemTest;
staticMsgMemTest.run();
etUnit_close();
return 0;
}
|