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 11PlatformTest::PlatformTest() 12 : pool_([[NSAutoreleasePool alloc] init]) { 13} 14 15PlatformTest::~PlatformTest() { 16 [pool_ release]; 17 coverage_util::FlushCoverageDataIfNecessary(); 18} 19