Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
+48
@@ -0,0 +1,48 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* UnitTests for GuezMinelayerProcessing (GMP)
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
* Created by Philipp Dassow, SLEA, 2017-05-29
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
#include <QTimer>
|
||||
#include <QSignalSpy>
|
||||
#include <QPair>
|
||||
|
||||
#include "../zssi_wi_Minenfeld_Interpreter.h"
|
||||
|
||||
namespace NGL
|
||||
{
|
||||
class INGLLogger;
|
||||
}
|
||||
|
||||
class GmpMinefieldInterpreterTestsMain : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
GmpMinefieldInterpreterTestsMain();
|
||||
|
||||
private slots:
|
||||
void initTestCase();
|
||||
// void singleLaneMinefieldTestCase();
|
||||
void minefieldTestCase_data();
|
||||
void minefieldTestCase();
|
||||
void cleanupTestCase();
|
||||
|
||||
void onSendMinefield(const wirkfeld_minensperre_rt &minefield, int veType);
|
||||
|
||||
private:
|
||||
GuezMinelayerProcessing::ZSSI_WI_Minenfeld_Interpreter *m_minefieldInterpreter;
|
||||
|
||||
wirkfeld_minensperre_rt m_receivedMinefield;
|
||||
int m_receivedVeType;
|
||||
|
||||
QTimer *m_minefieldInterpreterTimer;
|
||||
QSignalSpy *m_minefieldSpy;
|
||||
NGL::INGLLogger &m_logger;
|
||||
};
|
||||
Reference in new issue
Block a user