| OLD | NEW |
| 1 // Copyright (c) 2009 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 APP_TEST_SUITE_H_ | 5 #ifndef APP_TEST_SUITE_H_ |
| 6 #define APP_TEST_SUITE_H_ | 6 #define APP_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> | |
| 12 | |
| 13 #include "app/app_paths.h" | 11 #include "app/app_paths.h" |
| 14 #include "app/resource_bundle.h" | 12 #include "app/resource_bundle.h" |
| 15 #include "base/path_service.h" | 13 #include "base/path_service.h" |
| 16 #if defined(OS_MACOSX) | 14 #if defined(OS_MACOSX) |
| 17 #include "base/mac_util.h" | 15 #include "base/mac_util.h" |
| 18 #endif | 16 #endif |
| 19 #include "base/scoped_nsautorelease_pool.h" | 17 #include "base/scoped_nsautorelease_pool.h" |
| 20 #include "base/test/test_suite.h" | 18 #include "base/test/test_suite.h" |
| 21 | 19 |
| 22 class AppTestSuite : public TestSuite { | 20 class AppTestSuite : public TestSuite { |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 ResourceBundle::CleanupSharedInstance(); | 63 ResourceBundle::CleanupSharedInstance(); |
| 66 | 64 |
| 67 #if defined(OS_MACOSX) | 65 #if defined(OS_MACOSX) |
| 68 mac_util::SetOverrideAppBundle(NULL); | 66 mac_util::SetOverrideAppBundle(NULL); |
| 69 #endif | 67 #endif |
| 70 TestSuite::Shutdown(); | 68 TestSuite::Shutdown(); |
| 71 } | 69 } |
| 72 }; | 70 }; |
| 73 | 71 |
| 74 #endif // APP_TEST_SUITE_H_ | 72 #endif // APP_TEST_SUITE_H_ |
| OLD | NEW |