aboutsummaryrefslogtreecommitdiff
path: root/UnitTesting/GTMSenTestCase.h
diff options
context:
space:
mode:
Diffstat (limited to 'UnitTesting/GTMSenTestCase.h')
-rw-r--r--UnitTesting/GTMSenTestCase.h17
1 files changed, 4 insertions, 13 deletions
diff --git a/UnitTesting/GTMSenTestCase.h b/UnitTesting/GTMSenTestCase.h
index 55cd813..744550f 100644
--- a/UnitTesting/GTMSenTestCase.h
+++ b/UnitTesting/GTMSenTestCase.h
@@ -60,7 +60,7 @@
#ifdef __cplusplus
extern "C" {
#endif
-
+
#if defined __clang__
// gcc and gcc-llvm do not allow you to use STAssert(blah, nil) with nil
// as a description if you have the NS_FORMAT_FUNCTION on.
@@ -69,7 +69,7 @@ NSString *STComposeString(NSString *, ...) NS_FORMAT_FUNCTION(1, 2);
#else
NSString *STComposeString(NSString *, ...);
#endif // __clang__
-
+
#ifdef __cplusplus
}
#endif
@@ -1081,9 +1081,9 @@ GTM_EXTERN NSString *const SenTestLineNumberKey;
#endif // GTM_IPHONE_SDK && !GTM_IPHONE_USE_SENTEST
#if GTM_IPHONE_SDK
+
@class UIImage;
-#else
-@class NSImage;
+
#endif // GTM_IPHONE_SDK
// All unittest cases in GTM should inherit from GTMTestCase. It makes sure
@@ -1120,15 +1120,6 @@ GTM_EXTERN NSString *const SenTestLineNumberKey;
// This is required as while under test, [UIImage imageNamed:...] does not
// correctly load images from the resources associated with a test class.
- (UIImage *)imageFromResource:(NSString *)resource;
-
-#else
-// Returns the NSImage for the the named |resource|. Asserts that the image is
-// loaded (is non-nil).
-//
-// This is required as while under test, [NSImage imageNamed:...] does not
-// correctly load images from the resources associated with a test class.
-- (NSImage *)imageFromResource:(NSString *)resource;
-
#endif // GTM_IPHONE_SDK
@end