mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 06:45:37 +08:00
Use BLACKTEST_MAIN in tests to avoid "QWARN : BlackMiscTest::CTestXPlane::acfPropertiesTest() QCoreApplication::applicationDirPath: Please instantiate the QApplication object first"
This commit is contained in:
@@ -197,7 +197,7 @@ namespace BlackMiscTest
|
||||
} // namespace
|
||||
|
||||
//! main
|
||||
BLACKTEST_APPLESS_MAIN(BlackMiscTest::CTestInterpolatorLinear);
|
||||
BLACKTEST_MAIN(BlackMiscTest::CTestInterpolatorLinear);
|
||||
|
||||
#include "testinterpolatorlinear.moc"
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ namespace BlackMiscTest
|
||||
} // namespace
|
||||
|
||||
//! main
|
||||
BLACKTEST_APPLESS_MAIN(BlackMiscTest::CTestInterpolatorMisc);
|
||||
BLACKTEST_MAIN(BlackMiscTest::CTestInterpolatorMisc);
|
||||
|
||||
#include "testinterpolatormisc.moc"
|
||||
|
||||
|
||||
@@ -185,7 +185,7 @@ namespace BlackMiscTest
|
||||
} // namespace
|
||||
|
||||
//! main
|
||||
BLACKTEST_APPLESS_MAIN(BlackMiscTest::CTestInterpolatorParts);
|
||||
BLACKTEST_MAIN(BlackMiscTest::CTestInterpolatorParts);
|
||||
|
||||
#include "testinterpolatorparts.moc"
|
||||
|
||||
|
||||
@@ -100,7 +100,7 @@ namespace BlackMiscTest
|
||||
}
|
||||
|
||||
//! main
|
||||
BLACKTEST_APPLESS_MAIN(BlackMiscTest::CTestXPlane);
|
||||
BLACKTEST_MAIN(BlackMiscTest::CTestXPlane);
|
||||
|
||||
#include "testxplane.moc"
|
||||
|
||||
|
||||
@@ -80,7 +80,7 @@ namespace BlackMiscTest
|
||||
}
|
||||
|
||||
//! main
|
||||
BLACKTEST_APPLESS_MAIN(BlackMiscTest::CTestCompress);
|
||||
BLACKTEST_MAIN(BlackMiscTest::CTestCompress);
|
||||
|
||||
#include "testcompress.moc"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user