mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 00:19:48 +00:00
Replace typed_mock with mockito in front_end.
R=ahe@google.com, paulberry@google.com, sigmund@google.com BUG= Review-Url: https://codereview.chromium.org/2984123002 .
This commit is contained in:
parent
f434d87581
commit
72d14b8202
|
@ -58,6 +58,7 @@ matcher:third_party/pkg/matcher/lib
|
||||||
meta:pkg/meta/lib
|
meta:pkg/meta/lib
|
||||||
microlytics:pkg/microlytics/lib
|
microlytics:pkg/microlytics/lib
|
||||||
mime:third_party/pkg/mime/lib
|
mime:third_party/pkg/mime/lib
|
||||||
|
mockito:third_party/pkg/mockito/lib
|
||||||
mustache4dart:third_party/pkg/mustache4dart/lib
|
mustache4dart:third_party/pkg/mustache4dart/lib
|
||||||
oauth2:third_party/pkg/oauth2/lib
|
oauth2:third_party/pkg/oauth2/lib
|
||||||
observatory:runtime/observatory/lib
|
observatory:runtime/observatory/lib
|
||||||
|
|
|
@ -14,5 +14,6 @@ dev_dependencies:
|
||||||
test: ^0.12.0
|
test: ^0.12.0
|
||||||
test_reflective_loader: ^0.1.0
|
test_reflective_loader: ^0.1.0
|
||||||
json_rpc_2: ^2.0.4
|
json_rpc_2: ^2.0.4
|
||||||
|
mockito: ^2.0.2
|
||||||
stream_channel: ^1.6.1
|
stream_channel: ^1.6.1
|
||||||
web_socket_channel: ^1.0.4
|
web_socket_channel: ^1.0.4
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
// BSD-style license that can be found in the LICENSE file.
|
// BSD-style license that can be found in the LICENSE file.
|
||||||
|
|
||||||
import 'package:front_end/src/incremental/byte_store.dart';
|
import 'package:front_end/src/incremental/byte_store.dart';
|
||||||
|
import 'package:mockito/mockito.dart';
|
||||||
import 'package:test/test.dart';
|
import 'package:test/test.dart';
|
||||||
import 'package:test_reflective_loader/test_reflective_loader.dart';
|
import 'package:test_reflective_loader/test_reflective_loader.dart';
|
||||||
import 'package:typed_mock/typed_mock.dart';
|
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
defineReflectiveSuite(() {
|
defineReflectiveSuite(() {
|
||||||
|
@ -118,4 +118,4 @@ class NullByteStoreTest {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class _TestByteStore extends TypedMock implements ByteStore {}
|
class _TestByteStore extends Mock implements ByteStore {}
|
||||||
|
|
Loading…
Reference in a new issue