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 843 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
854 bool hasFailed(TestCase testCase); | 854 bool hasFailed(TestCase testCase); |
855 | 855 |
856 bool get canRunDependendCommands; | 856 bool get canRunDependendCommands; |
857 | 857 |
858 bool get successful; // otherwise we might to retry running | 858 bool get successful; // otherwise we might to retry running |
859 | 859 |
860 Duration get time; | 860 Duration get time; |
861 | 861 |
862 int get exitCode; | 862 int get exitCode; |
863 | 863 |
| 864 int get pid; |
| 865 |
864 List<int> get stdout; | 866 List<int> get stdout; |
865 | 867 |
866 List<int> get stderr; | 868 List<int> get stderr; |
867 | 869 |
868 List<String> get diagnostics; | 870 List<String> get diagnostics; |
869 | 871 |
870 bool get compilationSkipped; | 872 bool get compilationSkipped; |
871 } | 873 } |
872 | 874 |
873 class CommandOutputImpl extends UniqueObject implements CommandOutput { | 875 class CommandOutputImpl extends UniqueObject implements CommandOutput { |
(...skipping 1981 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2855 } | 2857 } |
2856 } | 2858 } |
2857 | 2859 |
2858 void eventAllTestsDone() { | 2860 void eventAllTestsDone() { |
2859 for (var listener in _eventListener) { | 2861 for (var listener in _eventListener) { |
2860 listener.allDone(); | 2862 listener.allDone(); |
2861 } | 2863 } |
2862 _allDone(); | 2864 _allDone(); |
2863 } | 2865 } |
2864 } | 2866 } |
OLD | NEW |