Skip to content

Commit 0f3fba2

Browse files
committed
Some tests for HKCacheManager added
1 parent b227db1 commit 0f3fba2

File tree

11 files changed

+4893
-0
lines changed

11 files changed

+4893
-0
lines changed

Tests/Classes/AppDelegate.h

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
//
2+
// HoboKit_TestsAppDelegate.h
3+
// HoboKit Tests
4+
//
5+
// Created by Gustaf on 2011-08-18.
6+
// Copyright 2011 __MyCompanyName__. All rights reserved.
7+
//
8+
9+
#import <Cocoa/Cocoa.h>
10+
11+
@interface AppDelegate : NSObject <NSApplicationDelegate>
12+
{
13+
NSWindow *window;
14+
}
15+
16+
@property (assign) IBOutlet NSWindow *window;
17+
18+
@end

Tests/Classes/AppDelegate.m

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
//
2+
// HoboKit_TestsAppDelegate.m
3+
// HoboKit Tests
4+
//
5+
// Created by Gustaf on 2011-08-18.
6+
// Copyright 2011 __MyCompanyName__. All rights reserved.
7+
//
8+
9+
#import "AppDelegate.h"
10+
11+
@implementation AppDelegate
12+
13+
@synthesize window;
14+
15+
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
16+
{}
17+
18+
@end

Tests/HoboKit Tests.xcodeproj/project.pbxproj

+502
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
//
2+
// Prefix header for all source files of the 'HoboKit Tests' target in the 'HoboKit Tests' project
3+
//
4+
5+
#ifdef __OBJC__
6+
#import <Cocoa/Cocoa.h>
7+
#endif

Tests/Other Sources/main.m

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
//
2+
// main.m
3+
// HoboKit Tests
4+
//
5+
// Created by Gustaf on 2011-08-18.
6+
// Copyright 2011 __MyCompanyName__. All rights reserved.
7+
//
8+
9+
#import <Cocoa/Cocoa.h>
10+
11+
int main(int argc, char *argv[])
12+
{
13+
return NSApplicationMain(argc, (const char **) argv);
14+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/* Localized versions of Info.plist keys */
2+

0 commit comments

Comments
 (0)