Index: runtime/observatory/tests/observatory_ui/objectstore_view/element_test.dart |
diff --git a/runtime/observatory/tests/observatory_ui/objectstore_view/element_test.dart b/runtime/observatory/tests/observatory_ui/objectstore_view/element_test.dart |
index fb56f538ebe46ab9e27512ed4c48ebe6d24177e4..00ee45409f39f0802bf5fd5bf06912feb6bf5353 100644 |
--- a/runtime/observatory/tests/observatory_ui/objectstore_view/element_test.dart |
+++ b/runtime/observatory/tests/observatory_ui/objectstore_view/element_test.dart |
@@ -15,10 +15,10 @@ main() { |
final events = new EventRepositoryMock(); |
final notifs = new NotificationRepositoryMock(); |
final stores = new ObjectStoreRepositoryMock(); |
- final instances = new InstanceRepositoryMock(); |
+ final objects = new ObjectRepositoryMock(); |
test('instantiation', () { |
final e = new ObjectStoreViewElement( |
- vm, isolate, events, notifs, stores, instances); |
+ vm, isolate, events, notifs, stores, objects); |
expect(e, isNotNull, reason: 'element correctly created'); |
expect(e.isolate, equals(isolate)); |
}); |
@@ -34,9 +34,9 @@ main() { |
expect(i, equals(isolate)); |
return store; |
}, count: 1)); |
- final instances = new InstanceRepositoryMock(); |
+ final objects = new ObjectRepositoryMock(); |
final e = new ObjectStoreViewElement( |
- vm, isolate, events, notifs, stores, instances); |
+ vm, isolate, events, notifs, stores, objects); |
document.body.append(e); |
await e.onRendered.first; |
expect(e.children.length, isNonZero, reason: 'has elements'); |