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

Unified Diff: ui/views/views_test_suite.h

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.gyp ('k') | ui/views/views_test_suite.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/views_test_suite.h
diff --git a/ui/views/run_all_unittests.h b/ui/views/views_test_suite.h
similarity index 59%
rename from ui/views/run_all_unittests.h
rename to ui/views/views_test_suite.h
index bb9d97bc0a286314461826ead3c50d5d10d5f35f..7a03f29e7143b8231a7c1c99a5b62d4d1236a451 100644
--- a/ui/views/run_all_unittests.h
+++ b/ui/views/views_test_suite.h
@@ -2,10 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef UI_VIEWS_RUN_ALL_UNITTESTS_H_
-#define UI_VIEWS_RUN_ALL_UNITTESTS_H_
+#ifndef UI_VIEWS_VIEWS_TEST_SUITE_H_
+#define UI_VIEWS_VIEWS_TEST_SUITE_H_
-#include "base/callback_forward.h"
#include "base/test/test_suite.h"
#if defined(USE_AURA)
@@ -18,11 +17,10 @@ class Env;
namespace views {
-// TODO(jamescook): Rename this to ViewsTestSuite and rename the file to match.
-class ViewTestSuite : public base::TestSuite {
+class ViewsTestSuite : public base::TestSuite {
public:
- ViewTestSuite(int argc, char** argv);
- ~ViewTestSuite() override;
+ ViewsTestSuite(int argc, char** argv);
+ ~ViewsTestSuite() override;
int RunTests();
int RunTestsSerially();
@@ -39,9 +37,9 @@ class ViewTestSuite : public base::TestSuite {
int argc_;
char** argv_;
- DISALLOW_COPY_AND_ASSIGN(ViewTestSuite);
+ DISALLOW_COPY_AND_ASSIGN(ViewsTestSuite);
};
} // namespace
-#endif // UI_VIEWS_RUN_ALL_UNITTESTS_H_
+#endif // UI_VIEWS_VIEWS_TEST_SUITE_H_
« no previous file with comments | « ui/views/views.gyp ('k') | ui/views/views_test_suite.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698