Skip to content

Commit

Permalink
Manual engine roll with goldens (flutter#29363)
Browse files Browse the repository at this point in the history
  • Loading branch information
dnfield authored Mar 14, 2019
1 parent c942ed4 commit c2e0891
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion bin/internal/engine.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8b1a299ed52d4ef9521ccd65c6c52d563129d8af
fbca3d34e6264d8f0081cced601a2db4e36429a4
2 changes: 1 addition & 1 deletion bin/internal/goldens.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
e27e697cd534e9595acd4459a0f38782c4f750fc
901ec95718ea0ba441a991590215865a838fdc5d
12 changes: 6 additions & 6 deletions packages/flutter/test/widgets/clip_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -513,15 +513,15 @@ void main() {
await tester.pumpWidget(genPhysicalModel(Clip.antiAlias));
await expectLater(
find.byType(RepaintBoundary).first,
matchesGoldenFile('clip.PhysicalModel.antiAlias.png'),
matchesGoldenFile('clip.PhysicalModel.antiAlias.1.png'),
);
});

testWidgets('PhysicalModel painting with Clip.hardEdge', (WidgetTester tester) async {
await tester.pumpWidget(genPhysicalModel(Clip.hardEdge));
await expectLater(
find.byType(RepaintBoundary).first,
matchesGoldenFile('clip.PhysicalModel.hardEdge.png'),
matchesGoldenFile('clip.PhysicalModel.hardEdge.1.png'),
);
});

Expand Down Expand Up @@ -573,7 +573,7 @@ void main() {
);
await expectLater(
find.byType(RepaintBoundary).first,
matchesGoldenFile('clip.PhysicalModel.default.png'),
matchesGoldenFile('clip.PhysicalModel.default.1.png'),
);
});

Expand Down Expand Up @@ -622,15 +622,15 @@ void main() {
await tester.pumpWidget(genPhysicalShape(Clip.antiAlias));
await expectLater(
find.byType(RepaintBoundary).first,
matchesGoldenFile('clip.PhysicalShape.antiAlias.png'),
matchesGoldenFile('clip.PhysicalShape.antiAlias.1.png'),
);
});

testWidgets('PhysicalShape painting with Clip.hardEdge', (WidgetTester tester) async {
await tester.pumpWidget(genPhysicalShape(Clip.hardEdge));
await expectLater(
find.byType(RepaintBoundary).first,
matchesGoldenFile('clip.PhysicalShape.hardEdge.png'),
matchesGoldenFile('clip.PhysicalShape.hardEdge.1.png'),
);
});

Expand Down Expand Up @@ -684,7 +684,7 @@ void main() {
);
await expectLater(
find.byType(RepaintBoundary).first,
matchesGoldenFile('clip.PhysicalShape.default.png'),
matchesGoldenFile('clip.PhysicalShape.default.1.png'),
);
});

Expand Down

0 comments on commit c2e0891

Please sign in to comment.