Chromium Code Reviews| 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 import 'dart:async'; | 5 import 'dart:async'; |
| 6 import 'dart:io'; | 6 import 'dart:io'; |
| 7 import 'dart:math' as math; | 7 import 'dart:math' as math; |
| 8 | 8 |
| 9 import 'android.dart'; | 9 import 'android.dart'; |
| 10 import 'browser_controller.dart'; | 10 import 'browser_controller.dart'; |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 226 if (printTiming) { | 226 if (printTiming) { |
| 227 eventListener.add(new TimingPrinter(startTime)); | 227 eventListener.add(new TimingPrinter(startTime)); |
| 228 } | 228 } |
| 229 eventListener.add(new SkippedCompilationsPrinter()); | 229 eventListener.add(new SkippedCompilationsPrinter()); |
| 230 } | 230 } |
| 231 | 231 |
| 232 if (firstConf.writeTestOutcomeLog) { | 232 if (firstConf.writeTestOutcomeLog) { |
| 233 eventListener.add(new TestOutcomeLogWriter()); | 233 eventListener.add(new TestOutcomeLogWriter()); |
| 234 } | 234 } |
| 235 | 235 |
| 236 if (firstConf.writeResultJsonLog) { | |
| 237 eventListener.add(new TestResultLogWriter()); | |
|
Bill Hesse
2017/09/01 11:56:13
ResultLogWriter
mkroghj
2017/09/04 10:43:34
Done.
| |
| 238 } | |
| 239 | |
| 236 if (firstConf.copyCoreDumps) { | 240 if (firstConf.copyCoreDumps) { |
| 237 eventListener.add(new UnexpectedCrashLogger()); | 241 eventListener.add(new UnexpectedCrashLogger()); |
| 238 } | 242 } |
| 239 | 243 |
| 240 // The only progress indicator when listing tests should be the | 244 // The only progress indicator when listing tests should be the |
| 241 // the summary printer. | 245 // the summary printer. |
| 242 if (listTests) { | 246 if (listTests) { |
| 243 eventListener.add(new SummaryPrinter(jsonOnly: reportInJson)); | 247 eventListener.add(new SummaryPrinter(jsonOnly: reportInJson)); |
| 244 } else { | 248 } else { |
| 245 eventListener.add(new ExitCodeSetter()); | 249 eventListener.add(new ExitCodeSetter()); |
| (...skipping 14 matching lines...) Expand all Loading... | |
| 260 // Start all the HTTP servers required before starting the process queue. | 264 // Start all the HTTP servers required before starting the process queue. |
| 261 if (!serverFutures.isEmpty) { | 265 if (!serverFutures.isEmpty) { |
| 262 await Future.wait(serverFutures); | 266 await Future.wait(serverFutures); |
| 263 } | 267 } |
| 264 | 268 |
| 265 // [firstConf] is needed here, since the ProcessQueue needs to know the | 269 // [firstConf] is needed here, since the ProcessQueue needs to know the |
| 266 // settings of 'noBatch' and 'local_ip' | 270 // settings of 'noBatch' and 'local_ip' |
| 267 new ProcessQueue(firstConf, maxProcesses, maxBrowserProcesses, startTime, | 271 new ProcessQueue(firstConf, maxProcesses, maxBrowserProcesses, startTime, |
| 268 testSuites, eventListener, allTestsFinished, verbose, adbDevicePool); | 272 testSuites, eventListener, allTestsFinished, verbose, adbDevicePool); |
| 269 } | 273 } |
| OLD | NEW |