aboutsummaryrefslogtreecommitdiff
path: root/Foundation/GTMServiceManagementTest.m
diff options
context:
space:
mode:
authorGravatar dmaclach <dmaclach@gmail.com>2018-11-14 08:21:38 -0800
committerGravatar GitHub <noreply@github.com>2018-11-14 08:21:38 -0800
commit87ad6f4676b9d2b53e32913ad584647d924422f7 (patch)
tree15731dd53d0bf63d643e66a7798830160d24c234 /Foundation/GTMServiceManagementTest.m
parent8d3e7a3f41c9d0b73d91ea98b2515f87cc36ced1 (diff)
Add deprecation markings on GTMServiceManagement. (#207)
Apple has deprecated ServiceManagment as of macOS 10.10 and iOS 8.0.
Diffstat (limited to 'Foundation/GTMServiceManagementTest.m')
-rw-r--r--Foundation/GTMServiceManagementTest.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/Foundation/GTMServiceManagementTest.m b/Foundation/GTMServiceManagementTest.m
index 79881f3..80d3f3c 100644
--- a/Foundation/GTMServiceManagementTest.m
+++ b/Foundation/GTMServiceManagementTest.m
@@ -33,6 +33,10 @@ static NSString const *kGTMSocketKey
static NSString const *kGTMSocketName
= @"GTMServiceManagementTesting";
+#pragma clang diagnostic push
+// Ignore all of the deprecation warnings for GTMServiceManagement
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+
@interface GTMServiceManagementTest : GTMTestCase
@end
@@ -215,4 +219,6 @@ static NSString const *kGTMSocketName
@end
+#pragma clang diagnostic pop
+
#endif // if MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_4