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

Unified Diff: runtime/observatory/tests/observatory_ui/mocks/objects/megamorphiccache.dart

Issue 2244433003: Converted Observatory refs elements (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Merged with master Created 4 years, 4 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/mocks/objects/megamorphiccache.dart
diff --git a/runtime/observatory/tests/observatory_ui/mocks/objects/source_location.dart b/runtime/observatory/tests/observatory_ui/mocks/objects/megamorphiccache.dart
similarity index 51%
copy from runtime/observatory/tests/observatory_ui/mocks/objects/source_location.dart
copy to runtime/observatory/tests/observatory_ui/mocks/objects/megamorphiccache.dart
index a795589f8b8d1fcaaba35fb71fb49a01d4b81cfb..6e589414903348dba67141dc3a497bff844b39ea 100644
--- a/runtime/observatory/tests/observatory_ui/mocks/objects/source_location.dart
+++ b/runtime/observatory/tests/observatory_ui/mocks/objects/megamorphiccache.dart
@@ -4,10 +4,10 @@
part of mocks;
-class SourceLocationMock implements M.SourceLocation {
- final M.ScriptRef script;
- final int tokenPos;
- final int endTokenPos;
+class MegamorphicCacheRefMock implements M.MegamorphicCacheRef {
+ final String id;
+ final String selector;
- const SourceLocationMock({this.script, this.tokenPos, this.endTokenPos});
+ const MegamorphicCacheRefMock({this.id : 'megamorphiccache-id',
+ this.selector});
}

Powered by Google App Engine
This is Rietveld 408576698