Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
9d2204be
Commit
9d2204be
authored
Oct 27, 2018
by
Patrick José Pereira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qgcunittest: Move to pragma once
Signed-off-by:
Patrick José Pereira
<
patrickelectric@gmail.com
>
parent
d96fc0a6
Changes
13
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
47 additions
and
73 deletions
+47
-73
FileDialogTest.h
src/qgcunittest/FileDialogTest.h
+2
-4
FileManagerTest.h
src/qgcunittest/FileManagerTest.h
+2
-4
FlightGearTest.h
src/qgcunittest/FlightGearTest.h
+2
-4
GeoTest.h
src/qgcunittest/GeoTest.h
+2
-4
LinkManagerTest.h
src/qgcunittest/LinkManagerTest.h
+2
-4
MainWindowTest.h
src/qgcunittest/MainWindowTest.h
+2
-4
MavlinkLogTest.h
src/qgcunittest/MavlinkLogTest.h
+2
-4
MessageBoxTest.h
src/qgcunittest/MessageBoxTest.h
+2
-4
MultiSignalSpy.h
src/qgcunittest/MultiSignalSpy.h
+2
-4
RadioConfigTest.h
src/qgcunittest/RadioConfigTest.h
+2
-4
TCPLinkTest.h
src/qgcunittest/TCPLinkTest.h
+2
-4
TCPLoopBackServer.h
src/qgcunittest/TCPLoopBackServer.h
+2
-4
UnitTest.h
src/qgcunittest/UnitTest.h
+23
-25
No files found.
src/qgcunittest/FileDialogTest.h
View file @
9d2204be
/****************************************************************************
*
* (c) 2009-201
6
QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
* (c) 2009-201
8
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.
...
...
@@ -13,8 +13,7 @@
///
/// @author Don Gagne <don@thegagnes.com>
#ifndef FILEDIALOGTEST_H
#define FILEDIALOGTEST_H
#pragma once
#include "UnitTest.h"
...
...
@@ -33,4 +32,3 @@ private slots:
void
_fileDialogExpectedIncorrect_test
(
void
);
};
#endif
src/qgcunittest/FileManagerTest.h
View file @
9d2204be
/****************************************************************************
*
* (c) 2009-201
6
QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
* (c) 2009-201
8
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.
...
...
@@ -8,8 +8,7 @@
****************************************************************************/
#ifndef FileManagerTEST_H
#define FileManagerTEST_H
#pragma once
#include <QObject>
#include <QtTest/QtTest>
...
...
@@ -77,4 +76,3 @@ private:
QStringList
_fileListReceived
;
};
#endif
src/qgcunittest/FlightGearTest.h
View file @
9d2204be
/****************************************************************************
*
* (c) 2009-201
6
QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
* (c) 2009-201
8
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.
...
...
@@ -8,8 +8,7 @@
****************************************************************************/
#ifndef FLIGHTGEARTEST_H
#define FLIGHTGEARTEST_H
#pragma once
#include "UnitTest.h"
#include "TCPLink.h"
...
...
@@ -31,4 +30,3 @@ private slots:
void
_parseUIArguments_test
(
void
);
};
#endif
src/qgcunittest/GeoTest.h
View file @
9d2204be
/****************************************************************************
*
* (c) 2009-201
6
QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
* (c) 2009-201
8
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.
...
...
@@ -13,8 +13,7 @@
///
/// @author David Goodman <dagoodma@gmail.com>
#ifndef GEOTEST_H
#define GEOTEST_H
#pragma once
#include <QGeoCoordinate>
...
...
@@ -38,4 +37,3 @@ private:
QGeoCoordinate
_origin
;
};
#endif // GEOTEST_H
src/qgcunittest/LinkManagerTest.h
View file @
9d2204be
/****************************************************************************
*
* (c) 2009-201
6
QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
* (c) 2009-201
8
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.
...
...
@@ -8,8 +8,7 @@
****************************************************************************/
#ifndef LINKMANAGERTEST_H
#define LINKMANAGERTEST_H
#pragma once
#include "UnitTest.h"
#include "LinkManager.h"
...
...
@@ -54,4 +53,3 @@ private:
const
char
*
_rgSignals
[
_cSignals
];
};
#endif
src/qgcunittest/MainWindowTest.h
View file @
9d2204be
/****************************************************************************
*
* (c) 2009-201
6
QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
* (c) 2009-201
8
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.
...
...
@@ -13,8 +13,7 @@
///
/// @author Don Gagne <don@thegagnes.com>
#ifndef MAINWINDOWTEST_H
#define MAINWINDOWTEST_H
#pragma once
#include "UnitTest.h"
#include "MainWindow.h"
...
...
@@ -31,4 +30,3 @@ private:
void
_connectWindowClose_test
(
MAV_AUTOPILOT
autopilot
);
};
#endif
src/qgcunittest/MavlinkLogTest.h
View file @
9d2204be
/****************************************************************************
*
* (c) 2009-201
6
QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
* (c) 2009-201
8
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.
...
...
@@ -13,8 +13,7 @@
///
/// @author Don Gagne <don@thegagnes.com>
#ifndef MAVLINKLOGTEST_H
#define MAVLINKLOGTEST_H
#pragma once
#include "UnitTest.h"
...
...
@@ -48,4 +47,3 @@ private:
static
const
char
*
_saveLogFilename
;
///< Filename to save log files to
};
#endif
src/qgcunittest/MessageBoxTest.h
View file @
9d2204be
/****************************************************************************
*
* (c) 2009-201
6
QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
* (c) 2009-201
8
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.
...
...
@@ -13,8 +13,7 @@
///
/// @author Don Gagne <don@thegagnes.com>
#ifndef MESSAGEBOXTEST_H
#define MESSAGEBOXTEST_H
#pragma once
#include "UnitTest.h"
...
...
@@ -33,4 +32,3 @@ private slots:
void
_badResponseButton_test
(
void
);
};
#endif
src/qgcunittest/MultiSignalSpy.h
View file @
9d2204be
/****************************************************************************
*
* (c) 2009-201
6
QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
* (c) 2009-201
8
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.
...
...
@@ -8,8 +8,7 @@
****************************************************************************/
#ifndef MULTISIGNALSPY_H
#define MULTISIGNALSPY_H
#pragma once
#include <QObject>
#include <QSignalSpy>
...
...
@@ -80,4 +79,3 @@ private:
bool
_timeout
;
};
#endif
src/qgcunittest/RadioConfigTest.h
View file @
9d2204be
/****************************************************************************
*
* (c) 2009-201
6
QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
* (c) 2009-201
8
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.
...
...
@@ -8,8 +8,7 @@
****************************************************************************/
#ifndef RadioConfigTest_H
#define RadioConfigTest_H
#pragma once
#include "UnitTest.h"
#include "MockLink.h"
...
...
@@ -116,4 +115,3 @@ private:
RadioComponentController
*
_controller
;
};
#endif
src/qgcunittest/TCPLinkTest.h
View file @
9d2204be
/****************************************************************************
*
* (c) 2009-201
6
QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
* (c) 2009-201
8
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.
...
...
@@ -8,8 +8,7 @@
****************************************************************************/
#ifndef TCPLINKTEST_H
#define TCPLINKTEST_H
#pragma once
#include "UnitTest.h"
#include "TCPLink.h"
...
...
@@ -67,4 +66,3 @@ private:
const
char
*
_rgSignals
[
_cSignals
];
};
#endif
src/qgcunittest/TCPLoopBackServer.h
View file @
9d2204be
/****************************************************************************
*
* (c) 2009-201
6
QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
* (c) 2009-201
8
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.
...
...
@@ -8,8 +8,7 @@
****************************************************************************/
#ifndef TCPLOOPBACKSERVER_H
#define TCPLOOPBACKSERVER_H
#pragma once
#include <QThread>
#include <QTcpServer>
...
...
@@ -44,4 +43,3 @@ private:
QTcpSocket
*
_tcpSocket
;
};
#endif
\ No newline at end of file
src/qgcunittest/UnitTest.h
View file @
9d2204be
/****************************************************************************
*
* (c) 2009-201
6
QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
* (c) 2009-201
8
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.
...
...
@@ -13,9 +13,8 @@
///
/// @author Don Gagne <don@thegagnes.com>
#ifndef UNITTEST_H
#define UNITTEST_H
#ifndef __mobile__
#pragma once
#include <QObject>
#include <QtTest>
...
...
@@ -213,5 +212,4 @@ private:
QSharedPointer
<
T
>
_unitTest
;
};
#endif // Android
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment