Use BLACKTEST_MAIN in tests to avoid "QWARN : BlackMiscTest::CTestXPlane::acfPropertiesTest() QCoreApplication::applicationDirPath: Please instantiate the QApplication object first"

This commit is contained in:
Klaus Basan
2018-10-14 12:39:54 +02:00
parent f6ea2a9107
commit c6025e5994
5 changed files with 5 additions and 5 deletions

View File

@@ -197,7 +197,7 @@ namespace BlackMiscTest
} // namespace
//! main
BLACKTEST_APPLESS_MAIN(BlackMiscTest::CTestInterpolatorLinear);
BLACKTEST_MAIN(BlackMiscTest::CTestInterpolatorLinear);
#include "testinterpolatorlinear.moc"

View File

@@ -54,7 +54,7 @@ namespace BlackMiscTest
} // namespace
//! main
BLACKTEST_APPLESS_MAIN(BlackMiscTest::CTestInterpolatorMisc);
BLACKTEST_MAIN(BlackMiscTest::CTestInterpolatorMisc);
#include "testinterpolatormisc.moc"

View File

@@ -185,7 +185,7 @@ namespace BlackMiscTest
} // namespace
//! main
BLACKTEST_APPLESS_MAIN(BlackMiscTest::CTestInterpolatorParts);
BLACKTEST_MAIN(BlackMiscTest::CTestInterpolatorParts);
#include "testinterpolatorparts.moc"

View File

@@ -100,7 +100,7 @@ namespace BlackMiscTest
}
//! main
BLACKTEST_APPLESS_MAIN(BlackMiscTest::CTestXPlane);
BLACKTEST_MAIN(BlackMiscTest::CTestXPlane);
#include "testxplane.moc"

View File

@@ -80,7 +80,7 @@ namespace BlackMiscTest
}
//! main
BLACKTEST_APPLESS_MAIN(BlackMiscTest::CTestCompress);
BLACKTEST_MAIN(BlackMiscTest::CTestCompress);
#include "testcompress.moc"