Remove calls to __gcov_flush() in tests

This commit is contained in:
Andreas Linde 2015-05-12 11:07:35 +02:00
parent fa7ae2e3a7
commit 423af40aa2
8 changed files with 1 additions and 41 deletions

View File

@ -60,11 +60,6 @@ static void *kInstallationIdentification = &kInstallationIdentification;
} }
- (void)tearDown { - (void)tearDown {
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wimplicit"
__gcov_flush();
# pragma clang diagnostic pop
[_sut cleanupInternalStorage]; [_sut cleanupInternalStorage];
_sut = nil; _sut = nil;

View File

@ -43,11 +43,6 @@
} }
- (void)tearDown { - (void)tearDown {
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wimplicit"
__gcov_flush();
# pragma clang diagnostic pop
[_sut cleanCrashReports]; [_sut cleanCrashReports];
[super tearDown]; [super tearDown];
} }

View File

@ -20,12 +20,7 @@
// Put setup code here. This method is called before the invocation of each test method in the class. // Put setup code here. This method is called before the invocation of each test method in the class.
} }
- (void)tearDown { - (void)tearDown {
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wimplicit"
__gcov_flush();
# pragma clang diagnostic pop
[super tearDown]; [super tearDown];
} }

View File

@ -41,11 +41,6 @@
} }
- (void)tearDown { - (void)tearDown {
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wimplicit"
__gcov_flush();
# pragma clang diagnostic pop
[_sut removeKeyFromKeychain:kBITHockeyMetaUserID]; [_sut removeKeyFromKeychain:kBITHockeyMetaUserID];
[_sut removeKeyFromKeychain:kBITHockeyMetaUserName]; [_sut removeKeyFromKeychain:kBITHockeyMetaUserName];
[_sut removeKeyFromKeychain:kBITHockeyMetaUserEmail]; [_sut removeKeyFromKeychain:kBITHockeyMetaUserEmail];

View File

@ -33,11 +33,6 @@
} }
- (void)tearDown { - (void)tearDown {
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wimplicit"
__gcov_flush();
# pragma clang diagnostic pop
[_sut cancelOperationsWithPath:nil method:nil]; [_sut cancelOperationsWithPath:nil method:nil];
_sut = nil; _sut = nil;

View File

@ -33,11 +33,6 @@
- (void)tearDown { - (void)tearDown {
// Tear-down code here. // Tear-down code here.
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wimplicit"
__gcov_flush();
# pragma clang diagnostic pop
[super tearDown]; [super tearDown];
} }

View File

@ -32,11 +32,6 @@
- (void)tearDown { - (void)tearDown {
// Tear-down code here. // Tear-down code here.
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wimplicit"
__gcov_flush();
# pragma clang diagnostic pop
[super tearDown]; [super tearDown];
} }

View File

@ -43,11 +43,6 @@
- (void)tearDown { - (void)tearDown {
// Tear-down code here. // Tear-down code here.
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wimplicit"
__gcov_flush();
# pragma clang diagnostic pop
_storeUpdateManager = nil; _storeUpdateManager = nil;
[super tearDown]; [super tearDown];