summaryrefslogtreecommitdiffstats
path: root/testing/platform_test_mac.mm
diff options
context:
space:
mode:
Diffstat (limited to 'testing/platform_test_mac.mm')
-rw-r--r--testing/platform_test_mac.mm15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/platform_test_mac.mm b/testing/platform_test_mac.mm
new file mode 100644
index 0000000..e4aaeab
--- /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];
+}