Revert "Swapped group name and test name in CppUnitLite to match the convention we use in unit tests"

This reverts commit c186908e755d034cc821376fd78c7118c9ccf48a.
release/4.3a0
Richard Roberts 2013-06-04 14:07:44 +00:00
parent 7e55353af7
commit b3282577fb
1 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ protected:
/**
* Normal test will wrap execution in a try/catch block to catch exceptions more effectively
*/
#define TEST(testGroup, testName)\
#define TEST(testName, testGroup)\
class testGroup##testName##Test : public Test \
{ public: testGroup##testName##Test () : Test (#testName "Test", __FILE__, __LINE__, true) {} \
virtual ~testGroup##testName##Test () {};\
@ -72,7 +72,7 @@ protected:
* For debugging only: use TEST_UNSAFE to allow debuggers to have access to exceptions, as this
* will not wrap execution with a try/catch block
*/
#define TEST_UNSAFE(testGroup, testName)\
#define TEST_UNSAFE(testName, testGroup)\
class testGroup##testName##Test : public Test \
{ public: testGroup##testName##Test () : Test (#testName "Test", __FILE__, __LINE__, false) {} \
virtual ~testGroup##testName##Test () {};\