51 lines
721 B
C++
Executable File
51 lines
721 B
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* Unittest
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <../../logger.h>
|
|
#include <QCoreApplication>
|
|
#include <QtTest/QTest>
|
|
#include <AreaEffectSimulation/Utils/firing_timer.h>
|
|
|
|
|
|
|
|
class UnitTestBasics : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
UnitTestBasics();
|
|
|
|
private Q_SLOTS:
|
|
|
|
// void init();
|
|
|
|
void test_isNull_isNaN();
|
|
|
|
void test_operator_equal_1();
|
|
|
|
void test_container();
|
|
|
|
void test_SFINAE();
|
|
|
|
|
|
void test_fireTimer10();
|
|
|
|
void test_fireTimer15();
|
|
|
|
void test_fireTimer20();
|
|
void test_fireTimer21();
|
|
void test_fireTimer22();
|
|
|
|
|
|
// void cleanup();
|
|
|
|
private:
|
|
AreaEffectSimulation::LOGGER_T &m_logger;
|
|
};
|