1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "cc/test/cc_test_suite.h"
7 #include "base/message_loop/message_loop.h"
8 #include "base/threading/thread_id_name_manager.h"
9 #include "cc/test/paths.h"
13 CCTestSuite::CCTestSuite(int argc, char** argv)
14 : base::TestSuite(argc, argv) {}
16 CCTestSuite::~CCTestSuite() {}
18 void CCTestSuite::Initialize() {
19 base::TestSuite::Initialize();
20 CCPaths::RegisterPathProvider();
22 message_loop_.reset(new base::MessageLoop);
24 base::ThreadIdNameManager::GetInstance()->SetName(
25 base::PlatformThread::CurrentId(),
29 void CCTestSuite::Shutdown() {
30 message_loop_.reset();
32 base::TestSuite::Shutdown();