Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
@@ -0,0 +1,118 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* Moduletest
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <QCoreApplication>
|
||||
#include <QtTest/QTest>
|
||||
#include <QDialog>
|
||||
|
||||
#include <Common/situation_map_logging.h>
|
||||
|
||||
namespace AdvancedSymbology
|
||||
{
|
||||
enum class SymbologyType;
|
||||
}
|
||||
|
||||
|
||||
class SituationMapTestsMain : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
SituationMapTestsMain(AdvancedSymbology::SymbologyType symbologyType);
|
||||
virtual ~SituationMapTestsMain();
|
||||
|
||||
private Q_SLOTS:
|
||||
|
||||
void initTestCase();
|
||||
|
||||
void checkMapReady();
|
||||
void checkMapNotifier();
|
||||
void checkCenter();
|
||||
void checkExtent();
|
||||
|
||||
void checkMapIsUTM();
|
||||
|
||||
|
||||
// void convertMgrsBasePoint(); // not supported by QuartztBeta1
|
||||
void convertUTMBasePoint();
|
||||
|
||||
void checkOriginTranslated();
|
||||
void checkPositionsTranslated();
|
||||
void checkPositionAngles();
|
||||
|
||||
|
||||
void measureProject();
|
||||
void measurceLocationToElevationBulk();
|
||||
|
||||
void checkMapObjectProperties();
|
||||
|
||||
void checkObjectFactoryContainer(); // contains, get etc.
|
||||
void checkObjectAndLayerFactory(); // checks layerOnDemand
|
||||
|
||||
void checkOverlayHandler1();
|
||||
void checkOverlayHandler2();
|
||||
void checkOverlayHandler3();
|
||||
|
||||
// void checkRubberbandFactory();
|
||||
|
||||
|
||||
void measureCoordTranslationFunctor();
|
||||
void checkCoordinateConversion();
|
||||
|
||||
#ifndef Q_OS_WIN
|
||||
# define CrashUnderWindows
|
||||
#endif
|
||||
#ifdef CrashUnderWindows
|
||||
void checkCreationAndRemoveMySelf();
|
||||
|
||||
void checkGraphicalObject();
|
||||
#endif
|
||||
void checkGraphicalObjectEllipse();
|
||||
void checkGraphicalObjectPath();
|
||||
void checkGraphicalObjectPictureMarker1();
|
||||
void checkGraphicalObjectPictureMarker2();
|
||||
void checkGraphicalObjectPictureMarker3();
|
||||
void checkGraphicalObjectRange();
|
||||
void checkGraphicalObjectText();
|
||||
void checkGraphicalObjectTacticalAppearance();
|
||||
|
||||
void checkBasicPathObjectImpl();
|
||||
|
||||
void checkChemicalAgent();
|
||||
void checkParticipant();
|
||||
|
||||
void checkEventDispatcher();
|
||||
|
||||
void checkRubberbandMultiPointFeature();
|
||||
void checkRubberbandRectangle();
|
||||
void checkRubberbandRectangleIndex();
|
||||
void checkRubberbandCorridor();
|
||||
|
||||
void checkRubberCoordinateProjection();
|
||||
|
||||
void cleanupTestCase();
|
||||
|
||||
protected:
|
||||
|
||||
void reInitTestCaseUntilSetCenter();
|
||||
|
||||
template<class RubberbandClass> void checkRubberband(const char *className);
|
||||
template<class RubberbandClass> void checkRubberbandProjection(const char *className);
|
||||
|
||||
|
||||
private:
|
||||
|
||||
SituationMap::LOGGER_T m_logger;
|
||||
|
||||
class Private;
|
||||
Private *d = nullptr;
|
||||
|
||||
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user