blob: 9c53edb160e923bfc7c882470aed3a2c3b04a7fb [file] [log] [blame]
#import <Foundation/Foundation.h>
@interface IntegrationTestIosTest : NSObject
- (BOOL)testIntegrationTest:(NSString **)testResult;
@end
#define INTEGRATION_TEST_IOS_RUNNER(__test_class) \
@interface __test_class : XCTestCase \
@end \
\
@implementation __test_class \
\
-(void)testIntegrationTest { \
NSString *testResult; \
IntegrationTestIosTest *integrationTestIosTest = [[IntegrationTestIosTest alloc] init]; \
BOOL testPass = [integrationTestIosTest testIntegrationTest:&testResult]; \
XCTAssertTrue(testPass, @"%@", testResult); \
} \
\
@end