Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 2889d04

Browse files
committed
Remove redundant golden
1 parent 5acd75e commit 2889d04

File tree

1 file changed

+0
-30
lines changed

1 file changed

+0
-30
lines changed

impeller/aiks/aiks_unittests.cc

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -169,36 +169,6 @@ bool GenerateMipmap(const std::shared_ptr<Context>& context,
169169
return context->GetCommandQueue()->Submit({buffer}).ok();
170170
}
171171

172-
TEST_P(AiksTest, CanRenderMultiContourPaths) {
173-
auto texture = CreateTextureForFixture("table_mountain_nx.png",
174-
/*enable_mipmapping=*/true);
175-
GenerateMipmap(GetContext(), texture, "table_mountain_nx");
176-
Canvas canvas;
177-
canvas.Scale(GetContentScale());
178-
canvas.Translate({100.0f, 100.0f, 0});
179-
Paint paint;
180-
paint.color = Color::White();
181-
paint.style = Paint::Style::kFill;
182-
183-
auto draw_path = [&]() {
184-
PathBuilder path_builder;
185-
path_builder.AddCircle({150, 150}, 150);
186-
path_builder.AddRoundedRect(Rect::MakeLTRB(300, 300, 600, 600), 10);
187-
canvas.DrawPath(path_builder.TakePath(), paint);
188-
};
189-
190-
// Solid color source.
191-
paint.color_source = ColorSource::MakeColor();
192-
draw_path();
193-
194-
// Image color source.
195-
paint.color_source = ColorSource::MakeImage(texture, Entity::TileMode::kClamp,
196-
Entity::TileMode::kClamp, {}, {});
197-
draw_path();
198-
199-
ASSERT_TRUE(OpenPlaygroundHere(canvas.EndRecordingAsPicture()));
200-
}
201-
202172
void CanRenderTiledTexture(AiksTest* aiks_test,
203173
Entity::TileMode tile_mode,
204174
Matrix local_matrix = {}) {

0 commit comments

Comments
 (0)