/external/skia/tests/ |
H A D | SGTest.cpp | 24 static void check_inval(skiatest::Reporter* reporter, const sk_sp<sksg::Node>& root, argument 37 REPORTER_ASSERT(reporter, bbox == expected_bounds); 38 REPORTER_ASSERT(reporter, ic.bounds() == expected_inval_bounds); 42 REPORTER_ASSERT(reporter, expected_damage->size() == damage_count); 51 REPORTER_ASSERT(reporter, r1 == r2); 56 static void inval_test1(skiatest::Reporter* reporter) { argument 69 check_inval(reporter, root, 79 check_inval(reporter, root, 89 check_inval(reporter, root, 99 check_inval(reporter, roo 126 inval_test2(skiatest::Reporter* reporter) argument [all...] |
H A D | AAClipTest.cpp | 144 static void test_rgn(skiatest::Reporter* reporter) { argument 149 REPORTER_ASSERT(reporter, equalsAAClip(rgn)); 157 REPORTER_ASSERT(reporter, equalsAAClip(rgn)); 165 REPORTER_ASSERT(reporter, equalsAAClip(rgn)); 192 static void test_path_bounds(skiatest::Reporter* reporter) { argument 199 REPORTER_ASSERT(reporter, sheight == path.getBounds().height()); 201 REPORTER_ASSERT(reporter, height == clip.getBounds().height()); 213 REPORTER_ASSERT(reporter, sheight == path.getBounds().height()); 215 REPORTER_ASSERT(reporter, teardrop_height == clip.getBounds().height()); 218 static void test_empty(skiatest::Reporter* reporter) { argument 256 test_irect(skiatest::Reporter* reporter) argument 300 test_path_with_hole(skiatest::Reporter* reporter) argument 333 test_really_a_rect(skiatest::Reporter* reporter) argument 357 did_dx_affect(skiatest::Reporter* reporter, const SkScalar dx[], size_t count, bool changed) argument 381 test_nearly_integral(skiatest::Reporter* reporter) argument 416 test_crbug_422693(skiatest::Reporter* reporter) argument 423 test_huge(skiatest::Reporter* reporter) argument [all...] |
H A D | SRGBReadWritePixelsTest.cpp | 122 void read_and_check_pixels(skiatest::Reporter* reporter, GrSurfaceContext* context, argument 132 ERRORF(reporter, "Could not read pixels for %s.", subtestName); 142 ERRORF(reporter, "Expected 0x%08x, read back as 0x%08x in %s at %d, %d).", 199 skiatest::Reporter* reporter) { 211 ERRORF(reporter, "Could not create %s surface context.", encoding_as_str(contextEncoding)); 218 skiatest::Reporter* reporter) { 219 auto surfaceContext = make_surface_context(contextEncoding, context, reporter); 227 ERRORF(reporter, "Expected %s write to %s surface context to fail.", 235 skiatest::Reporter* reporter) { 236 auto surfaceContext = make_surface_context(contextEncoding, context, reporter); 198 make_surface_context(Encoding contextEncoding, GrContext* context, skiatest::Reporter* reporter) argument 217 text_write_fails(Encoding contextEncoding, Encoding writeEncoding, GrContext* context, skiatest::Reporter* reporter) argument 233 test_write_read(Encoding contextEncoding, Encoding writeEncoding, Encoding readEncoding, float error, CheckFn check, GrContext* context, skiatest::Reporter* reporter) argument [all...] |
H A D | CanvasTest.cpp | 22 * skiatest::Reporter* reporter, 27 * REPORTER_ASSERT(reporter, (...), \ 72 DEF_TEST(canvas_clipbounds, reporter) { 78 REPORTER_ASSERT(reporter, irect == SkIRect::MakeWH(10, 10)); 79 REPORTER_ASSERT(reporter, canvas.getDeviceClipBounds(&irect2)); 80 REPORTER_ASSERT(reporter, irect == irect2); 84 REPORTER_ASSERT(reporter, rect.contains(SkRect::MakeWH(10, 10))); 85 REPORTER_ASSERT(reporter, canvas.getLocalClipBounds(&rect2)); 86 REPORTER_ASSERT(reporter, rect == rect2); 91 REPORTER_ASSERT(reporter, irec 121 test_restriction(skiatest::Reporter* reporter, SkCanvas* canvas) argument 383 SaveMatrixClipStep(SkCanvas* canvas, const TestData& d, skiatest::Reporter* reporter, CanvasTestStep* testStep) argument 397 SaveLayerStep(SkCanvas* canvas, const TestData& d, skiatest::Reporter* reporter, CanvasTestStep* testStep) argument 406 BoundedSaveLayerStep(SkCanvas* canvas, const TestData& d, skiatest::Reporter* reporter, CanvasTestStep* testStep) argument 415 PaintSaveLayerStep(SkCanvas* canvas, const TestData& d, skiatest::Reporter* reporter, CanvasTestStep* testStep) argument 477 SaveRestoreTestStep(SkCanvas* canvas, const TestData& d, skiatest::Reporter* reporter, CanvasTestStep* testStep) argument 538 TestPdfDevice(skiatest::Reporter* reporter, const TestData& d, CanvasTestStep* step) argument 558 TestOverrideStateConsistency(skiatest::Reporter* reporter, const TestData& d, CanvasTestStep* testStep) argument 567 test_newraster(skiatest::Reporter* reporter) argument [all...] |
H A D | PathOpsQuadReduceOrderTest.cpp | 20 static void oneOffTest(skiatest::Reporter* reporter) { argument 31 static void standardTestCases(skiatest::Reporter* reporter) { argument 71 DEF_TEST(PathOpsReduceOrderQuad, reporter) { 72 oneOffTest(reporter); 73 standardTestCases(reporter);
|
H A D | SortTest.cpp | 26 static void check_sort(skiatest::Reporter* reporter, const char label[], argument 30 ERRORF(reporter, "%sSort [%d] failed %d %d", 36 DEF_TEST(Sort, reporter) { 56 check_sort(reporter, "Heap", workingArray, sortedArray, count); 60 check_sort(reporter, "Quick", workingArray, sortedArray, count);
|
H A D | GradientTest.cpp | 21 static void test_big_grad(skiatest::Reporter* reporter) { argument 50 void gradCheck(skiatest::Reporter* reporter, const sk_sp<SkShader>& shader, argument 59 REPORTER_ASSERT(reporter, shader->asAGradient(info) == gt); 61 REPORTER_ASSERT(reporter, info->fColorCount == fColorCount); 62 REPORTER_ASSERT(reporter, 64 REPORTER_ASSERT(reporter, 66 REPORTER_ASSERT(reporter, fTileMode == info->fTileMode); 71 static void none_gradproc(skiatest::Reporter* reporter, const GradRec&, const GradRec&) { argument 73 REPORTER_ASSERT(reporter, SkShader::kNone_GradientType == s->asAGradient(nullptr)); 76 static void color_gradproc(skiatest::Reporter* reporter, cons argument 87 linear_gradproc(skiatest::Reporter* reporter, const GradRec& buildRec, const GradRec& checkRec) argument 97 radial_gradproc(skiatest::Reporter* reporter, const GradRec& buildRec, const GradRec& checkRec) argument 109 sweep_gradproc(skiatest::Reporter* reporter, const GradRec& buildRec, const GradRec& checkRec) argument 120 conical_gradproc(skiatest::Reporter* reporter, const GradRec& buildRec, const GradRec& checkRec) argument 161 TestGradientShaders(skiatest::Reporter* reporter) argument 192 TestGradientOptimization(skiatest::Reporter* reporter) argument 274 test_nearly_vertical(skiatest::Reporter* reporter) argument 286 test_vertical(skiatest::Reporter* reporter) argument 302 test_linear_fuzz(skiatest::Reporter* reporter) argument 318 test_two_point_conical_zero_radius(skiatest::Reporter* reporter) argument [all...] |
H A D | PictureTest.cpp | 135 void check_save_state(skiatest::Reporter* reporter, SkPicture* picture, argument 145 REPORTER_ASSERT(reporter, numSaves >= canvas.getSaveCount()); 146 REPORTER_ASSERT(reporter, numSaveLayers >= canvas.getSaveLayerCount()); 147 REPORTER_ASSERT(reporter, numRestores >= canvas.getRestoreCount()); 179 static void check_balance(skiatest::Reporter* reporter, SkPicture* picture) { argument 192 REPORTER_ASSERT(reporter, beforeSaveCount == canvas.getSaveCount()); 193 REPORTER_ASSERT(reporter, beforeMatrix == canvas.getTotalMatrix()); 197 REPORTER_ASSERT(reporter, afterClip == beforeClip); 201 DEF_TEST(PictureRecorder_replay, reporter) { 213 check_save_state(reporter, cop 245 test_unbalanced_save_restores(skiatest::Reporter* reporter) argument 357 test_clip_bound_opt(skiatest::Reporter* reporter) argument 439 test_cull_rect_reset(skiatest::Reporter* reporter) argument 505 test_clip_expansion(skiatest::Reporter* reporter) argument 525 test_gen_id(skiatest::Reporter* reporter) argument 544 test_typeface(skiatest::Reporter* reporter) argument [all...] |
H A D | GrShapeTest.cpp | 539 void testExpectations(skiatest::Reporter* reporter, SelfExpectations expectations) const; 689 void TestCase::testExpectations(skiatest::Reporter* reporter, SelfExpectations expectations) const { argument 691 REPORTER_ASSERT(reporter, fBaseKey.count()); 693 REPORTER_ASSERT(reporter, fBaseKey != fAppliedPEKey); 694 REPORTER_ASSERT(reporter, expectations.fPEHasValidKey == SkToBool(fAppliedPEKey.count())); 695 REPORTER_ASSERT(reporter, fBaseKey != fAppliedFullKey); 696 REPORTER_ASSERT(reporter, expectations.fPEHasValidKey == SkToBool(fAppliedFullKey.count())); 698 REPORTER_ASSERT(reporter, fAppliedPEKey != fAppliedFullKey); 699 REPORTER_ASSERT(reporter, SkToBool(fAppliedFullKey.count())); 702 REPORTER_ASSERT(reporter, fBaseKe 762 test_basic(skiatest::Reporter* reporter, const Geo& geo) argument 859 test_scale(skiatest::Reporter* reporter, const Geo& geo) argument 930 test_stroke_param_impl(skiatest::Reporter* reporter, const Geo& geo, std::function<void(SkPaint*, T)> setter, T a, T b, bool paramAffectsStroke, bool paramAffectsDashAndStroke) argument 1006 test_stroke_param(skiatest::Reporter* reporter, const Geo& geo, std::function<void(SkPaint*, T)> setter, T a, T b) argument 1011 test_stroke_cap(skiatest::Reporter* reporter, const Geo& geo) argument 1033 test_stroke_join(skiatest::Reporter* reporter, const Geo& geo) argument 1051 test_miter_limit(skiatest::Reporter* reporter, const Geo& geo) argument 1089 test_dash_fill(skiatest::Reporter* reporter, const Geo& geo) argument 1102 test_null_dash(skiatest::Reporter* reporter, const Geo& geo) argument 1138 test_path_effect_makes_rrect(skiatest::Reporter* reporter, const Geo& geo) argument 1222 test_unknown_path_effect(skiatest::Reporter* reporter, const Geo& geo) argument 1264 test_make_hairline_path_effect(skiatest::Reporter* reporter, const Geo& geo) argument 1321 test_volatile_path(skiatest::Reporter* reporter, const Geo& geo) argument 1346 test_path_effect_makes_empty_shape(skiatest::Reporter* reporter, const Geo& geo) argument 1433 test_path_effect_fails(skiatest::Reporter* reporter, const Geo& geo) argument 2284 TestCase arc1CW(GrShape::MakeArc(kOval1, 0, 90.f, false, style), reporter); local 2285 TestCase arc1CCW(GrShape::MakeArc(kOval1, 90.f, -90.f, false, style), reporter); local 2287 TestCase arc1CWWithCenter(GrShape::MakeArc(kOval1, 0, 90.f, true, style), reporter); local 2288 TestCase arc1CCWWithCenter(GrShape::MakeArc(kOval1, 90.f, -90.f, true, style), reporter); local 2290 TestCase arc2CW(GrShape::MakeArc(kOval2, 0, 90.f, false, style), reporter); local 2291 TestCase arc2CWWithCenter(GrShape::MakeArc(kOval2, 0, 90.f, true, style), reporter); local 2304 TestCase arc3A(GrShape::MakeArc(kOval1, 224.f, 73.f, false, style), reporter); local 2305 TestCase arc3B(GrShape::MakeArc(kOval1, 224.f - 360.f, 73.f, false, style), reporter); local 2310 TestCase ovalArc(GrShape::MakeArc(kOval1, 150.f, -790.f, false, style), reporter); local 2321 TestCase ovalArcWithCenter(GrShape::MakeArc(kOval1, 304.f, 1225.f, true, style), reporter); local [all...] |
H A D | DeviceLooperTest.cpp | 40 static void test_simple(skiatest::Reporter* reporter) { argument 52 REPORTER_ASSERT(reporter, valid); 54 REPORTER_ASSERT(reporter, looper.getPixmap().width() == pmap.width()); 55 REPORTER_ASSERT(reporter, looper.getPixmap().height() == pmap.height()); 56 REPORTER_ASSERT(reporter, equal(looper.getRC(), rc)); 58 REPORTER_ASSERT(reporter, !looper.next()); 66 REPORTER_ASSERT(reporter, !looper.next()); 95 static void test_complex(skiatest::Reporter* reporter) { argument 130 REPORTER_ASSERT(reporter, !looper.getRC().isEmpty()); 136 DEF_TEST(DeviceLooper, reporter) { [all...] |
H A D | PathOpsQuadLineIntersectionTest.cpp | 79 static void testOneOffs(skiatest::Reporter* reporter) { argument 99 REPORTER_ASSERT(reporter, quadXY.approximatelyEqual(lineXY)); 104 DEF_TEST(PathOpsQuadLineIntersectionOneOff, reporter) { 105 testOneOffs(reporter); 108 DEF_TEST(PathOpsQuadLineIntersection, reporter) { 122 REPORTER_ASSERT(reporter, 0); 126 REPORTER_ASSERT(reporter, 0); 131 REPORTER_ASSERT(reporter, result == lineQuadTests[index].result); 137 REPORTER_ASSERT(reporter, tt1 >= 0 && tt1 <= 1); 140 REPORTER_ASSERT(reporter, tt [all...] |
H A D | DeferredDisplayListTest.cpp | 206 DEF_GPUTEST_FOR_ALL_CONTEXTS(DDLSurfaceCharacterizationTest, reporter, ctxInfo) { 230 REPORTER_ASSERT(reporter, s->draw(ddl.get())); 261 REPORTER_ASSERT(reporter, !s->draw(ddl.get()), 275 REPORTER_ASSERT(reporter, !s->draw(ddl.get())); 282 REPORTER_ASSERT(reporter, s->draw(ddl.get())); 286 REPORTER_ASSERT(reporter, s->draw(ddl.get())); 290 REPORTER_ASSERT(reporter, s->draw(ddl.get())); 301 REPORTER_ASSERT(reporter, !s->draw(ddl.get())); 314 REPORTER_ASSERT(reporter, !rasterSurface->characterize(&c)); 331 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(DDLWrapBackendTest, reporter, ctxInf [all...] |
H A D | PathOpsThreeWayTest.cpp | 42 static void testSetTest(skiatest::Reporter* reporter, int index) { argument 74 DEF_TEST(PathOpsThreeWay, reporter) { 76 testSetTest(reporter, index); 77 reporter->bumpTestCount(); 81 DEF_TEST(PathOpsThreeWayOneOff, reporter) { 83 testSetTest(reporter, index);
|
/external/skqp/tests/ |
H A D | InsetConvexPolyTest.cpp | 34 DEF_TEST(InsetConvexPoly, reporter) { 58 REPORTER_ASSERT(reporter, is_convex(rrectPoly)); 63 REPORTER_ASSERT(reporter, result); 64 REPORTER_ASSERT(reporter, is_convex(insetPoly)); 68 REPORTER_ASSERT(reporter, result); 69 REPORTER_ASSERT(reporter, is_convex(insetPoly)); 70 REPORTER_ASSERT(reporter, insetPoly.count() == 4); 72 REPORTER_ASSERT(reporter, insetPoly[0].equals(-95, 45)); 73 REPORTER_ASSERT(reporter, insetPoly[1].equals(95, 45)); 74 REPORTER_ASSERT(reporter, insetPol [all...] |
H A D | SGTest.cpp | 24 static void check_inval(skiatest::Reporter* reporter, const sk_sp<sksg::Node>& root, argument 37 REPORTER_ASSERT(reporter, bbox == expected_bounds); 38 REPORTER_ASSERT(reporter, ic.bounds() == expected_inval_bounds); 42 REPORTER_ASSERT(reporter, expected_damage->size() == damage_count); 51 REPORTER_ASSERT(reporter, r1 == r2); 56 static void inval_test1(skiatest::Reporter* reporter) { argument 69 check_inval(reporter, root, 79 check_inval(reporter, root, 89 check_inval(reporter, root, 99 check_inval(reporter, roo 126 inval_test2(skiatest::Reporter* reporter) argument [all...] |
H A D | AAClipTest.cpp | 133 static void test_rgn(skiatest::Reporter* reporter) { argument 138 REPORTER_ASSERT(reporter, equalsAAClip(rgn)); 146 REPORTER_ASSERT(reporter, equalsAAClip(rgn)); 154 REPORTER_ASSERT(reporter, equalsAAClip(rgn)); 181 static void test_path_bounds(skiatest::Reporter* reporter) { argument 188 REPORTER_ASSERT(reporter, sheight == path.getBounds().height()); 190 REPORTER_ASSERT(reporter, height == clip.getBounds().height()); 202 REPORTER_ASSERT(reporter, sheight == path.getBounds().height()); 204 REPORTER_ASSERT(reporter, teardrop_height == clip.getBounds().height()); 207 static void test_empty(skiatest::Reporter* reporter) { argument 245 test_irect(skiatest::Reporter* reporter) argument 289 test_path_with_hole(skiatest::Reporter* reporter) argument 322 test_really_a_rect(skiatest::Reporter* reporter) argument 346 did_dx_affect(skiatest::Reporter* reporter, const SkScalar dx[], size_t count, bool changed) argument 370 test_nearly_integral(skiatest::Reporter* reporter) argument 405 test_crbug_422693(skiatest::Reporter* reporter) argument 412 test_huge(skiatest::Reporter* reporter) argument [all...] |
H A D | CanvasTest.cpp | 22 * skiatest::Reporter* reporter, 27 * REPORTER_ASSERT(reporter, (...), \ 72 DEF_TEST(canvas_clipbounds, reporter) { 78 REPORTER_ASSERT(reporter, irect == SkIRect::MakeWH(10, 10)); 79 REPORTER_ASSERT(reporter, canvas.getDeviceClipBounds(&irect2)); 80 REPORTER_ASSERT(reporter, irect == irect2); 84 REPORTER_ASSERT(reporter, rect.contains(SkRect::MakeWH(10, 10))); 85 REPORTER_ASSERT(reporter, canvas.getLocalClipBounds(&rect2)); 86 REPORTER_ASSERT(reporter, rect == rect2); 91 REPORTER_ASSERT(reporter, irec 121 test_restriction(skiatest::Reporter* reporter, SkCanvas* canvas) argument 383 SaveMatrixClipStep(SkCanvas* canvas, const TestData& d, skiatest::Reporter* reporter, CanvasTestStep* testStep) argument 397 SaveLayerStep(SkCanvas* canvas, const TestData& d, skiatest::Reporter* reporter, CanvasTestStep* testStep) argument 406 BoundedSaveLayerStep(SkCanvas* canvas, const TestData& d, skiatest::Reporter* reporter, CanvasTestStep* testStep) argument 415 PaintSaveLayerStep(SkCanvas* canvas, const TestData& d, skiatest::Reporter* reporter, CanvasTestStep* testStep) argument 477 SaveRestoreTestStep(SkCanvas* canvas, const TestData& d, skiatest::Reporter* reporter, CanvasTestStep* testStep) argument 538 TestPdfDevice(skiatest::Reporter* reporter, const TestData& d, CanvasTestStep* step) argument 558 TestOverrideStateConsistency(skiatest::Reporter* reporter, const TestData& d, CanvasTestStep* testStep) argument 567 test_newraster(skiatest::Reporter* reporter) argument [all...] |
H A D | PathOpsQuadReduceOrderTest.cpp | 20 static void oneOffTest(skiatest::Reporter* reporter) { argument 31 static void standardTestCases(skiatest::Reporter* reporter) { argument 71 DEF_TEST(PathOpsReduceOrderQuad, reporter) { 72 oneOffTest(reporter); 73 standardTestCases(reporter);
|
H A D | SortTest.cpp | 26 static void check_sort(skiatest::Reporter* reporter, const char label[], argument 30 ERRORF(reporter, "%sSort [%d] failed %d %d", 36 DEF_TEST(Sort, reporter) { 56 check_sort(reporter, "Heap", workingArray, sortedArray, count); 60 check_sort(reporter, "Quick", workingArray, sortedArray, count);
|
H A D | GradientTest.cpp | 21 static void test_big_grad(skiatest::Reporter* reporter) { argument 50 void gradCheck(skiatest::Reporter* reporter, const sk_sp<SkShader>& shader, argument 59 REPORTER_ASSERT(reporter, shader->asAGradient(info) == gt); 61 REPORTER_ASSERT(reporter, info->fColorCount == fColorCount); 62 REPORTER_ASSERT(reporter, 64 REPORTER_ASSERT(reporter, 66 REPORTER_ASSERT(reporter, fTileMode == info->fTileMode); 71 static void none_gradproc(skiatest::Reporter* reporter, const GradRec&, const GradRec&) { argument 73 REPORTER_ASSERT(reporter, SkShader::kNone_GradientType == s->asAGradient(nullptr)); 76 static void color_gradproc(skiatest::Reporter* reporter, cons argument 87 linear_gradproc(skiatest::Reporter* reporter, const GradRec& buildRec, const GradRec& checkRec) argument 97 radial_gradproc(skiatest::Reporter* reporter, const GradRec& buildRec, const GradRec& checkRec) argument 109 sweep_gradproc(skiatest::Reporter* reporter, const GradRec& buildRec, const GradRec& checkRec) argument 120 conical_gradproc(skiatest::Reporter* reporter, const GradRec& buildRec, const GradRec& checkRec) argument 161 TestGradientShaders(skiatest::Reporter* reporter) argument 192 TestGradientOptimization(skiatest::Reporter* reporter) argument 270 test_nearly_vertical(skiatest::Reporter* reporter) argument 282 test_vertical(skiatest::Reporter* reporter) argument 298 test_linear_fuzz(skiatest::Reporter* reporter) argument 314 test_two_point_conical_zero_radius(skiatest::Reporter* reporter) argument [all...] |
H A D | PictureTest.cpp | 135 void check_save_state(skiatest::Reporter* reporter, SkPicture* picture, argument 145 REPORTER_ASSERT(reporter, numSaves >= canvas.getSaveCount()); 146 REPORTER_ASSERT(reporter, numSaveLayers >= canvas.getSaveLayerCount()); 147 REPORTER_ASSERT(reporter, numRestores >= canvas.getRestoreCount()); 179 static void check_balance(skiatest::Reporter* reporter, SkPicture* picture) { argument 192 REPORTER_ASSERT(reporter, beforeSaveCount == canvas.getSaveCount()); 193 REPORTER_ASSERT(reporter, beforeMatrix == canvas.getTotalMatrix()); 197 REPORTER_ASSERT(reporter, afterClip == beforeClip); 201 DEF_TEST(PictureRecorder_replay, reporter) { 213 check_save_state(reporter, cop 245 test_unbalanced_save_restores(skiatest::Reporter* reporter) argument 357 test_clip_bound_opt(skiatest::Reporter* reporter) argument 439 test_cull_rect_reset(skiatest::Reporter* reporter) argument 505 test_clip_expansion(skiatest::Reporter* reporter) argument 525 test_gen_id(skiatest::Reporter* reporter) argument 544 test_typeface(skiatest::Reporter* reporter) argument [all...] |
H A D | DeviceLooperTest.cpp | 40 static void test_simple(skiatest::Reporter* reporter) { argument 52 REPORTER_ASSERT(reporter, valid); 54 REPORTER_ASSERT(reporter, looper.getPixmap().width() == pmap.width()); 55 REPORTER_ASSERT(reporter, looper.getPixmap().height() == pmap.height()); 56 REPORTER_ASSERT(reporter, equal(looper.getRC(), rc)); 58 REPORTER_ASSERT(reporter, !looper.next()); 66 REPORTER_ASSERT(reporter, !looper.next()); 95 static void test_complex(skiatest::Reporter* reporter) { argument 130 REPORTER_ASSERT(reporter, !looper.getRC().isEmpty()); 136 DEF_TEST(DeviceLooper, reporter) { [all...] |
H A D | PathOpsQuadLineIntersectionTest.cpp | 79 static void testOneOffs(skiatest::Reporter* reporter) { argument 99 REPORTER_ASSERT(reporter, quadXY.approximatelyEqual(lineXY)); 104 DEF_TEST(PathOpsQuadLineIntersectionOneOff, reporter) { 105 testOneOffs(reporter); 108 DEF_TEST(PathOpsQuadLineIntersection, reporter) { 122 REPORTER_ASSERT(reporter, 0); 126 REPORTER_ASSERT(reporter, 0); 131 REPORTER_ASSERT(reporter, result == lineQuadTests[index].result); 137 REPORTER_ASSERT(reporter, tt1 >= 0 && tt1 <= 1); 140 REPORTER_ASSERT(reporter, tt [all...] |
H A D | PathOpsThreeWayTest.cpp | 42 static void testSetTest(skiatest::Reporter* reporter, int index) { argument 74 DEF_TEST(PathOpsThreeWay, reporter) { 76 testSetTest(reporter, index); 77 reporter->bumpTestCount(); 81 DEF_TEST(PathOpsThreeWayOneOff, reporter) { 83 testSetTest(reporter, index);
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/processors/ |
H A D | BaseTagElementNodeScanner.java | 30 @Override protected final void visit(final Reporter reporter, Javadoc javadoc, argument 35 return visitTagElement(reporter, rewrite, node); 40 protected abstract boolean visitTagElement(Reporter reporter, ASTRewrite rewrite, TagElement tag); argument
|