/external/skia/tests/ |
TopoSortTest.cpp | 130 REPORTER_ASSERT(reporter, actualResult == tests[i].fExpectedResult); 134 REPORTER_ASSERT(reporter, graph[j]->check());
|
ChecksumTest.cpp | 16 #define ASSERT(x) REPORTER_ASSERT(r, x)
|
ColorPrivTest.cpp | 5 #define ASSERT(expr) REPORTER_ASSERT(r, expr)
|
PathOpsLineParametetersTest.cpp | 76 REPORTER_ASSERT(reporter, 0);
|
ReadPixelsTest.cpp | 353 REPORTER_ASSERT(reporter, success == expectSuccess); 355 REPORTER_ASSERT(reporter, idBefore == idAfter); 363 REPORTER_ASSERT(reporter, bmp.isNull()); 372 REPORTER_ASSERT(reporter, success); 373 REPORTER_ASSERT(reporter, kN32_SkColorType == wkbmp.colorType()); 374 REPORTER_ASSERT(reporter, kPremul_SkAlphaType == wkbmp.alphaType()); 378 REPORTER_ASSERT(reporter, !success); 534 REPORTER_ASSERT(reporter, txa->width() == 2); 535 REPORTER_ASSERT(reporter, txa->height() == 2); 536 REPORTER_ASSERT(reporter, txb->width() == 2) [all...] |
TLSTest.cpp | 79 REPORTER_ASSERT(reporter, 0 == gCounter);
|
PathOpsCubicIntersectionTest.cpp | 63 REPORTER_ASSERT(reporter, xy1.approximatelyEqual(xy2)); 407 REPORTER_ASSERT(reporter, !coin || intersections.used() == 2); 421 REPORTER_ASSERT(reporter, xy1.approximatelyEqual(iPt)); 422 REPORTER_ASSERT(reporter, xy2.approximatelyEqual(iPt)); 423 REPORTER_ASSERT(reporter, xy1.approximatelyEqual(xy2)); 501 REPORTER_ASSERT(reporter, 0); 508 REPORTER_ASSERT(reporter, xy1.approximatelyEqual(xy2)); 644 REPORTER_ASSERT(reporter, result == 2); 645 REPORTER_ASSERT(reporter, i.used() == 2); 649 REPORTER_ASSERT(reporter, pt1.approximatelyEqual(pt2)) [all...] |
DrawPathTest.cpp | 30 REPORTER_ASSERT(reporter, 0 == pixel[0]); 45 REPORTER_ASSERT(reporter, 0xFFFFFFFF == pixel[0]); 293 REPORTER_ASSERT(reporter, true); 312 REPORTER_ASSERT(reporter, !dash->filterPath(&filteredPath, path, &rec, nullptr)); 313 REPORTER_ASSERT(reporter, filteredPath.isEmpty());
|
RecordOptsTest.cpp | 34 REPORTER_ASSERT(r, 2 == count_instances_of_type<SkRecords::DrawRect>(record)); 99 REPORTER_ASSERT(r, false); 187 REPORTER_ASSERT(r, drawRect != nullptr); 188 REPORTER_ASSERT(r, drawRect->paint.getColor() == 0x03020202); 328 REPORTER_ASSERT(r, saveLayer != nullptr); 329 REPORTER_ASSERT(r, saveLayer->paint->getColor() == 0x03020202);
|
PaintImageFilterTest.cpp | 56 REPORTER_ASSERT(reporter, *filterPtr == *paintPtr); 105 REPORTER_ASSERT(reporter, *filterPtr == *paintPtr);
|
PathOpsQuadLineIntersectionThreadedTest.cpp | 65 REPORTER_ASSERT(reporter, found); 76 REPORTER_ASSERT(state.fReporter, data);
|
RecordingXfermodeTest.cpp | 155 REPORTER_ASSERT(reporter, pixelsSize == pictureBM.getSize()); 159 REPORTER_ASSERT(reporter,
|
TextBlobCacheTest.cpp | 71 REPORTER_ASSERT(reporter, surface); 137 REPORTER_ASSERT(reporter, surface);
|
FloatingPointTextureTest.cpp | 55 REPORTER_ASSERT(reporter,
|
GrGLSLPrettyPrintTest.cpp | 14 #define ASSERT(x) REPORTER_ASSERT(r, x)
|
IndexedPngOverflowTest.cpp | 34 REPORTER_ASSERT(reporter, success);
|
PictureBBHTest.cpp | 50 REPORTER_ASSERT(reporter, SK_ColorGREEN == fResultBitmap.getColor(0, 0));
|
GrMemoryPoolTest.cpp | 210 REPORTER_ASSERT(reporter, rec.fInstance->checkValues(rec.fValue)); 217 REPORTER_ASSERT(reporter, rec.fInstance->checkValues(rec.fValue)); 223 REPORTER_ASSERT(reporter, rec.fInstance->checkValues(rec.fValue));
|
WritePixelsTest.cpp | 243 REPORTER_ASSERT(reporter, check = (pad[px] == static_cast<char>(DEV_PAD))); 301 REPORTER_ASSERT(reporter, genID1 != genID2); 372 REPORTER_ASSERT(reporter, setup_bitmap(&bmp, ct, at, rect.width(), 380 REPORTER_ASSERT(reporter, check_write(reporter, &canvas, bmp, 388 REPORTER_ASSERT(reporter, intersects == (idBefore != idAfter));
|
ClampRangeTest.cpp | 15 REPORTER_ASSERT(gReporter, cond); \
|
DrawTextTest.cpp | 105 REPORTER_ASSERT(reporter,
|
FitsInTest.cpp | 14 #define TEST(S, s, D, expected) REPORTER_ASSERT(reporter, (SkTFitsIn<D>((S)(s)) == (expected)))
|
PathOpsConicIntersectionTest.cpp | 314 REPORTER_ASSERT(reporter, !coin || intersections.used() == 2); 323 REPORTER_ASSERT(reporter, xy1.approximatelyEqual(iPt)); 324 REPORTER_ASSERT(reporter, xy2.approximatelyEqual(iPt)); 325 REPORTER_ASSERT(reporter, xy1.approximatelyEqual(xy2));
|
PathOpsExtendedTest.cpp | 345 REPORTER_ASSERT(reporter, 0); 356 REPORTER_ASSERT(reporter, 0); 431 REPORTER_ASSERT(state.fReporter, 0); 452 REPORTER_ASSERT(state.fReporter, 0); 466 REPORTER_ASSERT(reporter, 0); 474 REPORTER_ASSERT(reporter, 0); 478 REPORTER_ASSERT(reporter, 0); 513 REPORTER_ASSERT(reporter, 0); 574 REPORTER_ASSERT(reporter, 0);
|
RRectInPathTest.cpp | 17 REPORTER_ASSERT(reporter, path.isRRect(&out)); 24 REPORTER_ASSERT(reporter, xorBoth.isEmpty()); 47 REPORTER_ASSERT(reporter, in == out);
|