Fix typo in tests names (flutter/engine#26852)

Fixes https://github.com/flutter/flutter/issues/84927
This commit is contained in:
Ahmed Ashour 2021-06-24 22:11:53 +02:00 committed by GitHub
parent c08f5d8a25
commit 6949cee7a7
10 changed files with 10 additions and 10 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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());

View File

@ -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);

View File

@ -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);

View File

@ -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;

View File

@ -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());

View File

@ -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());