/external/skia/tests/ |
D | PaintBreakTextTest.cpp | 26 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()
|
D | FontNamesTest.cpp | 118 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()
|
D | SkLinearBitmapPipelineTest.cpp | 47 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()
|
D | ReadWriteAlphaTest.cpp | 85 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()
|
D | CanvasTest.cpp | 362 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 …]
|
D | ClipStackTest.cpp | 1026 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 …]
|
D | SkBlend_optsTest.cpp | 79 REPORTER_ASSERT_MESSAGE( in test_blender() 104 REPORTER_ASSERT_MESSAGE( in DEF_TEST()
|
D | DrawPathTest.cpp | 32 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()
|
D | RecordingXfermodeTest.cpp | 171 REPORTER_ASSERT_MESSAGE(reporter, 0 == numErrors, errors.c_str()); in DEF_TEST()
|
D | Test.h | 165 #define REPORTER_ASSERT_MESSAGE(r, cond, message) \ macro
|
D | SurfaceTest.cpp | 860 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()
|
D | FontHostTest.cpp | 110 REPORTER_ASSERT_MESSAGE(reporter, paintGlyphIds[i] == faceGlyphIds[i], a.c_str()); in test_charsToGlyphs()
|
D | CanvasStateTest.cpp | 43 REPORTER_ASSERT_MESSAGE(reporter, fHandle != nullptr, "Failed to open library!"); in OpenLibResult()
|
D | ImageFilterTest.cpp | 547 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()
|
D | PathTest.cpp | 1024 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()
|