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
0e9737e4
Commit
0e9737e4
authored
Apr 15, 2016
by
Yegor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[driver] upgrade to the latest version of vm_service_client (#3348)
parent
86597cd1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
11 deletions
+13
-11
driver.dart
packages/flutter_driver/lib/src/driver.dart
+5
-4
pubspec.yaml
packages/flutter_driver/pubspec.yaml
+8
-7
No files found.
packages/flutter_driver/lib/src/driver.dart
View file @
0e9737e4
...
@@ -4,9 +4,10 @@
...
@@ -4,9 +4,10 @@
import
'dart:async'
;
import
'dart:async'
;
import
'dart:io'
;
import
'dart:io'
;
import
'package:vm_service_client/vm_service_client.dart'
;
import
'package:matcher/matcher.dart'
;
import
'package:json_rpc_2/json_rpc_2.dart'
as
rpc
;
import
'package:json_rpc_2/json_rpc_2.dart'
as
rpc
;
import
'package:matcher/matcher.dart'
;
import
'package:vm_service_client/vm_service_client.dart'
;
import
'package:web_socket_channel/io.dart'
;
import
'error.dart'
;
import
'error.dart'
;
import
'find.dart'
;
import
'find.dart'
;
...
@@ -331,8 +332,8 @@ Future<VMServiceClientConnection> _waitAndConnect(String url) async {
...
@@ -331,8 +332,8 @@ Future<VMServiceClientConnection> _waitAndConnect(String url) async {
ws1
=
await
WebSocket
.
connect
(
uri
.
toString
());
ws1
=
await
WebSocket
.
connect
(
uri
.
toString
());
ws2
=
await
WebSocket
.
connect
(
uri
.
toString
());
ws2
=
await
WebSocket
.
connect
(
uri
.
toString
());
return
new
VMServiceClientConnection
(
return
new
VMServiceClientConnection
(
new
VMServiceClient
(
ws1
),
new
VMServiceClient
(
new
IOWebSocketChannel
(
ws1
)
),
new
rpc
.
Peer
(
ws2
,
ws2
)..
listen
()
new
rpc
.
Peer
(
new
IOWebSocketChannel
(
ws2
)
)..
listen
()
);
);
}
catch
(
e
)
{
}
catch
(
e
)
{
if
(
ws1
!=
null
)
if
(
ws1
!=
null
)
...
...
packages/flutter_driver/pubspec.yaml
View file @
0e9737e4
...
@@ -8,17 +8,18 @@ environment:
...
@@ -8,17 +8,18 @@ environment:
sdk
:
'
>=1.12.0
<2.0.0'
sdk
:
'
>=1.12.0
<2.0.0'
dependencies
:
dependencies
:
file
:
^0.1.0
file
:
'
^0.1.0'
json_rpc_2
:
any
json_rpc_2
:
'
^2.0.0'
matcher
:
'
>=0.12.0
<1.0.0'
matcher
:
'
>=0.12.0
<1.0.0'
path
:
^1.3.0
path
:
'
^1.3.0'
vm_service_client
:
'
>=0.1.2
<0.2.0'
web_socket_channel
:
'
^1.0.0'
vm_service_client
:
'
^0.2.0'
flutter
:
flutter
:
path
:
'
../flutter'
path
:
'
../flutter'
flutter_test
:
flutter_test
:
path
:
'
../flutter_test'
path
:
'
../flutter_test'
dev_dependencies
:
dev_dependencies
:
test
:
0.12.13
test
:
'
0.12.13'
mockito
:
^0.11.0
mockito
:
'
^0.11.0'
quiver
:
^0.21.4
quiver
:
'
^0.21.4'
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