Chromium Code Reviews

Side by Side Diff: lib/src/runner/reporter.dart

Issue 1248073003: Add a --pause-after-load flag for debugging. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
OLDNEW
(Empty)
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
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.
4
5 library test.runner.reporter;
6
7 /// An interface for classes that watch the progress of an Engine and report it
8 /// to the user.
9 ///
10 /// A reporter should subscribe to the Engine's events as soon as it's created.
11 abstract class Reporter {
12 /// Pauses the reporter's output.
13 ///
14 /// Subclasses should buffer any events from the engine while they're paused.
15 /// They should also ensure that this does nothing if the reporter is already
16 /// paused.
17 void pause();
18
19 /// Resumes the reporter's output after being [paused].
20 ///
21 /// Subclasses should ensure that this does nothing if the reporter isn't
22 /// paused.
23 void resume();
24
25 /// Cancels the reporter's output.
26 void cancel();
27 }
OLDNEW

Powered by Google App Engine