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

Unified Diff: chrome/browser/cocoa/command_observer_bridge_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/command_observer_bridge_unittest.mm
===================================================================
--- chrome/browser/cocoa/command_observer_bridge_unittest.mm (revision 24882)
+++ chrome/browser/cocoa/command_observer_bridge_unittest.mm (working copy)
@@ -8,6 +8,7 @@
#include "base/scoped_nsobject.h"
#import "chrome/browser/cocoa/command_observer_bridge.h"
#include "testing/gtest/include/gtest/gtest.h"
+#include "testing/platform_test.h"
// Implements the callback interface. Records the last command id and
// enabled state it has received so it can be queried by the tests to see
@@ -36,7 +37,7 @@
namespace {
-class CommandObserverBridgeTest : public testing::Test {
+class CommandObserverBridgeTest : public PlatformTest {
public:
CommandObserverBridgeTest()
: updater_(new CommandUpdater(NULL)),

Powered by Google App Engine
This is Rietveld 408576698