Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(454)

Side by Side Diff: content/public/test/test_launcher.cc

Issue 629203002: Replace OVERRIDE and FINAL with override and final in content/public/[a-s]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/public/test/test_launcher.h" 5 #include "content/public/test/test_launcher.h"
6 6
7 #include <map> 7 #include <map>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 class WrapperTestLauncherDelegate : public base::TestLauncherDelegate { 113 class WrapperTestLauncherDelegate : public base::TestLauncherDelegate {
114 public: 114 public:
115 explicit WrapperTestLauncherDelegate( 115 explicit WrapperTestLauncherDelegate(
116 content::TestLauncherDelegate* launcher_delegate) 116 content::TestLauncherDelegate* launcher_delegate)
117 : launcher_delegate_(launcher_delegate) { 117 : launcher_delegate_(launcher_delegate) {
118 CHECK(temp_dir_.CreateUniqueTempDir()); 118 CHECK(temp_dir_.CreateUniqueTempDir());
119 } 119 }
120 120
121 // base::TestLauncherDelegate: 121 // base::TestLauncherDelegate:
122 virtual bool ShouldRunTest(const testing::TestCase* test_case, 122 virtual bool ShouldRunTest(const testing::TestCase* test_case,
123 const testing::TestInfo* test_info) OVERRIDE; 123 const testing::TestInfo* test_info) override;
124 virtual size_t RunTests(base::TestLauncher* test_launcher, 124 virtual size_t RunTests(base::TestLauncher* test_launcher,
125 const std::vector<std::string>& test_names) OVERRIDE; 125 const std::vector<std::string>& test_names) override;
126 virtual size_t RetryTests( 126 virtual size_t RetryTests(
127 base::TestLauncher* test_launcher, 127 base::TestLauncher* test_launcher,
128 const std::vector<std::string>& test_names) OVERRIDE; 128 const std::vector<std::string>& test_names) override;
129 129
130 private: 130 private:
131 void DoRunTest(base::TestLauncher* test_launcher, 131 void DoRunTest(base::TestLauncher* test_launcher,
132 const std::string& test_name); 132 const std::string& test_name);
133 133
134 // Launches test named |test_name| using parallel launcher, 134 // Launches test named |test_name| using parallel launcher,
135 // given result of PRE_ test |pre_test_result|. 135 // given result of PRE_ test |pre_test_result|.
136 void RunDependentTest(base::TestLauncher* test_launcher, 136 void RunDependentTest(base::TestLauncher* test_launcher,
137 const std::string test_name, 137 const std::string test_name,
138 const base::TestResult& pre_test_result); 138 const base::TestResult& pre_test_result);
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 500
501 TestLauncherDelegate* GetCurrentTestLauncherDelegate() { 501 TestLauncherDelegate* GetCurrentTestLauncherDelegate() {
502 return g_launcher_delegate; 502 return g_launcher_delegate;
503 } 503 }
504 504
505 ContentMainParams* GetContentMainParams() { 505 ContentMainParams* GetContentMainParams() {
506 return g_params; 506 return g_params;
507 } 507 }
508 508
509 } // namespace content 509 } // namespace content
OLDNEW
« no previous file with comments | « content/public/test/test_file_system_backend.cc ('k') | content/public/test/test_navigation_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698