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

Unified Diff: runtime/observatory/tests/observatory_ui/mocks/objects/event.dart

Issue 2211603002: Centralized event streams (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Merged with master 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/event.dart
diff --git a/runtime/observatory/lib/src/mocks/objects/event.dart b/runtime/observatory/tests/observatory_ui/mocks/objects/event.dart
similarity index 93%
rename from runtime/observatory/lib/src/mocks/objects/event.dart
rename to runtime/observatory/tests/observatory_ui/mocks/objects/event.dart
index 6a646f3cdb567ea5a105f2ccbba8a565e1a11ec5..7e4aa17a0bf5577e35df21ae10b6d20ddc43a089 100644
--- a/runtime/observatory/lib/src/mocks/objects/event.dart
+++ b/runtime/observatory/tests/observatory_ui/mocks/objects/event.dart
@@ -1,6 +1,6 @@
// 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
+// BSD-style license that can be found in the LICENSE file.
part of mocks;
@@ -42,6 +42,11 @@ class ServiceExtensionAddedEventMock implements M.ServiceExtensionAddedEvent {
const ServiceExtensionAddedEventMock({this.extensionRPC, this.isolate,
this.timestamp});
}
+class DebuggerSettingsUpdateEventMock implements M.PauseStartEvent {
+ final DateTime timestamp;
+ final M.IsolateRef isolate;
+ const DebuggerSettingsUpdateEventMock({this.isolate, this.timestamp});
+}
class PauseStartEventMock implements M.PauseStartEvent {
final DateTime timestamp;
final M.IsolateRef isolate;
@@ -81,7 +86,8 @@ class PauseExceptionEventMock implements M.PauseExceptionEvent {
class ResumeEventMock implements M.ResumeEvent {
final DateTime timestamp;
final M.IsolateRef isolate;
- const ResumeEventMock({this.timestamp, this.isolate});
+ final M.Frame topFrame;
+ const ResumeEventMock({this.timestamp, this.isolate, this.topFrame});
}
class BreakpointAddedEventMock implements M.BreakpointAddedEvent {
final DateTime timestamp;

Powered by Google App Engine
This is Rietveld 408576698