mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-17 19:05:31 +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
|
} // namespace
|
||||||
|
|
||||||
//! main
|
//! main
|
||||||
BLACKTEST_APPLESS_MAIN(BlackMiscTest::CTestInterpolatorLinear);
|
BLACKTEST_MAIN(BlackMiscTest::CTestInterpolatorLinear);
|
||||||
|
|
||||||
#include "testinterpolatorlinear.moc"
|
#include "testinterpolatorlinear.moc"
|
||||||
|
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ namespace BlackMiscTest
|
|||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
//! main
|
//! main
|
||||||
BLACKTEST_APPLESS_MAIN(BlackMiscTest::CTestInterpolatorMisc);
|
BLACKTEST_MAIN(BlackMiscTest::CTestInterpolatorMisc);
|
||||||
|
|
||||||
#include "testinterpolatormisc.moc"
|
#include "testinterpolatormisc.moc"
|
||||||
|
|
||||||
|
|||||||
@@ -185,7 +185,7 @@ namespace BlackMiscTest
|
|||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
//! main
|
//! main
|
||||||
BLACKTEST_APPLESS_MAIN(BlackMiscTest::CTestInterpolatorParts);
|
BLACKTEST_MAIN(BlackMiscTest::CTestInterpolatorParts);
|
||||||
|
|
||||||
#include "testinterpolatorparts.moc"
|
#include "testinterpolatorparts.moc"
|
||||||
|
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ namespace BlackMiscTest
|
|||||||
}
|
}
|
||||||
|
|
||||||
//! main
|
//! main
|
||||||
BLACKTEST_APPLESS_MAIN(BlackMiscTest::CTestXPlane);
|
BLACKTEST_MAIN(BlackMiscTest::CTestXPlane);
|
||||||
|
|
||||||
#include "testxplane.moc"
|
#include "testxplane.moc"
|
||||||
|
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ namespace BlackMiscTest
|
|||||||
}
|
}
|
||||||
|
|
||||||
//! main
|
//! main
|
||||||
BLACKTEST_APPLESS_MAIN(BlackMiscTest::CTestCompress);
|
BLACKTEST_MAIN(BlackMiscTest::CTestCompress);
|
||||||
|
|
||||||
#include "testcompress.moc"
|
#include "testcompress.moc"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user