pEpObjCTests/TestUtils/PEPTestSyncDelegate.h
author Dirk Zimmermann <dirk@pep-project.org>
Tue, 24 Apr 2018 13:29:19 +0200
branchIOSAD-92
changeset 594 a9cae3a6f78d
parent 391 3a63cf867f1f
permissions -rw-r--r--
IOSAD-92 PEPIdentity using hashBasedOnKeys etc.
andreas@391
     1
//
andreas@391
     2
//  PEPTestSyncDelegate.h
andreas@391
     3
//  pEpObjCAdapter
andreas@391
     4
//
andreas@391
     5
//  Created by Andreas Buff on 18.01.18.
andreas@391
     6
//  Copyright © 2018 p≡p. All rights reserved.
andreas@391
     7
//
andreas@391
     8
andreas@391
     9
#import <Foundation/Foundation.h>
andreas@391
    10
andreas@391
    11
#import "PEPObjCAdapter.h"
andreas@391
    12
andreas@391
    13
@interface PEPTestSyncDelegate : NSObject<PEPSyncDelegate>
andreas@391
    14
andreas@391
    15
- (BOOL)waitUntilSent:(time_t)maxSec;
andreas@391
    16
andreas@391
    17
@property (nonatomic) bool sendWasCalled;
andreas@391
    18
@property (nonatomic, strong) NSCondition *cond;
andreas@391
    19
andreas@391
    20
@end
andreas@391
    21