Index: runtime/observatory/tests/observatory_ui/nav/notify_event/element_test.dart |
diff --git a/runtime/observatory/tests/observatory_ui/nav/notify_event/element_test.dart b/runtime/observatory/tests/observatory_ui/nav/notify_event/element_test.dart |
index 5d5de5c89f8afeb494ecff78d7e41ae83b8342fb..9cea3f579defc95839daa783a7ce3e9894cc916a 100644 |
--- a/runtime/observatory/tests/observatory_ui/nav/notify_event/element_test.dart |
+++ b/runtime/observatory/tests/observatory_ui/nav/notify_event/element_test.dart |
@@ -4,22 +4,22 @@ |
import 'dart:html'; |
import 'dart:async'; |
import 'package:unittest/unittest.dart'; |
-import 'package:observatory/mocks.dart'; |
import 'package:observatory/src/elements/nav/notify_event.dart'; |
+import '../../mocks.dart'; |
main() { |
NavNotifyEventElement.tag.ensureRegistration(); |
- final PauseStartEventMock event = new PauseStartEventMock( |
+ final event = new PauseStartEventMock( |
isolate: new IsolateMock(id: 'isolate-id', name: 'isolate-name')); |
group('instantiation', () { |
- final NavNotifyEventElement e = new NavNotifyEventElement(event); |
+ final e = new NavNotifyEventElement(event); |
expect(e, isNotNull, reason: 'element correctly created'); |
expect(e.event, equals(event)); |
}); |
group('elements', () { |
test('created after attachment', () async { |
- final NavNotifyEventElement e = new NavNotifyEventElement(event); |
+ final e = new NavNotifyEventElement(event); |
document.body.append(e); |
await e.onRendered.first; |
expect(e.children.length, isNonZero, reason: 'has elements'); |