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

Unified Diff: ios/showcase/test/showcase_test_case.mm

Issue 2654453002: WIP: Code coverage with gcov (Closed)
Patch Set: Created 3 years, 11 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/core/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/showcase/test/showcase_test_case.mm
diff --git a/ios/showcase/test/showcase_test_case.mm b/ios/showcase/test/showcase_test_case.mm
index e4877f11f752c2f49acdf50c1365ed9b58d52c2a..43f694e67bdc0d014923f76cbfd50d176620edb1 100644
--- a/ios/showcase/test/showcase_test_case.mm
+++ b/ios/showcase/test/showcase_test_case.mm
@@ -12,6 +12,8 @@
#error "This file requires ARC support."
#endif
+extern "C" void __gcov_flush(void);
+
@implementation ShowcaseTestCase
// Overrides testInvocations so the set of tests run can be modified, as
@@ -28,4 +30,8 @@
return [super testInvocations];
}
++ (void)tearDown {
+ __gcov_flush();
+}
+
@end
« no previous file with comments | « ios/showcase/core/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698