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
01ac5096
Unverified
Commit
01ac5096
authored
Jul 10, 2020
by
Kate Lovett
Committed by
GitHub
Jul 10, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Skip Audit - Last Leftovers (#60940)
parent
e110ca72
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
9 deletions
+24
-9
animation_sheet_test.dart
packages/flutter/test/animation/animation_sheet_test.dart
+2
-2
text_selection_test.dart
packages/flutter/test/cupertino/text_selection_test.dart
+20
-5
progress_indicator_test.dart
packages/flutter/test/material/progress_indicator_test.dart
+1
-1
slider_test.dart
packages/flutter/test/material/slider_test.dart
+1
-1
No files found.
packages/flutter/test/animation/animation_sheet_test.dart
View file @
01ac5096
...
...
@@ -51,7 +51,7 @@ void main() {
await
tester
.
pumpWidget
(
display
);
await
expectLater
(
find
.
byWidget
(
display
),
matchesGoldenFile
(
'test.animation_sheet_builder.records.png'
));
},
skip:
isBrowser
);
},
skip:
isBrowser
);
// https://github.com/flutter/flutter/issues/42767
testWidgets
(
'correctly wraps a row'
,
(
WidgetTester
tester
)
async
{
final
AnimationSheetBuilder
builder
=
AnimationSheetBuilder
(
frameSize:
_DecuplePixels
.
size
);
...
...
@@ -68,7 +68,7 @@ void main() {
await
tester
.
pumpWidget
(
display
);
await
expectLater
(
find
.
byWidget
(
display
),
matchesGoldenFile
(
'test.animation_sheet_builder.wraps.png'
));
},
skip:
isBrowser
);
},
skip:
isBrowser
);
// https://github.com/flutter/flutter/issues/42767
}
// An animation of a yellow pixel moving from left to right, in a container of
...
...
packages/flutter/test/cupertino/text_selection_test.dart
View file @
01ac5096
...
...
@@ -224,7 +224,10 @@ void main() {
expect
(
find
.
text
(
'Paste'
),
findsOneWidget
);
expect
(
find
.
text
(
'Copy'
),
findsOneWidget
);
expect
(
find
.
text
(
'Cut'
),
findsOneWidget
);
},
skip:
isBrowser
,
variant:
const
TargetPlatformVariant
(<
TargetPlatform
>{
TargetPlatform
.
iOS
}));
},
skip:
isBrowser
,
// We do not use Flutter-rendered context menu on the Web
variant:
const
TargetPlatformVariant
(<
TargetPlatform
>{
TargetPlatform
.
iOS
}),
);
group
(
'Text selection menu overflow (iOS)'
,
()
{
testWidgets
(
'All menu items show when they fit.'
,
(
WidgetTester
tester
)
async
{
...
...
@@ -275,7 +278,10 @@ void main() {
expect
(
find
.
text
(
'Select All'
),
findsNothing
);
expect
(
find
.
text
(
'◀'
),
findsNothing
);
expect
(
find
.
text
(
'▶'
),
findsNothing
);
},
skip:
isBrowser
,
variant:
const
TargetPlatformVariant
(<
TargetPlatform
>{
TargetPlatform
.
iOS
}));
},
skip:
isBrowser
,
// We do not use Flutter-rendered context menu on the Web
variant:
const
TargetPlatformVariant
(<
TargetPlatform
>{
TargetPlatform
.
iOS
}),
);
testWidgets
(
'When a menu item doesn
\'
t fit, a second page is used.'
,
(
WidgetTester
tester
)
async
{
// Set the screen size to more narrow, so that Paste can't fit.
...
...
@@ -343,7 +349,10 @@ void main() {
expect
(
find
.
text
(
'◀'
),
findsNothing
);
expect
(
find
.
text
(
'▶'
),
findsOneWidget
);
expect
(
appearsEnabled
(
tester
,
'▶'
),
true
);
},
skip:
isBrowser
,
variant:
const
TargetPlatformVariant
(<
TargetPlatform
>{
TargetPlatform
.
iOS
}));
},
skip:
isBrowser
,
// We do not use Flutter-rendered context menu on the Web
variant:
const
TargetPlatformVariant
(<
TargetPlatform
>{
TargetPlatform
.
iOS
}),
);
testWidgets
(
'A smaller menu puts each button on its own page.'
,
(
WidgetTester
tester
)
async
{
// Set the screen size to more narrow, so that two buttons can't fit on
...
...
@@ -442,7 +451,10 @@ void main() {
expect
(
find
.
text
(
'◀'
),
findsNothing
);
expect
(
find
.
text
(
'▶'
),
findsOneWidget
);
expect
(
appearsEnabled
(
tester
,
'▶'
),
true
);
},
skip:
isBrowser
,
variant:
const
TargetPlatformVariant
(<
TargetPlatform
>{
TargetPlatform
.
iOS
}));
},
skip:
isBrowser
,
// We do not use Flutter-rendered context menu on the Web
variant:
const
TargetPlatformVariant
(<
TargetPlatform
>{
TargetPlatform
.
iOS
}),
);
testWidgets
(
'Handles very long locale strings'
,
(
WidgetTester
tester
)
async
{
final
TextEditingController
controller
=
TextEditingController
(
text:
'abc def ghi'
);
...
...
@@ -557,6 +569,9 @@ void main() {
expect
(
find
.
text
(
'◀'
),
findsNothing
);
expect
(
find
.
text
(
'▶'
),
findsOneWidget
);
expect
(
appearsEnabled
(
tester
,
'▶'
),
true
);
},
skip:
isBrowser
,
variant:
const
TargetPlatformVariant
(<
TargetPlatform
>{
TargetPlatform
.
iOS
}));
},
skip:
isBrowser
,
// We do not use Flutter-rendered context menu on the Web
variant:
const
TargetPlatformVariant
(<
TargetPlatform
>{
TargetPlatform
.
iOS
}),
);
});
}
packages/flutter/test/material/progress_indicator_test.dart
View file @
01ac5096
...
...
@@ -555,5 +555,5 @@ void main() {
find
.
byWidget
(
display
),
matchesGoldenFile
(
'material.circular_progress_indicator.indeterminate.png'
),
);
},
skip:
isBrowser
);
},
skip:
isBrowser
);
// https://github.com/flutter/flutter/issues/42767
}
packages/flutter/test/material/slider_test.dart
View file @
01ac5096
...
...
@@ -1124,7 +1124,7 @@ void main() {
await
gesture
.
up
();
await
tester
.
pumpAndSettle
();
}
,
skip:
isBrowser
);
});
testWidgets
(
'Tick marks are skipped when they are too dense'
,
(
WidgetTester
tester
)
async
{
Widget
buildSlider
({
...
...
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