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

Unified Diff: icu46/source/test/intltest/ittrans.cpp

Issue 5516007: Check in the pristine copy of ICU 4.6... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: Created 10 years 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 | « icu46/source/test/intltest/ittrans.h ('k') | icu46/source/test/intltest/itutil.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: icu46/source/test/intltest/ittrans.cpp
===================================================================
--- icu46/source/test/intltest/ittrans.cpp (revision 0)
+++ icu46/source/test/intltest/ittrans.cpp (revision 0)
@@ -0,0 +1,56 @@
+/***************************************************************************
+*
+* Copyright (C) 2000-2007, International Business Machines
+* Corporation and others. All Rights Reserved.
+*
+************************************************************************
+* Date Name Description
+* 01/03/2000 Madhu Creation.
+* 03/2000 Madhu Added additional tests
+***********************************************************************/
+/**
+ * IntlTestTransliterator is the medium level test class for Transliterator
+ */
+
+#include "unicode/utypes.h"
+
+#if !UCONFIG_NO_TRANSLITERATION
+
+#include "ittrans.h"
+#include "transtst.h"
+#include "transapi.h"
+#include "cpdtrtst.h"
+#include "transrt.h"
+#include "jamotest.h"
+#include "trnserr.h"
+#include "reptest.h"
+
+#define CASE(id,test) case id: \
+ name = #test; \
+ if (exec) { \
+ logln(#test "---"); logln(); \
+ test t; \
+ callTest(t, par); \
+ } \
+ break
+
+void IntlTestTransliterator::runIndexedTest( int32_t index, UBool exec, const char* &name, char* par )
+{
+ if (exec) logln("TestSuite Transliterator");
+ switch (index) {
+ CASE(0, TransliteratorTest);
+ CASE(1, TransliteratorAPITest);
+ CASE(2, CompoundTransliteratorTest);
+ CASE(3, TransliteratorRoundTripTest);
+ CASE(4, JamoTest);
+ CASE(5, TransliteratorErrorTest);
+ CASE(6, ReplaceableTest);
+#if !UCONFIG_NO_TRANSLITERATION && defined(U_USE_UNICODE_FILTER_LOGIC_OBSOLETE_2_8)
+ CASE(7, UnicodeFilterLogicTest);
+#endif
+
+ default: name=""; break;
+ }
+}
+
+#endif /* #if !UCONFIG_NO_TRANSLITERATION */
Property changes on: icu46/source/test/intltest/ittrans.cpp
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « icu46/source/test/intltest/ittrans.h ('k') | icu46/source/test/intltest/itutil.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698