Index: runtime/observatory/tests/observatory_ui/object_common/element_test.dart |
diff --git a/runtime/observatory/tests/observatory_ui/object_common/element_test.dart b/runtime/observatory/tests/observatory_ui/object_common/element_test.dart |
index d59410a00917ebec3a6f41b3dada8a12ff4d6b3b..b0813be537313836d4ce9a44a12b052e3f90ba7f 100644 |
--- a/runtime/observatory/tests/observatory_ui/object_common/element_test.dart |
+++ b/runtime/observatory/tests/observatory_ui/object_common/element_test.dart |
@@ -23,10 +23,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 ObjectCommonElement(isolate, object, retainedSizes, |
- reachableSizes, inbounds, paths, instances); |
+ reachableSizes, inbounds, paths, objects); |
expect(e, isNotNull, reason: 'element correctly created'); |
expect(e.isolate, equals(isolate)); |
expect(e.object, equals(object)); |
@@ -34,7 +34,7 @@ main() { |
group('elements', () { |
test('created after attachment', () async { |
final e = new ObjectCommonElement(isolate, object, retainedSizes, |
- reachableSizes, inbounds, paths, instances); |
+ reachableSizes, inbounds, paths, objects); |
document.body.append(e); |
await e.onRendered.first; |
expect(e.children.length, isNonZero, reason: 'has elements'); |
@@ -57,7 +57,7 @@ main() { |
return value; |
}, count: 1)); |
final e = new ObjectCommonElement(isolate, object, retainedSizes, |
- reachableSizes, inbounds, paths, instances); |
+ reachableSizes, inbounds, paths, objects); |
document.body.append(e); |
await e.onRendered.first; |
expect(invoked, isFalse); |
@@ -84,7 +84,7 @@ main() { |
return value; |
}, count: 1)); |
final e = new ObjectCommonElement(isolate, object, retainedSizes, |
- reachableSizes, inbounds, paths, instances); |
+ reachableSizes, inbounds, paths, objects); |
document.body.append(e); |
await e.onRendered.first; |
expect(invoked, isFalse); |