Home
last modified time | relevance | path

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

/external/skia/tests/
DPaintBreakTextTest.cpp26 REPORTER_ASSERT_MESSAGE(reporter, n <= length, msg); in test_monotonic()
27 REPORTER_ASSERT_MESSAGE(reporter, m <= width, msg); in test_monotonic()
30 REPORTER_ASSERT_MESSAGE(reporter, m == 0, msg); in test_monotonic()
34 REPORTER_ASSERT_MESSAGE(reporter, m == mm, msg); in test_monotonic()
36 REPORTER_ASSERT_MESSAGE(reporter, n > nn, msg); in test_monotonic()
37 REPORTER_ASSERT_MESSAGE(reporter, m > mm, msg); in test_monotonic()
55 REPORTER_ASSERT_MESSAGE(reporter, length2 == length, msg); in test_eq_measure_text()
56 REPORTER_ASSERT_MESSAGE(reporter, mm == width, msg); in test_eq_measure_text()
71 REPORTER_ASSERT_MESSAGE(reporter, length == kSize, msg); in test_long_text()
72 REPORTER_ASSERT_MESSAGE(reporter, mm == width, msg); in test_long_text()
DFontNamesTest.cpp118 REPORTER_ASSERT_MESSAGE(reporter, in test_synthetic()
123 REPORTER_ASSERT_MESSAGE(reporter, in test_synthetic()
133 REPORTER_ASSERT_MESSAGE(reporter, nameIndex == test[i].nameCount, in test_synthetic()
136 REPORTER_ASSERT_MESSAGE(reporter, !iter.next(record), in test_synthetic()
186 REPORTER_ASSERT_MESSAGE(reporter, in test_systemfonts()
198 REPORTER_ASSERT_MESSAGE(reporter, in test_systemfonts()
DSkLinearBitmapPipelineTest.cpp47 REPORTER_ASSERT_MESSAGE(reporter, prefixStart == start, dump(cut, prefix, span)); in check_span_result()
48 REPORTER_ASSERT_MESSAGE(reporter, prefixLen == len, dump(cut, prefix, span)); in check_span_result()
49 REPORTER_ASSERT_MESSAGE(reporter, prefixCount == count, dump(cut, prefix, span)); in check_span_result()
69 REPORTER_ASSERT_MESSAGE(reporter, expectedRemainderStart == remainderStart, in check_span_result()
71 REPORTER_ASSERT_MESSAGE(reporter, in check_span_result()
74 REPORTER_ASSERT_MESSAGE(reporter, in check_span_result()
DReadWriteAlphaTest.cpp85 REPORTER_ASSERT_MESSAGE(reporter, result, "Initial A8 writePixels failed"); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
94 REPORTER_ASSERT_MESSAGE(reporter, result, "Initial A8 readPixels failed"); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
116 REPORTER_ASSERT_MESSAGE(reporter, result, "A8 readPixels after clear failed"); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
190 REPORTER_ASSERT_MESSAGE(reporter, result, "8888 readPixels failed"); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DCanvasTest.cpp362 REPORTER_ASSERT_MESSAGE(reporter, canvas-> CALL , \
393 REPORTER_ASSERT_MESSAGE(reporter, canvas->getSaveCount() == saveCount, in SaveMatrixClipStep()
395 REPORTER_ASSERT_MESSAGE(reporter, canvas->getTotalMatrix().isIdentity(), in SaveMatrixClipStep()
406 REPORTER_ASSERT_MESSAGE(reporter, canvas->getSaveCount() == saveCount, in SaveLayerStep()
416 REPORTER_ASSERT_MESSAGE(reporter, canvas->getSaveCount() == saveCount, in BoundedSaveLayerStep()
426 REPORTER_ASSERT_MESSAGE(reporter, canvas->getSaveCount() == saveCount, in PaintSaveLayerStep()
488 REPORTER_ASSERT_MESSAGE(reporter, baseSaveCount == n, testStep->assertMessage()); in SaveRestoreTestStep()
489 REPORTER_ASSERT_MESSAGE(reporter, baseSaveCount + 1 == canvas->getSaveCount(), in SaveRestoreTestStep()
493 REPORTER_ASSERT_MESSAGE(reporter, baseSaveCount + 3 == canvas->getSaveCount(), in SaveRestoreTestStep()
496 REPORTER_ASSERT_MESSAGE(reporter, baseSaveCount + 1 == canvas->getSaveCount(), in SaveRestoreTestStep()
[all …]
DClipStackTest.cpp1026 REPORTER_ASSERT_MESSAGE(reporter, in test_reduced_clip_stack()
1032 REPORTER_ASSERT_MESSAGE(reporter, reduced->hasIBounds(), testCase.c_str()); in test_reduced_clip_stack()
1039 REPORTER_ASSERT_MESSAGE(reporter, in test_reduced_clip_stack()
1043 REPORTER_ASSERT_MESSAGE(reporter, reduced->requiresAA() == doAA, testCase.c_str()); in test_reduced_clip_stack()
1069 REPORTER_ASSERT_MESSAGE(reporter, region == reducedRegion, testCase.c_str()); in test_reduced_clip_stack()
1228 REPORTER_ASSERT_MESSAGE(reporter, reduced.elements().isEmpty(), testName.c_str()); in test_aa_query()
1229 REPORTER_ASSERT_MESSAGE(reporter, in test_aa_query()
1235 REPORTER_ASSERT_MESSAGE(reporter, in test_aa_query()
1239 REPORTER_ASSERT_MESSAGE(reporter, reduced.elements().isEmpty(), testName.c_str()); in test_aa_query()
1240 REPORTER_ASSERT_MESSAGE(reporter, in test_aa_query()
[all …]
DSkBlend_optsTest.cpp79 REPORTER_ASSERT_MESSAGE( in test_blender()
104 REPORTER_ASSERT_MESSAGE( in DEF_TEST()
DDrawPathTest.cpp32 REPORTER_ASSERT_MESSAGE(reporter, false, "readPixels failed"); in test_big_aa_rect()
47 REPORTER_ASSERT_MESSAGE(reporter, false, "readPixels failed"); in test_big_aa_rect()
DRecordingXfermodeTest.cpp171 REPORTER_ASSERT_MESSAGE(reporter, 0 == numErrors, errors.c_str()); in DEF_TEST()
DTest.h165 #define REPORTER_ASSERT_MESSAGE(r, cond, message) \ macro
DSurfaceTest.cpp860 REPORTER_ASSERT_MESSAGE(reporter, SkToBool(surface) == shouldWork, fullTestName.c_str()); in test_surface_creation_and_snapshot_with_color_space()
864 REPORTER_ASSERT_MESSAGE(reporter, image, testConfig.fDescription); in test_surface_creation_and_snapshot_with_color_space()
866 REPORTER_ASSERT_MESSAGE(reporter, imageColorSpace == testConfig.fColorSpace.get(), in test_surface_creation_and_snapshot_with_color_space()
DFontHostTest.cpp110 REPORTER_ASSERT_MESSAGE(reporter, paintGlyphIds[i] == faceGlyphIds[i], a.c_str()); in test_charsToGlyphs()
DCanvasStateTest.cpp43 REPORTER_ASSERT_MESSAGE(reporter, fHandle != nullptr, "Failed to open library!"); in OpenLibResult()
DImageFilterTest.cpp547 REPORTER_ASSERT_MESSAGE(reporter, resultImg, filters.getName(i)); in test_crop_rects()
548 REPORTER_ASSERT_MESSAGE(reporter, offset.fX == 20 && offset.fY == 30, filters.getName(i)); in test_crop_rects()
754 REPORTER_ASSERT_MESSAGE(reporter, !diffs, filters.getName(i)); in DEF_TEST()
DPathTest.cpp1024 REPORTER_ASSERT_MESSAGE(reporter, false, "unexpected quad verb"); in test_poly()
1027 REPORTER_ASSERT_MESSAGE(reporter, false, "unexpected conic verb"); in test_poly()
1030 REPORTER_ASSERT_MESSAGE(reporter, false, "unexpected cubic verb"); in test_poly()