OLD | NEW |
1 // Copyright (c) 2013 Google Inc. All rights reserved. | 1 // Copyright (c) 2013 Google Inc. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #import <XCTest/XCTest.h> | 5 #import <XCTest/XCTest.h> |
6 #import "MyClass.h" | |
7 | 6 |
8 @interface TestCase : XCTestCase | 7 @interface TestCase : XCTestCase |
9 @end | 8 @end |
10 | 9 |
11 @implementation TestCase | 10 @implementation TestCase |
12 - (void)testFoo { | 11 - (void)testFoo { |
13 MyClass *foo = [[MyClass alloc] init]; | 12 XCUIApplication *foo = [[XCUIApplication alloc] init]; |
14 XCTAssertNotNil(foo, @"expected non-nil object"); | 13 XCTAssertNotNil(foo, @"expected non-nil object"); |
15 } | 14 } |
16 @end | 15 @end |
OLD | NEW |