aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar dmaclach <dmaclach@gmail.com>2018-11-12 07:56:24 -0800
committerGravatar GitHub <noreply@github.com>2018-11-12 07:56:24 -0800
commit979557ed225d7a5f2644d157f11e234b8aedfefd (patch)
tree6c7266a9663e723b13434de02e15ecb19f2786a3
parentba4ef08c38276505b834cd72e7eab2dacead375f (diff)
Deprecate all uses of SenTesting (#186)
-rw-r--r--UnitTesting/GTMSenTestCase.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/UnitTesting/GTMSenTestCase.h b/UnitTesting/GTMSenTestCase.h
index 46c5502..276a10c 100644
--- a/UnitTesting/GTMSenTestCase.h
+++ b/UnitTesting/GTMSenTestCase.h
@@ -57,6 +57,7 @@
#if GTM_USING_XCTEST
#import <XCTest/XCTest.h>
#else
+ #warning "SenTestingKit is deprecated. Please move to XCTest."
#import <SenTestingKit/SenTestingKit.h>
#endif // GTM_USING_XCTEST
// We don't support our built in testing on MacOS since its always had sentest.
@@ -65,6 +66,7 @@
#import <XCTest/XCTest.h>
#else
#import <Foundation/Foundation.h>
+ NS_DEPRECATED(10.4, 10.8, 1.0, 7.0, "Please move to XCTest")
GTM_EXTERN NSString *STComposeString(NSString *, ...) NS_FORMAT_FUNCTION(1, 2);
#endif // GTM_USING_XCTEST
#endif // GTM_MACOS_SDK
@@ -1266,6 +1268,7 @@ do { \
+ (NSArray *)testInvocations;
@end
+NS_CLASS_DEPRECATED(10.4, 10.8, 1.0, 7.0, "Please move to XCTest")
@interface SenTestCase : NSObject<SenTestCase> {
@private
NSInvocation *invocation_;
@@ -1285,6 +1288,7 @@ GTM_EXTERN NSString *const SenTestLineNumberKey;
#if GTM_USING_XCTEST
@interface GTMTestCase : XCTestCase
#else
+NS_CLASS_DEPRECATED(10.4, 10.8, 1.0, 7.0, "Please move to XCTest version of GTMTestCase")
@interface GTMTestCase : SenTestCase
#endif