From b3282577fbb1aa14637ecb36974af812a0c52830 Mon Sep 17 00:00:00 2001 From: Richard Roberts Date: Tue, 4 Jun 2013 14:07:44 +0000 Subject: [PATCH] Revert "Swapped group name and test name in CppUnitLite to match the convention we use in unit tests" This reverts commit c186908e755d034cc821376fd78c7118c9ccf48a. --- CppUnitLite/Test.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CppUnitLite/Test.h b/CppUnitLite/Test.h index 9f97757b6..52b79f65c 100644 --- a/CppUnitLite/Test.h +++ b/CppUnitLite/Test.h @@ -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 () {};\