Lines Matching refs:TestUtils

44             TestUtils::createNode(0, 0, 200, 400, [](RenderProperties& props, Canvas& canvas) {  in TEST()
69 auto node = TestUtils::createSkiaNode( in drawOrderedNode()
81 auto node = TestUtils::createSkiaNode( in drawOrderedNode()
108 auto parent = TestUtils::createSkiaNode(0, 0, 100, 100, [](RenderProperties& props, in TEST()
145 ASSERT_EQ(TestUtils::getColor(surface, 0, 0), SK_ColorBLUE); in TEST()
147 auto rootNode = TestUtils::createSkiaNode( in TEST()
160 ASSERT_EQ(SK_ColorRED, TestUtils::getColor(surface, 0, 0)); in TEST()
164 ASSERT_EQ(SK_ColorWHITE, TestUtils::getColor(surface, 0, 0)); in TEST()
168 ASSERT_EQ(SK_ColorRED, TestUtils::getColor(surface, 0, 0)); in TEST()
191 ASSERT_EQ(TestUtils::getColor(surface, 0, 0), SK_ColorWHITE); in TEST()
193 auto rootNode = TestUtils::createSkiaNode( in TEST()
222 ASSERT_EQ(SK_ColorGREEN, TestUtils::getColor(surface, 200, 600)); in TEST()
249 EXPECT_EQ(SkRect::MakeLTRB(0, 0, 100, 100), TestUtils::getClipBounds(this)); in RENDERTHREAD_TEST()
256 TestUtils::getLocalClipBounds(this)); in RENDERTHREAD_TEST()
262 EXPECT_EQ(SkRect::MakeLTRB(0, 40, 95, 90), TestUtils::getClipBounds(this)); in RENDERTHREAD_TEST()
284 auto receiverBackground = TestUtils::createSkiaNode( in RENDERTHREAD_TEST()
300 auto projectingRipple = TestUtils::createSkiaNode( in RENDERTHREAD_TEST()
310 auto child = TestUtils::createSkiaNode( in RENDERTHREAD_TEST()
319 auto parent = TestUtils::createSkiaNode( in RENDERTHREAD_TEST()
366 auto receiverBackground = TestUtils::createSkiaNode( in RENDERTHREAD_SKIA_PIPELINE_TEST()
373 auto projectingRipple = TestUtils::createSkiaNode( in RENDERTHREAD_SKIA_PIPELINE_TEST()
382 auto child = TestUtils::createSkiaNode( in RENDERTHREAD_SKIA_PIPELINE_TEST()
391 TestUtils::createSkiaNode(0, 0, 100, 100, in RENDERTHREAD_SKIA_PIPELINE_TEST()
440 TestUtils::getClipBounds(this)); in RENDERTHREAD_SKIA_PIPELINE_TEST()
445 TestUtils::getClipBounds(this)); in RENDERTHREAD_SKIA_PIPELINE_TEST()
452 EXPECT_EQ(SkRect::MakeLTRB(-85, -80, 295, 300), TestUtils::getLocalClipBounds(this)); in RENDERTHREAD_SKIA_PIPELINE_TEST()
466 TestUtils::getClipBounds(this->getCanvas())); in RENDERTHREAD_SKIA_PIPELINE_TEST()
476 auto receiverBackground = TestUtils::createSkiaNode( in RENDERTHREAD_SKIA_PIPELINE_TEST()
489 auto projectingRipple = TestUtils::createSkiaNode( in RENDERTHREAD_SKIA_PIPELINE_TEST()
497 auto child = TestUtils::createSkiaNode( in RENDERTHREAD_SKIA_PIPELINE_TEST()
504 auto parent = TestUtils::createSkiaNode( in RENDERTHREAD_SKIA_PIPELINE_TEST()
571 EXPECT_EQ(SkRect::MakeWH(CANVAS_WIDTH, CANVAS_HEIGHT), TestUtils::getClipBounds(this)); in RENDERTHREAD_TEST()
577 auto receiverBackground = TestUtils::createSkiaNode( in RENDERTHREAD_TEST()
584 auto projectingRipple = TestUtils::createSkiaNode( in RENDERTHREAD_TEST()
597 auto child = TestUtils::createSkiaNode( in RENDERTHREAD_TEST()
609 TestUtils::createSkiaNode(0, 0, CANVAS_WIDTH, CANVAS_HEIGHT, in RENDERTHREAD_TEST()
658 auto nodeA = TestUtils::createSkiaNode(0, 0, 100, 100, [](RenderProperties& props, in RENDERTHREAD_TEST()
682 auto nodeA = TestUtils::createSkiaNode(0, 0, 100, 100, [](RenderProperties& props, in RENDERTHREAD_TEST()
708 auto nodeA = TestUtils::createSkiaNode(0, 0, 100, 100, [](RenderProperties& props, in RENDERTHREAD_TEST()
730 auto nodeA = TestUtils::createSkiaNode(0, 0, 100, 100, [](RenderProperties& props, in RENDERTHREAD_TEST()
752 auto nodeA = TestUtils::createSkiaNode(0, 0, 100, 100, [](RenderProperties& props, in RENDERTHREAD_TEST()
775 auto nodeA = TestUtils::createSkiaNode(0, 0, 100, 100, [](RenderProperties& props, in RENDERTHREAD_TEST()
799 auto nodeA = TestUtils::createSkiaNode(0, 0, 100, 100, [](RenderProperties& props, in RENDERTHREAD_TEST()
826 auto nodeA = TestUtils::createSkiaNode(0, 0, 100, 100, [](RenderProperties& props, in RENDERTHREAD_TEST()
850 auto nodeA = TestUtils::createSkiaNode(0, 0, 100, 100, [](RenderProperties& props, in RENDERTHREAD_TEST()
878 auto nodeA = TestUtils::createSkiaNode(0, 0, 100, 100, [](RenderProperties& props, in RENDERTHREAD_TEST()
908 auto nodeA = TestUtils::createSkiaNode(0, 0, 100, 100, [](RenderProperties& props, in RENDERTHREAD_TEST()
945 auto node = TestUtils::createSkiaNode(0, 0, CANVAS_WIDTH, CANVAS_HEIGHT, in RENDERTHREAD_TEST()
947 sk_sp<Bitmap> bitmap(TestUtils::createBitmap(25, 25)); in RENDERTHREAD_TEST()
969 TestUtils::getClipBounds(this)); in RENDERTHREAD_TEST()
972 EXPECT_EQ(SkRect::MakeWH(10, 10), TestUtils::getClipBounds(this)); in RENDERTHREAD_TEST()
980 auto unclippedColorView = TestUtils::createSkiaNode( in RENDERTHREAD_TEST()
986 auto clippedColorView = TestUtils::createSkiaNode( in RENDERTHREAD_TEST()
1010 TestUtils::getClipBounds(this)); in TEST()
1014 EXPECT_EQ(SkRect::MakeLTRB(50, 50, 150, 150), TestUtils::getClipBounds(this)); in TEST()
1023 auto child = TestUtils::createSkiaNode( in TEST()
1030 auto parent = TestUtils::createSkiaNode( in TEST()
1065 auto layerNode = TestUtils::createSkiaNode( in RENDERTHREAD_SKIA_PIPELINE_TEST()
1142 auto parent = TestUtils::createSkiaNode( in TEST()
1148 auto node = TestUtils::createSkiaNode( in TEST()
1194 TestUtils::createSkiaNode(0, 0, CANVAS_WIDTH, CANVAS_HEIGHT, in RENDERTHREAD_SKIA_PIPELINE_TEST()