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

Unified Diff: mojo/services/public/cpp/view_manager/lib/view_manager_unittests.cc

Issue 267293004: Wires up view manager to an actual display (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 6 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
Index: mojo/services/public/cpp/view_manager/lib/view_manager_unittests.cc
diff --git a/ui/v2/src/v2_unittest.cc b/mojo/services/public/cpp/view_manager/lib/view_manager_unittests.cc
similarity index 56%
copy from ui/v2/src/v2_unittest.cc
copy to mojo/services/public/cpp/view_manager/lib/view_manager_unittests.cc
index 0e6cdb72e7754b45902240d37eacff028f0d07a1..03f7919d7714724ec4ad2499301d430118e65244 100644
--- a/ui/v2/src/v2_unittest.cc
+++ b/mojo/services/public/cpp/view_manager/lib/view_manager_unittests.cc
@@ -2,15 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "base/basictypes.h"
#include "base/bind.h"
-#include "base/compiler_specific.h"
#include "base/test/launcher/unit_test_launcher.h"
-#include "base/test/test_suite.h"
+#include "mojo/services/public/cpp/view_manager/lib/view_manager_test_suite.h"
int main(int argc, char** argv) {
- base::TestSuite test_suite(argc, argv);
+ mojo::services::view_manager::ViewManagerTestSuite test_suite(argc, argv);
+
return base::LaunchUnitTests(
- argc, argv, base::Bind(&base::TestSuite::Run,
- base::Unretained(&test_suite)));
+ argc, argv, base::Bind(&TestSuite::Run, base::Unretained(&test_suite)));
}

Powered by Google App Engine
This is Rietveld 408576698