Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Unified Diff: runtime/observatory/tests/observatory_ui/nav/notify_event/element_test.dart

Issue 2211603002: Centralized event streams (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Merged with master Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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');

Powered by Google App Engine
This is Rietveld 408576698