diff options
author | jeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-02 19:20:15 +0000 |
---|---|---|
committer | jeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-02 19:20:15 +0000 |
commit | 23887f04fbf1ddadadea709206b265a3def2eb3a (patch) | |
tree | b93cf25e8cc66180137fea6c5aad4148ec70fd58 /testing/platform_test_mac.mm | |
parent | 07c3f84910a6bc63a69d5f7fe0725090cf2af1ce (diff) | |
download | chromium_src-23887f04fbf1ddadadea709206b265a3def2eb3a.zip chromium_src-23887f04fbf1ddadadea709206b265a3def2eb3a.tar.gz chromium_src-23887f04fbf1ddadadea709206b265a3def2eb3a.tar.bz2 |
* Cleanup: move base/platform_test.h -> testing/
* Add support for "Debug On Start" switch to MultiprocessTest::SpawnChild
Review URL: http://codereview.chromium.org/13052
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6227 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'testing/platform_test_mac.mm')
-rw-r--r-- | testing/platform_test_mac.mm | 15 |
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]; +} |