Home
last modified time | relevance | path

Searched refs:IntlTest (Results 1 – 25 of 278) sorted by relevance

12345678910>>...12

/external/cronet/third_party/icu/source/test/intltest/
Ditformat.cpp65 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 …]
Dintltest.cpp270 IntlTest::appendHex(uint32_t number, in appendHex()
320 IntlTest::toHex(uint32_t number, int32_t digits) { in toHex()
332 IntlTest::prettify(const UnicodeString &source, in prettify()
368 IntlTest::prettify(const UnicodeString &source, UBool parseBackslash) in prettify()
426 void IntlTest::setICU_DATA() { in setICU_DATA()
498 IntlTest* IntlTest::gTest = NULL;
504 if (IntlTest::gTest) in it_log()
505 IntlTest::gTest->log( message ); in it_log()
510 if (IntlTest::gTest) in it_logln()
511 IntlTest::gTest->logln( message ); in it_logln()
[all …]
Dnumbertest.h37 class AffixUtilsTest : public IntlTest {
198 class DecimalQuantityTest : public IntlTest {
224 class DoubleConversionTest : public IntlTest {
231 class ModifiersTest : public IntlTest {
250 class PatternModifierTest : public IntlTest {
276 class NumberParserTest : public IntlTest {
291 class NumberSkeletonTest : public IntlTest {
368 class NumberPermutationTest : public IntlTest {
388 class NumberTest : public IntlTest {
Drbbimonkeytest.cpp140IntlTest::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()
249IntlTest::gTest->errln("%s:%d Unrecognized break type %s", __FILE__, __LINE__, CStr(value)()); in setKeywordParameter()
276IntlTest::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()
487IntlTest::gTest->errln("%s:%d Trouble with monkey test reference rules at position %d. ", in set()
[all …]
Dtsmthred.cpp182 IntlTest::gTest->errln("Fail: status %s\n", u_errorName(status)); in doTailTest()
185 IntlTest::gTest->errln("Fail: len %d expected 3\n", length); in doTailTest()
188 IntlTest::gTest->errln("Fail: got U+%04X U+%04X expected U+%04X U+%04X\n", in doTailTest()
199 IntlTest::gTest->errln("Fail: status %s\n", u_errorName(status)); in doTailTest()
202 IntlTest::gTest->errln("Fail: len %d expected 3\n", length); in doTailTest()
205 IntlTest::gTest->errln("Fail: got U+%04X U+%04X expected U+%04X U+%04X\n", in doTailTest()
536 IntlTest::gTest->dataerrln("%s:%d Error %s on NumberFormat::createInstance().", in run()
543 IntlTest::gTest->errln("%s:%d Error %s on NumberFormat::createPercentInstance().", in run()
548 … for(iteration = 0;!IntlTest::gTest->getErrors() && iteration<kFormatThreadIterations;iteration++) in run()
558IntlTest::gTest->errln("format().. expected " + kNumberFormatTestData[whichLine].string in run()
[all …]
Dthcoll.cpp107 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()
Ditutil.cpp37 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 …]
Dsimplethread.h38 class IntlTest; variable
57 ThreadPoolBase(IntlTest *test, int32_t numThreads);
67 IntlTest *fIntlTest;
Ddtfmtrtts.h25 class DateFormatRoundTripTest : public IntlTest {
54 return ((uint32_t) (IntlTest::random() * (1<<16))) | in randLong()
55 (((uint32_t) (IntlTest::random() * (1<<16))) << 16); in randLong()
Dintltest.h29 #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
368 virtual UBool callTest( IntlTest& testToBeCalled, char* par );
386 IntlTest* caller;
429 static IntlTest* gTest;
Ditmajor.h20 class MajorTestLevel: public IntlTest {
24 class IntlTestNormalize: public IntlTest {
Ditutil.h18 class IntlTestUtilities: public IntlTest {
23 class ErrorCodeTest: public IntlTest {
Dunits_router_test.cpp13 class UnitsRouterTest : public IntlTest {
22 extern IntlTest *createUnitsRouterTest() { return new UnitsRouterTest(); } in createUnitsRouterTest()
/external/icu/icu4c/source/test/intltest/
Ditformat.cpp65 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 …]
Dintltest.cpp269 IntlTest::appendHex(uint32_t number, in appendHex()
319 IntlTest::toHex(uint32_t number, int32_t digits) { in toHex()
331 IntlTest::prettify(const UnicodeString &source, in prettify()
367 IntlTest::prettify(const UnicodeString &source, UBool parseBackslash) in prettify()
425 void IntlTest::setICU_DATA() { in setICU_DATA()
438 IntlTest* IntlTest::gTest = NULL;
444 if (IntlTest::gTest) in it_log()
445 IntlTest::gTest->log( message ); in it_log()
450 if (IntlTest::gTest) in it_logln()
451 IntlTest::gTest->logln( message ); in it_logln()
[all …]
Dnumbertest.h37 class AffixUtilsTest : public IntlTest {
199 class DecimalQuantityTest : public IntlTest {
225 class DoubleConversionTest : public IntlTest {
232 class ModifiersTest : public IntlTest {
251 class PatternModifierTest : public IntlTest {
277 class NumberParserTest : public IntlTest {
292 class NumberSkeletonTest : public IntlTest {
369 class NumberPermutationTest : public IntlTest {
389 class NumberTest : public IntlTest {
Drbbimonkeytest.cpp140IntlTest::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()
249IntlTest::gTest->errln("%s:%d Unrecognized break type %s", __FILE__, __LINE__, CStr(value)()); in setKeywordParameter()
276IntlTest::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()
487IntlTest::gTest->errln("%s:%d Trouble with monkey test reference rules at position %d. ", in set()
[all …]
Dtsmthred.cpp182 IntlTest::gTest->errln("Fail: status %s\n", u_errorName(status)); in doTailTest()
185 IntlTest::gTest->errln("Fail: len %d expected 3\n", length); in doTailTest()
188 IntlTest::gTest->errln("Fail: got U+%04X U+%04X expected U+%04X U+%04X\n", in doTailTest()
199 IntlTest::gTest->errln("Fail: status %s\n", u_errorName(status)); in doTailTest()
202 IntlTest::gTest->errln("Fail: len %d expected 3\n", length); in doTailTest()
205 IntlTest::gTest->errln("Fail: got U+%04X U+%04X expected U+%04X U+%04X\n", in doTailTest()
536 IntlTest::gTest->dataerrln("%s:%d Error %s on NumberFormat::createInstance().", in run()
543 IntlTest::gTest->errln("%s:%d Error %s on NumberFormat::createPercentInstance().", in run()
548 … for(iteration = 0;!IntlTest::gTest->getErrors() && iteration<kFormatThreadIterations;iteration++) in run()
558IntlTest::gTest->errln("format().. expected " + kNumberFormatTestData[whichLine].string in run()
[all …]
Dthcoll.cpp107 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()
Ditutil.cpp37 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 …]
Dsimplethread.h38 class IntlTest; variable
57 ThreadPoolBase(IntlTest *test, int32_t numThreads);
67 IntlTest *fIntlTest;
Ddtfmtrtts.h25 class DateFormatRoundTripTest : public IntlTest {
54 return ((uint32_t) (IntlTest::random() * (1<<16))) | in randLong()
55 (((uint32_t) (IntlTest::random() * (1<<16))) << 16); in randLong()
Dintltest.h29 #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
368 virtual UBool callTest( IntlTest& testToBeCalled, char* par, const char* basename = "");
386 IntlTest* caller;
431 static IntlTest* gTest;
Ditmajor.h20 class MajorTestLevel: public IntlTest {
24 class IntlTestNormalize: public IntlTest {
Ditutil.h18 class IntlTestUtilities: public IntlTest {
23 class ErrorCodeTest: public IntlTest {

12345678910>>...12