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

Side by Side Diff: gfx/test_suite.h

Issue 3035062: Revert 55400 - Cleanup in base. This moves the implementation (and a bunch of... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 4 months 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 | « gfx/gfx.gyp ('k') | ipc/ipc.gyp » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #ifndef GFX_TEST_SUITE_H_ 5 #ifndef GFX_TEST_SUITE_H_
6 #define GFX_TEST_SUITE_H_ 6 #define GFX_TEST_SUITE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
11 #include <string> 11 #include <string>
12 12
13 #include "gfx/gfx_paths.h" 13 #include "gfx/gfx_paths.h"
14 #include "base/file_path.h"
15 #include "base/path_service.h" 14 #include "base/path_service.h"
16 #if defined(OS_MACOSX) 15 #if defined(OS_MACOSX)
17 #include "base/mac_util.h" 16 #include "base/mac_util.h"
18 #endif 17 #endif
19 #include "base/scoped_nsautorelease_pool.h" 18 #include "base/scoped_nsautorelease_pool.h"
20 #include "base/test/test_suite.h" 19 #include "base/test/test_suite.h"
21 20
22 class GfxTestSuite : public base::TestSuite { 21 class GfxTestSuite : public TestSuite {
23 public: 22 public:
24 GfxTestSuite(int argc, char** argv) : TestSuite(argc, argv) { 23 GfxTestSuite(int argc, char** argv) : TestSuite(argc, argv) {
25 } 24 }
26 25
27 protected: 26 protected:
28 27
29 virtual void Initialize() { 28 virtual void Initialize() {
30 base::ScopedNSAutoreleasePool autorelease_pool; 29 base::ScopedNSAutoreleasePool autorelease_pool;
31 30
32 TestSuite::Initialize(); 31 TestSuite::Initialize();
(...skipping 20 matching lines...) Expand all
53 52
54 virtual void Shutdown() { 53 virtual void Shutdown() {
55 #if defined(OS_MACOSX) 54 #if defined(OS_MACOSX)
56 mac_util::SetOverrideAppBundle(NULL); 55 mac_util::SetOverrideAppBundle(NULL);
57 #endif 56 #endif
58 TestSuite::Shutdown(); 57 TestSuite::Shutdown();
59 } 58 }
60 }; 59 };
61 60
62 #endif // GFX_TEST_SUITE_H_ 61 #endif // GFX_TEST_SUITE_H_
OLDNEW
« no previous file with comments | « gfx/gfx.gyp ('k') | ipc/ipc.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698