X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/374ca955a76ecab1204ca8bfa63ff9238d998416..e4f10fab0c078f399c9deef476d9c9b73b47dff8:/icuSources/test/intltest/itmajor.cpp diff --git a/icuSources/test/intltest/itmajor.cpp b/icuSources/test/intltest/itmajor.cpp index bcb74d14..b6b1ea87 100644 --- a/icuSources/test/intltest/itmajor.cpp +++ b/icuSources/test/intltest/itmajor.cpp @@ -1,6 +1,6 @@ /******************************************************************** * COPYRIGHT: - * Copyright (c) 1998-2004, International Business Machines Corporation and + * Copyright (c) 1998-2009, International Business Machines Corporation and * others. All Rights Reserved. ********************************************************************/ @@ -15,6 +15,7 @@ ***********************************************************************/ #include "unicode/utypes.h" +#include "unicode/localpointer.h" #include "itmajor.h" #include "itutil.h" @@ -25,6 +26,7 @@ #include "itrbnf.h" #include "itrbnfp.h" #include "itrbnfrt.h" +#include "itspoof.h" #include "normconf.h" #include "regextst.h" #include "tstnorm.h" @@ -32,6 +34,9 @@ #include "icusvtst.h" #include "testidna.h" #include "convtest.h" +#include "csdetest.h" + +extern IntlTest *createBiDiConformanceTest(); #define CASE_SUITE(id, suite) case id: \ name = #suite; \ @@ -169,6 +174,37 @@ void MajorTestLevel::runIndexedTest( int32_t index, UBool exec, const char* &nam #endif break; + case 13: name = "csdet"; + if (exec) { + logln("TestSuite CharsetDetection---"); logln(); + CharsetDetectionTest test; + callTest(test, par); + } + + break; + + case 14: +#if !UCONFIG_NO_REGULAR_EXPRESSIONS && !UCONFIG_NO_NORMALIZATION && !UCONFIG_NO_FILE_IO + name = "spoof"; + if (exec) { + logln("TestSuite SpoofDetection---"); logln(); + IntlTestSpoof test; + callTest(test, par); + } +#else + name = "skip"; +#endif + break; + + case 15: name = "bidi"; + if (exec) { + logln("TestSuite bidi---"); logln(); + LocalPointer test(createBiDiConformanceTest()); + callTest(*test, par); + } + + break; + default: name = ""; break; }