aboutsummaryrefslogtreecommitdiff
path: root/Foundation/GTMNSString+URLArgumentsTest.m
diff options
context:
space:
mode:
authorGravatar dmaclach <dmaclach@gmail.com>2018-11-13 12:46:39 -0800
committerGravatar GitHub <noreply@github.com>2018-11-13 12:46:39 -0800
commit85341176f85a73b94c1d785126d9e17c628287a3 (patch)
tree1f73695b32a212019e8ca38fa06cb5175f119a41 /Foundation/GTMNSString+URLArgumentsTest.m
parenta72981b4f4156d7ae5f184e4a7155b6817f0fda3 (diff)
Add deprecation warnings on URLArgument categories. (#198)
The URLArgument categories should be replaced with usages of NSURLComponents and NSURLItems.
Diffstat (limited to 'Foundation/GTMNSString+URLArgumentsTest.m')
-rw-r--r--Foundation/GTMNSString+URLArgumentsTest.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/Foundation/GTMNSString+URLArgumentsTest.m b/Foundation/GTMNSString+URLArgumentsTest.m
index 308b5d6..fc35e89 100644
--- a/Foundation/GTMNSString+URLArgumentsTest.m
+++ b/Foundation/GTMNSString+URLArgumentsTest.m
@@ -19,6 +19,10 @@
#import "GTMSenTestCase.h"
#import "GTMNSString+URLArguments.h"
+#pragma clang diagnostic push
+// Ignore all of the deprecation warnings for GTMNSString+URLArguments
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+
@interface GTMNSString_URLArgumentsTest : GTMTestCase
@end
@@ -92,3 +96,5 @@
}
@end
+
+#pragma clang diagnostic pop