summaryrefslogtreecommitdiffstats
path: root/cc/test/cc_test_suite.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/test/cc_test_suite.cc')
-rw-r--r--cc/test/cc_test_suite.cc31
1 files changed, 31 insertions, 0 deletions
diff --git a/cc/test/cc_test_suite.cc b/cc/test/cc_test_suite.cc
new file mode 100644
index 0000000..9a43681
--- /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