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
     1 //
     2 //  PepTests.m
     3 //  pEpiOSAdapter
     4 //
     5 //  Created by Dirk Zimmermann on 01/08/16.
     6 //  Copyright © 2016 p≡p. All rights reserved.
     7 //
     8 
     9 #import <XCTest/XCTest.h>
    10 
    11 #import "pEpiOSAdapter/PEPiOSAdapter.h"
    12 #import "pEpiOSAdapter/PEPSession.h"
    13 
    14 @interface PepTests : XCTestCase
    15 
    16 @end
    17 
    18 @implementation PepTests
    19 
    20 - (void)setUp {
    21     [super setUp];
    22     [PEPiOSAdapter setupTrustWordsDB:[NSBundle bundleForClass:[self class]]];
    23 }
    24 
    25 - (void)tearDown {
    26     [super tearDown];
    27 }
    28 
    29 - (void)testSessionFinalization {
    30     PEPSession *session = [[PEPSession alloc] init];
    31     session = nil;
    32 }
    33 
    34 @end