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

Commit 0dbbfdc

Browse files
authored
Fix typo in tests names (#26852)
Fixes flutter/flutter#84927
1 parent e7ab84d commit 0dbbfdc

10 files changed

+10
-10
lines changed

flow/layers/clip_rrect_layer_unittests.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ TEST_F(ClipRRectLayerTest, PaintingEmptyLayerDies) {
3636
"needs_painting\\(context\\)");
3737
}
3838

39-
TEST_F(ClipRRectLayerTest, PaintBeforePreollDies) {
39+
TEST_F(ClipRRectLayerTest, PaintBeforePrerollDies) {
4040
const SkRect layer_bounds = SkRect::MakeXYWH(0.5, 1.0, 5.0, 6.0);
4141
const SkRRect layer_rrect = SkRRect::MakeRect(layer_bounds);
4242
auto layer = std::make_shared<ClipRRectLayer>(layer_rrect, Clip::hardEdge);

flow/layers/container_layer_unittests.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ TEST_F(ContainerLayerTest, PaintingEmptyLayerDies) {
3636
"needs_painting\\(context\\)");
3737
}
3838

39-
TEST_F(ContainerLayerTest, PaintBeforePreollDies) {
39+
TEST_F(ContainerLayerTest, PaintBeforePrerollDies) {
4040
SkPath child_path;
4141
child_path.addRect(5.0f, 6.0f, 20.5f, 21.5f);
4242
auto mock_layer = std::make_shared<MockLayer>(child_path);

flow/layers/layer_tree_unittests.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ TEST_F(LayerTreeTest, PaintingEmptyLayerDies) {
5151
layer_tree().Paint(frame());
5252
}
5353

54-
TEST_F(LayerTreeTest, PaintBeforePreollDies) {
54+
TEST_F(LayerTreeTest, PaintBeforePrerollDies) {
5555
const SkRect child_bounds = SkRect::MakeLTRB(5.0f, 6.0f, 20.5f, 21.5f);
5656
SkPath child_path;
5757
child_path.addRect(child_bounds);

flow/layers/opacity_layer_unittests.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ TEST_F(OpacityLayerTest, PaintingEmptyLayerDies) {
4141
"needs_painting\\(context\\)");
4242
}
4343

44-
TEST_F(OpacityLayerTest, PaintBeforePreollDies) {
44+
TEST_F(OpacityLayerTest, PaintBeforePrerollDies) {
4545
SkPath child_path;
4646
child_path.addRect(5.0f, 6.0f, 20.5f, 21.5f);
4747
auto mock_layer = std::make_shared<MockLayer>(child_path);

flow/layers/physical_shape_layer_unittests.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ TEST_F(PhysicalShapeLayerTest, PaintingEmptyLayerDies) {
3030
"needs_painting\\(context\\)");
3131
}
3232

33-
TEST_F(PhysicalShapeLayerTest, PaintBeforePreollDies) {
33+
TEST_F(PhysicalShapeLayerTest, PaintBeforePrerollDies) {
3434
SkPath child_path;
3535
child_path.addRect(5.0f, 6.0f, 20.5f, 21.5f);
3636
auto mock_layer = std::make_shared<MockLayer>(child_path, SkPaint());

flow/layers/picture_layer_unittests.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ TEST_F(PictureLayerTest, PaintBeforePrerollInvalidPictureDies) {
3131
"picture_\\.get\\(\\)");
3232
}
3333

34-
TEST_F(PictureLayerTest, PaintBeforePreollDies) {
34+
TEST_F(PictureLayerTest, PaintBeforePrerollDies) {
3535
const SkPoint layer_offset = SkPoint::Make(0.0f, 0.0f);
3636
const SkRect picture_bounds = SkRect::MakeLTRB(5.0f, 6.0f, 20.5f, 21.5f);
3737
auto mock_picture = SkPicture::MakePlaceholder(picture_bounds);

flow/layers/shader_mask_layer_unittests.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ TEST_F(ShaderMaskLayerTest, PaintingEmptyLayerDies) {
2929
"needs_painting\\(context\\)");
3030
}
3131

32-
TEST_F(ShaderMaskLayerTest, PaintBeforePreollDies) {
32+
TEST_F(ShaderMaskLayerTest, PaintBeforePrerollDies) {
3333
const SkRect child_bounds = SkRect::MakeLTRB(5.0f, 6.0f, 20.5f, 21.5f);
3434
const SkPath child_path = SkPath().addRect(child_bounds);
3535
auto mock_layer = std::make_shared<MockLayer>(child_path);

flow/layers/texture_layer_unittests.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ TEST_F(TextureLayerTest, PaintingEmptyLayerDies) {
5151
"needs_painting\\(context\\)");
5252
}
5353

54-
TEST_F(TextureLayerTest, PaintBeforePreollDies) {
54+
TEST_F(TextureLayerTest, PaintBeforePrerollDies) {
5555
const SkPoint layer_offset = SkPoint::Make(0.0f, 0.0f);
5656
const SkSize layer_size = SkSize::Make(8.0f, 8.0f);
5757
const int64_t texture_id = 0;

flow/layers/transform_layer_unittests.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ TEST_F(TransformLayerTest, PaintingEmptyLayerDies) {
2727
"needs_painting\\(context\\)");
2828
}
2929

30-
TEST_F(TransformLayerTest, PaintBeforePreollDies) {
30+
TEST_F(TransformLayerTest, PaintBeforePrerollDies) {
3131
SkPath child_path;
3232
child_path.addRect(5.0f, 6.0f, 20.5f, 21.5f);
3333
auto mock_layer = std::make_shared<MockLayer>(child_path, SkPaint());

flow/testing/mock_layer_unittests.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ namespace testing {
1414
using MockLayerTest = LayerTest;
1515

1616
#ifndef NDEBUG
17-
TEST_F(MockLayerTest, PaintBeforePreollDies) {
17+
TEST_F(MockLayerTest, PaintBeforePrerollDies) {
1818
SkPath path = SkPath().addRect(5.0f, 6.0f, 20.5f, 21.5f);
1919
auto layer = std::make_shared<MockLayer>(path, SkPaint());
2020

0 commit comments

Comments
 (0)