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

Unified Diff: runtime/observatory/tests/observatory_ui/mocks/objects/error.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/error.dart
diff --git a/runtime/observatory/tests/observatory_ui/mocks/objects/error.dart b/runtime/observatory/tests/observatory_ui/mocks/objects/error.dart
index f3a47986ec691af506d27ef2760524989bf0607b..162d39ad7f2ce304853686cb278104128b37a28c 100644
--- a/runtime/observatory/tests/observatory_ui/mocks/objects/error.dart
+++ b/runtime/observatory/tests/observatory_ui/mocks/objects/error.dart
@@ -17,11 +17,13 @@ class ErrorRefMock implements M.ErrorRef {
class ErrorMock implements M.Error {
final String id;
final M.ClassRef clazz;
+ final String vmName;
final int size;
final M.ErrorKind kind;
final String message;
- const ErrorMock({this.id: 'error-id', this.clazz: const ClassMock(),
- this.size: 0, this.kind: M.ErrorKind.internalError,
+ const ErrorMock({this.id: 'error-id', this.vmName: 'error-vmName',
+ this.clazz: const ClassMock(), this.size: 0,
+ this.kind: M.ErrorKind.internalError,
this.message: 'Error Message'});
}

Powered by Google App Engine
This is Rietveld 408576698