Remove "test" from the sections names in Catch unit tests

It doesn't really add anything and it's more convenient to specify the
section on the command line (using the "-c" option) if it's just a
single word, without spaces, as it doesn't need to be quoted then.
This commit is contained in:
Vadim Zeitlin 2017-11-07 02:37:24 +01:00
parent e8ceaabb87
commit cacb49c4ad

View File

@ -205,7 +205,7 @@ inline std::string wxGetCurrentTestName()
struct EatNextSemicolon struct EatNextSemicolon
#define CPPUNIT_TEST(testname) \ #define CPPUNIT_TEST(testname) \
SECTION(#testname " test") \ SECTION(#testname) \
{ \ { \
setUp(); \ setUp(); \
try \ try \