Browse Source

IOSAD-103 more [PEPSession cleanup]

IOSAD-103
Dirk Zimmermann 4 years ago
parent
commit
8bd2f2b19f
2 changed files with 10 additions and 0 deletions
  1. +5
    -0
      pEpObjCTests/PEPSessionProviderTest.m
  2. +5
    -0
      pEpObjCTests/PepTests.m

+ 5
- 0
pEpObjCTests/PEPSessionProviderTest.m View File

@ -18,6 +18,11 @@
@implementation PEPSessionProviderTest
- (void)tearDown
{
[PEPSession cleanup];
}
- (void)testSeperatedSessionPerThread {
// Get main session
PEPInternalSession *sessionMain = [PEPSessionProvider session];


+ 5
- 0
pEpObjCTests/PepTests.m View File

@ -22,6 +22,11 @@
[PEPObjCAdapter setupTrustWordsDB:[NSBundle bundleForClass:[self class]]];
}
- (void)tearDown
{
[PEPSession cleanup];
}
- (void)testSessionFinalization {
PEPSession *session = [[PEPSession alloc] init];
session = nil;


Loading…
Cancel
Save