5#include "flutter/testing/mock_canvas.h"
7#include "flutter/testing/canvas_test.h"
8#include "gtest/gtest.h"
17 EXPECT_DEATH_IF_SUPPORTED(mock_canvas().DrawRRect(
SkRRect(),
DlPaint()),
"");
24 const auto expected_draw_calls = std::vector{
28 EXPECT_EQ(mock_canvas().draw_calls(), expected_draw_calls);
sk_sp< SkBlender > blender SkRect rect
TEST_F(DisplayListTest, Defaults)
CanvasTestBase<::testing::Test > CanvasTest
static constexpr SkRect MakeWH(float w, float h)
static constexpr DlColor kGreen()