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(); |
} |