Index: runtime/observatory/tests/observatory_ui/context_view/element_test.dart |
diff --git a/runtime/observatory/tests/observatory_ui/context_view/element_test.dart b/runtime/observatory/tests/observatory_ui/context_view/element_test.dart |
index 01e85d68af58fb5bfcf04470e81ece33831ed4cc..6228d54ae915ba46814d61238c95ce8eb96342cd 100644 |
--- a/runtime/observatory/tests/observatory_ui/context_view/element_test.dart |
+++ b/runtime/observatory/tests/observatory_ui/context_view/element_test.dart |
@@ -25,10 +25,10 @@ main() { |
final retainedSizes = new RetainedSizeRepositoryMock(); |
final inbounds = new InboundReferencesRepositoryMock(); |
final paths = new RetainingPathRepositoryMock(); |
- final instances = new InstanceRepositoryMock(); |
+ final objects = new ObjectRepositoryMock(); |
test('instantiation', () { |
final e = new ContextViewElement(vm, isolate, context, events, notifs, |
- contexts, retainedSizes, reachableSizes, inbounds, paths, instances); |
+ contexts, retainedSizes, reachableSizes, inbounds, paths, objects); |
expect(e, isNotNull, reason: 'element correctly created'); |
expect(e.isolate, equals(isolate)); |
expect(e.context, equals(context)); |
@@ -41,7 +41,7 @@ main() { |
return context; |
}, count: 1)); |
final e = new ContextViewElement(vm, isolate, context, events, notifs, |
- contexts, retainedSizes, reachableSizes, inbounds, paths, instances); |
+ contexts, retainedSizes, reachableSizes, inbounds, paths, objects); |
document.body.append(e); |
await e.onRendered.first; |
expect(e.children.length, isNonZero, reason: 'has elements'); |