forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mac/Aura aura_shell_unittests are not linking
Gets aura_shell_unittests compiling and passing on Mac. Some unimplemented tests were disabled. The AuraShell.app is built to provide the tests with proper resources. Also, references to the ui::Compositor are now getting released during tear down. BUG=111279 TEST=aura_shell_unittests Review URL: https://chromiumcodereview.appspot.com/9288052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119686 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information
dhollowa@chromium.org
committed
Jan 30, 2012
1 parent
87e8b11
commit a0fea7e
Showing
9 changed files
with
94 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Copyright (c) 2012 The Chromium Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
namespace ash { | ||
namespace test { | ||
|
||
void OverrideFrameworkBundle(); | ||
|
||
} // namespace test | ||
} // namespace ash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// Copyright (c) 2012 The Chromium Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
#include "ash/test/test_suite_init.h" | ||
|
||
#import <Cocoa/Cocoa.h> | ||
|
||
#include "base/file_path.h" | ||
#include "base/mac/bundle_locations.h" | ||
#include "base/memory/scoped_nsobject.h" | ||
#include "base/path_service.h" | ||
|
||
namespace ash { | ||
namespace test { | ||
|
||
void OverrideFrameworkBundle() { | ||
// Look in the AuraShell.app directory for resources. | ||
FilePath path; | ||
PathService::Get(base::DIR_EXE, &path); | ||
path = path.Append(FILE_PATH_LITERAL("AuraShell.app")); | ||
base::mac::SetOverrideFrameworkBundlePath(path); | ||
} | ||
|
||
} // namespace test | ||
} // namespace ash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters