You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
session-ios/Signal/test/network/tcp/tls/SecureEndPointTest.m

24 lines
569 B
Objective-C

#import <XCTest/XCTest.h>
#import "SecureEndPoint.h"
#import "TestUtil.h"
#import "IpEndPoint.h"
@interface SecureEndPointTest : XCTestCase
@end
@implementation SecureEndPointTest
-(void) testCert {
Certificate* r = [Certificate certificateFromResourcePath:@"whisperReal"
ofType:@"der"];
test(r != nil);
}
-(void) testCert2 {
Certificate* r = [Certificate certificateFromResourcePath:@"whisperTest"
ofType:@"der"];
test(r != nil);
}
@end