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
8742fb09
Commit
8742fb09
authored
Mar 13, 2017
by
Dan Rubel
Committed by
GitHub
Mar 13, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tests (#8736)
* do not forward status if stream is closed * remove devfs test timeout
parent
74e2243c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
analyze_continuously.dart
.../flutter_tools/lib/src/commands/analyze_continuously.dart
+1
-1
devfs_test.dart
packages/flutter_tools/test/devfs_test.dart
+2
-1
No files found.
packages/flutter_tools/lib/src/commands/analyze_continuously.dart
View file @
8742fb09
...
...
@@ -238,7 +238,7 @@ class AnalysisServer {
void
_handleStatus
(
Map
<
String
,
dynamic
>
statusInfo
)
{
// {"event":"server.status","params":{"analysis":{"isAnalyzing":true}}}
if
(
statusInfo
[
'analysis'
]
!=
null
)
{
if
(
statusInfo
[
'analysis'
]
!=
null
&&
!
_analyzingController
.
isClosed
)
{
final
bool
isAnalyzing
=
statusInfo
[
'analysis'
][
'isAnalyzing'
];
_analyzingController
.
add
(
isAnalyzing
);
}
...
...
packages/flutter_tools/test/devfs_test.dart
View file @
8742fb09
...
...
@@ -269,9 +269,10 @@ void main() {
]);
expect
(
devFS
.
assetPathsToEvict
,
isEmpty
);
expect
(
bytes
,
48
);
}
,
timeout:
const
Timeout
(
const
Duration
(
seconds:
5
))
);
});
testUsingContext
(
'delete dev file system'
,
()
async
{
expect
(
vmService
.
messages
,
isEmpty
,
reason:
'prior test timeout'
);
await
devFS
.
destroy
();
vmService
.
expectMessages
(<
String
>[
'_deleteDevFS {fsName: test}'
]);
expect
(
devFS
.
assetPathsToEvict
,
isEmpty
);
...
...
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