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

Side by Side Diff: pkg/unittest/lib/compact_vm_config.dart

Issue 208273009: pkg/unittest: Removed references to expectAsync[Until]X in docs (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rebase Created 6 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 | Annotate | Revision Log
« no previous file with comments | « pkg/unittest/CHANGELOG.md ('k') | pkg/unittest/lib/html_config.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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 /** 5 /// A test configuration that generates a compact 1-line progress bar. The bar
6 * A test configuration that generates a compact 1-line progress bar. The bar is 6 /// is updated in-place before and after each test is executed. If all tests
7 * updated in-place before and after each test is executed. If all test pass, 7 /// pass, only a couple of lines are printed in the terminal. If a test fails,
8 * you should only see a couple lines in the terminal. If a test fails, the 8 /// the failure is shown and the progress bar continues to be updated below it.
9 * failure is shown and the progress bar continues to be updated below it.
10 */
11 library unittest.compact_vm_config; 9 library unittest.compact_vm_config;
12 10
13 import 'dart:async'; 11 import 'dart:async';
14 import 'dart:io'; 12 import 'dart:io';
15 import 'dart:isolate'; 13 import 'dart:isolate';
16 14
17 import 'unittest.dart'; 15 import 'unittest.dart';
18 import 'src/utils.dart'; 16 import 'src/utils.dart';
19 import 'vm_config.dart'; 17 import 'vm_config.dart';
20 18
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 // If the test is running on the Dart buildbots, we don't want to use this 206 // If the test is running on the Dart buildbots, we don't want to use this
209 // config since it's output may not be what the bots expect. 207 // config since it's output may not be what the bots expect.
210 if (Platform.environment['LOGNAME'] == 'chrome-bot') { 208 if (Platform.environment['LOGNAME'] == 'chrome-bot') {
211 return; 209 return;
212 } 210 }
213 211
214 unittestConfiguration = _singleton; 212 unittestConfiguration = _singleton;
215 } 213 }
216 214
217 final _singleton = new CompactVMConfiguration(); 215 final _singleton = new CompactVMConfiguration();
OLDNEW
« no previous file with comments | « pkg/unittest/CHANGELOG.md ('k') | pkg/unittest/lib/html_config.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698