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

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

Issue 2789433004: Add tools for code coverage support in iOS. (Closed)
Patch Set: 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
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..a82e4816357c42a93ed89d8749cea4410af22cec 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::SetupIfNecessary();
lpromero 2017/03/31 11:22:06 We will also need to add this call to the non-Show
+}
+
// Overrides testInvocations so the set of tests run can be modified, as
// necessary.
+ (NSArray*)testInvocations {

Powered by Google App Engine
This is Rietveld 408576698