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

Side by Side Diff: third_party/dart-packages/unittest/unittest/compact_vm_config.dart

Issue 971083002: Create an apptesting framework for dart. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: msw comments Created 5 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) 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
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();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698