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

Unified Diff: chrome/browser/cocoa/download_shelf_mac_unittest.mm

Issue 178037: Make all of our unit tests be PlatformTests to get an autorelease pool.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 4 months 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/cocoa/download_shelf_mac_unittest.mm
===================================================================
--- chrome/browser/cocoa/download_shelf_mac_unittest.mm (revision 24882)
+++ chrome/browser/cocoa/download_shelf_mac_unittest.mm (working copy)
@@ -6,8 +6,8 @@
#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
// class into the DownloadShelfMac constructor by some questionable casting --
@@ -45,7 +45,7 @@
namespace {
-class DownloadShelfMacTest : public testing::Test {
+class DownloadShelfMacTest : public PlatformTest {
virtual void SetUp() {
shelf_controller_.reset([[FakeDownloadShelfController alloc] init]);

Powered by Google App Engine
This is Rietveld 408576698