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

Side by Side Diff: cc/test/cc_test_suite.cc

Issue 11474050: cc: Unify namespaces for all test files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/test/cc_test_suite.h ('k') | cc/test/compositor_fake_web_graphics_context_3d.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "cc/test/cc_test_suite.h" 5 #include "cc/test/cc_test_suite.h"
6 6
7 #include "base/message_loop.h" 7 #include "base/message_loop.h"
8 #include "cc/test/paths.h" 8 #include "cc/test/paths.h"
9 9
10 namespace cc { 10 namespace cc {
11 namespace test {
12 11
13 CCTestSuite::CCTestSuite(int argc, char** argv) 12 CCTestSuite::CCTestSuite(int argc, char** argv)
14 : base::TestSuite(argc, argv) {} 13 : base::TestSuite(argc, argv) {}
15 14
16 CCTestSuite::~CCTestSuite() {} 15 CCTestSuite::~CCTestSuite() {}
17 16
18 void CCTestSuite::Initialize() { 17 void CCTestSuite::Initialize() {
19 base::TestSuite::Initialize(); 18 base::TestSuite::Initialize();
20 RegisterPathProvider(); 19 RegisterPathProvider();
21 message_loop_.reset(new MessageLoop); 20 message_loop_.reset(new MessageLoop);
22 } 21 }
23 22
24 void CCTestSuite::Shutdown() { 23 void CCTestSuite::Shutdown() {
25 message_loop_.reset(); 24 message_loop_.reset();
26 25
27 base::TestSuite::Shutdown(); 26 base::TestSuite::Shutdown();
28 } 27 }
29 28
30 } // namespace test
31 } // namespace cc 29 } // namespace cc
OLDNEW
« no previous file with comments | « cc/test/cc_test_suite.h ('k') | cc/test/compositor_fake_web_graphics_context_3d.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698