aboutsummaryrefslogtreecommitdiff
path: root/Foundation/GTMNSDictionary+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/GTMNSDictionary+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/GTMNSDictionary+URLArgumentsTest.m')
-rw-r--r--Foundation/GTMNSDictionary+URLArgumentsTest.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/Foundation/GTMNSDictionary+URLArgumentsTest.m b/Foundation/GTMNSDictionary+URLArgumentsTest.m
index 11ceb8a..f07e970 100644
--- a/Foundation/GTMNSDictionary+URLArgumentsTest.m
+++ b/Foundation/GTMNSDictionary+URLArgumentsTest.m
@@ -20,6 +20,10 @@
#import "GTMNSDictionary+URLArguments.h"
#import "GTMDefines.h"
+#pragma clang diagnostic push
+// Ignore all of the deprecation warnings for GTMNSDictionary+URLArguments
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+
@interface GTMNSDictionary_URLArgumentsTest : GTMTestCase
@end
@@ -85,3 +89,5 @@
}
@end
+
+#pragma clang diagnostic pop