summaryrefslogtreecommitdiff
path: root/deps/gyp/test/mac/xctest/TestCase.m
diff options
context:
space:
mode:
Diffstat (limited to 'deps/gyp/test/mac/xctest/TestCase.m')
-rw-r--r--deps/gyp/test/mac/xctest/TestCase.m16
1 files changed, 16 insertions, 0 deletions
diff --git a/deps/gyp/test/mac/xctest/TestCase.m b/deps/gyp/test/mac/xctest/TestCase.m
new file mode 100644
index 0000000000..36846a1fda
--- /dev/null
+++ b/deps/gyp/test/mac/xctest/TestCase.m
@@ -0,0 +1,16 @@
+// Copyright (c) 2013 Google Inc. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#import <XCTest/XCTest.h>
+#import "MyClass.h"
+
+@interface TestCase : XCTestCase
+@end
+
+@implementation TestCase
+- (void)testFoo {
+ MyClass *foo = [[MyClass alloc] init];
+ XCTAssertNotNil(foo, @"expected non-nil object");
+}
+@end