summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/download_shelf_mac_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/download_shelf_mac_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/download_shelf_mac_unittest.mm')
-rw-r--r--chrome/browser/cocoa/download_shelf_mac_unittest.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/cocoa/download_shelf_mac_unittest.mm b/chrome/browser/cocoa/download_shelf_mac_unittest.mm
index 1df20e3..8819d81 100644
--- a/chrome/browser/cocoa/download_shelf_mac_unittest.mm
+++ b/chrome/browser/cocoa/download_shelf_mac_unittest.mm
@@ -6,7 +6,7 @@
#include "chrome/browser/cocoa/cocoa_test_helper.h"
#include "chrome/browser/cocoa/download_shelf_mac.h"
#include "testing/gtest/include/gtest/gtest.h"
-
+#include "testing/platform_test.h"
// A fake implementation of DownloadShelfController. It implements only the
// methods that DownloadShelfMac call during the tests in this file. We get this
@@ -45,7 +45,7 @@
namespace {
-class DownloadShelfMacTest : public testing::Test {
+class DownloadShelfMacTest : public PlatformTest {
virtual void SetUp() {
shelf_controller_.reset([[FakeDownloadShelfController alloc] init]);