summaryrefslogtreecommitdiffstats
path: root/testing/platform_test_ios.mm
blob: 5162c1dbb1153629b3c069c8f45df2633456a00b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2014 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>

#include "coverage_util_ios.h"

PlatformTest::PlatformTest()
    : pool_([[NSAutoreleasePool alloc] init]) {
}

PlatformTest::~PlatformTest() {
  [pool_ release];
  coverage_util::FlushCoverageDataIfNecessary();
}