Unverified Commit 152c2ed3 authored by Darren Austin's avatar Darren Austin Committed by GitHub

Skip test audit for animation tests. (#87063)

parent 5f792ba1
...@@ -46,7 +46,7 @@ void main() { ...@@ -46,7 +46,7 @@ void main() {
await tester.pumpWidget(display); await tester.pumpWidget(display);
await expectLater(find.byWidget(display), matchesGoldenFile('test.animation_sheet_builder.records.png')); await expectLater(find.byWidget(display), matchesGoldenFile('test.animation_sheet_builder.records.png'));
}, skip: isBrowser); // https://github.com/flutter/flutter/issues/42767 }, skip: isBrowser); // https://github.com/flutter/flutter/issues/56001
testWidgets('correctly wraps a row', (WidgetTester tester) async { testWidgets('correctly wraps a row', (WidgetTester tester) async {
final AnimationSheetBuilder builder = AnimationSheetBuilder(frameSize: _DecuplePixels.size); final AnimationSheetBuilder builder = AnimationSheetBuilder(frameSize: _DecuplePixels.size);
...@@ -64,7 +64,7 @@ void main() { ...@@ -64,7 +64,7 @@ void main() {
await tester.pumpWidget(display); await tester.pumpWidget(display);
await expectLater(find.byWidget(display), matchesGoldenFile('test.animation_sheet_builder.wraps.png')); await expectLater(find.byWidget(display), matchesGoldenFile('test.animation_sheet_builder.wraps.png'));
}, skip: isBrowser); // https://github.com/flutter/flutter/issues/42767 }, skip: isBrowser); // https://github.com/flutter/flutter/issues/56001
testWidgets('correctly records frames using collate', (WidgetTester tester) async { testWidgets('correctly records frames using collate', (WidgetTester tester) async {
final AnimationSheetBuilder builder = AnimationSheetBuilder(frameSize: _DecuplePixels.size); final AnimationSheetBuilder builder = AnimationSheetBuilder(frameSize: _DecuplePixels.size);
...@@ -99,7 +99,7 @@ void main() { ...@@ -99,7 +99,7 @@ void main() {
builder.collate(5), builder.collate(5),
matchesGoldenFile('test.animation_sheet_builder.collate.png'), matchesGoldenFile('test.animation_sheet_builder.collate.png'),
); );
}, skip: isBrowser); // https://github.com/flutter/flutter/issues/42767 }, skip: isBrowser); // https://github.com/flutter/flutter/issues/56001
testWidgets('use allLayers to record out-of-subtree contents', (WidgetTester tester) async { testWidgets('use allLayers to record out-of-subtree contents', (WidgetTester tester) async {
final AnimationSheetBuilder builder = AnimationSheetBuilder( final AnimationSheetBuilder builder = AnimationSheetBuilder(
...@@ -130,7 +130,7 @@ void main() { ...@@ -130,7 +130,7 @@ void main() {
builder.collate(5), builder.collate(5),
matchesGoldenFile('test.animation_sheet_builder.out_of_tree.png'), matchesGoldenFile('test.animation_sheet_builder.out_of_tree.png'),
); );
}, skip: isBrowser); // https://github.com/flutter/flutter/issues/42767 }, skip: isBrowser); // https://github.com/flutter/flutter/issues/56001
} }
......
...@@ -57,5 +57,5 @@ void main() { ...@@ -57,5 +57,5 @@ void main() {
animationSheet.collate(6), animationSheet.collate(6),
matchesGoldenFile('LiveBinding.press.animation.png'), matchesGoldenFile('LiveBinding.press.animation.png'),
); );
}, skip: isBrowser); // https://github.com/flutter/flutter/issues/42767 }, skip: isBrowser); // https://github.com/flutter/flutter/issues/56001
} }
...@@ -172,7 +172,7 @@ void main() { ...@@ -172,7 +172,7 @@ void main() {
rotationTween.lerp(0.5).absoluteError(a.clone()..rotateZ(0.5)), rotationTween.lerp(0.5).absoluteError(a.clone()..rotateZ(0.5)),
moreOrLessEquals(0.0), moreOrLessEquals(0.0),
); );
}, skip: isWindows); // floating point math not quite deterministic on Windows? });
test('ConstantTween', () { test('ConstantTween', () {
final ConstantTween<double> tween = ConstantTween<double>(100.0); final ConstantTween<double> tween = ConstantTween<double>(100.0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment