diff --git a/tests/blackmisc/aviation/testaircraftparts/testaircraftparts.cpp b/tests/blackmisc/aviation/testaircraftparts/testaircraftparts.cpp index 7316aaea6..574b8665d 100644 --- a/tests/blackmisc/aviation/testaircraftparts/testaircraftparts.cpp +++ b/tests/blackmisc/aviation/testaircraftparts/testaircraftparts.cpp @@ -82,7 +82,8 @@ namespace BlackMiscTest } } // ns -BLACKTEST_APPLESS_MAIN(BlackMiscTest::CTestAircraftParts) +//! main +BLACKTEST_APPLESS_MAIN(BlackMiscTest::CTestAircraftParts); #include "testaircraftparts.moc" diff --git a/tests/test.h b/tests/test.h index ed77b4ffe..8485b7de8 100644 --- a/tests/test.h +++ b/tests/test.h @@ -48,7 +48,8 @@ { \ return EXIT_FAILURE; \ } \ - } + } \ + static_assert(true) //! Implements a main() function that executes all tests in TestObject //! including instantiating a QCoreApplication object. @@ -66,7 +67,8 @@ { \ return EXIT_FAILURE; \ } \ - } + } \ + static_assert(true) //! \endcond