summaryrefslogtreecommitdiffstats
path: root/Tests/XCTest/CocoaExample/AppDelegate.m
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2015-02-26 20:55:46 (GMT)
committerBrad King <brad.king@kitware.com>2015-03-23 13:12:20 (GMT)
commit87a4b8580cad34fefa5c5e1833b0963a6bcf3e7d (patch)
tree017d4c10af4a7f216f34672f165913033bc38377 /Tests/XCTest/CocoaExample/AppDelegate.m
parentba14510b4ebdbbfe115e29111615a4b775fb7198 (diff)
downloadCMake-87a4b8580cad34fefa5c5e1833b0963a6bcf3e7d.zip
CMake-87a4b8580cad34fefa5c5e1833b0963a6bcf3e7d.tar.gz
CMake-87a4b8580cad34fefa5c5e1833b0963a6bcf3e7d.tar.bz2
Tests: Add XCTest example to test Frameworks and Cocoa App Bundles
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Diffstat (limited to 'Tests/XCTest/CocoaExample/AppDelegate.m')
-rw-r--r--Tests/XCTest/CocoaExample/AppDelegate.m18
1 files changed, 18 insertions, 0 deletions
diff --git a/Tests/XCTest/CocoaExample/AppDelegate.m b/Tests/XCTest/CocoaExample/AppDelegate.m
new file mode 100644
index 0000000..07af62f
--- /dev/null
+++ b/Tests/XCTest/CocoaExample/AppDelegate.m
@@ -0,0 +1,18 @@
+#import "AppDelegate.h"
+
+@interface AppDelegate ()
+
+@property (assign) IBOutlet NSWindow *window;
+@end
+
+@implementation AppDelegate
+
+- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
+ // Insert code here to initialize your application
+}
+
+- (void)applicationWillTerminate:(NSNotification *)aNotification {
+ // Insert code here to tear down your application
+}
+
+@end