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

Side by Side Diff: lib/src/backend/live_test.dart

Issue 955543002: Move a bunch of src/ files into subdirectories. (Closed) Base URL: git@github.com:dart-lang/unittest@master
Patch Set: Fix library tags Created 5 years, 10 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
« no previous file with comments | « lib/src/backend/invoker.dart ('k') | lib/src/backend/live_test_controller.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 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 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 library unittest.live_test; 5 library unittest.backend.live_test;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'state.dart'; 9 import 'state.dart';
10 import 'suite.dart'; 10 import 'suite.dart';
11 import 'test.dart'; 11 import 'test.dart';
12 12
13 /// A runnable instance of a test. 13 /// A runnable instance of a test.
14 /// 14 ///
15 /// This is distinct from [Test] in order to keep [Test]. Running a test 15 /// This is distinct from [Test] in order to keep [Test]. Running a test
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 /// Once [close] is called, [onComplete] will complete if it hasn't already 108 /// Once [close] is called, [onComplete] will complete if it hasn't already
109 /// and [onStateChange] and [onError] will close immediately. This means that, 109 /// and [onStateChange] and [onError] will close immediately. This means that,
110 /// if the test was running at the time [close] is called, it will never emit 110 /// if the test was running at the time [close] is called, it will never emit
111 /// a [Status.complete] state-change event. 111 /// a [Status.complete] state-change event.
112 /// 112 ///
113 /// This doesn't automatically happen after the test completes because there 113 /// This doesn't automatically happen after the test completes because there
114 /// may be more asynchronous work going on in the background that could 114 /// may be more asynchronous work going on in the background that could
115 /// produce new errors. 115 /// produce new errors.
116 Future close(); 116 Future close();
117 } 117 }
OLDNEW
« no previous file with comments | « lib/src/backend/invoker.dart ('k') | lib/src/backend/live_test_controller.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698