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
37581f94
Commit
37581f94
authored
Mar 30, 2016
by
Devon Carew
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2997 from devoncarew/nits
rev mockito; remove deprecated uses
parents
89143313
d5cccf5c
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
10 deletions
+8
-10
extension.dart
packages/flutter_driver/lib/src/extension.dart
+3
-3
pubspec.yaml
packages/flutter_driver/pubspec.yaml
+1
-1
pubspec.yaml
packages/flutter_tools/pubspec.yaml
+1
-1
bundle_test.dart
packages/flx/test/bundle_test.dart
+1
-2
signing_test.dart
packages/flx/test/signing_test.dart
+2
-3
No files found.
packages/flutter_driver/lib/src/extension.dart
View file @
37581f94
...
@@ -85,7 +85,7 @@ class FlutterDriverExtension {
...
@@ -85,7 +85,7 @@ class FlutterDriverExtension {
if
(
commandHandler
==
null
||
commandDeserializer
==
null
)
{
if
(
commandHandler
==
null
||
commandDeserializer
==
null
)
{
return
new
ServiceExtensionResponse
.
error
(
return
new
ServiceExtensionResponse
.
error
(
ServiceExtensionResponse
.
kI
nvalidParams
,
ServiceExtensionResponse
.
i
nvalidParams
,
'Extension
$_extensionMethod
does not support command
$commandKind
'
'Extension
$_extensionMethod
does not support command
$commandKind
'
);
);
}
}
...
@@ -95,13 +95,13 @@ class FlutterDriverExtension {
...
@@ -95,13 +95,13 @@ class FlutterDriverExtension {
return
new
ServiceExtensionResponse
.
result
(
JSON
.
encode
(
result
.
toJson
()));
return
new
ServiceExtensionResponse
.
result
(
JSON
.
encode
(
result
.
toJson
()));
},
onError:
(
e
,
s
)
{
},
onError:
(
e
,
s
)
{
_log
.
warning
(
'
$e
:
\n
$s
'
);
_log
.
warning
(
'
$e
:
\n
$s
'
);
return
new
ServiceExtensionResponse
.
error
(
ServiceExtensionResponse
.
kE
xtensionError
,
'
$e
'
);
return
new
ServiceExtensionResponse
.
error
(
ServiceExtensionResponse
.
e
xtensionError
,
'
$e
'
);
});
});
}
catch
(
error
,
stackTrace
)
{
}
catch
(
error
,
stackTrace
)
{
String
message
=
'Uncaught extension error:
$error
\n
$stackTrace
'
;
String
message
=
'Uncaught extension error:
$error
\n
$stackTrace
'
;
_log
.
error
(
message
);
_log
.
error
(
message
);
return
new
ServiceExtensionResponse
.
error
(
return
new
ServiceExtensionResponse
.
error
(
ServiceExtensionResponse
.
kE
xtensionError
,
message
);
ServiceExtensionResponse
.
e
xtensionError
,
message
);
}
}
}
}
...
...
packages/flutter_driver/pubspec.yaml
View file @
37581f94
...
@@ -18,5 +18,5 @@ dependencies:
...
@@ -18,5 +18,5 @@ dependencies:
dev_dependencies
:
dev_dependencies
:
test
:
'
>=0.12.6
<1.0.0'
test
:
'
>=0.12.6
<1.0.0'
mockito
:
^0.1
0.1
mockito
:
^0.1
1.0
quiver
:
'
>=0.21.4
<0.22.0'
quiver
:
'
>=0.21.4
<0.22.0'
packages/flutter_tools/pubspec.yaml
View file @
37581f94
...
@@ -41,4 +41,4 @@ dependencies:
...
@@ -41,4 +41,4 @@ dependencies:
# See also https://github.com/dart-lang/pub/issues/1356
# See also https://github.com/dart-lang/pub/issues/1356
dev_dependencies
:
dev_dependencies
:
mockito
:
^0.1
0.1
mockito
:
^0.1
1.0
packages/flx/test/bundle_test.dart
View file @
37581f94
import
'dart:async'
;
import
'dart:async'
;
import
'dart:convert'
hide
BASE64
;
import
'dart:convert'
;
import
'dart:io'
;
import
'dart:io'
;
import
'dart:typed_data'
;
import
'dart:typed_data'
;
import
'package:crypto/crypto.dart'
;
import
'package:flx/bundle.dart'
;
import
'package:flx/bundle.dart'
;
import
'package:flx/signing.dart'
;
import
'package:flx/signing.dart'
;
import
'package:test/test.dart'
;
import
'package:test/test.dart'
;
...
...
packages/flx/test/signing_test.dart
View file @
37581f94
import
'dart:async'
;
import
'dart:async'
;
import
'dart:convert'
hide
BASE64
;
import
'dart:convert'
;
import
'dart:typed_data'
;
import
'dart:typed_data'
;
import
'package:bignum/bignum.dart'
;
import
'package:bignum/bignum.dart'
;
import
'package:pointycastle/pointycastle.dart'
hide
CipherParameters
;
import
'package:crypto/crypto.dart'
;
import
'package:flx/signing.dart'
;
import
'package:flx/signing.dart'
;
import
'package:pointycastle/pointycastle.dart'
hide
CipherParameters
;
import
'package:test/test.dart'
;
import
'package:test/test.dart'
;
Future
<
Null
>
main
()
async
{
Future
<
Null
>
main
()
async
{
...
...
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