OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #include "cc/test/cc_test_suite.h" |
| 6 |
| 7 #include "base/message_loop.h" |
| 8 #include "cc/test/paths.h" |
| 9 |
| 10 namespace cc { |
| 11 namespace test { |
| 12 |
| 13 CCTestSuite::CCTestSuite(int argc, char** argv) |
| 14 : base::TestSuite(argc, argv) {} |
| 15 |
| 16 CCTestSuite::~CCTestSuite() {} |
| 17 |
| 18 void CCTestSuite::Initialize() { |
| 19 base::TestSuite::Initialize(); |
| 20 RegisterPathProvider(); |
| 21 message_loop_.reset(new MessageLoop); |
| 22 } |
| 23 |
| 24 void CCTestSuite::Shutdown() { |
| 25 message_loop_.reset(); |
| 26 |
| 27 base::TestSuite::Shutdown(); |
| 28 } |
| 29 |
| 30 } // namespace test |
| 31 } // namespace cc |
OLD | NEW |