iOSTests/PepTests.m
author Dirk Zimmermann <dirk@pep-project.org>
Mon, 01 Aug 2016 12:49:04 +0200
changeset 139 4cfa4a534667
child 173 7aafdb969997
permissions -rw-r--r--
Provoke address sanitizer hit on session finalization
dirk@139
     1
//
dirk@139
     2
//  PepTests.m
dirk@139
     3
//  pEpiOSAdapter
dirk@139
     4
//
dirk@139
     5
//  Created by Dirk Zimmermann on 01/08/16.
dirk@139
     6
//  Copyright © 2016 p≡p. All rights reserved.
dirk@139
     7
//
dirk@139
     8
dirk@139
     9
#import <XCTest/XCTest.h>
dirk@139
    10
dirk@139
    11
#import "pEpiOSAdapter/PEPiOSAdapter.h"
dirk@139
    12
#import "pEpiOSAdapter/PEPSession.h"
dirk@139
    13
dirk@139
    14
@interface PepTests : XCTestCase
dirk@139
    15
dirk@139
    16
@end
dirk@139
    17
dirk@139
    18
@implementation PepTests
dirk@139
    19
dirk@139
    20
- (void)setUp {
dirk@139
    21
    [super setUp];
dirk@139
    22
    [PEPiOSAdapter setupTrustWordsDB:[NSBundle bundleForClass:[self class]]];
dirk@139
    23
}
dirk@139
    24
dirk@139
    25
- (void)tearDown {
dirk@139
    26
    [super tearDown];
dirk@139
    27
}
dirk@139
    28
dirk@139
    29
- (void)testSessionFinalization {
dirk@139
    30
    PEPSession *session = [[PEPSession alloc] init];
dirk@139
    31
    session = nil;
dirk@139
    32
}
dirk@139
    33
dirk@139
    34
@end