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

Unified Diff: testing/platform_test_ios.mm

Issue 375033002: Flush gcda (code coverage) files manually in iOS Platform Test. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Corrected include Created 6 years, 5 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 | « testing/gtest.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/platform_test_ios.mm
diff --git a/testing/platform_test_mac.mm b/testing/platform_test_ios.mm
similarity index 82%
copy from testing/platform_test_mac.mm
copy to testing/platform_test_ios.mm
index bd22cd5b4593828f2bee0d3233e29cf5514f70ff..8d58986a0d81dd817a308cc1ffdfa7708d84c39f 100644
--- a/testing/platform_test_mac.mm
+++ b/testing/platform_test_ios.mm
@@ -6,10 +6,13 @@
#import <Foundation/Foundation.h>
+#include "coverage_util_ios.h"
+
PlatformTest::PlatformTest()
: pool_([[NSAutoreleasePool alloc] init]) {
}
PlatformTest::~PlatformTest() {
[pool_ release];
+ coverage_util::FlushCoverageDataIfNecessary();
}
« no previous file with comments | « testing/gtest.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698