| Index: runtime/observatory/tests/observatory_ui/instructions_ref/element_test.dart
|
| diff --git a/runtime/observatory/tests/observatory_ui/instructions_ref/element_test.dart b/runtime/observatory/tests/observatory_ui/instructions_ref/element_test.dart
|
| deleted file mode 100644
|
| index fbcfd84fa96d34b561a1baef9dfa122052a12069..0000000000000000000000000000000000000000
|
| --- a/runtime/observatory/tests/observatory_ui/instructions_ref/element_test.dart
|
| +++ /dev/null
|
| @@ -1,30 +0,0 @@
|
| -// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -import 'dart:html';
|
| -import 'package:unittest/unittest.dart';
|
| -import 'package:observatory/src/elements/instructions_ref.dart';
|
| -import '../mocks.dart';
|
| -
|
| -main() {
|
| - InstructionsRefElement.tag.ensureRegistration();
|
| -
|
| - const isolate = const IsolateRefMock();
|
| - const instructions = const InstructionsRefMock();
|
| - test('instantiation', () {
|
| - final e = new InstructionsRefElement(isolate, instructions);
|
| - expect(e, isNotNull, reason: 'element correctly created');
|
| - expect(e.isolate, equals(isolate));
|
| - expect(e.instructions, equals(instructions));
|
| - });
|
| - test('elements created after attachment', () async {
|
| - final e = new InstructionsRefElement(isolate, instructions);
|
| - document.body.append(e);
|
| - await e.onRendered.first;
|
| - expect(e.children.length, isNonZero, reason: 'has elements');
|
| - e.remove();
|
| - await e.onRendered.first;
|
| - expect(e.children.length, isZero, reason: 'is empty');
|
| - });
|
| -}
|
|
|