mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Fix typo in tests names (flutter/engine#26852)
Fixes https://github.com/flutter/flutter/issues/84927
This commit is contained in:
parent
c08f5d8a25
commit
6949cee7a7
@ -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);
|
||||
|
||||
@ -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);
|
||||
|
||||
@ -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);
|
||||
|
||||
@ -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);
|
||||
|
||||
@ -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());
|
||||
|
||||
@ -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);
|
||||
|
||||
@ -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);
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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());
|
||||
|
||||
@ -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());
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user