Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: source/test/intltest/intltest.h

Issue 845603002: Update ICU to 54.1 step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: remove unusued directories Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/test/intltest/incaltst.cpp ('k') | source/test/intltest/intltest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
« no previous file with comments | « source/test/intltest/incaltst.cpp ('k') | source/test/intltest/intltest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698