diff options
author | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2013-01-23 03:12:46 +0000 |
---|---|---|
committer | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2013-01-23 03:12:46 +0000 |
commit | 6af47ca6a866a1bdc045163556030f3e5ebbf11b (patch) | |
tree | 12f043e5ac7e81e4579d1892cf9ce9abc879e462 /UnitTesting/GTMSenTestCase.m | |
parent | fa33445a5ad223b7c4f69c1ddee3ab2503716eed (diff) |
On second thought, drop the OS X support for now.
DELTA=31 (1 added, 29 deleted, 1 changed)
Diffstat (limited to 'UnitTesting/GTMSenTestCase.m')
-rw-r--r-- | UnitTesting/GTMSenTestCase.m | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/UnitTesting/GTMSenTestCase.m b/UnitTesting/GTMSenTestCase.m index fbd8659..088514c 100644 --- a/UnitTesting/GTMSenTestCase.m +++ b/UnitTesting/GTMSenTestCase.m @@ -29,7 +29,6 @@ #if GTM_IPHONE_SDK #import <UIKit/UIKit.h> #else -#import <AppKit/AppKit.h> // For NSImage #import "GTMGarbageCollection.h" #endif // GTM_IPHONE_SDK @@ -433,14 +432,6 @@ static int MethodSort(id a, id b, void *context) { STAssertNotNil(image, @"Could not load image from resource: %@", path); return image; } -#else -- (NSImage *)imageFromResource:(NSString *)resource { - NSBundle *bundle = [NSBundle bundleForClass:[self class]]; - NSString *path = [bundle pathForResource:resource ofType:nil]; - NSImage *image = [[NSImage alloc] initWithContentsOfFile:path]; - STAssertNotNil(image, @"Could not load image from resource: %@", path); - return image; -} #endif + (NSArray *)testInvocations { |