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

Unified Diff: ui/views/views_test_suite.cc

Issue 1978293003: Rename ViewTestSuite to ViewsTestSuite and put it in the proper file (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@widgetinteractive
Patch Set: rebase Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/views_test_suite.h ('k') | ui/views/widget/widget_interactive_uitest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/views_test_suite.cc
diff --git a/ui/views/run_all_unittests.cc b/ui/views/views_test_suite.cc
similarity index 74%
rename from ui/views/run_all_unittests.cc
rename to ui/views/views_test_suite.cc
index e3d37e87ceb1c9c7dfc651b243bf59aed322ff04..a7e7c13db094eecca018a6e076b83f43e153704b 100644
--- a/ui/views/run_all_unittests.cc
+++ b/ui/views/views_test_suite.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ui/views/run_all_unittests.h"
+#include "ui/views/views_test_suite.h"
#include "base/bind.h"
#include "base/compiler_specific.h"
@@ -23,22 +23,22 @@
namespace views {
-ViewTestSuite::ViewTestSuite(int argc, char** argv)
+ViewsTestSuite::ViewsTestSuite(int argc, char** argv)
: base::TestSuite(argc, argv), argc_(argc), argv_(argv) {}
-ViewTestSuite::~ViewTestSuite() {}
+ViewsTestSuite::~ViewsTestSuite() {}
-int ViewTestSuite::RunTests() {
+int ViewsTestSuite::RunTests() {
return base::LaunchUnitTests(
- argc_, argv_, base::Bind(&ViewTestSuite::Run, base::Unretained(this)));
+ argc_, argv_, base::Bind(&ViewsTestSuite::Run, base::Unretained(this)));
}
-int ViewTestSuite::RunTestsSerially() {
+int ViewsTestSuite::RunTestsSerially() {
return base::LaunchUnitTestsSerially(
- argc_, argv_, base::Bind(&ViewTestSuite::Run, base::Unretained(this)));
+ argc_, argv_, base::Bind(&ViewsTestSuite::Run, base::Unretained(this)));
}
-void ViewTestSuite::Initialize() {
+void ViewsTestSuite::Initialize() {
base::TestSuite::Initialize();
gfx::GLSurfaceTestSupport::InitializeOneOff();
ui::RegisterPathProvider();
@@ -51,7 +51,7 @@ void ViewTestSuite::Initialize() {
#endif
}
-void ViewTestSuite::Shutdown() {
+void ViewsTestSuite::Shutdown() {
#if defined(USE_AURA)
env_.reset();
#endif
« no previous file with comments | « ui/views/views_test_suite.h ('k') | ui/views/widget/widget_interactive_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698