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

Unified Diff: runtime/observatory/tests/observatory_ui/object_common/element_test.dart

Issue 2873013004: Omnibus Observatory UI fixes: (Closed)
Patch Set: Created 3 years, 7 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/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);

Powered by Google App Engine
This is Rietveld 408576698