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

Unified Diff: testing/coverage_util_ios.h

Issue 2648263002: Code coverage with llvm-cov (Closed)
Patch Set: Some changes Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/showcase/test/showcase_test_case.mm ('k') | testing/coverage_util_ios.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/coverage_util_ios.h
diff --git a/testing/coverage_util_ios.h b/testing/coverage_util_ios.h
index 702811aa7b2e93b27389428888bc336918a4895a..c84976b1f84d3cd522c2383961761e5fadc2190f 100644
--- a/testing/coverage_util_ios.h
+++ b/testing/coverage_util_ios.h
@@ -7,10 +7,9 @@
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();
+// In debug builds, if ENABLE_TEST_CODE_COVERAGE is defined, sets the filename
+// of the coverage file. Otherwise, it does nothing.
+void SetupCodeCoverageIfNecessary(const char* name);
} // namespace coverage_util
« no previous file with comments | « ios/showcase/test/showcase_test_case.mm ('k') | testing/coverage_util_ios.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698