summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/gradient_button_cell_unittest.mm
diff options
context:
space:
mode:
authorpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-01 15:36:00 +0000
committerpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-01 15:36:00 +0000
commit6a644bd074bd8c035a8b40e8e66c75122e16e66d (patch)
tree79599b83b8059da3d7f87d0b3abbda153f23c66a /chrome/browser/cocoa/gradient_button_cell_unittest.mm
parent3b237674ed426ff81f5e99fa20adfd4764fc5b65 (diff)
downloadchromium_src-6a644bd074bd8c035a8b40e8e66c75122e16e66d.zip
chromium_src-6a644bd074bd8c035a8b40e8e66c75122e16e66d.tar.gz
chromium_src-6a644bd074bd8c035a8b40e8e66c75122e16e66d.tar.bz2
Make all of our unit tests be PlatformTests to get an autorelease pool.
BUG=none TEST=none Review URL: http://codereview.chromium.org/178037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25035 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/gradient_button_cell_unittest.mm')
-rw-r--r--chrome/browser/cocoa/gradient_button_cell_unittest.mm3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/gradient_button_cell_unittest.mm b/chrome/browser/cocoa/gradient_button_cell_unittest.mm
index e9229a7..14c16de 100644
--- a/chrome/browser/cocoa/gradient_button_cell_unittest.mm
+++ b/chrome/browser/cocoa/gradient_button_cell_unittest.mm
@@ -8,6 +8,7 @@
#import "chrome/browser/cocoa/gradient_button_cell.h"
#import "chrome/browser/cocoa/cocoa_test_helper.h"
#include "testing/gtest/include/gtest/gtest.h"
+#include "testing/platform_test.h"
@interface GradientButtonCell (HoverValueTesting)
- (void)adjustHoverValue;
@@ -15,7 +16,7 @@
namespace {
-class GradientButtonCellTest : public testing::Test {
+class GradientButtonCellTest : public PlatformTest {
public:
GradientButtonCellTest() {
NSRect frame = NSMakeRect(0, 0, 50, 30);