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
29b44f79
Unverified
Commit
29b44f79
authored
Jan 31, 2022
by
Caio Agiani
Committed by
GitHub
Jan 31, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
packages: fix typos recieve => receive (#97488)
parent
3a20b2c3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
test_adapter_test.dart
...st/integration.shard/debug_adapter/test_adapter_test.dart
+1
-1
test_client.dart
...ols/test/integration.shard/debug_adapter/test_client.dart
+5
-5
No files found.
packages/flutter_tools/test/integration.shard/debug_adapter/test_adapter_test.dart
View file @
29b44f79
...
...
@@ -135,7 +135,7 @@ final List<Object> _testsProjectExpectedOutput = <Object>[
/// A helper that verifies a full set of expected test results for the
/// [TestsProject] script.
void
_expectStandardTestsProjectResults
(
TestEvents
events
)
{
// Check we rec
ie
ved all expected test events passed through from
// Check we rec
ei
ved all expected test events passed through from
// package:test.
final
List
<
Object
>
eventNames
=
events
.
testNotifications
.
map
((
Map
<
String
,
Object
?>
e
)
=>
e
[
'type'
]!).
toList
();
...
...
packages/flutter_tools/test/integration.shard/debug_adapter/test_client.dart
View file @
29b44f79
...
...
@@ -76,7 +76,7 @@ class DapTestClient {
/// Returns a Future that completes with the next [event] event.
Future
<
Event
>
event
(
String
event
)
=>
_eventController
.
stream
.
firstWhere
(
(
Event
e
)
=>
e
.
event
==
event
,
orElse:
()
=>
throw
'Did not rec
ie
ve
$event
event before stream closed'
);
orElse:
()
=>
throw
'Did not rec
ei
ve
$event
event before stream closed'
);
/// Returns a stream for [event] events.
Stream
<
Event
>
events
(
String
event
)
{
...
...
@@ -190,13 +190,13 @@ class DapTestClient {
/// event for [extension].
Future
<
Map
<
String
,
Object
?>>
serviceExtensionAdded
(
String
extension
)
=>
serviceExtensionAddedEvents
.
firstWhere
(
(
Map
<
String
,
Object
?>
body
)
=>
body
[
'extensionRPC'
]
==
extension
,
orElse:
()
=>
throw
'Did not rec
ie
ve
$extension
extension added event before stream closed'
);
orElse:
()
=>
throw
'Did not rec
ei
ve
$extension
extension added event before stream closed'
);
/// Returns a Future that completes with the next serviceExtensionStateChanged
/// event for [extension].
Future
<
Map
<
String
,
Object
?>>
serviceExtensionStateChanged
(
String
extension
)
=>
serviceExtensionStateChangedEvents
.
firstWhere
(
(
Map
<
String
,
Object
?>
body
)
=>
body
[
'extension'
]
==
extension
,
orElse:
()
=>
throw
'Did not rec
ie
ve
$extension
extension state changed event before stream closed'
);
orElse:
()
=>
throw
'Did not rec
ei
ve
$extension
extension state changed event before stream closed'
);
/// Initializes the debug adapter and launches [program]/[cwd] or calls the
/// custom [launch] method.
...
...
@@ -285,7 +285,7 @@ class _OutgoingRequest {
extension
DapTestClientExtension
on
DapTestClient
{
/// Collects all output events until the program terminates.
///
/// These results include all events in the order they are rec
ie
ved, including
/// These results include all events in the order they are rec
ei
ved, including
/// console, stdout and stderr.
///
/// Only one of [start] or [launch] may be provided. Use [start] to customise
...
...
@@ -325,7 +325,7 @@ extension DapTestClientExtension on DapTestClient {
/// Collects all output and test events until the program terminates.
///
/// These results include all events in the order they are rec
ie
ved, including
/// These results include all events in the order they are rec
ei
ved, including
/// console, stdout, stderr and test notifications from the test JSON reporter.
///
/// Only one of [start] or [launch] may be provided. Use [start] to customise
...
...
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