feat: sync httpdns sdk/platform updates without large binaries
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
//
|
||||
// TestBase.h
|
||||
// TrustHttpDNS
|
||||
//
|
||||
// Created by ElonChan(地风) on 2017/4/14.
|
||||
// Copyright © 2017<31><37>?trustapp.com. All rights reserved.
|
||||
//
|
||||
|
||||
#import <XCTest/XCTest.h>
|
||||
|
||||
|
||||
enum {
|
||||
XCTAsyncTestCaseStatusUnknown = 0,
|
||||
XCTAsyncTestCaseStatusWaiting,
|
||||
XCTAsyncTestCaseStatusSucceeded,
|
||||
XCTAsyncTestCaseStatusFailed,
|
||||
XCTAsyncTestCaseStatusCancelled,
|
||||
};
|
||||
typedef NSUInteger XCTAsyncTestCaseStatus;
|
||||
|
||||
|
||||
@interface XCTestCase (AsyncTesting)
|
||||
|
||||
- (void)waitForStatus:(XCTAsyncTestCaseStatus)status timeout:(NSTimeInterval)timeout;
|
||||
- (void)waitForTimeout:(NSTimeInterval)timeout;
|
||||
- (void)notify:(XCTAsyncTestCaseStatus)status;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user