Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
152c2ed3
Unverified
Commit
152c2ed3
authored
Jul 26, 2021
by
Darren Austin
Committed by
GitHub
Jul 26, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Skip test audit for animation tests. (#87063)
parent
5f792ba1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
animation_sheet_test.dart
packages/flutter/test/animation/animation_sheet_test.dart
+4
-4
live_binding_test.dart
packages/flutter/test/animation/live_binding_test.dart
+1
-1
tween_test.dart
packages/flutter/test/animation/tween_test.dart
+1
-1
No files found.
packages/flutter/test/animation/animation_sheet_test.dart
View file @
152c2ed3
...
@@ -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
}
}
...
...
packages/flutter/test/animation/live_binding_test.dart
View file @
152c2ed3
...
@@ -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
}
}
packages/flutter/test/animation/tween_test.dart
View file @
152c2ed3
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment