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
271ed8b2
Unverified
Commit
271ed8b2
authored
Aug 09, 2021
by
Darren Austin
Committed by
GitHub
Aug 09, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated skipped tests for flutter_test directory. (#87880)
parent
90d845c1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
widget_tester_test.dart
packages/flutter_test/test/widget_tester_test.dart
+2
-2
No files found.
packages/flutter_test/test/widget_tester_test.dart
View file @
271ed8b2
...
@@ -40,7 +40,7 @@ void main() {
...
@@ -40,7 +40,7 @@ void main() {
testWidgets
(
'respects the skip flag'
,
(
WidgetTester
tester
)
async
{
testWidgets
(
'respects the skip flag'
,
(
WidgetTester
tester
)
async
{
final
Completer
<
void
>
completer
=
Completer
<
void
>();
final
Completer
<
void
>
completer
=
Completer
<
void
>();
final
Future
<
void
>
future
=
expectLater
(
null
,
FakeMatcher
(
completer
),
skip:
'testing skip'
);
final
Future
<
void
>
future
=
expectLater
(
null
,
FakeMatcher
(
completer
),
skip:
'testing skip'
);
// [intended] API testing
bool
completed
=
false
;
bool
completed
=
false
;
future
.
then
<
void
>((
_
)
{
future
.
then
<
void
>((
_
)
{
completed
=
true
;
completed
=
true
;
...
@@ -55,7 +55,7 @@ void main() {
...
@@ -55,7 +55,7 @@ void main() {
testWidgets
(
'should be skipped'
,
(
WidgetTester
tester
)
async
{
testWidgets
(
'should be skipped'
,
(
WidgetTester
tester
)
async
{
expect
(
false
,
true
);
expect
(
false
,
true
);
});
});
},
skip:
true
);
},
skip:
true
);
// [intended] API testing
group
(
'findsOneWidget'
,
()
{
group
(
'findsOneWidget'
,
()
{
testWidgets
(
'finds exactly one widget'
,
(
WidgetTester
tester
)
async
{
testWidgets
(
'finds exactly one widget'
,
(
WidgetTester
tester
)
async
{
...
...
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