| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_TEST_TEST_LAUNCHER_TEST_RUNNER_H_ | 5 #ifndef CHROME_TEST_TEST_LAUNCHER_TEST_RUNNER_H_ |
| 6 #define CHROME_TEST_TEST_LAUNCHER_TEST_RUNNER_H_ | 6 #define CHROME_TEST_TEST_LAUNCHER_TEST_RUNNER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | |
| 11 | 10 |
| 12 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 13 | 12 |
| 14 namespace tests { | 13 namespace tests { |
| 15 | 14 |
| 16 class TestRunnerFactory; | 15 class TestRunnerFactory; |
| 17 | 16 |
| 18 // Runs the tests specified by the --gtest_filter flag specified in the command | 17 // Runs the tests specified by the --gtest_filter flag specified in the command |
| 19 // line that started this process. | 18 // line that started this process. |
| 20 // Returns true if all tests succeeded, false if there were no tests to run, or | 19 // Returns true if all tests succeeded, false if there were no tests to run, or |
| (...skipping 26 matching lines...) Expand all Loading... |
| 47 public: | 46 public: |
| 48 virtual TestRunner* CreateTestRunner() const = 0; | 47 virtual TestRunner* CreateTestRunner() const = 0; |
| 49 | 48 |
| 50 protected: | 49 protected: |
| 51 virtual ~TestRunnerFactory() {} | 50 virtual ~TestRunnerFactory() {} |
| 52 }; | 51 }; |
| 53 | 52 |
| 54 } // namespace | 53 } // namespace |
| 55 | 54 |
| 56 #endif // CHROME_TEST_TEST_LAUNCHER_TEST_RUNNER_H_ | 55 #endif // CHROME_TEST_TEST_LAUNCHER_TEST_RUNNER_H_ |
| OLD | NEW |