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

Unified Diff: ui/views/run_all_unittests.cc

Issue 1667273002: Creates BackgroundShell and uses it in test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android Created 4 years, 10 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/run_all_unittests.h ('k') | ui/views/run_all_unittests_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/run_all_unittests.cc
diff --git a/ui/views/run_all_unittests.cc b/ui/views/run_all_unittests.cc
index d90123190e7ced3a90971b002ede8c7a3b2370ae..922343bdc912d21281c90842880fbf0c749b2e17 100644
--- a/ui/views/run_all_unittests.cc
+++ b/ui/views/run_all_unittests.cc
@@ -17,6 +17,8 @@
#include "ui/aura/env.h"
#endif
+namespace views {
+
class ViewTestSuite : public base::TestSuite {
public:
ViewTestSuite(int argc, char** argv) : base::TestSuite(argc, argv) {}
@@ -47,10 +49,12 @@ class ViewTestSuite : public base::TestSuite {
DISALLOW_COPY_AND_ASSIGN(ViewTestSuite);
};
-int main(int argc, char** argv) {
+int RunAllUnittests(int argc, char** argv) {
ViewTestSuite test_suite(argc, argv);
return base::LaunchUnitTests(
argc, argv, base::Bind(&ViewTestSuite::Run,
base::Unretained(&test_suite)));
}
+
+} // namespace views
« no previous file with comments | « ui/views/run_all_unittests.h ('k') | ui/views/run_all_unittests_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698