| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 test_configurations; | 5 library test_configurations; |
| 6 | 6 |
| 7 import "dart:async"; | 7 import "dart:async"; |
| 8 import 'dart:convert'; | 8 import 'dart:convert'; |
| 9 import 'dart:io'; | 9 import 'dart:io'; |
| 10 import "dart:math" as math; | 10 import "dart:math" as math; |
| (...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 if (printTiming) { | 263 if (printTiming) { |
| 264 eventListener.add(new TimingPrinter(startTime)); | 264 eventListener.add(new TimingPrinter(startTime)); |
| 265 } | 265 } |
| 266 eventListener.add(new SkippedCompilationsPrinter()); | 266 eventListener.add(new SkippedCompilationsPrinter()); |
| 267 eventListener.add(new LeftOverTempDirPrinter()); | 267 eventListener.add(new LeftOverTempDirPrinter()); |
| 268 } | 268 } |
| 269 if (firstConf['write_test_outcome_log']) { | 269 if (firstConf['write_test_outcome_log']) { |
| 270 eventListener.add(new TestOutcomeLogWriter()); | 270 eventListener.add(new TestOutcomeLogWriter()); |
| 271 } | 271 } |
| 272 if (firstConf['copy_coredumps']) { | 272 if (firstConf['copy_coredumps']) { |
| 273 eventListener.add(new UnexpectedCrashDumpArchiver()); | 273 eventListener.add(new UnexpectedCrashLogger()); |
| 274 } | 274 } |
| 275 | 275 |
| 276 // The only progress indicator when listing tests should be the | 276 // The only progress indicator when listing tests should be the |
| 277 // the summary printer. | 277 // the summary printer. |
| 278 if (listTests) { | 278 if (listTests) { |
| 279 eventListener.add(new SummaryPrinter(jsonOnly: reportInJson)); | 279 eventListener.add(new SummaryPrinter(jsonOnly: reportInJson)); |
| 280 } else { | 280 } else { |
| 281 eventListener.add(new ExitCodeSetter()); | 281 eventListener.add(new ExitCodeSetter()); |
| 282 eventListener.add(new IgnoredTestMonitor()); | 282 eventListener.add(new IgnoredTestMonitor()); |
| 283 } | 283 } |
| (...skipping 29 matching lines...) Expand all Loading... |
| 313 maxBrowserProcesses, | 313 maxBrowserProcesses, |
| 314 startTime, | 314 startTime, |
| 315 testSuites, | 315 testSuites, |
| 316 eventListener, | 316 eventListener, |
| 317 allTestsFinished, | 317 allTestsFinished, |
| 318 verbose, | 318 verbose, |
| 319 recordingPath, | 319 recordingPath, |
| 320 recordingOutputPath, | 320 recordingOutputPath, |
| 321 adbDevicePool); | 321 adbDevicePool); |
| 322 } | 322 } |
| OLD | NEW |