summaryrefslogtreecommitdiff
path: root/objective-c/test/ios/testSuiteApp/Classes/Test.h
blob: e2f6fef0c24992d81a8c485f5d4f0ef833ca95ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// **********************************************************************
//
// Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************

#import <UIKit/UIKit.h>


@interface Test : NSObject
{
@private
    int (*server)(int,char**);
    int (*client)(int,char**);
    NSString* name;
    BOOL sslSupport;
    BOOL wsSupport;
    BOOL runWithSlicedFormat;
    BOOL runWith10Encoding;
}

+(id) testWithName:(const NSString*)name
              server:(int (*)(int, char**))server
              client:(int (*)(int, char**))client
          sslSupport:(BOOL)sslSupport
           wsSupport:(BOOL)wsSupport
 runWithSlicedFormat:(BOOL)runWithSlicedFormat
   runWith10Encoding:(BOOL)runWith10Encoding;

-(BOOL)hasServer;
-(BOOL)isProtocolSupported:(NSString*)protocol;
-(int)server;
-(int)client;

@property (readonly) NSString* name;
@property (readonly) BOOL sslSupport;
@property (readonly) BOOL wsSupport;
@property (readonly) BOOL runWithSlicedFormat;
@property (readonly) BOOL runWith10Encoding;

@end