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

Unified Diff: runtime/observatory/tests/observatory_ui/megamorphiccache_view/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/megamorphiccache_view/element_test.dart
diff --git a/runtime/observatory/tests/observatory_ui/megamorphiccache_view/element_test.dart b/runtime/observatory/tests/observatory_ui/megamorphiccache_view/element_test.dart
index f7783ba706e48dd8035332030d2a442654e8de4c..7024d417379858c71a49bb7b65b6beba921673e7 100644
--- a/runtime/observatory/tests/observatory_ui/megamorphiccache_view/element_test.dart
+++ b/runtime/observatory/tests/observatory_ui/megamorphiccache_view/element_test.dart
@@ -25,7 +25,7 @@ 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 MegamorphicCacheViewElement(
vm,
@@ -38,7 +38,7 @@ main() {
reachableSizes,
inbounds,
paths,
- instances);
+ objects);
expect(e, isNotNull, reason: 'element correctly created');
expect(e.isolate, equals(isolate));
expect(e.cache, equals(cache));
@@ -61,7 +61,7 @@ main() {
reachableSizes,
inbounds,
paths,
- instances);
+ objects);
document.body.append(e);
await e.onRendered.first;
expect(e.children.length, isNonZero, reason: 'has elements');

Powered by Google App Engine
This is Rietveld 408576698