UnitTestList.cc 2.92 KB
Newer Older
1 2 3 4 5 6 7 8 9
/****************************************************************************
 *
 *   (c) 2009-2016 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
 *
 * 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 16 17 18 19 20 21

// 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"
#include "FileDialogTest.h"
#include "FlightGearTest.h"
#include "GeoTest.h"
#include "LinkManagerTest.h"
#include "MessageBoxTest.h"
#include "MissionItemTest.h"
22
#include "SimpleMissionItemTest.h"
23
#include "SurveyComplexItemTest.h"
24
#include "MissionControllerTest.h"
25
#include "MissionManagerTest.h"
26
#include "RadioConfigTest.h"
27
#include "MavlinkLogTest.h"
28 29 30
#include "MainWindowTest.h"
#include "FileManagerTest.h"
#include "TCPLinkTest.h"
31
#include "ParameterManagerTest.h"
32
#include "MissionCommandTreeTest.h"
33
#include "LogDownloadTest.h"
34
#include "SendMavCommandTest.h"
35 36 37
#include "VisualMissionItemTest.h"
#include "CameraSectionTest.h"
#include "SpeedSectionTest.h"
38
#include "PlanMasterControllerTest.h"
39
#include "MissionSettingsTest.h"
40
#include "QGCMapPolygonTest.h"
41
#include "AudioOutputTest.h"
42
#include "StructureScanComplexItemTest.h"
43 44
#include "QGCMapPolylineTest.h"
#include "CorridorScanComplexItemTest.h"
45 46
#include "TransectStyleComplexItemTest.h"
#include "CameraCalcTest.h"
47
#include "FWLandingPatternTest.h"
48 49 50 51 52 53 54 55 56

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

// 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)

87
// Needs to be update for latest updates
88
//UT_REGISTER_TEST(MavlinkLogTest)