| OLD | NEW |
| 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 /// A test configuration that generates a compact 1-line progress bar. The bar | 5 /// A test configuration that generates a compact 1-line progress bar. The bar |
| 6 /// is updated in-place before and after each test is executed. If all tests | 6 /// is updated in-place before and after each test is executed. If all tests |
| 7 /// pass, only a couple of lines are printed in the terminal. If a test fails, | 7 /// pass, only a couple of lines are printed in the terminal. If a test fails, |
| 8 /// the failure is shown and the progress bar continues to be updated below it. | 8 /// the failure is shown and the progress bar continues to be updated below it. |
| 9 library unittest.compact_vm_config; | 9 library unittest.compact_vm_config; |
| 10 | 10 |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 // If the test is running on the Dart buildbots, we don't want to use this | 205 // If the test is running on the Dart buildbots, we don't want to use this |
| 206 // config since it's output may not be what the bots expect. | 206 // config since it's output may not be what the bots expect. |
| 207 if (Platform.environment['LOGNAME'] == 'chrome-bot') { | 207 if (Platform.environment['LOGNAME'] == 'chrome-bot') { |
| 208 return; | 208 return; |
| 209 } | 209 } |
| 210 | 210 |
| 211 unittestConfiguration = _singleton; | 211 unittestConfiguration = _singleton; |
| 212 } | 212 } |
| 213 | 213 |
| 214 final _singleton = new CompactVMConfiguration(); | 214 final _singleton = new CompactVMConfiguration(); |
| OLD | NEW |