| // Copyright 2014 The Flutter Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| #import <Foundation/Foundation.h> |
| @interface IntegrationTestIosTest : NSObject |
| - (BOOL)testIntegrationTest:(NSString **)testResult; |
| #define INTEGRATION_TEST_IOS_RUNNER(__test_class) \ |
| @interface __test_class : XCTestCase \ |
| @implementation __test_class \ |
| -(void)testIntegrationTest { \ |
| IntegrationTestIosTest *integrationTestIosTest = [[IntegrationTestIosTest alloc] init]; \ |
| BOOL testPass = [integrationTestIosTest testIntegrationTest:&testResult]; \ |
| XCTAssertTrue(testPass, @"%@", testResult); \ |