| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef BASE_TEST_LAUNCHER_TEST_LAUNCHER_H_ | 5 #ifndef BASE_TEST_LAUNCHER_TEST_LAUNCHER_H_ |
| 6 #define BASE_TEST_LAUNCHER_TEST_LAUNCHER_H_ | 6 #define BASE_TEST_LAUNCHER_TEST_LAUNCHER_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 | 156 |
| 157 int cycles_; // Number of remaining test itreations, or -1 for infinite. | 157 int cycles_; // Number of remaining test itreations, or -1 for infinite. |
| 158 | 158 |
| 159 // Test filters (empty means no filter). | 159 // Test filters (empty means no filter). |
| 160 std::vector<std::string> positive_test_filter_; | 160 std::vector<std::string> positive_test_filter_; |
| 161 std::vector<std::string> negative_test_filter_; | 161 std::vector<std::string> negative_test_filter_; |
| 162 | 162 |
| 163 // Tests to use (cached result of TestLauncherDelegate::GetTests). | 163 // Tests to use (cached result of TestLauncherDelegate::GetTests). |
| 164 std::vector<TestIdentifier> tests_; | 164 std::vector<TestIdentifier> tests_; |
| 165 | 165 |
| 166 // Number of tests found in this binary. |
| 167 size_t test_found_count_; |
| 168 |
| 166 // Number of tests started in this iteration. | 169 // Number of tests started in this iteration. |
| 167 size_t test_started_count_; | 170 size_t test_started_count_; |
| 168 | 171 |
| 169 // Number of tests finished in this iteration. | 172 // Number of tests finished in this iteration. |
| 170 size_t test_finished_count_; | 173 size_t test_finished_count_; |
| 171 | 174 |
| 172 // Number of tests successfully finished in this iteration. | 175 // Number of tests successfully finished in this iteration. |
| 173 size_t test_success_count_; | 176 size_t test_success_count_; |
| 174 | 177 |
| 175 // Number of tests either timing out or having an unknown result, | 178 // Number of tests either timing out or having an unknown result, |
| (...skipping 30 matching lines...) Expand all Loading... |
| 206 DISALLOW_COPY_AND_ASSIGN(TestLauncher); | 209 DISALLOW_COPY_AND_ASSIGN(TestLauncher); |
| 207 }; | 210 }; |
| 208 | 211 |
| 209 // Extract part from |full_output| that applies to |result|. | 212 // Extract part from |full_output| that applies to |result|. |
| 210 std::string GetTestOutputSnippet(const TestResult& result, | 213 std::string GetTestOutputSnippet(const TestResult& result, |
| 211 const std::string& full_output); | 214 const std::string& full_output); |
| 212 | 215 |
| 213 } // namespace base | 216 } // namespace base |
| 214 | 217 |
| 215 #endif // BASE_TEST_LAUNCHER_TEST_LAUNCHER_H_ | 218 #endif // BASE_TEST_LAUNCHER_TEST_LAUNCHER_H_ |
| OLD | NEW |