mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 10:49:00 +00:00
Using TargetMock during vm-connect-target tests
TBR=johnmccutchan@google.com,rmacnak@google.com Review URL: https://codereview.chromium.org/2179993002 .
This commit is contained in:
parent
bd1895017b
commit
a3f7f85a6e
1 changed files with 3 additions and 3 deletions
|
@ -3,15 +3,15 @@
|
|||
// BSD-style license that can be found in the LICENSE file.
|
||||
import 'dart:html';
|
||||
import 'package:unittest/unittest.dart';
|
||||
import 'package:observatory/service_html.dart';
|
||||
import 'package:observatory/mocks.dart';
|
||||
import 'package:observatory/src/elements/vm_connect_target.dart';
|
||||
|
||||
main() {
|
||||
VMConnectTargetElement.tag.ensureRegistration();
|
||||
|
||||
WebSocketVMTarget t;
|
||||
TargetMock t;
|
||||
setUp(() {
|
||||
t = new WebSocketVMTarget("a network address");
|
||||
t = new TargetMock(name: "a network address");
|
||||
});
|
||||
group('instantiation', () {
|
||||
test('no other parameters', () {
|
||||
|
|
Loading…
Reference in a new issue