refactor: Require semicolon at end of test macros

This commit is contained in:
Lars Toenning
2023-12-30 23:42:54 +01:00
parent 6bafb74000
commit 784bf75e0d
2 changed files with 6 additions and 3 deletions

View File

@@ -82,7 +82,8 @@ namespace BlackMiscTest
}
} // ns
BLACKTEST_APPLESS_MAIN(BlackMiscTest::CTestAircraftParts)
//! main
BLACKTEST_APPLESS_MAIN(BlackMiscTest::CTestAircraftParts);
#include "testaircraftparts.moc"

View File

@@ -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