mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-09-01 10:23:15 +00:00
Remove calls to __gcov_flush() in tests
This commit is contained in:
parent
fa7ae2e3a7
commit
423af40aa2
@ -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;
|
||||||
|
|
||||||
|
@ -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];
|
||||||
}
|
}
|
||||||
|
@ -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];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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];
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -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];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user