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 }); |
} |