Chromium Code Reviews| Index: test/mac/swift/MyObjcTest.m |
| diff --git a/test/mac/swift/MyObjcTest.m b/test/mac/swift/MyObjcTest.m |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..b54f49c078e5d8b7ed33c9b6ed20e7daee75bb2d |
| --- /dev/null |
| +++ b/test/mac/swift/MyObjcTest.m |
| @@ -0,0 +1,16 @@ |
| +#import <XCTest/XCTest.h> |
| + |
| +#import "MyObjcClass.h" |
| + |
| +@interface MyObjcTest : XCTestCase |
| + |
| +@end |
| + |
| +@implementation MyObjcTest |
| + |
| +- (void)testObjc { |
| + MyObjcClass* obj = [[MyObjcClass alloc] init]; |
| + XCTAssert(obj.intField == 0); |
| +} |
| + |
| +@end |