mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Skip test audit for animation tests. (#87063)
This commit is contained in:
parent
5f792ba170
commit
152c2ed3e4
@ -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
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -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
|
||||
}
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user