Skip to content

Commit

Permalink
Fix typo in tests names (flutter#26852)
Browse files Browse the repository at this point in the history
  • Loading branch information
asashour authored Jun 24, 2021
1 parent e7ab84d commit 0dbbfdc
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion flow/layers/clip_rrect_layer_unittests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ TEST_F(ClipRRectLayerTest, PaintingEmptyLayerDies) {
"needs_painting\\(context\\)");
}

TEST_F(ClipRRectLayerTest, PaintBeforePreollDies) {
TEST_F(ClipRRectLayerTest, PaintBeforePrerollDies) {
const SkRect layer_bounds = SkRect::MakeXYWH(0.5, 1.0, 5.0, 6.0);
const SkRRect layer_rrect = SkRRect::MakeRect(layer_bounds);
auto layer = std::make_shared<ClipRRectLayer>(layer_rrect, Clip::hardEdge);
Expand Down
2 changes: 1 addition & 1 deletion flow/layers/container_layer_unittests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ TEST_F(ContainerLayerTest, PaintingEmptyLayerDies) {
"needs_painting\\(context\\)");
}

TEST_F(ContainerLayerTest, PaintBeforePreollDies) {
TEST_F(ContainerLayerTest, PaintBeforePrerollDies) {
SkPath child_path;
child_path.addRect(5.0f, 6.0f, 20.5f, 21.5f);
auto mock_layer = std::make_shared<MockLayer>(child_path);
Expand Down
2 changes: 1 addition & 1 deletion flow/layers/layer_tree_unittests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ TEST_F(LayerTreeTest, PaintingEmptyLayerDies) {
layer_tree().Paint(frame());
}

TEST_F(LayerTreeTest, PaintBeforePreollDies) {
TEST_F(LayerTreeTest, PaintBeforePrerollDies) {
const SkRect child_bounds = SkRect::MakeLTRB(5.0f, 6.0f, 20.5f, 21.5f);
SkPath child_path;
child_path.addRect(child_bounds);
Expand Down
2 changes: 1 addition & 1 deletion flow/layers/opacity_layer_unittests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ TEST_F(OpacityLayerTest, PaintingEmptyLayerDies) {
"needs_painting\\(context\\)");
}

TEST_F(OpacityLayerTest, PaintBeforePreollDies) {
TEST_F(OpacityLayerTest, PaintBeforePrerollDies) {
SkPath child_path;
child_path.addRect(5.0f, 6.0f, 20.5f, 21.5f);
auto mock_layer = std::make_shared<MockLayer>(child_path);
Expand Down
2 changes: 1 addition & 1 deletion flow/layers/physical_shape_layer_unittests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ TEST_F(PhysicalShapeLayerTest, PaintingEmptyLayerDies) {
"needs_painting\\(context\\)");
}

TEST_F(PhysicalShapeLayerTest, PaintBeforePreollDies) {
TEST_F(PhysicalShapeLayerTest, PaintBeforePrerollDies) {
SkPath child_path;
child_path.addRect(5.0f, 6.0f, 20.5f, 21.5f);
auto mock_layer = std::make_shared<MockLayer>(child_path, SkPaint());
Expand Down
2 changes: 1 addition & 1 deletion flow/layers/picture_layer_unittests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ TEST_F(PictureLayerTest, PaintBeforePrerollInvalidPictureDies) {
"picture_\\.get\\(\\)");
}

TEST_F(PictureLayerTest, PaintBeforePreollDies) {
TEST_F(PictureLayerTest, PaintBeforePrerollDies) {
const SkPoint layer_offset = SkPoint::Make(0.0f, 0.0f);
const SkRect picture_bounds = SkRect::MakeLTRB(5.0f, 6.0f, 20.5f, 21.5f);
auto mock_picture = SkPicture::MakePlaceholder(picture_bounds);
Expand Down
2 changes: 1 addition & 1 deletion flow/layers/shader_mask_layer_unittests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ TEST_F(ShaderMaskLayerTest, PaintingEmptyLayerDies) {
"needs_painting\\(context\\)");
}

TEST_F(ShaderMaskLayerTest, PaintBeforePreollDies) {
TEST_F(ShaderMaskLayerTest, PaintBeforePrerollDies) {
const SkRect child_bounds = SkRect::MakeLTRB(5.0f, 6.0f, 20.5f, 21.5f);
const SkPath child_path = SkPath().addRect(child_bounds);
auto mock_layer = std::make_shared<MockLayer>(child_path);
Expand Down
2 changes: 1 addition & 1 deletion flow/layers/texture_layer_unittests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ TEST_F(TextureLayerTest, PaintingEmptyLayerDies) {
"needs_painting\\(context\\)");
}

TEST_F(TextureLayerTest, PaintBeforePreollDies) {
TEST_F(TextureLayerTest, PaintBeforePrerollDies) {
const SkPoint layer_offset = SkPoint::Make(0.0f, 0.0f);
const SkSize layer_size = SkSize::Make(8.0f, 8.0f);
const int64_t texture_id = 0;
Expand Down
2 changes: 1 addition & 1 deletion flow/layers/transform_layer_unittests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ TEST_F(TransformLayerTest, PaintingEmptyLayerDies) {
"needs_painting\\(context\\)");
}

TEST_F(TransformLayerTest, PaintBeforePreollDies) {
TEST_F(TransformLayerTest, PaintBeforePrerollDies) {
SkPath child_path;
child_path.addRect(5.0f, 6.0f, 20.5f, 21.5f);
auto mock_layer = std::make_shared<MockLayer>(child_path, SkPaint());
Expand Down
2 changes: 1 addition & 1 deletion flow/testing/mock_layer_unittests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace testing {
using MockLayerTest = LayerTest;

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

Expand Down

0 comments on commit 0dbbfdc

Please sign in to comment.