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

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

Issue 2789433004: Add tools for code coverage support in iOS. (Closed)
Patch Set: Rebased Created 3 years, 7 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/BUILD.gn ('k') | testing/coverage_util_ios.h » ('j') | 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..6738c6d3b50310de958a7c6d49fa4419902119de 100644
--- a/ios/showcase/test/showcase_test_case.mm
+++ b/ios/showcase/test/showcase_test_case.mm
@@ -7,6 +7,7 @@
#import <EarlGrey/EarlGrey.h>
#import "base/logging.h"
+#include "testing/coverage_util_ios.h"
#if !defined(__has_feature) || !__has_feature(objc_arc)
#error "This file requires ARC support."
@@ -14,6 +15,10 @@
@implementation ShowcaseTestCase
++ (void)setUp {
+ coverage_util::ConfigureCoverageReportPath();
+}
+
// Overrides testInvocations so the set of tests run can be modified, as
// necessary.
+ (NSArray*)testInvocations {
« no previous file with comments | « ios/showcase/test/BUILD.gn ('k') | testing/coverage_util_ios.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698