/external/icu/icu4c/source/test/intltest/ |
D | itformat.cpp | 65 extern IntlTest *createCompactDecimalFormatTest(); 66 extern IntlTest *createGenderInfoTest(); 68 extern IntlTest *createRelativeDateTimeFormatterTest(); 70 extern IntlTest *createTimeUnitTest(); 71 extern IntlTest *createMeasureFormatTest(); 72 extern IntlTest *createNumberFormatSpecificationTest(); 73 extern IntlTest *createScientificNumberFormatterTest(); 74 extern IntlTest *createFormattedValueTest(); 75 extern IntlTest *createFormattedStringBuilderTest(); 76 extern IntlTest *createStringSegmentTest(); [all …]
|
D | intltest.cpp | 268 IntlTest::appendHex(uint32_t number, in appendHex() 318 IntlTest::toHex(uint32_t number, int32_t digits) { in toHex() 330 IntlTest::prettify(const UnicodeString &source, in prettify() 366 IntlTest::prettify(const UnicodeString &source, UBool parseBackslash) in prettify() 424 void IntlTest::setICU_DATA() { in setICU_DATA() 437 IntlTest* IntlTest::gTest = NULL; 443 if (IntlTest::gTest) in it_log() 444 IntlTest::gTest->log( message ); in it_log() 449 if (IntlTest::gTest) in it_logln() 450 IntlTest::gTest->logln( message ); in it_logln() [all …]
|
D | numbertest.h | 37 class AffixUtilsTest : public IntlTest { 175 class DecimalQuantityTest : public IntlTest { 199 class DoubleConversionTest : public IntlTest { 206 class ModifiersTest : public IntlTest { 225 class PatternModifierTest : public IntlTest { 238 class PatternStringTest : public IntlTest { 250 class NumberParserTest : public IntlTest { 265 class NumberSkeletonTest : public IntlTest { 336 class NumberPermutationTest : public IntlTest { 356 class NumberTest : public IntlTest {
|
D | rbbimonkeytest.cpp | 140 … IntlTest::gTest->errln("%s:%d: error %s creating UnicodeSet %s\n Expanded set definition: %s", in addCharClass() 154 IntlTest::gTest->logln("Redefinition of character class %s\n", CStr(cclass->fName)()); in addCharClass() 177 IntlTest::gTest->errln("%s:%d char class \"%s\" unrecognized in rule \"%s\"", in addRule() 222 IntlTest::gTest->errln("%s:%d Error creating regular expression for %s", in addRule() 249 … IntlTest::gTest->errln("%s:%d Unrecognized break type %s", __FILE__, __LINE__, CStr(value)()); in setKeywordParameter() 276 … IntlTest::gTest->errln("%s:%d Bad break iterator type of %d", __FILE__, __LINE__, fType); in createICUBreakIterator() 336 IntlTest::gTest->errln("%s:%d: Unrecognized line in rule file %s: \"%s\"\n", in compileRules() 354 IntlTest::gTest->errln("%s:%d: internal error, set names (%s, %s) inconsistent.\n", in compileRules() 395 void MonkeyTestData::set(BreakRules *rules, IntlTest::icu_rand &rand, UErrorCode &status) { in set() 487 … IntlTest::gTest->errln("%s:%d Trouble with monkey test reference rules at position %d. ", in set() [all …]
|
D | tsmthred.cpp | 181 IntlTest::gTest->errln("Fail: status %s\n", u_errorName(status)); in doTailTest() 184 IntlTest::gTest->errln("Fail: len %d expected 3\n", length); in doTailTest() 187 IntlTest::gTest->errln("Fail: got U+%04X U+%04X expected U+%04X U+%04X\n", in doTailTest() 198 IntlTest::gTest->errln("Fail: status %s\n", u_errorName(status)); in doTailTest() 201 IntlTest::gTest->errln("Fail: len %d expected 3\n", length); in doTailTest() 204 IntlTest::gTest->errln("Fail: got U+%04X U+%04X expected U+%04X U+%04X\n", in doTailTest() 535 IntlTest::gTest->dataerrln("%s:%d Error %s on NumberFormat::createInstance().", in run() 542 IntlTest::gTest->errln("%s:%d Error %s on NumberFormat::createPercentInstance().", in run() 547 … for(iteration = 0;!IntlTest::gTest->getErrors() && iteration<kFormatThreadIterations;iteration++) in run() 557 … IntlTest::gTest->errln("format().. expected " + kNumberFormatTestData[whichLine].string in run() [all …]
|
D | thcoll.cpp | 107 logln((UnicodeString)"Word " + wordCount + ": " + IntlTest::prettify(word, str)); in TestNamesList() 154 logln((UnicodeString)"Word " + wordCount + ": " + IntlTest::prettify(word, str)); in TestDictionary() 167 + " compare(" + IntlTest::prettify(lastWord, str); in TestDictionary() 169 + IntlTest::prettify(word, str) + ") returned " + result in TestDictionary() 287 i/3 + ": compare(" + IntlTest::prettify(s1, t1) in compareArray() 288 + " , " + IntlTest::prettify(s2, t2) in compareArray() 316 i/3 + ": key(" + IntlTest::prettify(s1, t1) in compareArray() 317 + ").compareTo(key(" + IntlTest::prettify(s2, t2) in compareArray()
|
D | simplethread.h | 38 class IntlTest; variable 57 ThreadPoolBase(IntlTest *test, int32_t numThreads); 67 IntlTest *fIntlTest;
|
D | dtfmtrtts.h | 25 class DateFormatRoundTripTest : public IntlTest { 54 return ((uint32_t) (IntlTest::random() * (1<<16))) | in randLong() 55 (((uint32_t) (IntlTest::random() * (1<<16))) << 16); in randLong()
|
D | itutil.cpp | 37 extern IntlTest *createBytesTrieTest(); 38 extern IntlTest *createLocaleMatcherTest(); 39 static IntlTest *createLocalPointerTest(); 40 extern IntlTest *createUCharsTrieTest(); 41 static IntlTest *createEnumSetTest(); 42 extern IntlTest *createSimpleFormatterTest(); 43 extern IntlTest *createUnifiedCacheTest(); 44 extern IntlTest *createQuantityFormatterTest(); 45 extern IntlTest *createPluralMapTest(); 47 extern IntlTest *createStaticUnicodeSetsTest(); [all …]
|
D | intltest.h | 29 #pragma map(IntlTest::log( const UnicodeString &message ),"logos390") 122 LocalPointer<IntlTest> test(create##TestClass()); \ 139 class IntlTest : public TestLog { 142 IntlTest(); 159 virtual void setCaller( IntlTest* callingTest ); // for internal use only 363 virtual UBool callTest( IntlTest& testToBeCalled, char* par, const char* basename = ""); 381 IntlTest* caller; 424 static IntlTest* gTest;
|
D | itmajor.h | 20 class MajorTestLevel: public IntlTest { 24 class IntlTestNormalize: public IntlTest {
|
D | itutil.h | 18 class IntlTestUtilities: public IntlTest { 23 class ErrorCodeTest: public IntlTest {
|
D | units_router_test.cpp | 13 class UnitsRouterTest : public IntlTest { 22 extern IntlTest *createUnitsRouterTest() { return new UnitsRouterTest(); } in createUnitsRouterTest()
|
D | itformat.h | 24 class IntlTestFormat: public IntlTest { 36 class IntlTestWithFieldPosition : public IntlTest {
|
D | testutil.h | 40 static UBool checkEqualEdits(IntlTest &test, const UnicodeString &name, 44 IntlTest &test, const UnicodeString &name,
|
D | rbbimonkeytest.h | 54 class RBBIMonkeyTest: public IntlTest { 153 void set(BreakRules *rules, IntlTest::icu_rand &rand, UErrorCode &status); 195 IntlTest::icu_rand fRandomGenerator;
|
D | datadrivennumberformattestsuite.h | 23 class IntlTest; variable 28 class DataDrivenNumberFormatTestSuite : public IntlTest {
|
D | formatted_string_builder_test.cpp | 16 class FormattedStringBuilderTest : public IntlTest { 313 IntlTest::assertEquals("Lengths should be the same", a.length(), b.length()); in assertEqualsImpl() 314 …IntlTest::assertEquals("Code point counts should be the same", a.countChar32(), b.codePointCount()… in assertEqualsImpl() 321 IntlTest::assertEquals( in assertEqualsImpl() 329 extern IntlTest *createFormattedStringBuilderTest() { in createFormattedStringBuilderTest()
|
D | quantityformattertest.cpp | 27 class QuantityFormatterTest : public IntlTest { 157 extern IntlTest *createQuantityFormatterTest() { in createQuantityFormatterTest()
|
D | string_segment_test.cpp | 11 class StringSegmentTest : public IntlTest { 116 extern IntlTest *createStringSegmentTest() { in createStringSegmentTest()
|
D | itmajor.cpp | 41 extern IntlTest *createBiDiConformanceTest(); 204 LocalPointer<IntlTest> test(createBiDiConformanceTest()); in runIndexedTest()
|
D | units_data_test.cpp | 13 class UnitsDataTest : public IntlTest { 24 extern IntlTest *createUnitsDataTest() { return new UnitsDataTest(); } in createUnitsDataTest()
|
D | tfsmalls.h | 18 class TestFormatSmallClasses: public IntlTest {
|
D | tzoffloc.h | 19 class TimeZoneOffsetLocalTest : public IntlTest {
|
D | ittrans.h | 26 class IntlTestTransliterator: public IntlTest {
|