0
Files
src/testing/coverage_util_ios.h
eugenebut@chromium.org 9b00523e53 Flush gcda (code coverage) files manually in iOS Platform Test.
iOS 7 does not call any code at the "end" of an app so flushing should
be performed manually.

BUG=392265

Review URL: https://codereview.chromium.org/375033002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282195 0039d316-1c4b-4281-b951-d872f2087c98
2014-07-10 00:41:02 +00:00

18 lines
550 B
C++

// 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.
#ifndef TESTING_COVERAGE_UTIL_IOS_H_
#define TESTING_COVERAGE_UTIL_IOS_H_
namespace coverage_util {
// Flushes .gcda coverage files if ENABLE_TEST_CODE_COVERAGE is defined. iOS 7
// does not call any code at the "end" of an app so flushing should be
// performed manually.
void FlushCoverageDataIfNecessary();
} // namespace coverage_util
#endif // TESTING_COVERAGE_UTIL_IOS_H_