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

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

Issue 2294073003: Converted Observatory class-view element (Closed)
Patch Set: Addressed comments 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/code.dart
diff --git a/runtime/observatory/tests/observatory_ui/mocks/objects/code.dart b/runtime/observatory/tests/observatory_ui/mocks/objects/code.dart
index 528d70afba422c31b42d349978b8994d5cc07fd3..4ba031828046cdb2bde26df486cb5e2f2fd156d5 100644
--- a/runtime/observatory/tests/observatory_ui/mocks/objects/code.dart
+++ b/runtime/observatory/tests/observatory_ui/mocks/objects/code.dart
@@ -16,11 +16,13 @@ class CodeRefMock implements M.CodeRef {
class CodeMock implements M.Code {
final String id;
final String name;
+ final String vmName;
final M.ClassRef clazz;
final int size;
final M.CodeKind kind;
final bool isOptimized;
- const CodeMock({this.id, this.name, this.clazz, this.size, this.kind,
- this.isOptimized: false });
+ const CodeMock({this.id: 'code-id', this.name: 'code-name',
+ this.vmName: 'code-vmName', this.clazz, this.size,
+ this.kind: M.CodeKind.dart, this.isOptimized: false });
}

Powered by Google App Engine
This is Rietveld 408576698