Searched refs:REPORTER_ASSERT_MESSAGE (Results 1 - 15 of 15) sorted by relevance

/external/skia/tests/
H A DPaintBreakTextTest.cpp26 REPORTER_ASSERT_MESSAGE(reporter, n <= length, msg);
27 REPORTER_ASSERT_MESSAGE(reporter, m <= width, msg);
30 REPORTER_ASSERT_MESSAGE(reporter, m == 0, msg);
34 REPORTER_ASSERT_MESSAGE(reporter, m == mm, msg);
36 REPORTER_ASSERT_MESSAGE(reporter, n > nn, msg);
37 REPORTER_ASSERT_MESSAGE(reporter, m > mm, msg);
55 REPORTER_ASSERT_MESSAGE(reporter, length2 == length, msg);
56 REPORTER_ASSERT_MESSAGE(reporter, mm == width, msg);
71 REPORTER_ASSERT_MESSAGE(reporter, length == kSize, msg);
72 REPORTER_ASSERT_MESSAGE(reporte
[all...]
H A DFontNamesTest.cpp118 REPORTER_ASSERT_MESSAGE(reporter,
123 REPORTER_ASSERT_MESSAGE(reporter,
133 REPORTER_ASSERT_MESSAGE(reporter, nameIndex == test[i].nameCount,
136 REPORTER_ASSERT_MESSAGE(reporter, !iter.next(record),
186 REPORTER_ASSERT_MESSAGE(reporter,
198 REPORTER_ASSERT_MESSAGE(reporter,
H A DCanvasTest.cpp27 * REPORTER_ASSERT_MESSAGE(reporter, (...), \
377 REPORTER_ASSERT_MESSAGE(reporter, canvas-> CALL , \
408 REPORTER_ASSERT_MESSAGE(reporter, canvas->getSaveCount() == saveCount,
410 REPORTER_ASSERT_MESSAGE(reporter, canvas->getTotalMatrix().isIdentity(),
412 // REPORTER_ASSERT_MESSAGE(reporter, canvas->getTotalClip() != kTestRegion, testStep->assertMessage());
421 REPORTER_ASSERT_MESSAGE(reporter, canvas->getSaveCount() == saveCount,
431 REPORTER_ASSERT_MESSAGE(reporter, canvas->getSaveCount() == saveCount,
441 REPORTER_ASSERT_MESSAGE(reporter, canvas->getSaveCount() == saveCount,
502 REPORTER_ASSERT_MESSAGE(reporter, baseSaveCount == n, testStep->assertMessage());
503 REPORTER_ASSERT_MESSAGE(reporte
[all...]
H A DReadWriteAlphaTest.cpp84 REPORTER_ASSERT_MESSAGE(reporter, result, "Initial A8 writePixels failed");
93 REPORTER_ASSERT_MESSAGE(reporter, result, "Initial A8 readPixels failed");
115 REPORTER_ASSERT_MESSAGE(reporter, result, "A8 readPixels after clear failed");
183 REPORTER_ASSERT_MESSAGE(reporter, result, "8888 readPixels failed");
H A DSkLinearBitmapPipelineTest.cpp47 REPORTER_ASSERT_MESSAGE(reporter, prefixStart == start, dump(cut, prefix, span));
48 REPORTER_ASSERT_MESSAGE(reporter, prefixLen == len, dump(cut, prefix, span));
49 REPORTER_ASSERT_MESSAGE(reporter, prefixCount == count, dump(cut, prefix, span));
69 REPORTER_ASSERT_MESSAGE(reporter, expectedRemainderStart == remainderStart,
71 REPORTER_ASSERT_MESSAGE(reporter,
74 REPORTER_ASSERT_MESSAGE(reporter,
H A DSkBlend_optsTest.cpp79 REPORTER_ASSERT_MESSAGE(
104 REPORTER_ASSERT_MESSAGE(
H A DClipStackTest.cpp1024 REPORTER_ASSERT_MESSAGE(reporter,
1030 REPORTER_ASSERT_MESSAGE(reporter, reduced->hasIBounds(), testCase.c_str());
1037 REPORTER_ASSERT_MESSAGE(reporter,
1041 REPORTER_ASSERT_MESSAGE(reporter, reduced->requiresAA() == doAA, testCase.c_str());
1067 REPORTER_ASSERT_MESSAGE(reporter, region == reducedRegion, testCase.c_str());
1226 REPORTER_ASSERT_MESSAGE(reporter, reduced.elements().isEmpty(), testName.c_str());
1227 REPORTER_ASSERT_MESSAGE(reporter,
1233 REPORTER_ASSERT_MESSAGE(reporter,
1237 REPORTER_ASSERT_MESSAGE(reporter, reduced.elements().isEmpty(), testName.c_str());
1238 REPORTER_ASSERT_MESSAGE(reporte
[all...]
H A DRecordingXfermodeTest.cpp170 REPORTER_ASSERT_MESSAGE(reporter, 0 == numErrors, errors.c_str());
H A DDrawPathTest.cpp32 REPORTER_ASSERT_MESSAGE(reporter, false, "readPixels failed");
47 REPORTER_ASSERT_MESSAGE(reporter, false, "readPixels failed");
H A DTest.h110 REPORTER_ASSERT_MESSAGE(reporter, x == 15, "x should be 15");
165 #define REPORTER_ASSERT_MESSAGE(r, cond, message) \ macro
H A DCanvasStateTest.cpp42 REPORTER_ASSERT_MESSAGE(reporter, fHandle != nullptr, "Failed to open library!");
H A DFontHostTest.cpp110 REPORTER_ASSERT_MESSAGE(reporter, paintGlyphIds[i] == faceGlyphIds[i], a.c_str());
H A DSurfaceTest.cpp850 REPORTER_ASSERT_MESSAGE(reporter, SkToBool(surface) == shouldWork, fullTestName.c_str());
854 REPORTER_ASSERT_MESSAGE(reporter, image, testConfig.fDescription);
856 REPORTER_ASSERT_MESSAGE(reporter, imageColorSpace == testConfig.fColorSpace.get(),
H A DImageFilterTest.cpp544 REPORTER_ASSERT_MESSAGE(reporter, resultImg, filters.getName(i));
545 REPORTER_ASSERT_MESSAGE(reporter, offset.fX == 20 && offset.fY == 30, filters.getName(i));
757 REPORTER_ASSERT_MESSAGE(reporter, !diffs, filters.getName(i));
H A DPathTest.cpp1022 REPORTER_ASSERT_MESSAGE(reporter, false, "unexpected quad verb");
1025 REPORTER_ASSERT_MESSAGE(reporter, false, "unexpected conic verb");
1028 REPORTER_ASSERT_MESSAGE(reporter, false, "unexpected cubic verb");

Completed in 9675 milliseconds