| 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 VMUpdateEventMock implements M.VMUpdateEvent { | 7 class VMUpdateEventMock implements M.VMUpdateEvent { |
| 8 final M.VMRef vm; | 8 final M.VMRef vm; |
| 9 final DateTime timestamp; | 9 final DateTime timestamp; |
| 10 const VMUpdateEventMock({this.timestamp, this.vm}); | 10 const VMUpdateEventMock({this.timestamp, this.vm}); |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 final M.Error error; | 35 final M.Error error; |
| 36 const IsolateRealodEventMock({this.timestamp, this.isolate, this.error}); | 36 const IsolateRealodEventMock({this.timestamp, this.isolate, this.error}); |
| 37 } | 37 } |
| 38 class ServiceExtensionAddedEventMock implements M.ServiceExtensionAddedEvent { | 38 class ServiceExtensionAddedEventMock implements M.ServiceExtensionAddedEvent { |
| 39 final DateTime timestamp; | 39 final DateTime timestamp; |
| 40 final M.IsolateRef isolate; | 40 final M.IsolateRef isolate; |
| 41 final String extensionRPC; | 41 final String extensionRPC; |
| 42 const ServiceExtensionAddedEventMock({this.extensionRPC, this.isolate, | 42 const ServiceExtensionAddedEventMock({this.extensionRPC, this.isolate, |
| 43 this.timestamp}); | 43 this.timestamp}); |
| 44 } | 44 } |
| 45 class DebuggerSettingsUpdateEventMock implements M.PauseStartEvent { |
| 46 final DateTime timestamp; |
| 47 final M.IsolateRef isolate; |
| 48 const DebuggerSettingsUpdateEventMock({this.isolate, this.timestamp}); |
| 49 } |
| 45 class PauseStartEventMock implements M.PauseStartEvent { | 50 class PauseStartEventMock implements M.PauseStartEvent { |
| 46 final DateTime timestamp; | 51 final DateTime timestamp; |
| 47 final M.IsolateRef isolate; | 52 final M.IsolateRef isolate; |
| 48 const PauseStartEventMock({this.isolate, this.timestamp}); | 53 const PauseStartEventMock({this.isolate, this.timestamp}); |
| 49 } | 54 } |
| 50 class PauseExitEventMock implements M.PauseExitEvent { | 55 class PauseExitEventMock implements M.PauseExitEvent { |
| 51 final DateTime timestamp; | 56 final DateTime timestamp; |
| 52 final M.IsolateRef isolate; | 57 final M.IsolateRef isolate; |
| 53 const PauseExitEventMock({this.isolate, this.timestamp}); | 58 const PauseExitEventMock({this.isolate, this.timestamp}); |
| 54 } | 59 } |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 final M.IsolateRef isolate; | 138 final M.IsolateRef isolate; |
| 134 final List<M.TimelineEvent> timelineEvents; | 139 final List<M.TimelineEvent> timelineEvents; |
| 135 const TimelineEventsEventMock({this.timestamp, this.isolate, | 140 const TimelineEventsEventMock({this.timestamp, this.isolate, |
| 136 this.timelineEvents}); | 141 this.timelineEvents}); |
| 137 } | 142 } |
| 138 class ConnectionClockedEventMock implements M.ConnectionClosedEvent { | 143 class ConnectionClockedEventMock implements M.ConnectionClosedEvent { |
| 139 final DateTime timestamp; | 144 final DateTime timestamp; |
| 140 final String reason; | 145 final String reason; |
| 141 const ConnectionClockedEventMock({this.timestamp, this.reason}); | 146 const ConnectionClockedEventMock({this.timestamp, this.reason}); |
| 142 } | 147 } |
| OLD | NEW |