UnitTestList.cc 3.26 KB
Newer Older
1 2
/****************************************************************************
 *
3
 * (c) 2009-2020 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
4 5 6 7 8 9
 *
 * QGroundControl is licensed according to the terms in the file
 * COPYING.md in the root of the source code directory.
 *
 ****************************************************************************/

10 11 12 13 14 15

// We keep the list of all unit tests in a global location so it's easier to see which
// ones are enabled/disabled

#include "FactSystemTestGeneric.h"
#include "FactSystemTestPX4.h"
16
//#include "FileDialogTest.h"
17
#include "GeoTest.h"
18
//#include "MessageBoxTest.h"
19
#include "MissionItemTest.h"
20
#include "SimpleMissionItemTest.h"
21
#include "SurveyComplexItemTest.h"
22
#include "MissionControllerTest.h"
23
#include "MissionManagerTest.h"
24
//#include "RadioConfigTest.h"
25
#include "MavlinkLogTest.h"
26 27
//#include "MainWindowTest.h"
//#include "FileManagerTest.h"
28
#include "ParameterManagerTest.h"
29
#include "MissionCommandTreeTest.h"
30 31 32
//#include "LogDownloadTest.h"
#include "SendMavCommandWithSignallingTest.h"
#include "SendMavCommandWithHandlerTest.h"
33 34 35
#include "VisualMissionItemTest.h"
#include "CameraSectionTest.h"
#include "SpeedSectionTest.h"
36
#include "PlanMasterControllerTest.h"
37
#include "MissionSettingsTest.h"
38
#include "QGCMapPolygonTest.h"
39
#include "AudioOutputTest.h"
40
#include "StructureScanComplexItemTest.h"
41 42
#include "QGCMapPolylineTest.h"
#include "CorridorScanComplexItemTest.h"
43 44
#include "TransectStyleComplexItemTest.h"
#include "CameraCalcTest.h"
45
#include "FWLandingPatternTest.h"
46 47 48 49 50
#include "RequestMessageTest.h"
#include "FTPManagerTest.h"
#include "MissionCommandTreeEditorTest.h"
#include "VehicleLinkManagerTest.h"
#include "LandingComplexItemTest.h"
51 52 53

UT_REGISTER_TEST(FactSystemTestGeneric)
UT_REGISTER_TEST(FactSystemTestPX4)
54
//UT_REGISTER_TEST(FileDialogTest)
55
UT_REGISTER_TEST(GeoTest)
56 57 58 59 60 61
UT_REGISTER_TEST(VehicleLinkManagerTest)
//UT_REGISTER_TEST(MessageBoxTest)
UT_REGISTER_TEST(SendMavCommandWithSignallingTest)
UT_REGISTER_TEST(SendMavCommandWithHandlerTest)
UT_REGISTER_TEST(RequestMessageTest)
UT_REGISTER_TEST(FTPManagerTest)
62
UT_REGISTER_TEST(MissionItemTest)
63
UT_REGISTER_TEST(SimpleMissionItemTest)
64
UT_REGISTER_TEST(MissionControllerTest)
65
UT_REGISTER_TEST(MissionManagerTest)
66 67
//UT_REGISTER_TEST(RadioConfigTest)
//UT_REGISTER_TEST(FileManagerTest)
68
UT_REGISTER_TEST(ParameterManagerTest)
69
UT_REGISTER_TEST(MissionCommandTreeTest)
70
//UT_REGISTER_TEST(LogDownloadTest)
71
UT_REGISTER_TEST(SurveyComplexItemTest)
72 73
UT_REGISTER_TEST(CameraSectionTest)
UT_REGISTER_TEST(SpeedSectionTest)
74
UT_REGISTER_TEST(PlanMasterControllerTest)
75
UT_REGISTER_TEST(MissionSettingsTest)
76
UT_REGISTER_TEST(QGCMapPolygonTest)
77
UT_REGISTER_TEST(AudioOutputTest)
78
UT_REGISTER_TEST(StructureScanComplexItemTest)
79
UT_REGISTER_TEST(CorridorScanComplexItemTest)
80
UT_REGISTER_TEST(TransectStyleComplexItemTest)
81
UT_REGISTER_TEST(QGCMapPolylineTest)
82
UT_REGISTER_TEST(CameraCalcTest)
83
UT_REGISTER_TEST(FWLandingPatternTest)
84 85 86
UT_REGISTER_TEST(LandingComplexItemTest)

UT_REGISTER_TEST_STANDALONE(MissionCommandTreeEditorTest)
87 88 89 90 91 92 93

// List of unit test which are currently disabled.
// If disabling a new test, include reason in comment.

// FIXME: Temporarily disabled until this can be stabilized
//UT_REGISTER_TEST(MainWindowTest)

94
// Needs to be update for latest updates
95
//UT_REGISTER_TEST(MavlinkLogTest)