| 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 /** | 5 /** |
| 6 * Classes and methods for executing tests. | 6 * Classes and methods for executing tests. |
| 7 * | 7 * |
| 8 * This module includes: | 8 * This module includes: |
| 9 * - Managing parallel execution of tests, including timeout checks. | 9 * - Managing parallel execution of tests, including timeout checks. |
| 10 * - Evaluating the output of each test as pass/fail/crash/timeout. | 10 * - Evaluating the output of each test as pass/fail/crash/timeout. |
| (...skipping 1838 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1849 final batchRunnerTypes = { | 1849 final batchRunnerTypes = { |
| 1850 'dartanalyzer' : { | 1850 'dartanalyzer' : { |
| 1851 'run_executable' : | 1851 'run_executable' : |
| 1852 isWindows ? | 1852 isWindows ? |
| 1853 'sdk\\bin\\dartanalyzer_developer.bat' | 1853 'sdk\\bin\\dartanalyzer_developer.bat' |
| 1854 : 'sdk/bin/dartanalyzer_developer', | 1854 : 'sdk/bin/dartanalyzer_developer', |
| 1855 'run_arguments' : ['--batch'], | 1855 'run_arguments' : ['--batch'], |
| 1856 }, | 1856 }, |
| 1857 'dart2analyzer' : { | 1857 'dart2analyzer' : { |
| 1858 // This is a unix shell script, no windows equivalent available | 1858 // This is a unix shell script, no windows equivalent available |
| 1859 'run_executable' : 'pkg/analyzer/bin/analyzer', | 1859 'run_executable' : 'editor/tools/analyzer', |
| 1860 'run_arguments' : ['--batch'], | 1860 'run_arguments' : ['--batch'], |
| 1861 }, | 1861 }, |
| 1862 }; | 1862 }; |
| 1863 | 1863 |
| 1864 Completer<CommandOutput> _completer; | 1864 Completer<CommandOutput> _completer; |
| 1865 Command _command; | 1865 Command _command; |
| 1866 List<String> _arguments; | 1866 List<String> _arguments; |
| 1867 String _runnerType; | 1867 String _runnerType; |
| 1868 | 1868 |
| 1869 io.Process _process; | 1869 io.Process _process; |
| (...skipping 997 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2867 } | 2867 } |
| 2868 } | 2868 } |
| 2869 | 2869 |
| 2870 void eventAllTestsDone() { | 2870 void eventAllTestsDone() { |
| 2871 for (var listener in _eventListener) { | 2871 for (var listener in _eventListener) { |
| 2872 listener.allDone(); | 2872 listener.allDone(); |
| 2873 } | 2873 } |
| 2874 _allDone(); | 2874 _allDone(); |
| 2875 } | 2875 } |
| 2876 } | 2876 } |
| OLD | NEW |