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
8d706869
Unverified
Commit
8d706869
authored
Sep 22, 2021
by
chunhtai
Committed by
GitHub
Sep 22, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes resident_web_runner_test initialize the mock correctly (#90546)
parent
a921c1cf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
resident_web_runner_test.dart
...er_tools/test/general.shard/resident_web_runner_test.dart
+1
-1
No files found.
packages/flutter_tools/test/general.shard/resident_web_runner_test.dart
View file @
8d706869
...
@@ -279,11 +279,11 @@ void main() {
...
@@ -279,11 +279,11 @@ void main() {
// Regression test for https://github.com/flutter/flutter/issues/60613
// Regression test for https://github.com/flutter/flutter/issues/60613
testUsingContext
(
'ResidentWebRunner calls appFailedToStart if initial compilation fails'
,
()
async
{
testUsingContext
(
'ResidentWebRunner calls appFailedToStart if initial compilation fails'
,
()
async
{
fakeVmServiceHost
=
FakeVmServiceHost
(
requests:
kAttachExpectations
.
toList
());
_setupMocks
();
_setupMocks
();
final
ResidentRunner
residentWebRunner
=
setUpResidentRunner
(
flutterDevice
);
final
ResidentRunner
residentWebRunner
=
setUpResidentRunner
(
flutterDevice
);
fileSystem
.
file
(
globals
.
fs
.
path
.
join
(
'lib'
,
'main.dart'
))
fileSystem
.
file
(
globals
.
fs
.
path
.
join
(
'lib'
,
'main.dart'
))
.
createSync
(
recursive:
true
);
.
createSync
(
recursive:
true
);
fakeVmServiceHost
=
FakeVmServiceHost
(
requests:
kAttachExpectations
.
toList
());
webDevFS
.
report
=
UpdateFSReport
(
success:
false
,
syncedBytes:
0
);
webDevFS
.
report
=
UpdateFSReport
(
success:
false
,
syncedBytes:
0
);
expect
(
await
residentWebRunner
.
run
(),
1
);
expect
(
await
residentWebRunner
.
run
(),
1
);
...
...
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