Skip test audit for animation tests. (#87063)

This commit is contained in:
Darren Austin 2021-07-26 12:42:55 -07:00 committed by GitHub
parent 5f792ba170
commit 152c2ed3e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -46,7 +46,7 @@ void main() {
await tester.pumpWidget(display);
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 {
final AnimationSheetBuilder builder = AnimationSheetBuilder(frameSize: _DecuplePixels.size);
@ -64,7 +64,7 @@ void main() {
await tester.pumpWidget(display);
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 {
final AnimationSheetBuilder builder = AnimationSheetBuilder(frameSize: _DecuplePixels.size);
@ -99,7 +99,7 @@ void main() {
builder.collate(5),
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 {
final AnimationSheetBuilder builder = AnimationSheetBuilder(
@ -130,7 +130,7 @@ void main() {
builder.collate(5),
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
}

View File

@ -57,5 +57,5 @@ void main() {
animationSheet.collate(6),
matchesGoldenFile('LiveBinding.press.animation.png'),
);
}, skip: isBrowser); // https://github.com/flutter/flutter/issues/42767
}, skip: isBrowser); // https://github.com/flutter/flutter/issues/56001
}

View File

@ -172,7 +172,7 @@ void main() {
rotationTween.lerp(0.5).absoluteError(a.clone()..rotateZ(0.5)),
moreOrLessEquals(0.0),
);
}, skip: isWindows); // floating point math not quite deterministic on Windows?
});
test('ConstantTween', () {
final ConstantTween<double> tween = ConstantTween<double>(100.0);