diff options
author | Kristian Monsen <kristianm@google.com> | 2011-06-28 21:49:31 +0100 |
---|---|---|
committer | Kristian Monsen <kristianm@google.com> | 2011-07-08 17:55:00 +0100 |
commit | ddb351dbec246cf1fab5ec20d2d5520909041de1 (patch) | |
tree | 158e3fb57bdcac07c7f1e767fde3c70687c9fbb1 /chrome/browser/ui/cocoa/cocoa_test_helper.h | |
parent | 6b92e04f5f151c896e3088e86f70db7081009308 (diff) | |
download | external_chromium-ddb351dbec246cf1fab5ec20d2d5520909041de1.zip external_chromium-ddb351dbec246cf1fab5ec20d2d5520909041de1.tar.gz external_chromium-ddb351dbec246cf1fab5ec20d2d5520909041de1.tar.bz2 |
Merge Chromium at r12.0.742.93: Initial merge by git
Change-Id: Ic5ee2fec31358bbee305f7e915442377bfa6cda6
Diffstat (limited to 'chrome/browser/ui/cocoa/cocoa_test_helper.h')
-rw-r--r-- | chrome/browser/ui/cocoa/cocoa_test_helper.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/ui/cocoa/cocoa_test_helper.h b/chrome/browser/ui/cocoa/cocoa_test_helper.h index d7eb150..6891489 100644 --- a/chrome/browser/ui/cocoa/cocoa_test_helper.h +++ b/chrome/browser/ui/cocoa/cocoa_test_helper.h @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 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. @@ -10,9 +10,9 @@ #include "base/path_service.h" #import "base/mac/scoped_nsautorelease_pool.h" -#import "base/scoped_nsobject.h" -#import "chrome/common/chrome_application_mac.h" +#import "base/memory/scoped_nsobject.h" #include "chrome/common/chrome_constants.h" +#import "content/common/chrome_application_mac.h" #include "testing/platform_test.h" // Background windows normally will not display things such as focus @@ -109,13 +109,13 @@ class CocoaTest : public PlatformTest { // from a window. All tests that work with NSView subclasses and/or // NSViewController subclasses should use it. #define TEST_VIEW(test_fixture, test_view) \ - TEST_F(test_fixture, AddRemove##test_fixture) { \ + TEST_F(test_fixture, test_fixture##_TestViewMacroAddRemove) { \ scoped_nsobject<NSView> view([test_view retain]); \ EXPECT_EQ([test_window() contentView], [view superview]); \ [view removeFromSuperview]; \ EXPECT_FALSE([view superview]); \ } \ - TEST_F(test_fixture, Display##test_fixture) { \ + TEST_F(test_fixture, test_fixture##_TestViewMacroDisplay) { \ [test_view display]; \ } |