OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 part of mocks; | 5 part of mocks; |
6 | 6 |
7 class ExceptionNotificationMock implements M.ExceptionNotification { | 7 class ExceptionNotificationMock implements M.ExceptionNotification { |
8 final Exception exception; | 8 final Exception exception; |
9 final StackTrace stacktrace; | 9 final StackTrace stacktrace; |
10 const ExceptionNotificationMock({this.exception, this.stacktrace}); | 10 const ExceptionNotificationMock({this.exception, this.stacktrace}); |
11 } | 11 } |
12 | 12 |
13 class EventNotificationMock implements M.EventNotification { | 13 class EventNotificationMock implements M.EventNotification { |
14 final M.Event event; | 14 final M.Event event; |
15 const EventNotificationMock({this.event}); | 15 const EventNotificationMock({this.event}); |
16 } | 16 } |
OLD | NEW |