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

Unified Diff: runtime/observatory/tests/observatory_ui/retaining_path/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
« no previous file with comments | « runtime/observatory/tests/observatory_ui/ports/element_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/tests/observatory_ui/retaining_path/element_test.dart
diff --git a/runtime/observatory/tests/observatory_ui/retaining_path/element_test.dart b/runtime/observatory/tests/observatory_ui/retaining_path/element_test.dart
index b6c9b0acc465ad17882e78b25de0ceb986669293..5770fa60a4853f92fa349bb23ff6b5ca95568d4b 100644
--- a/runtime/observatory/tests/observatory_ui/retaining_path/element_test.dart
+++ b/runtime/observatory/tests/observatory_ui/retaining_path/element_test.dart
@@ -18,9 +18,9 @@ main() {
const isolate = const IsolateRefMock();
const object = const InstanceRefMock();
final paths = new RetainingPathRepositoryMock();
- final instances = new InstanceRepositoryMock();
+ final objects = new ObjectRepositoryMock();
test('instantiation', () {
- final e = new RetainingPathElement(isolate, object, paths, instances);
+ final e = new RetainingPathElement(isolate, object, paths, objects);
expect(e, isNotNull, reason: 'element correctly created');
expect(e.isolate, equals(isolate));
expect(e.object, equals(object));
@@ -37,8 +37,8 @@ main() {
invoked = true;
return path;
}, count: 1));
- final instances = new InstanceRepositoryMock();
- final e = new RetainingPathElement(isolate, object, paths, instances);
+ final objects = new ObjectRepositoryMock();
+ final e = new RetainingPathElement(isolate, object, paths, objects);
document.body.append(e);
await e.onRendered.first;
expect(invoked, isFalse);
« no previous file with comments | « runtime/observatory/tests/observatory_ui/ports/element_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698