@@ -20,6 +20,7 @@ - (BNCUrlQueryParameter *)findUrlQueryParam:(NSString *)paramName;
2020- (NSTimeInterval )defaultValidityWindowForParam : (NSString *)paramName ;
2121- (NSMutableDictionary *)serializeToJson : (NSMutableDictionary <NSString *, BNCUrlQueryParameter *> *)urlQueryParameters ;
2222- (NSMutableDictionary <NSString *, BNCUrlQueryParameter *> *)deserializeFromJson : (NSDictionary *)json ;
23+ - (void )checkForAndMigrateOldGbraid ;
2324
2425@end
2526
@@ -82,7 +83,7 @@ - (void)testParseURL {
8283 XCTAssertEqualObjects (savedParams, expectedParams);
8384}
8485
85- -(void )testGetEventURLQueryParams {
86+ - (void )testGetEventURLQueryParams {
8687
8788 NSDictionary *params = [utility getURLQueryParamsForRequest: eventEndpoint];
8889 NSDictionary *expectedParams = @{@" gbraid" : gbraidValue,
@@ -92,7 +93,7 @@ -(void)testGetEventURLQueryParams {
9293 XCTAssertEqualObjects (params, expectedParams);
9394}
9495
95- -(void )testGetOpenURLQueryParams {
96+ - (void )testGetOpenURLQueryParams {
9697
9798 NSDictionary *params = [utility getURLQueryParamsForRequest: openEndpoint];
9899 NSDictionary *expectedParams = @{@" gbraid" : gbraidValue,
@@ -103,15 +104,15 @@ -(void)testGetOpenURLQueryParams {
103104 XCTAssertEqualObjects (params, expectedParams);
104105}
105106
106- -(void )testAddGclidValueFor {
107+ - (void )testAddGclidValueFor {
107108 NSString *eventGclidValue = [utility addGclidValueFor: eventEndpoint];
108109 XCTAssertEqualObjects (eventGclidValue, gclidValue);
109110
110111 NSString *openGclidValue = [utility addGclidValueFor: openEndpoint];
111112 XCTAssertEqualObjects (openGclidValue, gclidValue);
112113}
113114
114- -(void )testAddGbraidValuesFor {
115+ - (void )testAddGbraidValuesFor {
115116 NSDictionary *eventGbraidValue = [utility addGbraidValuesFor: eventEndpoint];
116117
117118 NSDictionary *expectedEventGraidValue = @{
@@ -131,7 +132,7 @@ -(void)testAddGbraidValuesFor {
131132 XCTAssertEqualObjects (openGbraidValue, expectedOpenGraidValue);
132133}
133134
134- -(void )testIsSupportedQueryParameter {
135+ - (void )testIsSupportedQueryParameter {
135136 NSArray *validURLQueryParameters = @[@" gbraid" , @" gclid" ];
136137
137138 for (NSString *param in validURLQueryParameters) {
@@ -140,7 +141,7 @@ -(void)testIsSupportedQueryParameter {
140141
141142}
142143
143- -(void )testFindUrlQueryParam {
144+ - (void )testFindUrlQueryParam {
144145 BNCUrlQueryParameter *gbraid = [utility findUrlQueryParam: @" gbraid" ];
145146
146147 BNCUrlQueryParameter *expectedGbraid = [BNCUrlQueryParameter new ];
@@ -164,13 +165,13 @@ -(void)testFindUrlQueryParam {
164165 XCTAssertEqualObjects (gclid, expectedGclid);
165166}
166167
167- -(void )testDefaultValidityWindowForParam {
168+ - (void )testDefaultValidityWindowForParam {
168169
169170 XCTAssertEqual (2592000 , [utility defaultValidityWindowForParam: @" gbraid" ]);
170171 XCTAssertEqual (0 , [utility defaultValidityWindowForParam: @" gclid" ]);
171172}
172173
173- -(void )testSerializeToJson {
174+ - (void )testSerializeToJson {
174175
175176 NSDate *currentDate = [NSDate date ];
176177 NSMutableDictionary <NSString *, BNCUrlQueryParameter *> * params = [NSMutableDictionary new ];
@@ -216,7 +217,7 @@ -(void)testSerializeToJson {
216217 XCTAssertEqualObjects (params, deserializedParams);
217218}
218219
219- -(void )testDeserializeFromJson {
220+ - (void )testDeserializeFromJson {
220221 NSDate *currentDate = [NSDate date ];
221222
222223 NSMutableDictionary <NSString *, BNCUrlQueryParameter *> * params = [NSMutableDictionary new ];
0 commit comments