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

Side by Side Diff: chrome/browser/ui/cocoa/test/cocoa_test_helper.mm

Issue 2565813002: Create c/b/ui/cocoa/test and move test files to there (Closed)
Patch Set: Rebase Created 4 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
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 #import "chrome/browser/ui/cocoa/cocoa_test_helper.h" 5 #import "chrome/browser/ui/cocoa/test/cocoa_test_helper.h"
6 6
7 #include "base/mac/bundle_locations.h" 7 #include "base/mac/bundle_locations.h"
8 #include "base/path_service.h" 8 #include "base/path_service.h"
9 #include "chrome/common/chrome_constants.h" 9 #include "chrome/common/chrome_constants.h"
10 10
11 CocoaTest::CocoaTest() { 11 CocoaTest::CocoaTest() {
12 BootstrapCocoa(); 12 BootstrapCocoa();
13 13
14 Init(); 14 Init();
15 } 15 }
16 16
17 void CocoaTest::BootstrapCocoa() { 17 void CocoaTest::BootstrapCocoa() {
18 // Look in the framework bundle for resources. 18 // Look in the framework bundle for resources.
19 base::FilePath path; 19 base::FilePath path;
20 PathService::Get(base::DIR_EXE, &path); 20 PathService::Get(base::DIR_EXE, &path);
21 path = path.Append(chrome::kFrameworkName); 21 path = path.Append(chrome::kFrameworkName);
22 base::mac::SetOverrideFrameworkBundlePath(path); 22 base::mac::SetOverrideFrameworkBundlePath(path);
23 } 23 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/test/cocoa_test_helper.h ('k') | chrome/browser/ui/cocoa/test/run_loop_testing.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698