Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: testing/coverage_util_ios.h

Issue 2789433004: Add tools for code coverage support in iOS. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef TESTING_COVERAGE_UTIL_IOS_H_ 5 #ifndef TESTING_COVERAGE_UTIL_IOS_H_
6 #define TESTING_COVERAGE_UTIL_IOS_H_ 6 #define TESTING_COVERAGE_UTIL_IOS_H_
7 7
8 namespace coverage_util { 8 namespace coverage_util {
9 9
10 // Flushes .gcda coverage files if ENABLE_TEST_CODE_COVERAGE is defined. iOS 7 10 // In debug builds, if ENABLE_TEST_CODE_COVERAGE is defined, sets the filename
lpromero 2017/03/31 11:22:06 Sylvain, you told me GN was against such env varia
11 // does not call any code at the "end" of an app so flushing should be 11 // of the coverage file. Otherwise, it does nothing.
12 // performed manually. 12 void SetupIfNecessary();
Eugene But (OOO till 7-30) 2017/03/31 18:27:51 Should this be SetUpForDebugBuild()
lpromero 2017/03/31 20:35:20 Well, there would probably be another condition: E
Eugene But (OOO till 7-30) 2017/03/31 20:42:12 Nope, I guess IfNecessary is fine. Sorry my previo
13 void FlushCoverageDataIfNecessary();
14 13
15 } // namespace coverage_util 14 } // namespace coverage_util
16 15
17 #endif // TESTING_COVERAGE_UTIL_IOS_H_ 16 #endif // TESTING_COVERAGE_UTIL_IOS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698