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

Unified Diff: testing/platform_test_mac.mm

Issue 13052: Cleanup: move base/platform_test.h -> testing/ (Closed)
Patch Set: fix mark's comment Created 12 years 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
« no previous file with comments | « testing/platform_test.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/platform_test_mac.mm
diff --git a/testing/platform_test_mac.mm b/testing/platform_test_mac.mm
new file mode 100644
index 0000000000000000000000000000000000000000..e4aaeabb02bda0263cd4b67463adab86f1f6a145
--- /dev/null
+++ b/testing/platform_test_mac.mm
@@ -0,0 +1,15 @@
+// Copyright (c) 2006-2008 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.
+
+#include "platform_test.h"
+
+#import <Foundation/Foundation.h>
+
+void PlatformTest::SetUp() {
+ pool_ = [[NSAutoreleasePool alloc] init];
+}
+
+void PlatformTest::TearDown() {
+ [pool_ drain];
+}
« no previous file with comments | « testing/platform_test.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698