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

Side by Side Diff: runtime/observatory/tests/observatory_ui/mocks/repositories/event.dart

Issue 2767533002: Revert "Fix observatory tests broken by running dartfmt." (Closed)
Patch Set: Created 3 years, 9 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 unified diff | Download patch
OLDNEW
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 EventRepositoryMock implements M.EventRepository { 7 class EventRepositoryMock implements M.EventRepository {
8 final _onEvent = new StreamController<M.Event>.broadcast(); 8 final _onEvent = new StreamController<M.Event>.broadcast();
9 get onEvent => _onEvent.stream; 9 get onEvent => _onEvent.stream;
10 get onEventHasListener => _onEvent.hasListener; 10 get onEventHasListener => _onEvent.hasListener;
(...skipping 21 matching lines...) Expand all
32 32
33 final _onIsolateExit = new StreamController<M.IsolateExitEvent>.broadcast(); 33 final _onIsolateExit = new StreamController<M.IsolateExitEvent>.broadcast();
34 get onIsolateExit => _onIsolateExit.stream; 34 get onIsolateExit => _onIsolateExit.stream;
35 get onIsolateExitHasListener => _onIsolateExit.hasListener; 35 get onIsolateExitHasListener => _onIsolateExit.hasListener;
36 36
37 final _onIsolateUpdate = 37 final _onIsolateUpdate =
38 new StreamController<M.IsolateUpdateEvent>.broadcast(); 38 new StreamController<M.IsolateUpdateEvent>.broadcast();
39 get onIsolateUpdate => _onIsolateUpdate.stream; 39 get onIsolateUpdate => _onIsolateUpdate.stream;
40 get onIsolateUpdateHasListener => _onIsolateUpdate.hasListener; 40 get onIsolateUpdateHasListener => _onIsolateUpdate.hasListener;
41 41
42 final _onIsolateReload = 42 final _onIsolateReload = new StreamController<M.IsolateReloadEvent>.broadcast( );
43 new StreamController<M.IsolateReloadEvent>.broadcast();
44 get onIsolateReload => _onIsolateReload.stream; 43 get onIsolateReload => _onIsolateReload.stream;
45 get onIsolateReloadHasListener => _onIsolateReload.hasListener; 44 get onIsolateReloadHasListener => _onIsolateReload.hasListener;
46 45
47 final _onServiceExtensionAdded = 46 final _onServiceExtensionAdded =
48 new StreamController<M.ServiceExtensionAddedEvent>.broadcast(); 47 new StreamController<M.ServiceExtensionAddedEvent>.broadcast();
49 get onServiceExtensionAdded => _onServiceExtensionAdded.stream; 48 get onServiceExtensionAdded => _onServiceExtensionAdded.stream;
50 get onServiceExtensionAddedHasListener => 49 get onServiceExtensionAddedHasListener =>
51 _onServiceExtensionAdded.hasListener; 50 _onServiceExtensionAdded.hasListener;
52 51
53 final _onDebugEvent = new StreamController<M.DebugEvent>.broadcast(); 52 final _onDebugEvent = new StreamController<M.DebugEvent>.broadcast();
(...skipping 26 matching lines...) Expand all
80 final _onResume = new StreamController<M.ResumeEvent>.broadcast(); 79 final _onResume = new StreamController<M.ResumeEvent>.broadcast();
81 get onResume => _onResume.stream; 80 get onResume => _onResume.stream;
82 get onResumeHasListener => _onResume.hasListener; 81 get onResumeHasListener => _onResume.hasListener;
83 82
84 final _onBreakpointAdded = 83 final _onBreakpointAdded =
85 new StreamController<M.BreakpointAddedEvent>.broadcast(); 84 new StreamController<M.BreakpointAddedEvent>.broadcast();
86 get onBreakpointAdded => _onBreakpointAdded.stream; 85 get onBreakpointAdded => _onBreakpointAdded.stream;
87 get onBreakpointAddedHasListener => _onBreakpointAdded.hasListener; 86 get onBreakpointAddedHasListener => _onBreakpointAdded.hasListener;
88 87
89 final _onBreakpointResolved = 88 final _onBreakpointResolved =
90 new StreamController<M.BreakpointResolvedEvent>.broadcast(); 89 new StreamController<M.BreakpointResolvedEvent>.broadcast();
91 get onBreakpointResolved => _onBreakpointResolved.stream; 90 get onBreakpointResolved => _onBreakpointResolved.stream;
92 get onBreakpointResolvedHasListener => _onBreakpointResolved.hasListener; 91 get onBreakpointResolvedHasListener => _onBreakpointResolved.hasListener;
93 92
94 final _onBreakpointRemoved = 93 final _onBreakpointRemoved =
95 new StreamController<M.BreakpointRemovedEvent>.broadcast(); 94 new StreamController<M.BreakpointRemovedEvent>.broadcast();
96 get onBreakpointRemoved => _onBreakpointRemoved.stream; 95 get onBreakpointRemoved => _onBreakpointRemoved.stream;
97 get onBreakpointRemovedHasListener => _onBreakpointRemoved.hasListener; 96 get onBreakpointRemovedHasListener => _onBreakpointRemoved.hasListener;
98 97
99 final _onInspect = new StreamController<M.InspectEvent>.broadcast(); 98 final _onInspect = new StreamController<M.InspectEvent>.broadcast();
100 get onInspect => _onInspect.stream; 99 get onInspect => _onInspect.stream;
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 } 166 }
168 } else if (event is M.GCEvent) { 167 } else if (event is M.GCEvent) {
169 _onGCEvent.add(event); 168 _onGCEvent.add(event);
170 } else if (event is M.ExtensionEvent) { 169 } else if (event is M.ExtensionEvent) {
171 _onExtensionEvent.add(event); 170 _onExtensionEvent.add(event);
172 } else if (event is M.TimelineEventsEvent) { 171 } else if (event is M.TimelineEventsEvent) {
173 _onTimelineEvents.add(event); 172 _onTimelineEvents.add(event);
174 } 173 }
175 } 174 }
176 } 175 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698