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 #include "chrome/test/base/chrome_test_launcher.h" | 5 #include "chrome/test/base/chrome_test_launcher.h" |
6 #include "chrome/test/base/chrome_test_suite.h" | 6 #include "chrome/test/base/chrome_test_suite.h" |
7 | 7 |
8 class ChromeBrowserTestSuiteRunner : public ChromeTestSuiteRunner { | 8 class ChromeBrowserTestSuiteRunner : public ChromeTestSuiteRunner { |
9 public: | 9 public: |
10 virtual int RunTestSuite(int argc, char** argv) OVERRIDE { | 10 virtual int RunTestSuite(int argc, char** argv) override { |
11 return ChromeTestSuite(argc, argv).Run(); | 11 return ChromeTestSuite(argc, argv).Run(); |
12 } | 12 } |
13 }; | 13 }; |
14 | 14 |
15 int main(int argc, char** argv) { | 15 int main(int argc, char** argv) { |
16 // Always run browser perf tests serially - parallel running would be less | 16 // Always run browser perf tests serially - parallel running would be less |
17 // deterministic and distort perf measurements. | 17 // deterministic and distort perf measurements. |
18 ChromeBrowserTestSuiteRunner runner; | 18 ChromeBrowserTestSuiteRunner runner; |
19 return LaunchChromeTests(1, &runner, argc, argv); | 19 return LaunchChromeTests(1, &runner, argc, argv); |
20 } | 20 } |
OLD | NEW |