Chromium Code Reviews| Index: runtime/observatory/lib/src/mocks/objects/notification.dart |
| diff --git a/runtime/observatory/lib/src/mocks/objects/notification.dart b/runtime/observatory/lib/src/mocks/objects/notification.dart |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..757a9552f0cc33752c5c9b9c29d6d3514a489636 |
| --- /dev/null |
| +++ b/runtime/observatory/lib/src/mocks/objects/notification.dart |
| @@ -0,0 +1,16 @@ |
| +// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
| +// for details. All rights reserved. Use of this source code is governed by a |
| +// BSD-style license that can be found in the LICENSE file |
| + |
| +part of mocks; |
| + |
| +class ExceptionNotificationMock implements M.ExceptionNotification{ |
|
rmacnak
2016/07/23 00:23:50
M.ExceptionNotification {
cbernaschina
2016/07/23 00:40:55
Done.
|
| + final Exception exception; |
| + final StackTrace stacktrace; |
| + const ExceptionNotificationMock({this.exception, this.stacktrace}); |
| +} |
| + |
| +class EventNotificationMock implements M.EventNotification{ |
|
rmacnak
2016/07/23 00:23:50
M.EventNotification {
cbernaschina
2016/07/23 00:40:55
Done.
|
| + final M.Event event; |
| + const EventNotificationMock({this.event}); |
| +} |