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
57e13405
Unverified
Commit
57e13405
authored
Dec 21, 2020
by
Jia Hao
Committed by
GitHub
Dec 21, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[integration_test] Fix incorrect logging for the legacy reporter (#72699)
parent
bd089974
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
integration_test.dart
packages/integration_test/lib/integration_test.dart
+5
-4
No files found.
packages/integration_test/lib/integration_test.dart
View file @
57e13405
...
...
@@ -126,13 +126,14 @@ class IntegrationTestWidgetsFlutterBinding extends LiveTestWidgetsFlutterBinding
/// execute their tests instead.
IntegrationTestWidgetsFlutterBinding
()
{
if
(!
_isUsingLegacyReporting
)
{
// TODO(jiahaog): Point users to use the CLI https://github.com/flutter/flutter/issues/66264.
print
(
'Using the legacy test result reporter, which will not catch all '
'errors thrown in declared tests. Consider wrapping tests with '
'https://api.flutter.dev/flutter/integration_test/run.html instead.'
);
return
;
}
// TODO(jiahaog): Point users to use the CLI https://github.com/flutter/flutter/issues/66264.
print
(
'Using the legacy test result reporter, which will not catch all '
'errors thrown in declared tests. Consider wrapping tests with '
'https://api.flutter.dev/flutter/integration_test/run.html instead.'
);
tearDownAll
(()
async
{
_updateTestResultState
(
results
);
await
const
_ReporterImpl
().
report
(
results
.
values
.
toList
());
...
...
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