diff options
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 { |