[email protected] | 9b00523e | 2014-07-10 00:41:02 | [diff] [blame] | 1 | // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #include "platform_test.h" |
| 6 | |
| 7 | #import <Foundation/Foundation.h> |
| 8 | |
| 9 | #include "coverage_util_ios.h" |
| 10 | |
| 11 | PlatformTest::PlatformTest() |
| 12 | : pool_([[NSAutoreleasePool alloc] init]) { |
| 13 | } |
| 14 | |
| 15 | PlatformTest::~PlatformTest() { |
| 16 | [pool_ release]; |
| 17 | coverage_util::FlushCoverageDataIfNecessary(); |
| 18 | } |