1 #include <QtTest/QtTest>
2 #include <QApplication>
6 #include "TestMeeting.h"
7 #include "TestConnectionSettings.h"
8 #include "TestDisplaySettings.h"
9 #include "TestStartupSettings.h"
10 #include "TestConfiguration.h"
13 // TODO : includes here
16 // TODO : includes here
19 #include "TestClock.h"
20 #include "TestErrorMapper.h"
21 #include "TestEngine.h"
24 #include "TestMeetingRoomCombo.h"
26 int main( int argc, char *argv[] )
28 QApplication app( argc, argv );
30 /************ Domain ************/
32 QTest::qExec( &testRoom );
34 TestMeeting testMeeting;
35 QTest::qExec( &testMeeting );
37 TestConnectionSettings testConnectionSettings;
38 QTest::qExec( &testConnectionSettings );
40 TestDisplaySettings testDisplaySettings;
41 QTest::qExec( &testDisplaySettings );
43 TestStartupSettings testStartupSettings;
44 QTest::qExec( &testStartupSettings );
46 TestConfiguration testConfiguration;
47 QTest::qExec( &testConfiguration );
49 /************ Communication ************/
52 /************ DeviceControl ************/
55 /************ BusinessLogic ************/
57 QTest::qExec( &testClock );
59 TestErrorMapper testErrorMapper;
60 QTest::qExec( &testErrorMapper );
62 TestEngine testEngine;
63 // TODO : TestEngine ends up in Segmentation fault for some reason if run together with other tests. Individually everything goes OK.
64 // QTest::qExec( &testEngine );
66 /************ UserInterface ************/
67 TestMeetingRoomCombo testMeetingRoomCombo;
68 QTest::qExec( &testMeetingRoomCombo );