/external/skqp/tests/ |
D | GrPorterDuffTest.cpp | 49 #define TEST_ASSERT(...) REPORTER_ASSERT(reporter, __VA_ARGS__) macro 91 TEST_ASSERT(!analysis.requiresDstTexture() || in XPInfo() 98 TEST_ASSERT(!xp->willReadDstColor() || in XPInfo() 101 TEST_ASSERT(xp->hasSecondaryOutput() == GrBlendCoeffRefsSrc2(fBlendInfo.fDstBlend)); in XPInfo() 126 TEST_ASSERT(!xpi.fCanCombineOverlappedStencilAndCover); in test_lcd_coverage() 127 TEST_ASSERT(xpi.fIgnoresInputColor); in test_lcd_coverage() 128 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_lcd_coverage() 129 TEST_ASSERT(kInvalid_OutputType == xpi.fPrimaryOutputType); in test_lcd_coverage() 130 TEST_ASSERT(kInvalid_OutputType == xpi.fSecondaryOutputType); in test_lcd_coverage() 131 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_lcd_coverage() [all …]
|
/external/skia/tests/ |
D | GrPorterDuffTest.cpp | 49 #define TEST_ASSERT(...) REPORTER_ASSERT(reporter, __VA_ARGS__) macro 91 TEST_ASSERT(!analysis.requiresDstTexture() || in XPInfo() 98 TEST_ASSERT(!xp->willReadDstColor() || in XPInfo() 101 TEST_ASSERT(xp->hasSecondaryOutput() == GrBlendCoeffRefsSrc2(fBlendInfo.fDstBlend)); in XPInfo() 126 TEST_ASSERT(!xpi.fCanCombineOverlappedStencilAndCover); in test_lcd_coverage() 127 TEST_ASSERT(xpi.fIgnoresInputColor); in test_lcd_coverage() 128 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_lcd_coverage() 129 TEST_ASSERT(kInvalid_OutputType == xpi.fPrimaryOutputType); in test_lcd_coverage() 130 TEST_ASSERT(kInvalid_OutputType == xpi.fSecondaryOutputType); in test_lcd_coverage() 131 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_lcd_coverage() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | v32test.cpp | 66 #define TEST_ASSERT(expr) \ macro 101 TEST_ASSERT(b->size() == 3); in UVector32_API() 102 TEST_ASSERT(b->elementAti(1) == 20); in UVector32_API() 116 TEST_ASSERT(*b != *a); in UVector32_API() 117 TEST_ASSERT(!(*b == *a)); in UVector32_API() 118 TEST_ASSERT(!b->equals(*a)); in UVector32_API() 120 TEST_ASSERT(*b == *a); in UVector32_API() 121 TEST_ASSERT(!(*b != *a)); in UVector32_API() 122 TEST_ASSERT(b->equals(*a)); in UVector32_API() 124 TEST_ASSERT(*b != *a); in UVector32_API() [all …]
|
D | uvectest.cpp | 66 #define TEST_ASSERT(expr) \ macro 115 TEST_ASSERT(a->elementAti(0) == 10); in UVector_API() 116 TEST_ASSERT(a->elementAti(1) == 15); in UVector_API() 117 TEST_ASSERT(a->elementAti(2) == 20); in UVector_API() 118 TEST_ASSERT(a->elementAti(3) == 30); in UVector_API() 119 TEST_ASSERT(a->indexOf((int32_t)3) == -1); in UVector_API() 120 TEST_ASSERT(a->indexOf((int32_t)15) == 1); in UVector_API() 121 TEST_ASSERT(a->indexOf((int32_t)15, 2) == -1); in UVector_API() 122 TEST_ASSERT(a->contains((int32_t)15)); in UVector_API() 123 TEST_ASSERT(!a->contains((int32_t)5)); in UVector_API() [all …]
|
D | utxttest.cpp | 32 #define TEST_ASSERT(x) \ macro 299 TEST_ASSERT(utext_isWritable(ut) == TRUE); in TestCMR() 437 TEST_ASSERT(status == U_INDEX_OUTOFBOUNDS_ERROR); in TestCopyMove() 454 TEST_ASSERT(uti == usi); in TestCopyMove() 455 TEST_ASSERT(utc == usc); in TestCopyMove() 467 TEST_ASSERT(uti == expectedNativeLength); in TestCopyMove() 513 TEST_ASSERT(actualDelta == expectedDelta); in TestReplace() 531 TEST_ASSERT(uti == usi); in TestReplace() 532 TEST_ASSERT(utc == usc); in TestReplace() 541 TEST_ASSERT(uti == expectedNativeLength); in TestReplace() [all …]
|
D | rbbiapts.cpp | 40 #define TEST_ASSERT(expr) {if ((expr) == FALSE) { \ macro 276 TEST_ASSERT(tstr == str1); in TestGetSetAdoptText() 288 TEST_ASSERT(wordIter1->getText() != charIter1->getText()); in TestGetSetAdoptText() 291 TEST_ASSERT(tstr == str2); in TestGetSetAdoptText() 294 TEST_ASSERT(tstr == str1); in TestGetSetAdoptText() 309 TEST_ASSERT(rb->preceding(2) == 0); in TestGetSetAdoptText() 310 TEST_ASSERT(rb->following(11) == BreakIterator::DONE); in TestGetSetAdoptText() 333 TEST_ASSERT(pos==0); in TestGetSetAdoptText() 335 TEST_ASSERT(pos==5); in TestGetSetAdoptText() 337 TEST_ASSERT(pos==6); in TestGetSetAdoptText() [all …]
|
D | itspoof.cpp | 35 #define TEST_ASSERT(expr) {if ((expr)==FALSE) { \ macro 122 TEST_ASSERT(UnicodeString("lllOO") == dest); in testSpoofAPI() 123 TEST_ASSERT(&dest == &retStr); in testSpoofAPI() 244 TEST_ASSERT(0 == position); in testInvisible() 343 TEST_ASSERT(fileSize>0); in testConfData() 390 TEST_ASSERT(actual == expected); in testConfData() 413 TEST_ASSERT(s1 == s2); in testScriptSet() 416 TEST_ASSERT(!(s1 == s2)); in testScriptSet() 417 TEST_ASSERT(s1.test(USCRIPT_ARABIC, status)); in testScriptSet() 418 TEST_ASSERT(s1.test(USCRIPT_GREEK, status) == FALSE); in testScriptSet() [all …]
|
D | alphaindextst.cpp | 75 #define TEST_ASSERT(expr) {if ((expr)==FALSE) {errln("%s:%d: Test failure \n", __FILE__, __LINE__);… macro 92 TEST_ASSERT(28 == lc); // 26 letters plus two under/overflow labels. in APITest() 102 TEST_ASSERT(coll != NULL); in APITest() 105 TEST_ASSERT(coll == &index->getCollator()); in APITest() 135 TEST_ASSERT(&aip == index); in APITest() 139 TEST_ASSERT(35 < lc); // Japanese should add a bunch. Don't rely on the exact value. in APITest() 150 TEST_ASSERT(*germanCol == indexCol); in APITest() 155 TEST_ASSERT(ELLIPSIS == s); in APITest() 157 TEST_ASSERT(ELLIPSIS == s); in APITest() 159 TEST_ASSERT(ELLIPSIS == s); in APITest() [all …]
|
D | usettest.cpp | 36 #define TEST_ASSERT(expr) {if (!(expr)) { \ macro 711 TEST_ASSERT((void *)uset == (void *)uniset); in TestAPI() 713 TEST_ASSERT((void *)setx == (void *)uset); in TestAPI() 716 TEST_ASSERT((void *)constUSet == (void *)constSet); in TestAPI() 718 TEST_ASSERT((void *)constSetx == (void *)constUSet); in TestAPI() 773 TEST_ASSERT(nextv == TRUE); in TestIteration() 774 TEST_ASSERT(isString == FALSE); in TestIteration() 775 TEST_ASSERT(codePoint==0x61); in TestIteration() 776 TEST_ASSERT(s == "a"); in TestIteration() 779 TEST_ASSERT(nextv == TRUE); in TestIteration() [all …]
|
D | numrgts.cpp | 2730 #define TEST_ASSERT(expr) \ macro 2762 TEST_ASSERT(Formattable::kDouble == val.getType()); 2763 TEST_ASSERT(1000000000 == val.getInt64(status)); 2765 TEST_ASSERT(1000000000.6 == val.getDouble(status)); 2773 TEST_ASSERT(Formattable::kDouble == val.getType()); 2774 TEST_ASSERT(100000000000000001LL == val.getInt64(status)); 2776 TEST_ASSERT(100000000000000000.0 == val.getDouble(status)); 2782 TEST_ASSERT(Formattable::kInt64 == val.getType()); 2783 TEST_ASSERT(100000000000000000LL == val.getInt64()); 2784 TEST_ASSERT(1.0E17 == val.getDouble(status)); [all …]
|
D | ssearch.cpp | 35 #define TEST_ASSERT(x) {if (!(x)) { \ macro 176 TEST_ASSERT(*strength=="TERTIARY") in searchTest() 184 TEST_ASSERT (norm==NULL || *norm=="ON" || *norm=="OFF"); in searchTest() 194 TEST_ASSERT (alt == NULL || *alt == "SHIFTED" || *alt == "NON_IGNORABLE"); in searchTest() 217 TEST_ASSERT(n != NULL); in searchTest() 253 TEST_ASSERT(nodeCount == testCase->countChildren()); in searchTest() 286 TEST_ASSERT(FALSE); // ouput generic error position in searchTest() 315 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 | 50 #define TEST_ASSERT(x) {if (!(x)) { \ macro 723 TEST_ASSERT(bi != NULL); in TestBug5775() 733 TEST_ASSERT(pos == 6); in TestBug5775() 735 TEST_ASSERT(pos == 10); in TestBug5775() 737 TEST_ASSERT(pos == 6); in TestBug5775() 1516 TEST_ASSERT(loops == 1); in TestDictRules() 1746 TEST_ASSERT(testFile != NULL); in runUnicodeTestData() 4053 TEST_ASSERT(FALSE); in TestLineBreaks() 4072 TEST_ASSERT(expectedcount < EXPECTEDSIZE); in TestLineBreaks() 4136 TEST_ASSERT(expectedcount < EXPECTEDSIZE); in TestSentBreaks() [all …]
|
D | caltest.cpp | 44 #define TEST_ASSERT(expr) {if ((expr)==FALSE) {errln("%s:%d: Test failure \n", __FILE__, __LINE__);… macro 3444 TEST_ASSERT(dow1 == dow2); in TestWeekData() 3449 TEST_ASSERT(minDays1 == minDays2); in TestWeekData() 3457 TEST_ASSERT(wdt1 == wdt2); in TestWeekData()
|
/external/icu/icu4c/source/test/cintltst/ |
D | reapits.c | 39 #define TEST_ASSERT(expr) {if ((expr)==FALSE) { \ macro 232 TEST_ASSERT(status == U_REGEX_INVALID_FLAG); in TestRegexCAPI() 238 TEST_ASSERT(status == U_REGEX_UNIMPLEMENTED); in TestRegexCAPI() 245 TEST_ASSERT(status == U_ILLEGAL_ARGUMENT_ERROR && re == NULL); in TestRegexCAPI() 251 TEST_ASSERT(status == U_USELESS_COLLATOR_ERROR && re == NULL); in TestRegexCAPI() 266 TEST_ASSERT(u_strcmp(pat, p) == 0); in TestRegexCAPI() 267 TEST_ASSERT(len==(int32_t)strlen("abc*")); in TestRegexCAPI() 292 TEST_ASSERT(clone1 != NULL); in TestRegexCAPI() 297 TEST_ASSERT(clone2 != NULL); in TestRegexCAPI() 303 TEST_ASSERT(clone3 != NULL); in TestRegexCAPI() [all …]
|
D | utexttst.c | 37 #define TEST_ASSERT(x) \ macro 77 TEST_ASSERT(c == 0x41); in TestAPI() 79 TEST_ASSERT(utb == NULL); in TestAPI() 83 TEST_ASSERT(uta == &utLoc); in TestAPI() 86 TEST_ASSERT(uta == &utLoc); in TestAPI() 101 TEST_ASSERT(utb != NULL); in TestAPI() 102 TEST_ASSERT(utb != uta); in TestAPI() 104 TEST_ASSERT(len == u_strlen(uString)); in TestAPI() 120 TEST_ASSERT(uta!=NULL); in TestAPI() 123 TEST_ASSERT(b==TRUE); in TestAPI() [all …]
|
D | tracetst.c | 52 #define TEST_ASSERT(expr) \ macro 229 TEST_ASSERT(originalTEntryFunc != testTraceEntry); in TestTraceAPI() 230 TEST_ASSERT(originalTExitFunc != testTraceExit); in TestTraceAPI() 231 TEST_ASSERT(originalTDataFunc != testTraceData); in TestTraceAPI() 235 TEST_ASSERT(e == testTraceEntry); in TestTraceAPI() 236 TEST_ASSERT(x == testTraceExit); in TestTraceAPI() 237 TEST_ASSERT(d == testTraceData); in TestTraceAPI() 238 TEST_ASSERT(context == newContext); in TestTraceAPI() 250 TEST_ASSERT(level==UTRACE_OFF); in TestTraceAPI() 253 TEST_ASSERT(level==UTRACE_VERBOSE); in TestTraceAPI() [all …]
|
D | cbiapts.c | 41 #define TEST_ASSERT(expr) {if ((expr)==FALSE) { \ macro 353 TEST_ASSERT(j == 2); in TestBreakIteratorCAPI() 358 TEST_ASSERT(j == 5); in TestBreakIteratorCAPI() 689 TEST_ASSERT(bi != NULL); in TestBreakIteratorStatusVec() 694 TEST_ASSERT(pos == 1); in TestBreakIteratorStatusVec() 699 TEST_ASSERT(numVals == 2); in TestBreakIteratorStatusVec() 700 TEST_ASSERT(vals[0] == 100); in TestBreakIteratorStatusVec() 701 TEST_ASSERT(vals[1] == 300); in TestBreakIteratorStatusVec() 702 TEST_ASSERT(vals[2] == -1); in TestBreakIteratorStatusVec() 705 TEST_ASSERT(status == U_BUFFER_OVERFLOW_ERROR); in TestBreakIteratorStatusVec() [all …]
|
D | spooftest.c | 37 #define TEST_ASSERT(expr) {if ((expr)==FALSE) { \ macro 201 TEST_ASSERT(serializedSize > 0); in TestUSpoofCAPI() 206 TEST_ASSERT(buf != NULL); in TestUSpoofCAPI() 266 TEST_ASSERT(uset_isFrozen(uset)); in TestUSpoofCAPI() 271 TEST_ASSERT(uset_equals(us, uspoof_getAllowedChars(sc, &status))); in TestUSpoofCAPI() 361 TEST_ASSERT(strcmp("", allowedLocales) == 0) in TestUSpoofCAPI() 368 TEST_ASSERT(strstr(allowedLocales, "en") != NULL); in TestUSpoofCAPI() 369 TEST_ASSERT(strstr(allowedLocales, "ru") != NULL); in TestUSpoofCAPI() 409 TEST_ASSERT(uset_equals(tmpSet, set)); in TestUSpoofCAPI()
|
D | hpmufn.c | 51 #define TEST_ASSERT(expr) \ macro
|
D | usrchtst.c | 2509 #define TEST_ASSERT(x) \ macro 2564 TEST_ASSERT (ec); in TestSearchForNull() 2571 TEST_ASSERT (ec); in TestSearchForNull() 2621 TEST_ASSERT (ec); in TestStrengthIdentical() 2627 TEST_ASSERT (ec); in TestStrengthIdentical()
|
/external/libcxx/test/std/experimental/filesystem/class.rec.dir.itr/rec.dir.itr.members/ |
D | copy_assign.pass.cpp | 43 TEST_ASSERT(it != endIt); in TEST_SUITE() 46 TEST_ASSERT(it != endIt); in TEST_SUITE() 48 TEST_ASSERT(it.depth() == 1); in TEST_SUITE() 66 TEST_ASSERT(it != endIt); in createDifferentInterestingIterator() 69 TEST_ASSERT(it != endIt); in createDifferentInterestingIterator() 71 TEST_ASSERT(it.depth() == 2); in createDifferentInterestingIterator()
|
D | move_assign.pass.cpp | 49 TEST_ASSERT(it != endIt); in TEST_SUITE() 52 TEST_ASSERT(it != endIt); in TEST_SUITE() 54 TEST_ASSERT(it.depth() == 1); in TEST_SUITE() 71 TEST_ASSERT(it != endIt); in createDifferentInterestingIterator() 74 TEST_ASSERT(it != endIt); in createDifferentInterestingIterator() 76 TEST_ASSERT(it.depth() == 2); in createDifferentInterestingIterator()
|
/external/libcxx/test/support/ |
D | rapid-cxx-test.hpp | 171 # define TEST_ASSERT(...) \ macro
|