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

Unified Diff: cc/test/cc_test_suite.cc

Issue 11412289: Basic pixel tests for cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix AtExitManager registration stuff Created 8 years 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 | « cc/test/cc_test_suite.h ('k') | cc/test/paths.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/cc_test_suite.cc
diff --git a/cc/test/cc_test_suite.cc b/cc/test/cc_test_suite.cc
new file mode 100644
index 0000000000000000000000000000000000000000..9a436818ea01ac8d95311a9c9f4365a4db51d7d3
--- /dev/null
+++ b/cc/test/cc_test_suite.cc
@@ -0,0 +1,31 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "cc/test/cc_test_suite.h"
+
+#include "base/message_loop.h"
+#include "cc/test/paths.h"
+
+namespace cc {
+namespace test {
+
+CCTestSuite::CCTestSuite(int argc, char** argv)
+ : base::TestSuite(argc, argv) {}
+
+CCTestSuite::~CCTestSuite() {}
+
+void CCTestSuite::Initialize() {
+ base::TestSuite::Initialize();
+ RegisterPathProvider();
+ message_loop_.reset(new MessageLoop);
+}
+
+void CCTestSuite::Shutdown() {
+ message_loop_.reset();
+
+ base::TestSuite::Shutdown();
+}
+
+} // namespace test
+} // namespace cc
« no previous file with comments | « cc/test/cc_test_suite.h ('k') | cc/test/paths.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698