| Index: source/test/intltest/intltest.h
|
| diff --git a/source/test/intltest/intltest.h b/source/test/intltest/intltest.h
|
| index 7f6ad997c928f550c31dda3e3c159659d1f1e82a..877499a945f5f096c6340e80d6336f74fdf6ea78 100644
|
| --- a/source/test/intltest/intltest.h
|
| +++ b/source/test/intltest/intltest.h
|
| @@ -1,6 +1,6 @@
|
| /********************************************************************
|
| * COPYRIGHT:
|
| - * Copyright (c) 1997-2013, International Business Machines Corporation and
|
| + * Copyright (c) 1997-2014, International Business Machines Corporation and
|
| * others. All Rights Reserved.
|
| ********************************************************************/
|
|
|
| @@ -117,6 +117,30 @@ UnicodeString toString(UBool b);
|
| break; \
|
| }
|
|
|
| +#define TESTCASE_AUTO_CLASS(TestClass) \
|
| + if (index == testCaseAutoNumber++) { \
|
| + name = #TestClass; \
|
| + if (exec) { \
|
| + logln(#TestClass "---"); \
|
| + logln(); \
|
| + TestClass test; \
|
| + callTest(test, par); \
|
| + } \
|
| + break; \
|
| + }
|
| +
|
| +#define TESTCASE_AUTO_CREATE_CLASS(TestClass) \
|
| + if (index == testCaseAutoNumber++) { \
|
| + name = #TestClass; \
|
| + if (exec) { \
|
| + logln(#TestClass "---"); \
|
| + logln(); \
|
| + LocalPointer<IntlTest> test(create##TestClass()); \
|
| + callTest(*test, par); \
|
| + } \
|
| + break; \
|
| + }
|
| +
|
| #define TESTCASE_AUTO_END \
|
| name = ""; \
|
| break; \
|
| @@ -347,6 +371,7 @@ public:
|
| static const char* loadTestData(UErrorCode& err);
|
| virtual const char* getTestDataPath(UErrorCode& err);
|
| static const char* getSourceTestData(UErrorCode& err);
|
| + static char *getUnidataPath(char path[]);
|
|
|
| // static members
|
| public:
|
|
|