Fixed unit tests, only minor changes

This commit is contained in:
Klaus Basan
2014-02-04 14:00:10 +01:00
committed by Mathew Sutcliffe
parent fda587994d
commit 34c75c7505
4 changed files with 6 additions and 5 deletions

View File

@@ -96,7 +96,7 @@ namespace BlackMiscTest
/* /*
* Callsign * Callsign
*/ */
void CTestAviation::callsign() void CTestAviation::callsignWithContainers()
{ {
CCallsign cs1("EDDm_twr"); CCallsign cs1("EDDm_twr");
CCallsign cs2("EDDmtwr"); CCallsign cs2("EDDmtwr");

View File

@@ -30,6 +30,7 @@ namespace BlackMiscTest
* \brief Basic unit tests for physical units * \brief Basic unit tests for physical units
*/ */
void headingBasics(); void headingBasics();
/*! /*!
* \brief COM and NAV units * \brief COM and NAV units
*/ */
@@ -41,9 +42,9 @@ namespace BlackMiscTest
void transponder(); void transponder();
/*! /*!
* \brief Callsigns * \brief Callsigns // callsign containers
*/ */
void callsign(); void callsignWithContainers();
/*! /*!
* \brief Testing copying and equality of objects * \brief Testing copying and equality of objects

View File

@@ -25,4 +25,4 @@ namespace BlackMiscTest
} //namespace BlackMiscTest } //namespace BlackMiscTest
#endif //BLACKMISCTEST_TESTCONTAINERS_H #endif // guard

View File

@@ -24,7 +24,7 @@ public:
* \brief Standard test case constructor * \brief Standard test case constructor
* \param parent * \param parent
*/ */
explicit CTestPhysicalQuantities(QObject *parent = 0) : QObject(parent) {} explicit CTestPhysicalQuantities(QObject *parent = nullptr) : QObject(parent) {}
private slots: private slots:
/*! /*!