/external/icu/icu4c/source/test/intltest/ |
D | v32test.cpp | 64 #define TEST_ASSERT(expr) \ macro 99 TEST_ASSERT(b->size() == 3); in UVector32_API() 100 TEST_ASSERT(b->elementAti(1) == 20); in UVector32_API() 114 TEST_ASSERT(*b != *a); in UVector32_API() 115 TEST_ASSERT(!(*b == *a)); in UVector32_API() 116 TEST_ASSERT(!b->equals(*a)); in UVector32_API() 118 TEST_ASSERT(*b == *a); in UVector32_API() 119 TEST_ASSERT(!(*b != *a)); in UVector32_API() 120 TEST_ASSERT(b->equals(*a)); in UVector32_API() 122 TEST_ASSERT(*b != *a); in UVector32_API() [all …]
|
D | uvectest.cpp | 64 #define TEST_ASSERT(expr) \ macro 113 TEST_ASSERT(a->elementAti(0) == 10); in UVector_API() 114 TEST_ASSERT(a->elementAti(1) == 15); in UVector_API() 115 TEST_ASSERT(a->elementAti(2) == 20); in UVector_API() 116 TEST_ASSERT(a->elementAti(3) == 30); in UVector_API() 117 TEST_ASSERT(a->indexOf((int32_t)3) == -1); in UVector_API() 118 TEST_ASSERT(a->indexOf((int32_t)15) == 1); in UVector_API() 119 TEST_ASSERT(a->indexOf((int32_t)15, 2) == -1); in UVector_API() 120 TEST_ASSERT(a->contains((int32_t)15)); in UVector_API() 121 TEST_ASSERT(!a->contains((int32_t)5)); in UVector_API() [all …]
|
D | utxttest.cpp | 27 #define TEST_ASSERT(x) \ macro 300 TEST_ASSERT(utext_isWritable(ut) == TRUE); in TestCMR() 438 TEST_ASSERT(status == U_INDEX_OUTOFBOUNDS_ERROR); in TestCopyMove() 455 TEST_ASSERT(uti == usi); in TestCopyMove() 456 TEST_ASSERT(utc == usc); in TestCopyMove() 468 TEST_ASSERT(uti == expectedNativeLength); in TestCopyMove() 514 TEST_ASSERT(actualDelta == expectedDelta); in TestReplace() 532 TEST_ASSERT(uti == usi); in TestReplace() 533 TEST_ASSERT(utc == usc); in TestReplace() 542 TEST_ASSERT(uti == expectedNativeLength); in TestReplace() [all …]
|
D | rbbiapts.cpp | 38 #define TEST_ASSERT(expr) {if ((expr) == FALSE) { \ macro 273 TEST_ASSERT(tstr == str1); in TestGetSetAdoptText() 285 TEST_ASSERT(wordIter1->getText() != charIter1->getText()); in TestGetSetAdoptText() 288 TEST_ASSERT(tstr == str2); in TestGetSetAdoptText() 291 TEST_ASSERT(tstr == str1); in TestGetSetAdoptText() 306 TEST_ASSERT(rb->preceding(2) == 0); in TestGetSetAdoptText() 307 TEST_ASSERT(rb->following(11) == BreakIterator::DONE); in TestGetSetAdoptText() 330 TEST_ASSERT(pos==0); in TestGetSetAdoptText() 332 TEST_ASSERT(pos==5); in TestGetSetAdoptText() 334 TEST_ASSERT(pos==6); in TestGetSetAdoptText() [all …]
|
D | alphaindextst.cpp | 73 #define TEST_ASSERT(expr) {if ((expr)==FALSE) {errln("%s:%d: Test failure \n", __FILE__, __LINE__);… macro 90 TEST_ASSERT(28 == lc); // 26 letters plus two under/overflow labels. in APITest() 100 TEST_ASSERT(coll != NULL); in APITest() 103 TEST_ASSERT(coll == &index->getCollator()); in APITest() 133 TEST_ASSERT(&aip == index); in APITest() 137 TEST_ASSERT(35 < lc); // Japanese should add a bunch. Don't rely on the exact value. in APITest() 148 TEST_ASSERT(*germanCol == indexCol); in APITest() 153 TEST_ASSERT(ELLIPSIS == s); in APITest() 155 TEST_ASSERT(ELLIPSIS == s); in APITest() 157 TEST_ASSERT(ELLIPSIS == s); in APITest() [all …]
|
D | itspoof.cpp | 34 #define TEST_ASSERT(expr) {if ((expr)==FALSE) { \ macro 165 TEST_ASSERT(UnicodeString("lllOO") == dest); in testSpoofAPI() 166 TEST_ASSERT(&dest == &retStr); in testSpoofAPI() 286 TEST_ASSERT(0 == position); in testInvisible() 385 TEST_ASSERT(fileSize>0); in testConfData() 432 TEST_ASSERT(actual == expected); in testConfData() 454 TEST_ASSERT(bitset12.contains(bitset2)); in testIdentifierInfo() 455 TEST_ASSERT(bitset12.contains(bitset12)); in testIdentifierInfo() 456 TEST_ASSERT(!bitset2.contains(bitset12)); in testIdentifierInfo() 462 TEST_ASSERT(uhash_compareScriptSet(arabEl, latinEl) < 0); in testIdentifierInfo() [all …]
|
D | usettest.cpp | 31 #define TEST_ASSERT(expr) {if (!(expr)) { \ macro 702 TEST_ASSERT((void *)uset == (void *)uniset); in TestAPI() 704 TEST_ASSERT((void *)setx == (void *)uset); in TestAPI() 707 TEST_ASSERT((void *)constUSet == (void *)constSet); in TestAPI() 709 TEST_ASSERT((void *)constSetx == (void *)constUSet); in TestAPI() 764 TEST_ASSERT(nextv == TRUE); in TestIteration() 765 TEST_ASSERT(isString == FALSE); in TestIteration() 766 TEST_ASSERT(codePoint==0x61); in TestIteration() 767 TEST_ASSERT(s == "a"); in TestIteration() 770 TEST_ASSERT(nextv == TRUE); in TestIteration() [all …]
|
D | numrgts.cpp | 2709 #define TEST_ASSERT(expr) \ macro 2733 TEST_ASSERT(Formattable::kDouble == val.getType()); 2734 TEST_ASSERT(1000000000 == val.getInt64(status)); 2736 TEST_ASSERT(1000000000.6 == val.getDouble(status)); 2744 TEST_ASSERT(Formattable::kDouble == val.getType()); 2745 TEST_ASSERT(100000000000000001LL == val.getInt64(status)); 2747 TEST_ASSERT(100000000000000000.0 == val.getDouble(status)); 2753 TEST_ASSERT(Formattable::kInt64 == val.getType()); 2754 TEST_ASSERT(100000000000000000LL == val.getInt64()); 2755 TEST_ASSERT(1.0E17 == val.getDouble(status)); [all …]
|
D | ssearch.cpp | 33 #define TEST_ASSERT(x) {if (!(x)) { \ macro 175 TEST_ASSERT(*strength=="TERTIARY") in searchTest() 183 TEST_ASSERT (norm==NULL || *norm=="ON" || *norm=="OFF"); in searchTest() 193 TEST_ASSERT (alt == NULL || *alt == "SHIFTED" || *alt == "NON_IGNORABLE"); in searchTest() 216 TEST_ASSERT(n != NULL); in searchTest() 252 TEST_ASSERT(nodeCount == testCase->countChildren()); in searchTest() 285 TEST_ASSERT(FALSE); // ouput generic error position in searchTest() 314 TEST_ASSERT(FALSE); // ouput generic error position in searchTest()
|
D | csdetest.cpp | 36 #define TEST_ASSERT(x) {if (!(x)) { \ macro 838 TEST_ASSERT(strcmp(name1, "windows-1252")==0); in Ticket6954Test() 847 TEST_ASSERT(strcmp(name2, "ISO-8859-1")==0); in Ticket6954Test() 854 TEST_ASSERT(strcmp(name1, "windows-1252")==0); in Ticket6954Test()
|
D | rbbitst.cpp | 43 #define TEST_ASSERT(x) {if (!(x)) { \ macro 812 TEST_ASSERT(bi != NULL); in TestBug5775() 822 TEST_ASSERT(pos == 6); in TestBug5775() 824 TEST_ASSERT(pos == 10); in TestBug5775() 826 TEST_ASSERT(pos == 6); in TestBug5775() 1561 TEST_ASSERT(loops == 1); in TestDictRules() 1781 TEST_ASSERT(testFile != NULL); in runUnicodeTestData() 3892 TEST_ASSERT(FALSE); in TestLineBreaks() 3911 TEST_ASSERT(expectedcount < EXPECTEDSIZE); in TestLineBreaks() 3975 TEST_ASSERT(expectedcount < EXPECTEDSIZE); in TestSentBreaks() [all …]
|
D | caltest.cpp | 42 #define TEST_ASSERT(expr) {if ((expr)==FALSE) {errln("%s:%d: Test failure \n", __FILE__, __LINE__);… macro 3435 TEST_ASSERT(dow1 == dow2); in TestWeekData() 3440 TEST_ASSERT(minDays1 == minDays2); in TestWeekData() 3448 TEST_ASSERT(wdt1 == wdt2); in TestWeekData()
|
/external/icu/icu4c/source/test/cintltst/ |
D | reapits.c | 36 #define TEST_ASSERT(expr) {if ((expr)==FALSE) { \ macro 229 TEST_ASSERT(status == U_REGEX_INVALID_FLAG); in TestRegexCAPI() 235 TEST_ASSERT(status == U_REGEX_UNIMPLEMENTED); in TestRegexCAPI() 242 TEST_ASSERT(status == U_ILLEGAL_ARGUMENT_ERROR && re == NULL); in TestRegexCAPI() 248 TEST_ASSERT(status == U_USELESS_COLLATOR_ERROR && re == NULL); in TestRegexCAPI() 263 TEST_ASSERT(u_strcmp(pat, p) == 0); in TestRegexCAPI() 264 TEST_ASSERT(len==(int32_t)strlen("abc*")); in TestRegexCAPI() 289 TEST_ASSERT(clone1 != NULL); in TestRegexCAPI() 294 TEST_ASSERT(clone2 != NULL); in TestRegexCAPI() 300 TEST_ASSERT(clone3 != NULL); in TestRegexCAPI() [all …]
|
D | utexttst.c | 35 #define TEST_ASSERT(x) \ macro 75 TEST_ASSERT(c == 0x41); in TestAPI() 77 TEST_ASSERT(utb == NULL); in TestAPI() 81 TEST_ASSERT(uta == &utLoc); in TestAPI() 84 TEST_ASSERT(uta == &utLoc); in TestAPI() 99 TEST_ASSERT(utb != NULL); in TestAPI() 100 TEST_ASSERT(utb != uta); in TestAPI() 102 TEST_ASSERT(len == u_strlen(uString)); in TestAPI() 118 TEST_ASSERT(uta!=NULL); in TestAPI() 121 TEST_ASSERT(b==TRUE); in TestAPI() [all …]
|
D | tracetst.c | 50 #define TEST_ASSERT(expr) \ macro 227 TEST_ASSERT(originalTEntryFunc != testTraceEntry); in TestTraceAPI() 228 TEST_ASSERT(originalTExitFunc != testTraceExit); in TestTraceAPI() 229 TEST_ASSERT(originalTDataFunc != testTraceData); in TestTraceAPI() 233 TEST_ASSERT(e == testTraceEntry); in TestTraceAPI() 234 TEST_ASSERT(x == testTraceExit); in TestTraceAPI() 235 TEST_ASSERT(d == testTraceData); in TestTraceAPI() 236 TEST_ASSERT(context == newContext); in TestTraceAPI() 248 TEST_ASSERT(level==UTRACE_OFF); in TestTraceAPI() 251 TEST_ASSERT(level==UTRACE_VERBOSE); in TestTraceAPI() [all …]
|
D | cbiapts.c | 38 #define TEST_ASSERT(expr) {if ((expr)==FALSE) { \ macro 344 TEST_ASSERT(j == 2); in TestBreakIteratorCAPI() 349 TEST_ASSERT(j == 5); in TestBreakIteratorCAPI() 643 TEST_ASSERT(bi != NULL); in TestBreakIteratorStatusVec() 648 TEST_ASSERT(pos == 1); in TestBreakIteratorStatusVec() 653 TEST_ASSERT(numVals == 2); in TestBreakIteratorStatusVec() 654 TEST_ASSERT(vals[0] == 100); in TestBreakIteratorStatusVec() 655 TEST_ASSERT(vals[1] == 300); in TestBreakIteratorStatusVec() 656 TEST_ASSERT(vals[2] == -1); in TestBreakIteratorStatusVec() 659 TEST_ASSERT(status == U_BUFFER_OVERFLOW_ERROR); in TestBreakIteratorStatusVec() [all …]
|
D | spooftest.c | 34 #define TEST_ASSERT(expr) {if ((expr)==FALSE) { \ macro 191 TEST_ASSERT(serializedSize > 0); in TestUSpoofCAPI() 196 TEST_ASSERT(buf != NULL); in TestUSpoofCAPI() 256 TEST_ASSERT(uset_isFrozen(uset)); in TestUSpoofCAPI() 261 TEST_ASSERT(uset_equals(us, uspoof_getAllowedChars(sc, &status))); in TestUSpoofCAPI() 351 TEST_ASSERT(strcmp("", allowedLocales) == 0) in TestUSpoofCAPI() 358 TEST_ASSERT(strstr(allowedLocales, "en") != NULL); in TestUSpoofCAPI() 359 TEST_ASSERT(strstr(allowedLocales, "ru") != NULL); in TestUSpoofCAPI() 399 TEST_ASSERT(uset_equals(tmpSet, set)); in TestUSpoofCAPI()
|
D | hpmufn.c | 49 #define TEST_ASSERT(expr) \ macro
|
D | usrchtst.c | 2507 #define TEST_ASSERT(x) \ macro 2562 TEST_ASSERT (ec); in TestSearchForNull() 2569 TEST_ASSERT (ec); in TestSearchForNull() 2619 TEST_ASSERT (ec); in TestStrengthIdentical() 2625 TEST_ASSERT (ec); in TestStrengthIdentical()
|
/external/embunit/inc/ |
D | AssertImpl.h | 62 #define TEST_ASSERT(condition)\ macro
|