OLD | NEW |
1 library googleapis.dfareporting.v2_6.test; | 1 library googleapis.dfareporting.v2_7.test; |
2 | 2 |
3 import "dart:core" as core; | 3 import "dart:core" as core; |
4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
5 import "dart:async" as async; | 5 import "dart:async" as async; |
6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
7 | 7 |
8 import 'package:http/http.dart' as http; | 8 import 'package:http/http.dart' as http; |
9 import 'package:http/testing.dart' as http_testing; | 9 import 'package:http/testing.dart' as http_testing; |
10 import 'package:unittest/unittest.dart' as unittest; | 10 import 'package:unittest/unittest.dart' as unittest; |
11 | 11 |
12 import 'package:googleapis/dfareporting/v2_6.dart' as api; | 12 import 'package:googleapis/dfareporting/v2_7.dart' as api; |
13 | 13 |
14 class HttpServerMock extends http.BaseClient { | 14 class HttpServerMock extends http.BaseClient { |
15 core.Function _callback; | 15 core.Function _callback; |
16 core.bool _expectJson; | 16 core.bool _expectJson; |
17 | 17 |
18 void register(core.Function callback, core.bool expectJson) { | 18 void register(core.Function callback, core.bool expectJson) { |
19 _callback = callback; | 19 _callback = callback; |
20 _expectJson = expectJson; | 20 _expectJson = expectJson; |
21 } | 21 } |
22 | 22 |
(...skipping 21 matching lines...) Expand all Loading... |
44 } | 44 } |
45 } | 45 } |
46 } | 46 } |
47 | 47 |
48 http.StreamedResponse stringResponse( | 48 http.StreamedResponse stringResponse( |
49 core.int status, core.Map headers, core.String body) { | 49 core.int status, core.Map headers, core.String body) { |
50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); | 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); |
51 return new http.StreamedResponse(stream, status, headers: headers); | 51 return new http.StreamedResponse(stream, status, headers: headers); |
52 } | 52 } |
53 | 53 |
54 buildUnnamed2643() { | 54 buildUnnamed2397() { |
55 var o = new core.List<core.String>(); | 55 var o = new core.List<core.String>(); |
56 o.add("foo"); | 56 o.add("foo"); |
57 o.add("foo"); | 57 o.add("foo"); |
58 return o; | 58 return o; |
59 } | 59 } |
60 | 60 |
61 checkUnnamed2643(core.List<core.String> o) { | 61 checkUnnamed2397(core.List<core.String> o) { |
62 unittest.expect(o, unittest.hasLength(2)); | 62 unittest.expect(o, unittest.hasLength(2)); |
63 unittest.expect(o[0], unittest.equals('foo')); | 63 unittest.expect(o[0], unittest.equals('foo')); |
64 unittest.expect(o[1], unittest.equals('foo')); | 64 unittest.expect(o[1], unittest.equals('foo')); |
65 } | 65 } |
66 | 66 |
67 buildUnnamed2644() { | 67 buildUnnamed2398() { |
68 var o = new core.List<core.String>(); | 68 var o = new core.List<core.String>(); |
69 o.add("foo"); | 69 o.add("foo"); |
70 o.add("foo"); | 70 o.add("foo"); |
71 return o; | 71 return o; |
72 } | 72 } |
73 | 73 |
74 checkUnnamed2644(core.List<core.String> o) { | 74 checkUnnamed2398(core.List<core.String> o) { |
75 unittest.expect(o, unittest.hasLength(2)); | 75 unittest.expect(o, unittest.hasLength(2)); |
76 unittest.expect(o[0], unittest.equals('foo')); | 76 unittest.expect(o[0], unittest.equals('foo')); |
77 unittest.expect(o[1], unittest.equals('foo')); | 77 unittest.expect(o[1], unittest.equals('foo')); |
78 } | 78 } |
79 | 79 |
80 core.int buildCounterAccount = 0; | 80 core.int buildCounterAccount = 0; |
81 buildAccount() { | 81 buildAccount() { |
82 var o = new api.Account(); | 82 var o = new api.Account(); |
83 buildCounterAccount++; | 83 buildCounterAccount++; |
84 if (buildCounterAccount < 3) { | 84 if (buildCounterAccount < 3) { |
85 o.accountPermissionIds = buildUnnamed2643(); | 85 o.accountPermissionIds = buildUnnamed2397(); |
86 o.accountProfile = "foo"; | 86 o.accountProfile = "foo"; |
87 o.active = true; | 87 o.active = true; |
88 o.activeAdsLimitTier = "foo"; | 88 o.activeAdsLimitTier = "foo"; |
89 o.activeViewOptOut = true; | 89 o.activeViewOptOut = true; |
90 o.availablePermissionIds = buildUnnamed2644(); | 90 o.availablePermissionIds = buildUnnamed2398(); |
91 o.countryId = "foo"; | 91 o.countryId = "foo"; |
92 o.currencyId = "foo"; | 92 o.currencyId = "foo"; |
93 o.defaultCreativeSizeId = "foo"; | 93 o.defaultCreativeSizeId = "foo"; |
94 o.description = "foo"; | 94 o.description = "foo"; |
95 o.id = "foo"; | 95 o.id = "foo"; |
96 o.kind = "foo"; | 96 o.kind = "foo"; |
97 o.locale = "foo"; | 97 o.locale = "foo"; |
98 o.maximumImageSize = "foo"; | 98 o.maximumImageSize = "foo"; |
99 o.name = "foo"; | 99 o.name = "foo"; |
100 o.nielsenOcrEnabled = true; | 100 o.nielsenOcrEnabled = true; |
101 o.reportsConfiguration = buildReportsConfiguration(); | 101 o.reportsConfiguration = buildReportsConfiguration(); |
102 o.shareReportsWithTwitter = true; | 102 o.shareReportsWithTwitter = true; |
103 o.teaserSizeLimit = "foo"; | 103 o.teaserSizeLimit = "foo"; |
104 } | 104 } |
105 buildCounterAccount--; | 105 buildCounterAccount--; |
106 return o; | 106 return o; |
107 } | 107 } |
108 | 108 |
109 checkAccount(api.Account o) { | 109 checkAccount(api.Account o) { |
110 buildCounterAccount++; | 110 buildCounterAccount++; |
111 if (buildCounterAccount < 3) { | 111 if (buildCounterAccount < 3) { |
112 checkUnnamed2643(o.accountPermissionIds); | 112 checkUnnamed2397(o.accountPermissionIds); |
113 unittest.expect(o.accountProfile, unittest.equals('foo')); | 113 unittest.expect(o.accountProfile, unittest.equals('foo')); |
114 unittest.expect(o.active, unittest.isTrue); | 114 unittest.expect(o.active, unittest.isTrue); |
115 unittest.expect(o.activeAdsLimitTier, unittest.equals('foo')); | 115 unittest.expect(o.activeAdsLimitTier, unittest.equals('foo')); |
116 unittest.expect(o.activeViewOptOut, unittest.isTrue); | 116 unittest.expect(o.activeViewOptOut, unittest.isTrue); |
117 checkUnnamed2644(o.availablePermissionIds); | 117 checkUnnamed2398(o.availablePermissionIds); |
118 unittest.expect(o.countryId, unittest.equals('foo')); | 118 unittest.expect(o.countryId, unittest.equals('foo')); |
119 unittest.expect(o.currencyId, unittest.equals('foo')); | 119 unittest.expect(o.currencyId, unittest.equals('foo')); |
120 unittest.expect(o.defaultCreativeSizeId, unittest.equals('foo')); | 120 unittest.expect(o.defaultCreativeSizeId, unittest.equals('foo')); |
121 unittest.expect(o.description, unittest.equals('foo')); | 121 unittest.expect(o.description, unittest.equals('foo')); |
122 unittest.expect(o.id, unittest.equals('foo')); | 122 unittest.expect(o.id, unittest.equals('foo')); |
123 unittest.expect(o.kind, unittest.equals('foo')); | 123 unittest.expect(o.kind, unittest.equals('foo')); |
124 unittest.expect(o.locale, unittest.equals('foo')); | 124 unittest.expect(o.locale, unittest.equals('foo')); |
125 unittest.expect(o.maximumImageSize, unittest.equals('foo')); | 125 unittest.expect(o.maximumImageSize, unittest.equals('foo')); |
126 unittest.expect(o.name, unittest.equals('foo')); | 126 unittest.expect(o.name, unittest.equals('foo')); |
127 unittest.expect(o.nielsenOcrEnabled, unittest.isTrue); | 127 unittest.expect(o.nielsenOcrEnabled, unittest.isTrue); |
(...skipping 24 matching lines...) Expand all Loading... |
152 if (buildCounterAccountActiveAdSummary < 3) { | 152 if (buildCounterAccountActiveAdSummary < 3) { |
153 unittest.expect(o.accountId, unittest.equals('foo')); | 153 unittest.expect(o.accountId, unittest.equals('foo')); |
154 unittest.expect(o.activeAds, unittest.equals('foo')); | 154 unittest.expect(o.activeAds, unittest.equals('foo')); |
155 unittest.expect(o.activeAdsLimitTier, unittest.equals('foo')); | 155 unittest.expect(o.activeAdsLimitTier, unittest.equals('foo')); |
156 unittest.expect(o.availableAds, unittest.equals('foo')); | 156 unittest.expect(o.availableAds, unittest.equals('foo')); |
157 unittest.expect(o.kind, unittest.equals('foo')); | 157 unittest.expect(o.kind, unittest.equals('foo')); |
158 } | 158 } |
159 buildCounterAccountActiveAdSummary--; | 159 buildCounterAccountActiveAdSummary--; |
160 } | 160 } |
161 | 161 |
162 buildUnnamed2645() { | 162 buildUnnamed2399() { |
163 var o = new core.List<core.String>(); | 163 var o = new core.List<core.String>(); |
164 o.add("foo"); | 164 o.add("foo"); |
165 o.add("foo"); | 165 o.add("foo"); |
166 return o; | 166 return o; |
167 } | 167 } |
168 | 168 |
169 checkUnnamed2645(core.List<core.String> o) { | 169 checkUnnamed2399(core.List<core.String> o) { |
170 unittest.expect(o, unittest.hasLength(2)); | 170 unittest.expect(o, unittest.hasLength(2)); |
171 unittest.expect(o[0], unittest.equals('foo')); | 171 unittest.expect(o[0], unittest.equals('foo')); |
172 unittest.expect(o[1], unittest.equals('foo')); | 172 unittest.expect(o[1], unittest.equals('foo')); |
173 } | 173 } |
174 | 174 |
175 core.int buildCounterAccountPermission = 0; | 175 core.int buildCounterAccountPermission = 0; |
176 buildAccountPermission() { | 176 buildAccountPermission() { |
177 var o = new api.AccountPermission(); | 177 var o = new api.AccountPermission(); |
178 buildCounterAccountPermission++; | 178 buildCounterAccountPermission++; |
179 if (buildCounterAccountPermission < 3) { | 179 if (buildCounterAccountPermission < 3) { |
180 o.accountProfiles = buildUnnamed2645(); | 180 o.accountProfiles = buildUnnamed2399(); |
181 o.id = "foo"; | 181 o.id = "foo"; |
182 o.kind = "foo"; | 182 o.kind = "foo"; |
183 o.level = "foo"; | 183 o.level = "foo"; |
184 o.name = "foo"; | 184 o.name = "foo"; |
185 o.permissionGroupId = "foo"; | 185 o.permissionGroupId = "foo"; |
186 } | 186 } |
187 buildCounterAccountPermission--; | 187 buildCounterAccountPermission--; |
188 return o; | 188 return o; |
189 } | 189 } |
190 | 190 |
191 checkAccountPermission(api.AccountPermission o) { | 191 checkAccountPermission(api.AccountPermission o) { |
192 buildCounterAccountPermission++; | 192 buildCounterAccountPermission++; |
193 if (buildCounterAccountPermission < 3) { | 193 if (buildCounterAccountPermission < 3) { |
194 checkUnnamed2645(o.accountProfiles); | 194 checkUnnamed2399(o.accountProfiles); |
195 unittest.expect(o.id, unittest.equals('foo')); | 195 unittest.expect(o.id, unittest.equals('foo')); |
196 unittest.expect(o.kind, unittest.equals('foo')); | 196 unittest.expect(o.kind, unittest.equals('foo')); |
197 unittest.expect(o.level, unittest.equals('foo')); | 197 unittest.expect(o.level, unittest.equals('foo')); |
198 unittest.expect(o.name, unittest.equals('foo')); | 198 unittest.expect(o.name, unittest.equals('foo')); |
199 unittest.expect(o.permissionGroupId, unittest.equals('foo')); | 199 unittest.expect(o.permissionGroupId, unittest.equals('foo')); |
200 } | 200 } |
201 buildCounterAccountPermission--; | 201 buildCounterAccountPermission--; |
202 } | 202 } |
203 | 203 |
204 core.int buildCounterAccountPermissionGroup = 0; | 204 core.int buildCounterAccountPermissionGroup = 0; |
(...skipping 12 matching lines...) Expand all Loading... |
217 checkAccountPermissionGroup(api.AccountPermissionGroup o) { | 217 checkAccountPermissionGroup(api.AccountPermissionGroup o) { |
218 buildCounterAccountPermissionGroup++; | 218 buildCounterAccountPermissionGroup++; |
219 if (buildCounterAccountPermissionGroup < 3) { | 219 if (buildCounterAccountPermissionGroup < 3) { |
220 unittest.expect(o.id, unittest.equals('foo')); | 220 unittest.expect(o.id, unittest.equals('foo')); |
221 unittest.expect(o.kind, unittest.equals('foo')); | 221 unittest.expect(o.kind, unittest.equals('foo')); |
222 unittest.expect(o.name, unittest.equals('foo')); | 222 unittest.expect(o.name, unittest.equals('foo')); |
223 } | 223 } |
224 buildCounterAccountPermissionGroup--; | 224 buildCounterAccountPermissionGroup--; |
225 } | 225 } |
226 | 226 |
227 buildUnnamed2646() { | 227 buildUnnamed2400() { |
228 var o = new core.List<api.AccountPermissionGroup>(); | 228 var o = new core.List<api.AccountPermissionGroup>(); |
229 o.add(buildAccountPermissionGroup()); | 229 o.add(buildAccountPermissionGroup()); |
230 o.add(buildAccountPermissionGroup()); | 230 o.add(buildAccountPermissionGroup()); |
231 return o; | 231 return o; |
232 } | 232 } |
233 | 233 |
234 checkUnnamed2646(core.List<api.AccountPermissionGroup> o) { | 234 checkUnnamed2400(core.List<api.AccountPermissionGroup> o) { |
235 unittest.expect(o, unittest.hasLength(2)); | 235 unittest.expect(o, unittest.hasLength(2)); |
236 checkAccountPermissionGroup(o[0]); | 236 checkAccountPermissionGroup(o[0]); |
237 checkAccountPermissionGroup(o[1]); | 237 checkAccountPermissionGroup(o[1]); |
238 } | 238 } |
239 | 239 |
240 core.int buildCounterAccountPermissionGroupsListResponse = 0; | 240 core.int buildCounterAccountPermissionGroupsListResponse = 0; |
241 buildAccountPermissionGroupsListResponse() { | 241 buildAccountPermissionGroupsListResponse() { |
242 var o = new api.AccountPermissionGroupsListResponse(); | 242 var o = new api.AccountPermissionGroupsListResponse(); |
243 buildCounterAccountPermissionGroupsListResponse++; | 243 buildCounterAccountPermissionGroupsListResponse++; |
244 if (buildCounterAccountPermissionGroupsListResponse < 3) { | 244 if (buildCounterAccountPermissionGroupsListResponse < 3) { |
245 o.accountPermissionGroups = buildUnnamed2646(); | 245 o.accountPermissionGroups = buildUnnamed2400(); |
246 o.kind = "foo"; | 246 o.kind = "foo"; |
247 } | 247 } |
248 buildCounterAccountPermissionGroupsListResponse--; | 248 buildCounterAccountPermissionGroupsListResponse--; |
249 return o; | 249 return o; |
250 } | 250 } |
251 | 251 |
252 checkAccountPermissionGroupsListResponse(api.AccountPermissionGroupsListResponse
o) { | 252 checkAccountPermissionGroupsListResponse(api.AccountPermissionGroupsListResponse
o) { |
253 buildCounterAccountPermissionGroupsListResponse++; | 253 buildCounterAccountPermissionGroupsListResponse++; |
254 if (buildCounterAccountPermissionGroupsListResponse < 3) { | 254 if (buildCounterAccountPermissionGroupsListResponse < 3) { |
255 checkUnnamed2646(o.accountPermissionGroups); | 255 checkUnnamed2400(o.accountPermissionGroups); |
256 unittest.expect(o.kind, unittest.equals('foo')); | 256 unittest.expect(o.kind, unittest.equals('foo')); |
257 } | 257 } |
258 buildCounterAccountPermissionGroupsListResponse--; | 258 buildCounterAccountPermissionGroupsListResponse--; |
259 } | 259 } |
260 | 260 |
261 buildUnnamed2647() { | 261 buildUnnamed2401() { |
262 var o = new core.List<api.AccountPermission>(); | 262 var o = new core.List<api.AccountPermission>(); |
263 o.add(buildAccountPermission()); | 263 o.add(buildAccountPermission()); |
264 o.add(buildAccountPermission()); | 264 o.add(buildAccountPermission()); |
265 return o; | 265 return o; |
266 } | 266 } |
267 | 267 |
268 checkUnnamed2647(core.List<api.AccountPermission> o) { | 268 checkUnnamed2401(core.List<api.AccountPermission> o) { |
269 unittest.expect(o, unittest.hasLength(2)); | 269 unittest.expect(o, unittest.hasLength(2)); |
270 checkAccountPermission(o[0]); | 270 checkAccountPermission(o[0]); |
271 checkAccountPermission(o[1]); | 271 checkAccountPermission(o[1]); |
272 } | 272 } |
273 | 273 |
274 core.int buildCounterAccountPermissionsListResponse = 0; | 274 core.int buildCounterAccountPermissionsListResponse = 0; |
275 buildAccountPermissionsListResponse() { | 275 buildAccountPermissionsListResponse() { |
276 var o = new api.AccountPermissionsListResponse(); | 276 var o = new api.AccountPermissionsListResponse(); |
277 buildCounterAccountPermissionsListResponse++; | 277 buildCounterAccountPermissionsListResponse++; |
278 if (buildCounterAccountPermissionsListResponse < 3) { | 278 if (buildCounterAccountPermissionsListResponse < 3) { |
279 o.accountPermissions = buildUnnamed2647(); | 279 o.accountPermissions = buildUnnamed2401(); |
280 o.kind = "foo"; | 280 o.kind = "foo"; |
281 } | 281 } |
282 buildCounterAccountPermissionsListResponse--; | 282 buildCounterAccountPermissionsListResponse--; |
283 return o; | 283 return o; |
284 } | 284 } |
285 | 285 |
286 checkAccountPermissionsListResponse(api.AccountPermissionsListResponse o) { | 286 checkAccountPermissionsListResponse(api.AccountPermissionsListResponse o) { |
287 buildCounterAccountPermissionsListResponse++; | 287 buildCounterAccountPermissionsListResponse++; |
288 if (buildCounterAccountPermissionsListResponse < 3) { | 288 if (buildCounterAccountPermissionsListResponse < 3) { |
289 checkUnnamed2647(o.accountPermissions); | 289 checkUnnamed2401(o.accountPermissions); |
290 unittest.expect(o.kind, unittest.equals('foo')); | 290 unittest.expect(o.kind, unittest.equals('foo')); |
291 } | 291 } |
292 buildCounterAccountPermissionsListResponse--; | 292 buildCounterAccountPermissionsListResponse--; |
293 } | 293 } |
294 | 294 |
295 core.int buildCounterAccountUserProfile = 0; | 295 core.int buildCounterAccountUserProfile = 0; |
296 buildAccountUserProfile() { | 296 buildAccountUserProfile() { |
297 var o = new api.AccountUserProfile(); | 297 var o = new api.AccountUserProfile(); |
298 buildCounterAccountUserProfile++; | 298 buildCounterAccountUserProfile++; |
299 if (buildCounterAccountUserProfile < 3) { | 299 if (buildCounterAccountUserProfile < 3) { |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
334 checkObjectFilter(o.siteFilter); | 334 checkObjectFilter(o.siteFilter); |
335 unittest.expect(o.subaccountId, unittest.equals('foo')); | 335 unittest.expect(o.subaccountId, unittest.equals('foo')); |
336 unittest.expect(o.traffickerType, unittest.equals('foo')); | 336 unittest.expect(o.traffickerType, unittest.equals('foo')); |
337 unittest.expect(o.userAccessType, unittest.equals('foo')); | 337 unittest.expect(o.userAccessType, unittest.equals('foo')); |
338 checkObjectFilter(o.userRoleFilter); | 338 checkObjectFilter(o.userRoleFilter); |
339 unittest.expect(o.userRoleId, unittest.equals('foo')); | 339 unittest.expect(o.userRoleId, unittest.equals('foo')); |
340 } | 340 } |
341 buildCounterAccountUserProfile--; | 341 buildCounterAccountUserProfile--; |
342 } | 342 } |
343 | 343 |
344 buildUnnamed2648() { | 344 buildUnnamed2402() { |
345 var o = new core.List<api.AccountUserProfile>(); | 345 var o = new core.List<api.AccountUserProfile>(); |
346 o.add(buildAccountUserProfile()); | 346 o.add(buildAccountUserProfile()); |
347 o.add(buildAccountUserProfile()); | 347 o.add(buildAccountUserProfile()); |
348 return o; | 348 return o; |
349 } | 349 } |
350 | 350 |
351 checkUnnamed2648(core.List<api.AccountUserProfile> o) { | 351 checkUnnamed2402(core.List<api.AccountUserProfile> o) { |
352 unittest.expect(o, unittest.hasLength(2)); | 352 unittest.expect(o, unittest.hasLength(2)); |
353 checkAccountUserProfile(o[0]); | 353 checkAccountUserProfile(o[0]); |
354 checkAccountUserProfile(o[1]); | 354 checkAccountUserProfile(o[1]); |
355 } | 355 } |
356 | 356 |
357 core.int buildCounterAccountUserProfilesListResponse = 0; | 357 core.int buildCounterAccountUserProfilesListResponse = 0; |
358 buildAccountUserProfilesListResponse() { | 358 buildAccountUserProfilesListResponse() { |
359 var o = new api.AccountUserProfilesListResponse(); | 359 var o = new api.AccountUserProfilesListResponse(); |
360 buildCounterAccountUserProfilesListResponse++; | 360 buildCounterAccountUserProfilesListResponse++; |
361 if (buildCounterAccountUserProfilesListResponse < 3) { | 361 if (buildCounterAccountUserProfilesListResponse < 3) { |
362 o.accountUserProfiles = buildUnnamed2648(); | 362 o.accountUserProfiles = buildUnnamed2402(); |
363 o.kind = "foo"; | 363 o.kind = "foo"; |
364 o.nextPageToken = "foo"; | 364 o.nextPageToken = "foo"; |
365 } | 365 } |
366 buildCounterAccountUserProfilesListResponse--; | 366 buildCounterAccountUserProfilesListResponse--; |
367 return o; | 367 return o; |
368 } | 368 } |
369 | 369 |
370 checkAccountUserProfilesListResponse(api.AccountUserProfilesListResponse o) { | 370 checkAccountUserProfilesListResponse(api.AccountUserProfilesListResponse o) { |
371 buildCounterAccountUserProfilesListResponse++; | 371 buildCounterAccountUserProfilesListResponse++; |
372 if (buildCounterAccountUserProfilesListResponse < 3) { | 372 if (buildCounterAccountUserProfilesListResponse < 3) { |
373 checkUnnamed2648(o.accountUserProfiles); | 373 checkUnnamed2402(o.accountUserProfiles); |
374 unittest.expect(o.kind, unittest.equals('foo')); | 374 unittest.expect(o.kind, unittest.equals('foo')); |
375 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 375 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
376 } | 376 } |
377 buildCounterAccountUserProfilesListResponse--; | 377 buildCounterAccountUserProfilesListResponse--; |
378 } | 378 } |
379 | 379 |
380 buildUnnamed2649() { | 380 buildUnnamed2403() { |
381 var o = new core.List<api.Account>(); | 381 var o = new core.List<api.Account>(); |
382 o.add(buildAccount()); | 382 o.add(buildAccount()); |
383 o.add(buildAccount()); | 383 o.add(buildAccount()); |
384 return o; | 384 return o; |
385 } | 385 } |
386 | 386 |
387 checkUnnamed2649(core.List<api.Account> o) { | 387 checkUnnamed2403(core.List<api.Account> o) { |
388 unittest.expect(o, unittest.hasLength(2)); | 388 unittest.expect(o, unittest.hasLength(2)); |
389 checkAccount(o[0]); | 389 checkAccount(o[0]); |
390 checkAccount(o[1]); | 390 checkAccount(o[1]); |
391 } | 391 } |
392 | 392 |
393 core.int buildCounterAccountsListResponse = 0; | 393 core.int buildCounterAccountsListResponse = 0; |
394 buildAccountsListResponse() { | 394 buildAccountsListResponse() { |
395 var o = new api.AccountsListResponse(); | 395 var o = new api.AccountsListResponse(); |
396 buildCounterAccountsListResponse++; | 396 buildCounterAccountsListResponse++; |
397 if (buildCounterAccountsListResponse < 3) { | 397 if (buildCounterAccountsListResponse < 3) { |
398 o.accounts = buildUnnamed2649(); | 398 o.accounts = buildUnnamed2403(); |
399 o.kind = "foo"; | 399 o.kind = "foo"; |
400 o.nextPageToken = "foo"; | 400 o.nextPageToken = "foo"; |
401 } | 401 } |
402 buildCounterAccountsListResponse--; | 402 buildCounterAccountsListResponse--; |
403 return o; | 403 return o; |
404 } | 404 } |
405 | 405 |
406 checkAccountsListResponse(api.AccountsListResponse o) { | 406 checkAccountsListResponse(api.AccountsListResponse o) { |
407 buildCounterAccountsListResponse++; | 407 buildCounterAccountsListResponse++; |
408 if (buildCounterAccountsListResponse < 3) { | 408 if (buildCounterAccountsListResponse < 3) { |
409 checkUnnamed2649(o.accounts); | 409 checkUnnamed2403(o.accounts); |
410 unittest.expect(o.kind, unittest.equals('foo')); | 410 unittest.expect(o.kind, unittest.equals('foo')); |
411 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 411 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
412 } | 412 } |
413 buildCounterAccountsListResponse--; | 413 buildCounterAccountsListResponse--; |
414 } | 414 } |
415 | 415 |
416 buildUnnamed2650() { | 416 buildUnnamed2404() { |
417 var o = new core.List<api.DimensionValue>(); | 417 var o = new core.List<api.DimensionValue>(); |
418 o.add(buildDimensionValue()); | 418 o.add(buildDimensionValue()); |
419 o.add(buildDimensionValue()); | 419 o.add(buildDimensionValue()); |
420 return o; | 420 return o; |
421 } | 421 } |
422 | 422 |
423 checkUnnamed2650(core.List<api.DimensionValue> o) { | 423 checkUnnamed2404(core.List<api.DimensionValue> o) { |
424 unittest.expect(o, unittest.hasLength(2)); | 424 unittest.expect(o, unittest.hasLength(2)); |
425 checkDimensionValue(o[0]); | 425 checkDimensionValue(o[0]); |
426 checkDimensionValue(o[1]); | 426 checkDimensionValue(o[1]); |
427 } | 427 } |
428 | 428 |
429 buildUnnamed2651() { | 429 buildUnnamed2405() { |
430 var o = new core.List<core.String>(); | 430 var o = new core.List<core.String>(); |
431 o.add("foo"); | 431 o.add("foo"); |
432 o.add("foo"); | 432 o.add("foo"); |
433 return o; | 433 return o; |
434 } | 434 } |
435 | 435 |
436 checkUnnamed2651(core.List<core.String> o) { | 436 checkUnnamed2405(core.List<core.String> o) { |
437 unittest.expect(o, unittest.hasLength(2)); | 437 unittest.expect(o, unittest.hasLength(2)); |
438 unittest.expect(o[0], unittest.equals('foo')); | 438 unittest.expect(o[0], unittest.equals('foo')); |
439 unittest.expect(o[1], unittest.equals('foo')); | 439 unittest.expect(o[1], unittest.equals('foo')); |
440 } | 440 } |
441 | 441 |
442 core.int buildCounterActivities = 0; | 442 core.int buildCounterActivities = 0; |
443 buildActivities() { | 443 buildActivities() { |
444 var o = new api.Activities(); | 444 var o = new api.Activities(); |
445 buildCounterActivities++; | 445 buildCounterActivities++; |
446 if (buildCounterActivities < 3) { | 446 if (buildCounterActivities < 3) { |
447 o.filters = buildUnnamed2650(); | 447 o.filters = buildUnnamed2404(); |
448 o.kind = "foo"; | 448 o.kind = "foo"; |
449 o.metricNames = buildUnnamed2651(); | 449 o.metricNames = buildUnnamed2405(); |
450 } | 450 } |
451 buildCounterActivities--; | 451 buildCounterActivities--; |
452 return o; | 452 return o; |
453 } | 453 } |
454 | 454 |
455 checkActivities(api.Activities o) { | 455 checkActivities(api.Activities o) { |
456 buildCounterActivities++; | 456 buildCounterActivities++; |
457 if (buildCounterActivities < 3) { | 457 if (buildCounterActivities < 3) { |
458 checkUnnamed2650(o.filters); | 458 checkUnnamed2404(o.filters); |
459 unittest.expect(o.kind, unittest.equals('foo')); | 459 unittest.expect(o.kind, unittest.equals('foo')); |
460 checkUnnamed2651(o.metricNames); | 460 checkUnnamed2405(o.metricNames); |
461 } | 461 } |
462 buildCounterActivities--; | 462 buildCounterActivities--; |
463 } | 463 } |
464 | 464 |
465 buildUnnamed2652() { | 465 buildUnnamed2406() { |
466 var o = new core.List<api.CreativeGroupAssignment>(); | 466 var o = new core.List<api.CreativeGroupAssignment>(); |
467 o.add(buildCreativeGroupAssignment()); | 467 o.add(buildCreativeGroupAssignment()); |
468 o.add(buildCreativeGroupAssignment()); | 468 o.add(buildCreativeGroupAssignment()); |
469 return o; | 469 return o; |
470 } | 470 } |
471 | 471 |
472 checkUnnamed2652(core.List<api.CreativeGroupAssignment> o) { | 472 checkUnnamed2406(core.List<api.CreativeGroupAssignment> o) { |
473 unittest.expect(o, unittest.hasLength(2)); | 473 unittest.expect(o, unittest.hasLength(2)); |
474 checkCreativeGroupAssignment(o[0]); | 474 checkCreativeGroupAssignment(o[0]); |
475 checkCreativeGroupAssignment(o[1]); | 475 checkCreativeGroupAssignment(o[1]); |
476 } | 476 } |
477 | 477 |
478 buildUnnamed2653() { | 478 buildUnnamed2407() { |
479 var o = new core.List<api.EventTagOverride>(); | 479 var o = new core.List<api.EventTagOverride>(); |
480 o.add(buildEventTagOverride()); | 480 o.add(buildEventTagOverride()); |
481 o.add(buildEventTagOverride()); | 481 o.add(buildEventTagOverride()); |
482 return o; | 482 return o; |
483 } | 483 } |
484 | 484 |
485 checkUnnamed2653(core.List<api.EventTagOverride> o) { | 485 checkUnnamed2407(core.List<api.EventTagOverride> o) { |
486 unittest.expect(o, unittest.hasLength(2)); | 486 unittest.expect(o, unittest.hasLength(2)); |
487 checkEventTagOverride(o[0]); | 487 checkEventTagOverride(o[0]); |
488 checkEventTagOverride(o[1]); | 488 checkEventTagOverride(o[1]); |
489 } | 489 } |
490 | 490 |
491 buildUnnamed2654() { | 491 buildUnnamed2408() { |
492 var o = new core.List<api.PlacementAssignment>(); | 492 var o = new core.List<api.PlacementAssignment>(); |
493 o.add(buildPlacementAssignment()); | 493 o.add(buildPlacementAssignment()); |
494 o.add(buildPlacementAssignment()); | 494 o.add(buildPlacementAssignment()); |
495 return o; | 495 return o; |
496 } | 496 } |
497 | 497 |
498 checkUnnamed2654(core.List<api.PlacementAssignment> o) { | 498 checkUnnamed2408(core.List<api.PlacementAssignment> o) { |
499 unittest.expect(o, unittest.hasLength(2)); | 499 unittest.expect(o, unittest.hasLength(2)); |
500 checkPlacementAssignment(o[0]); | 500 checkPlacementAssignment(o[0]); |
501 checkPlacementAssignment(o[1]); | 501 checkPlacementAssignment(o[1]); |
502 } | 502 } |
503 | 503 |
504 core.int buildCounterAd = 0; | 504 core.int buildCounterAd = 0; |
505 buildAd() { | 505 buildAd() { |
506 var o = new api.Ad(); | 506 var o = new api.Ad(); |
507 buildCounterAd++; | 507 buildCounterAd++; |
508 if (buildCounterAd < 3) { | 508 if (buildCounterAd < 3) { |
509 o.accountId = "foo"; | 509 o.accountId = "foo"; |
510 o.active = true; | 510 o.active = true; |
511 o.advertiserId = "foo"; | 511 o.advertiserId = "foo"; |
512 o.advertiserIdDimensionValue = buildDimensionValue(); | 512 o.advertiserIdDimensionValue = buildDimensionValue(); |
513 o.archived = true; | 513 o.archived = true; |
514 o.audienceSegmentId = "foo"; | 514 o.audienceSegmentId = "foo"; |
515 o.campaignId = "foo"; | 515 o.campaignId = "foo"; |
516 o.campaignIdDimensionValue = buildDimensionValue(); | 516 o.campaignIdDimensionValue = buildDimensionValue(); |
517 o.clickThroughUrl = buildClickThroughUrl(); | 517 o.clickThroughUrl = buildClickThroughUrl(); |
518 o.clickThroughUrlSuffixProperties = buildClickThroughUrlSuffixProperties(); | 518 o.clickThroughUrlSuffixProperties = buildClickThroughUrlSuffixProperties(); |
519 o.comments = "foo"; | 519 o.comments = "foo"; |
520 o.compatibility = "foo"; | 520 o.compatibility = "foo"; |
521 o.createInfo = buildLastModifiedInfo(); | 521 o.createInfo = buildLastModifiedInfo(); |
522 o.creativeGroupAssignments = buildUnnamed2652(); | 522 o.creativeGroupAssignments = buildUnnamed2406(); |
523 o.creativeRotation = buildCreativeRotation(); | 523 o.creativeRotation = buildCreativeRotation(); |
524 o.dayPartTargeting = buildDayPartTargeting(); | 524 o.dayPartTargeting = buildDayPartTargeting(); |
525 o.defaultClickThroughEventTagProperties = buildDefaultClickThroughEventTagPr
operties(); | 525 o.defaultClickThroughEventTagProperties = buildDefaultClickThroughEventTagPr
operties(); |
526 o.deliverySchedule = buildDeliverySchedule(); | 526 o.deliverySchedule = buildDeliverySchedule(); |
527 o.dynamicClickTracker = true; | 527 o.dynamicClickTracker = true; |
528 o.endTime = core.DateTime.parse("2002-02-27T14:01:02"); | 528 o.endTime = core.DateTime.parse("2002-02-27T14:01:02"); |
529 o.eventTagOverrides = buildUnnamed2653(); | 529 o.eventTagOverrides = buildUnnamed2407(); |
530 o.geoTargeting = buildGeoTargeting(); | 530 o.geoTargeting = buildGeoTargeting(); |
531 o.id = "foo"; | 531 o.id = "foo"; |
532 o.idDimensionValue = buildDimensionValue(); | 532 o.idDimensionValue = buildDimensionValue(); |
533 o.keyValueTargetingExpression = buildKeyValueTargetingExpression(); | 533 o.keyValueTargetingExpression = buildKeyValueTargetingExpression(); |
534 o.kind = "foo"; | 534 o.kind = "foo"; |
535 o.languageTargeting = buildLanguageTargeting(); | 535 o.languageTargeting = buildLanguageTargeting(); |
536 o.lastModifiedInfo = buildLastModifiedInfo(); | 536 o.lastModifiedInfo = buildLastModifiedInfo(); |
537 o.name = "foo"; | 537 o.name = "foo"; |
538 o.placementAssignments = buildUnnamed2654(); | 538 o.placementAssignments = buildUnnamed2408(); |
539 o.remarketingListExpression = buildListTargetingExpression(); | 539 o.remarketingListExpression = buildListTargetingExpression(); |
540 o.size = buildSize(); | 540 o.size = buildSize(); |
541 o.sslCompliant = true; | 541 o.sslCompliant = true; |
542 o.sslRequired = true; | 542 o.sslRequired = true; |
543 o.startTime = core.DateTime.parse("2002-02-27T14:01:02"); | 543 o.startTime = core.DateTime.parse("2002-02-27T14:01:02"); |
544 o.subaccountId = "foo"; | 544 o.subaccountId = "foo"; |
545 o.targetingTemplateId = "foo"; | 545 o.targetingTemplateId = "foo"; |
546 o.technologyTargeting = buildTechnologyTargeting(); | 546 o.technologyTargeting = buildTechnologyTargeting(); |
547 o.type = "foo"; | 547 o.type = "foo"; |
548 } | 548 } |
(...skipping 10 matching lines...) Expand all Loading... |
559 checkDimensionValue(o.advertiserIdDimensionValue); | 559 checkDimensionValue(o.advertiserIdDimensionValue); |
560 unittest.expect(o.archived, unittest.isTrue); | 560 unittest.expect(o.archived, unittest.isTrue); |
561 unittest.expect(o.audienceSegmentId, unittest.equals('foo')); | 561 unittest.expect(o.audienceSegmentId, unittest.equals('foo')); |
562 unittest.expect(o.campaignId, unittest.equals('foo')); | 562 unittest.expect(o.campaignId, unittest.equals('foo')); |
563 checkDimensionValue(o.campaignIdDimensionValue); | 563 checkDimensionValue(o.campaignIdDimensionValue); |
564 checkClickThroughUrl(o.clickThroughUrl); | 564 checkClickThroughUrl(o.clickThroughUrl); |
565 checkClickThroughUrlSuffixProperties(o.clickThroughUrlSuffixProperties); | 565 checkClickThroughUrlSuffixProperties(o.clickThroughUrlSuffixProperties); |
566 unittest.expect(o.comments, unittest.equals('foo')); | 566 unittest.expect(o.comments, unittest.equals('foo')); |
567 unittest.expect(o.compatibility, unittest.equals('foo')); | 567 unittest.expect(o.compatibility, unittest.equals('foo')); |
568 checkLastModifiedInfo(o.createInfo); | 568 checkLastModifiedInfo(o.createInfo); |
569 checkUnnamed2652(o.creativeGroupAssignments); | 569 checkUnnamed2406(o.creativeGroupAssignments); |
570 checkCreativeRotation(o.creativeRotation); | 570 checkCreativeRotation(o.creativeRotation); |
571 checkDayPartTargeting(o.dayPartTargeting); | 571 checkDayPartTargeting(o.dayPartTargeting); |
572 checkDefaultClickThroughEventTagProperties(o.defaultClickThroughEventTagProp
erties); | 572 checkDefaultClickThroughEventTagProperties(o.defaultClickThroughEventTagProp
erties); |
573 checkDeliverySchedule(o.deliverySchedule); | 573 checkDeliverySchedule(o.deliverySchedule); |
574 unittest.expect(o.dynamicClickTracker, unittest.isTrue); | 574 unittest.expect(o.dynamicClickTracker, unittest.isTrue); |
575 unittest.expect(o.endTime, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 575 unittest.expect(o.endTime, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
576 checkUnnamed2653(o.eventTagOverrides); | 576 checkUnnamed2407(o.eventTagOverrides); |
577 checkGeoTargeting(o.geoTargeting); | 577 checkGeoTargeting(o.geoTargeting); |
578 unittest.expect(o.id, unittest.equals('foo')); | 578 unittest.expect(o.id, unittest.equals('foo')); |
579 checkDimensionValue(o.idDimensionValue); | 579 checkDimensionValue(o.idDimensionValue); |
580 checkKeyValueTargetingExpression(o.keyValueTargetingExpression); | 580 checkKeyValueTargetingExpression(o.keyValueTargetingExpression); |
581 unittest.expect(o.kind, unittest.equals('foo')); | 581 unittest.expect(o.kind, unittest.equals('foo')); |
582 checkLanguageTargeting(o.languageTargeting); | 582 checkLanguageTargeting(o.languageTargeting); |
583 checkLastModifiedInfo(o.lastModifiedInfo); | 583 checkLastModifiedInfo(o.lastModifiedInfo); |
584 unittest.expect(o.name, unittest.equals('foo')); | 584 unittest.expect(o.name, unittest.equals('foo')); |
585 checkUnnamed2654(o.placementAssignments); | 585 checkUnnamed2408(o.placementAssignments); |
586 checkListTargetingExpression(o.remarketingListExpression); | 586 checkListTargetingExpression(o.remarketingListExpression); |
587 checkSize(o.size); | 587 checkSize(o.size); |
588 unittest.expect(o.sslCompliant, unittest.isTrue); | 588 unittest.expect(o.sslCompliant, unittest.isTrue); |
589 unittest.expect(o.sslRequired, unittest.isTrue); | 589 unittest.expect(o.sslRequired, unittest.isTrue); |
590 unittest.expect(o.startTime, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); | 590 unittest.expect(o.startTime, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
591 unittest.expect(o.subaccountId, unittest.equals('foo')); | 591 unittest.expect(o.subaccountId, unittest.equals('foo')); |
592 unittest.expect(o.targetingTemplateId, unittest.equals('foo')); | 592 unittest.expect(o.targetingTemplateId, unittest.equals('foo')); |
593 checkTechnologyTargeting(o.technologyTargeting); | 593 checkTechnologyTargeting(o.technologyTargeting); |
594 unittest.expect(o.type, unittest.equals('foo')); | 594 unittest.expect(o.type, unittest.equals('foo')); |
595 } | 595 } |
(...skipping 26 matching lines...) Expand all Loading... |
622 unittest.expect(o.height, unittest.equals('foo')); | 622 unittest.expect(o.height, unittest.equals('foo')); |
623 unittest.expect(o.linkedPlacementId, unittest.equals('foo')); | 623 unittest.expect(o.linkedPlacementId, unittest.equals('foo')); |
624 unittest.expect(o.name, unittest.equals('foo')); | 624 unittest.expect(o.name, unittest.equals('foo')); |
625 unittest.expect(o.paymentSourceType, unittest.equals('foo')); | 625 unittest.expect(o.paymentSourceType, unittest.equals('foo')); |
626 unittest.expect(o.primary, unittest.isTrue); | 626 unittest.expect(o.primary, unittest.isTrue); |
627 unittest.expect(o.width, unittest.equals('foo')); | 627 unittest.expect(o.width, unittest.equals('foo')); |
628 } | 628 } |
629 buildCounterAdSlot--; | 629 buildCounterAdSlot--; |
630 } | 630 } |
631 | 631 |
632 buildUnnamed2655() { | 632 buildUnnamed2409() { |
633 var o = new core.List<api.Ad>(); | 633 var o = new core.List<api.Ad>(); |
634 o.add(buildAd()); | 634 o.add(buildAd()); |
635 o.add(buildAd()); | 635 o.add(buildAd()); |
636 return o; | 636 return o; |
637 } | 637 } |
638 | 638 |
639 checkUnnamed2655(core.List<api.Ad> o) { | 639 checkUnnamed2409(core.List<api.Ad> o) { |
640 unittest.expect(o, unittest.hasLength(2)); | 640 unittest.expect(o, unittest.hasLength(2)); |
641 checkAd(o[0]); | 641 checkAd(o[0]); |
642 checkAd(o[1]); | 642 checkAd(o[1]); |
643 } | 643 } |
644 | 644 |
645 core.int buildCounterAdsListResponse = 0; | 645 core.int buildCounterAdsListResponse = 0; |
646 buildAdsListResponse() { | 646 buildAdsListResponse() { |
647 var o = new api.AdsListResponse(); | 647 var o = new api.AdsListResponse(); |
648 buildCounterAdsListResponse++; | 648 buildCounterAdsListResponse++; |
649 if (buildCounterAdsListResponse < 3) { | 649 if (buildCounterAdsListResponse < 3) { |
650 o.ads = buildUnnamed2655(); | 650 o.ads = buildUnnamed2409(); |
651 o.kind = "foo"; | 651 o.kind = "foo"; |
652 o.nextPageToken = "foo"; | 652 o.nextPageToken = "foo"; |
653 } | 653 } |
654 buildCounterAdsListResponse--; | 654 buildCounterAdsListResponse--; |
655 return o; | 655 return o; |
656 } | 656 } |
657 | 657 |
658 checkAdsListResponse(api.AdsListResponse o) { | 658 checkAdsListResponse(api.AdsListResponse o) { |
659 buildCounterAdsListResponse++; | 659 buildCounterAdsListResponse++; |
660 if (buildCounterAdsListResponse < 3) { | 660 if (buildCounterAdsListResponse < 3) { |
661 checkUnnamed2655(o.ads); | 661 checkUnnamed2409(o.ads); |
662 unittest.expect(o.kind, unittest.equals('foo')); | 662 unittest.expect(o.kind, unittest.equals('foo')); |
663 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 663 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
664 } | 664 } |
665 buildCounterAdsListResponse--; | 665 buildCounterAdsListResponse--; |
666 } | 666 } |
667 | 667 |
668 core.int buildCounterAdvertiser = 0; | 668 core.int buildCounterAdvertiser = 0; |
669 buildAdvertiser() { | 669 buildAdvertiser() { |
670 var o = new api.Advertiser(); | 670 var o = new api.Advertiser(); |
671 buildCounterAdvertiser++; | 671 buildCounterAdvertiser++; |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
730 buildCounterAdvertiserGroup++; | 730 buildCounterAdvertiserGroup++; |
731 if (buildCounterAdvertiserGroup < 3) { | 731 if (buildCounterAdvertiserGroup < 3) { |
732 unittest.expect(o.accountId, unittest.equals('foo')); | 732 unittest.expect(o.accountId, unittest.equals('foo')); |
733 unittest.expect(o.id, unittest.equals('foo')); | 733 unittest.expect(o.id, unittest.equals('foo')); |
734 unittest.expect(o.kind, unittest.equals('foo')); | 734 unittest.expect(o.kind, unittest.equals('foo')); |
735 unittest.expect(o.name, unittest.equals('foo')); | 735 unittest.expect(o.name, unittest.equals('foo')); |
736 } | 736 } |
737 buildCounterAdvertiserGroup--; | 737 buildCounterAdvertiserGroup--; |
738 } | 738 } |
739 | 739 |
740 buildUnnamed2656() { | 740 buildUnnamed2410() { |
741 var o = new core.List<api.AdvertiserGroup>(); | 741 var o = new core.List<api.AdvertiserGroup>(); |
742 o.add(buildAdvertiserGroup()); | 742 o.add(buildAdvertiserGroup()); |
743 o.add(buildAdvertiserGroup()); | 743 o.add(buildAdvertiserGroup()); |
744 return o; | 744 return o; |
745 } | 745 } |
746 | 746 |
747 checkUnnamed2656(core.List<api.AdvertiserGroup> o) { | 747 checkUnnamed2410(core.List<api.AdvertiserGroup> o) { |
748 unittest.expect(o, unittest.hasLength(2)); | 748 unittest.expect(o, unittest.hasLength(2)); |
749 checkAdvertiserGroup(o[0]); | 749 checkAdvertiserGroup(o[0]); |
750 checkAdvertiserGroup(o[1]); | 750 checkAdvertiserGroup(o[1]); |
751 } | 751 } |
752 | 752 |
753 core.int buildCounterAdvertiserGroupsListResponse = 0; | 753 core.int buildCounterAdvertiserGroupsListResponse = 0; |
754 buildAdvertiserGroupsListResponse() { | 754 buildAdvertiserGroupsListResponse() { |
755 var o = new api.AdvertiserGroupsListResponse(); | 755 var o = new api.AdvertiserGroupsListResponse(); |
756 buildCounterAdvertiserGroupsListResponse++; | 756 buildCounterAdvertiserGroupsListResponse++; |
757 if (buildCounterAdvertiserGroupsListResponse < 3) { | 757 if (buildCounterAdvertiserGroupsListResponse < 3) { |
758 o.advertiserGroups = buildUnnamed2656(); | 758 o.advertiserGroups = buildUnnamed2410(); |
759 o.kind = "foo"; | 759 o.kind = "foo"; |
760 o.nextPageToken = "foo"; | 760 o.nextPageToken = "foo"; |
761 } | 761 } |
762 buildCounterAdvertiserGroupsListResponse--; | 762 buildCounterAdvertiserGroupsListResponse--; |
763 return o; | 763 return o; |
764 } | 764 } |
765 | 765 |
766 checkAdvertiserGroupsListResponse(api.AdvertiserGroupsListResponse o) { | 766 checkAdvertiserGroupsListResponse(api.AdvertiserGroupsListResponse o) { |
767 buildCounterAdvertiserGroupsListResponse++; | 767 buildCounterAdvertiserGroupsListResponse++; |
768 if (buildCounterAdvertiserGroupsListResponse < 3) { | 768 if (buildCounterAdvertiserGroupsListResponse < 3) { |
769 checkUnnamed2656(o.advertiserGroups); | 769 checkUnnamed2410(o.advertiserGroups); |
770 unittest.expect(o.kind, unittest.equals('foo')); | 770 unittest.expect(o.kind, unittest.equals('foo')); |
771 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 771 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
772 } | 772 } |
773 buildCounterAdvertiserGroupsListResponse--; | 773 buildCounterAdvertiserGroupsListResponse--; |
774 } | 774 } |
775 | 775 |
776 buildUnnamed2657() { | 776 buildUnnamed2411() { |
777 var o = new core.List<api.Advertiser>(); | 777 var o = new core.List<api.Advertiser>(); |
778 o.add(buildAdvertiser()); | 778 o.add(buildAdvertiser()); |
779 o.add(buildAdvertiser()); | 779 o.add(buildAdvertiser()); |
780 return o; | 780 return o; |
781 } | 781 } |
782 | 782 |
783 checkUnnamed2657(core.List<api.Advertiser> o) { | 783 checkUnnamed2411(core.List<api.Advertiser> o) { |
784 unittest.expect(o, unittest.hasLength(2)); | 784 unittest.expect(o, unittest.hasLength(2)); |
785 checkAdvertiser(o[0]); | 785 checkAdvertiser(o[0]); |
786 checkAdvertiser(o[1]); | 786 checkAdvertiser(o[1]); |
787 } | 787 } |
788 | 788 |
789 core.int buildCounterAdvertisersListResponse = 0; | 789 core.int buildCounterAdvertisersListResponse = 0; |
790 buildAdvertisersListResponse() { | 790 buildAdvertisersListResponse() { |
791 var o = new api.AdvertisersListResponse(); | 791 var o = new api.AdvertisersListResponse(); |
792 buildCounterAdvertisersListResponse++; | 792 buildCounterAdvertisersListResponse++; |
793 if (buildCounterAdvertisersListResponse < 3) { | 793 if (buildCounterAdvertisersListResponse < 3) { |
794 o.advertisers = buildUnnamed2657(); | 794 o.advertisers = buildUnnamed2411(); |
795 o.kind = "foo"; | 795 o.kind = "foo"; |
796 o.nextPageToken = "foo"; | 796 o.nextPageToken = "foo"; |
797 } | 797 } |
798 buildCounterAdvertisersListResponse--; | 798 buildCounterAdvertisersListResponse--; |
799 return o; | 799 return o; |
800 } | 800 } |
801 | 801 |
802 checkAdvertisersListResponse(api.AdvertisersListResponse o) { | 802 checkAdvertisersListResponse(api.AdvertisersListResponse o) { |
803 buildCounterAdvertisersListResponse++; | 803 buildCounterAdvertisersListResponse++; |
804 if (buildCounterAdvertisersListResponse < 3) { | 804 if (buildCounterAdvertisersListResponse < 3) { |
805 checkUnnamed2657(o.advertisers); | 805 checkUnnamed2411(o.advertisers); |
806 unittest.expect(o.kind, unittest.equals('foo')); | 806 unittest.expect(o.kind, unittest.equals('foo')); |
807 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 807 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
808 } | 808 } |
809 buildCounterAdvertisersListResponse--; | 809 buildCounterAdvertisersListResponse--; |
810 } | 810 } |
811 | 811 |
812 core.int buildCounterAudienceSegment = 0; | 812 core.int buildCounterAudienceSegment = 0; |
813 buildAudienceSegment() { | 813 buildAudienceSegment() { |
814 var o = new api.AudienceSegment(); | 814 var o = new api.AudienceSegment(); |
815 buildCounterAudienceSegment++; | 815 buildCounterAudienceSegment++; |
816 if (buildCounterAudienceSegment < 3) { | 816 if (buildCounterAudienceSegment < 3) { |
817 o.allocation = 42; | 817 o.allocation = 42; |
818 o.id = "foo"; | 818 o.id = "foo"; |
819 o.name = "foo"; | 819 o.name = "foo"; |
820 } | 820 } |
821 buildCounterAudienceSegment--; | 821 buildCounterAudienceSegment--; |
822 return o; | 822 return o; |
823 } | 823 } |
824 | 824 |
825 checkAudienceSegment(api.AudienceSegment o) { | 825 checkAudienceSegment(api.AudienceSegment o) { |
826 buildCounterAudienceSegment++; | 826 buildCounterAudienceSegment++; |
827 if (buildCounterAudienceSegment < 3) { | 827 if (buildCounterAudienceSegment < 3) { |
828 unittest.expect(o.allocation, unittest.equals(42)); | 828 unittest.expect(o.allocation, unittest.equals(42)); |
829 unittest.expect(o.id, unittest.equals('foo')); | 829 unittest.expect(o.id, unittest.equals('foo')); |
830 unittest.expect(o.name, unittest.equals('foo')); | 830 unittest.expect(o.name, unittest.equals('foo')); |
831 } | 831 } |
832 buildCounterAudienceSegment--; | 832 buildCounterAudienceSegment--; |
833 } | 833 } |
834 | 834 |
835 buildUnnamed2658() { | 835 buildUnnamed2412() { |
836 var o = new core.List<api.AudienceSegment>(); | 836 var o = new core.List<api.AudienceSegment>(); |
837 o.add(buildAudienceSegment()); | 837 o.add(buildAudienceSegment()); |
838 o.add(buildAudienceSegment()); | 838 o.add(buildAudienceSegment()); |
839 return o; | 839 return o; |
840 } | 840 } |
841 | 841 |
842 checkUnnamed2658(core.List<api.AudienceSegment> o) { | 842 checkUnnamed2412(core.List<api.AudienceSegment> o) { |
843 unittest.expect(o, unittest.hasLength(2)); | 843 unittest.expect(o, unittest.hasLength(2)); |
844 checkAudienceSegment(o[0]); | 844 checkAudienceSegment(o[0]); |
845 checkAudienceSegment(o[1]); | 845 checkAudienceSegment(o[1]); |
846 } | 846 } |
847 | 847 |
848 core.int buildCounterAudienceSegmentGroup = 0; | 848 core.int buildCounterAudienceSegmentGroup = 0; |
849 buildAudienceSegmentGroup() { | 849 buildAudienceSegmentGroup() { |
850 var o = new api.AudienceSegmentGroup(); | 850 var o = new api.AudienceSegmentGroup(); |
851 buildCounterAudienceSegmentGroup++; | 851 buildCounterAudienceSegmentGroup++; |
852 if (buildCounterAudienceSegmentGroup < 3) { | 852 if (buildCounterAudienceSegmentGroup < 3) { |
853 o.audienceSegments = buildUnnamed2658(); | 853 o.audienceSegments = buildUnnamed2412(); |
854 o.id = "foo"; | 854 o.id = "foo"; |
855 o.name = "foo"; | 855 o.name = "foo"; |
856 } | 856 } |
857 buildCounterAudienceSegmentGroup--; | 857 buildCounterAudienceSegmentGroup--; |
858 return o; | 858 return o; |
859 } | 859 } |
860 | 860 |
861 checkAudienceSegmentGroup(api.AudienceSegmentGroup o) { | 861 checkAudienceSegmentGroup(api.AudienceSegmentGroup o) { |
862 buildCounterAudienceSegmentGroup++; | 862 buildCounterAudienceSegmentGroup++; |
863 if (buildCounterAudienceSegmentGroup < 3) { | 863 if (buildCounterAudienceSegmentGroup < 3) { |
864 checkUnnamed2658(o.audienceSegments); | 864 checkUnnamed2412(o.audienceSegments); |
865 unittest.expect(o.id, unittest.equals('foo')); | 865 unittest.expect(o.id, unittest.equals('foo')); |
866 unittest.expect(o.name, unittest.equals('foo')); | 866 unittest.expect(o.name, unittest.equals('foo')); |
867 } | 867 } |
868 buildCounterAudienceSegmentGroup--; | 868 buildCounterAudienceSegmentGroup--; |
869 } | 869 } |
870 | 870 |
871 core.int buildCounterBrowser = 0; | 871 core.int buildCounterBrowser = 0; |
872 buildBrowser() { | 872 buildBrowser() { |
873 var o = new api.Browser(); | 873 var o = new api.Browser(); |
874 buildCounterBrowser++; | 874 buildCounterBrowser++; |
(...skipping 15 matching lines...) Expand all Loading... |
890 unittest.expect(o.browserVersionId, unittest.equals('foo')); | 890 unittest.expect(o.browserVersionId, unittest.equals('foo')); |
891 unittest.expect(o.dartId, unittest.equals('foo')); | 891 unittest.expect(o.dartId, unittest.equals('foo')); |
892 unittest.expect(o.kind, unittest.equals('foo')); | 892 unittest.expect(o.kind, unittest.equals('foo')); |
893 unittest.expect(o.majorVersion, unittest.equals('foo')); | 893 unittest.expect(o.majorVersion, unittest.equals('foo')); |
894 unittest.expect(o.minorVersion, unittest.equals('foo')); | 894 unittest.expect(o.minorVersion, unittest.equals('foo')); |
895 unittest.expect(o.name, unittest.equals('foo')); | 895 unittest.expect(o.name, unittest.equals('foo')); |
896 } | 896 } |
897 buildCounterBrowser--; | 897 buildCounterBrowser--; |
898 } | 898 } |
899 | 899 |
900 buildUnnamed2659() { | 900 buildUnnamed2413() { |
901 var o = new core.List<api.Browser>(); | 901 var o = new core.List<api.Browser>(); |
902 o.add(buildBrowser()); | 902 o.add(buildBrowser()); |
903 o.add(buildBrowser()); | 903 o.add(buildBrowser()); |
904 return o; | 904 return o; |
905 } | 905 } |
906 | 906 |
907 checkUnnamed2659(core.List<api.Browser> o) { | 907 checkUnnamed2413(core.List<api.Browser> o) { |
908 unittest.expect(o, unittest.hasLength(2)); | 908 unittest.expect(o, unittest.hasLength(2)); |
909 checkBrowser(o[0]); | 909 checkBrowser(o[0]); |
910 checkBrowser(o[1]); | 910 checkBrowser(o[1]); |
911 } | 911 } |
912 | 912 |
913 core.int buildCounterBrowsersListResponse = 0; | 913 core.int buildCounterBrowsersListResponse = 0; |
914 buildBrowsersListResponse() { | 914 buildBrowsersListResponse() { |
915 var o = new api.BrowsersListResponse(); | 915 var o = new api.BrowsersListResponse(); |
916 buildCounterBrowsersListResponse++; | 916 buildCounterBrowsersListResponse++; |
917 if (buildCounterBrowsersListResponse < 3) { | 917 if (buildCounterBrowsersListResponse < 3) { |
918 o.browsers = buildUnnamed2659(); | 918 o.browsers = buildUnnamed2413(); |
919 o.kind = "foo"; | 919 o.kind = "foo"; |
920 } | 920 } |
921 buildCounterBrowsersListResponse--; | 921 buildCounterBrowsersListResponse--; |
922 return o; | 922 return o; |
923 } | 923 } |
924 | 924 |
925 checkBrowsersListResponse(api.BrowsersListResponse o) { | 925 checkBrowsersListResponse(api.BrowsersListResponse o) { |
926 buildCounterBrowsersListResponse++; | 926 buildCounterBrowsersListResponse++; |
927 if (buildCounterBrowsersListResponse < 3) { | 927 if (buildCounterBrowsersListResponse < 3) { |
928 checkUnnamed2659(o.browsers); | 928 checkUnnamed2413(o.browsers); |
929 unittest.expect(o.kind, unittest.equals('foo')); | 929 unittest.expect(o.kind, unittest.equals('foo')); |
930 } | 930 } |
931 buildCounterBrowsersListResponse--; | 931 buildCounterBrowsersListResponse--; |
932 } | 932 } |
933 | 933 |
934 buildUnnamed2660() { | 934 buildUnnamed2414() { |
935 var o = new core.List<api.CreativeOptimizationConfiguration>(); | 935 var o = new core.List<api.CreativeOptimizationConfiguration>(); |
936 o.add(buildCreativeOptimizationConfiguration()); | 936 o.add(buildCreativeOptimizationConfiguration()); |
937 o.add(buildCreativeOptimizationConfiguration()); | 937 o.add(buildCreativeOptimizationConfiguration()); |
938 return o; | 938 return o; |
939 } | 939 } |
940 | 940 |
941 checkUnnamed2660(core.List<api.CreativeOptimizationConfiguration> o) { | 941 checkUnnamed2414(core.List<api.CreativeOptimizationConfiguration> o) { |
942 unittest.expect(o, unittest.hasLength(2)); | 942 unittest.expect(o, unittest.hasLength(2)); |
943 checkCreativeOptimizationConfiguration(o[0]); | 943 checkCreativeOptimizationConfiguration(o[0]); |
944 checkCreativeOptimizationConfiguration(o[1]); | 944 checkCreativeOptimizationConfiguration(o[1]); |
945 } | 945 } |
946 | 946 |
947 buildUnnamed2661() { | 947 buildUnnamed2415() { |
948 var o = new core.List<api.AudienceSegmentGroup>(); | 948 var o = new core.List<api.AudienceSegmentGroup>(); |
949 o.add(buildAudienceSegmentGroup()); | 949 o.add(buildAudienceSegmentGroup()); |
950 o.add(buildAudienceSegmentGroup()); | 950 o.add(buildAudienceSegmentGroup()); |
951 return o; | 951 return o; |
952 } | 952 } |
953 | 953 |
954 checkUnnamed2661(core.List<api.AudienceSegmentGroup> o) { | 954 checkUnnamed2415(core.List<api.AudienceSegmentGroup> o) { |
955 unittest.expect(o, unittest.hasLength(2)); | 955 unittest.expect(o, unittest.hasLength(2)); |
956 checkAudienceSegmentGroup(o[0]); | 956 checkAudienceSegmentGroup(o[0]); |
957 checkAudienceSegmentGroup(o[1]); | 957 checkAudienceSegmentGroup(o[1]); |
958 } | 958 } |
959 | 959 |
960 buildUnnamed2662() { | 960 buildUnnamed2416() { |
961 var o = new core.List<core.String>(); | 961 var o = new core.List<core.String>(); |
962 o.add("foo"); | 962 o.add("foo"); |
963 o.add("foo"); | 963 o.add("foo"); |
964 return o; | 964 return o; |
965 } | 965 } |
966 | 966 |
967 checkUnnamed2662(core.List<core.String> o) { | 967 checkUnnamed2416(core.List<core.String> o) { |
968 unittest.expect(o, unittest.hasLength(2)); | 968 unittest.expect(o, unittest.hasLength(2)); |
969 unittest.expect(o[0], unittest.equals('foo')); | 969 unittest.expect(o[0], unittest.equals('foo')); |
970 unittest.expect(o[1], unittest.equals('foo')); | 970 unittest.expect(o[1], unittest.equals('foo')); |
971 } | 971 } |
972 | 972 |
973 buildUnnamed2663() { | 973 buildUnnamed2417() { |
974 var o = new core.List<api.EventTagOverride>(); | 974 var o = new core.List<api.EventTagOverride>(); |
975 o.add(buildEventTagOverride()); | 975 o.add(buildEventTagOverride()); |
976 o.add(buildEventTagOverride()); | 976 o.add(buildEventTagOverride()); |
977 return o; | 977 return o; |
978 } | 978 } |
979 | 979 |
980 checkUnnamed2663(core.List<api.EventTagOverride> o) { | 980 checkUnnamed2417(core.List<api.EventTagOverride> o) { |
981 unittest.expect(o, unittest.hasLength(2)); | 981 unittest.expect(o, unittest.hasLength(2)); |
982 checkEventTagOverride(o[0]); | 982 checkEventTagOverride(o[0]); |
983 checkEventTagOverride(o[1]); | 983 checkEventTagOverride(o[1]); |
984 } | 984 } |
985 | 985 |
986 buildUnnamed2664() { | 986 buildUnnamed2418() { |
987 var o = new core.List<core.String>(); | 987 var o = new core.List<core.String>(); |
988 o.add("foo"); | 988 o.add("foo"); |
989 o.add("foo"); | 989 o.add("foo"); |
990 return o; | 990 return o; |
991 } | 991 } |
992 | 992 |
993 checkUnnamed2664(core.List<core.String> o) { | 993 checkUnnamed2418(core.List<core.String> o) { |
994 unittest.expect(o, unittest.hasLength(2)); | 994 unittest.expect(o, unittest.hasLength(2)); |
995 unittest.expect(o[0], unittest.equals('foo')); | 995 unittest.expect(o[0], unittest.equals('foo')); |
996 unittest.expect(o[1], unittest.equals('foo')); | 996 unittest.expect(o[1], unittest.equals('foo')); |
997 } | 997 } |
998 | 998 |
999 core.int buildCounterCampaign = 0; | 999 core.int buildCounterCampaign = 0; |
1000 buildCampaign() { | 1000 buildCampaign() { |
1001 var o = new api.Campaign(); | 1001 var o = new api.Campaign(); |
1002 buildCounterCampaign++; | 1002 buildCounterCampaign++; |
1003 if (buildCounterCampaign < 3) { | 1003 if (buildCounterCampaign < 3) { |
1004 o.accountId = "foo"; | 1004 o.accountId = "foo"; |
1005 o.additionalCreativeOptimizationConfigurations = buildUnnamed2660(); | 1005 o.additionalCreativeOptimizationConfigurations = buildUnnamed2414(); |
1006 o.advertiserGroupId = "foo"; | 1006 o.advertiserGroupId = "foo"; |
1007 o.advertiserId = "foo"; | 1007 o.advertiserId = "foo"; |
1008 o.advertiserIdDimensionValue = buildDimensionValue(); | 1008 o.advertiserIdDimensionValue = buildDimensionValue(); |
1009 o.archived = true; | 1009 o.archived = true; |
1010 o.audienceSegmentGroups = buildUnnamed2661(); | 1010 o.audienceSegmentGroups = buildUnnamed2415(); |
1011 o.billingInvoiceCode = "foo"; | 1011 o.billingInvoiceCode = "foo"; |
1012 o.clickThroughUrlSuffixProperties = buildClickThroughUrlSuffixProperties(); | 1012 o.clickThroughUrlSuffixProperties = buildClickThroughUrlSuffixProperties(); |
1013 o.comment = "foo"; | 1013 o.comment = "foo"; |
1014 o.createInfo = buildLastModifiedInfo(); | 1014 o.createInfo = buildLastModifiedInfo(); |
1015 o.creativeGroupIds = buildUnnamed2662(); | 1015 o.creativeGroupIds = buildUnnamed2416(); |
1016 o.creativeOptimizationConfiguration = buildCreativeOptimizationConfiguration
(); | 1016 o.creativeOptimizationConfiguration = buildCreativeOptimizationConfiguration
(); |
1017 o.defaultClickThroughEventTagProperties = buildDefaultClickThroughEventTagPr
operties(); | 1017 o.defaultClickThroughEventTagProperties = buildDefaultClickThroughEventTagPr
operties(); |
1018 o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 1018 o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
1019 o.eventTagOverrides = buildUnnamed2663(); | 1019 o.eventTagOverrides = buildUnnamed2417(); |
1020 o.externalId = "foo"; | 1020 o.externalId = "foo"; |
1021 o.id = "foo"; | 1021 o.id = "foo"; |
1022 o.idDimensionValue = buildDimensionValue(); | 1022 o.idDimensionValue = buildDimensionValue(); |
1023 o.kind = "foo"; | 1023 o.kind = "foo"; |
1024 o.lastModifiedInfo = buildLastModifiedInfo(); | 1024 o.lastModifiedInfo = buildLastModifiedInfo(); |
1025 o.lookbackConfiguration = buildLookbackConfiguration(); | 1025 o.lookbackConfiguration = buildLookbackConfiguration(); |
1026 o.name = "foo"; | 1026 o.name = "foo"; |
1027 o.nielsenOcrEnabled = true; | 1027 o.nielsenOcrEnabled = true; |
1028 o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 1028 o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
1029 o.subaccountId = "foo"; | 1029 o.subaccountId = "foo"; |
1030 o.traffickerEmails = buildUnnamed2664(); | 1030 o.traffickerEmails = buildUnnamed2418(); |
1031 } | 1031 } |
1032 buildCounterCampaign--; | 1032 buildCounterCampaign--; |
1033 return o; | 1033 return o; |
1034 } | 1034 } |
1035 | 1035 |
1036 checkCampaign(api.Campaign o) { | 1036 checkCampaign(api.Campaign o) { |
1037 buildCounterCampaign++; | 1037 buildCounterCampaign++; |
1038 if (buildCounterCampaign < 3) { | 1038 if (buildCounterCampaign < 3) { |
1039 unittest.expect(o.accountId, unittest.equals('foo')); | 1039 unittest.expect(o.accountId, unittest.equals('foo')); |
1040 checkUnnamed2660(o.additionalCreativeOptimizationConfigurations); | 1040 checkUnnamed2414(o.additionalCreativeOptimizationConfigurations); |
1041 unittest.expect(o.advertiserGroupId, unittest.equals('foo')); | 1041 unittest.expect(o.advertiserGroupId, unittest.equals('foo')); |
1042 unittest.expect(o.advertiserId, unittest.equals('foo')); | 1042 unittest.expect(o.advertiserId, unittest.equals('foo')); |
1043 checkDimensionValue(o.advertiserIdDimensionValue); | 1043 checkDimensionValue(o.advertiserIdDimensionValue); |
1044 unittest.expect(o.archived, unittest.isTrue); | 1044 unittest.expect(o.archived, unittest.isTrue); |
1045 checkUnnamed2661(o.audienceSegmentGroups); | 1045 checkUnnamed2415(o.audienceSegmentGroups); |
1046 unittest.expect(o.billingInvoiceCode, unittest.equals('foo')); | 1046 unittest.expect(o.billingInvoiceCode, unittest.equals('foo')); |
1047 checkClickThroughUrlSuffixProperties(o.clickThroughUrlSuffixProperties); | 1047 checkClickThroughUrlSuffixProperties(o.clickThroughUrlSuffixProperties); |
1048 unittest.expect(o.comment, unittest.equals('foo')); | 1048 unittest.expect(o.comment, unittest.equals('foo')); |
1049 checkLastModifiedInfo(o.createInfo); | 1049 checkLastModifiedInfo(o.createInfo); |
1050 checkUnnamed2662(o.creativeGroupIds); | 1050 checkUnnamed2416(o.creativeGroupIds); |
1051 checkCreativeOptimizationConfiguration(o.creativeOptimizationConfiguration); | 1051 checkCreativeOptimizationConfiguration(o.creativeOptimizationConfiguration); |
1052 checkDefaultClickThroughEventTagProperties(o.defaultClickThroughEventTagProp
erties); | 1052 checkDefaultClickThroughEventTagProperties(o.defaultClickThroughEventTagProp
erties); |
1053 unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T0
0:00:00"))); | 1053 unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T0
0:00:00"))); |
1054 checkUnnamed2663(o.eventTagOverrides); | 1054 checkUnnamed2417(o.eventTagOverrides); |
1055 unittest.expect(o.externalId, unittest.equals('foo')); | 1055 unittest.expect(o.externalId, unittest.equals('foo')); |
1056 unittest.expect(o.id, unittest.equals('foo')); | 1056 unittest.expect(o.id, unittest.equals('foo')); |
1057 checkDimensionValue(o.idDimensionValue); | 1057 checkDimensionValue(o.idDimensionValue); |
1058 unittest.expect(o.kind, unittest.equals('foo')); | 1058 unittest.expect(o.kind, unittest.equals('foo')); |
1059 checkLastModifiedInfo(o.lastModifiedInfo); | 1059 checkLastModifiedInfo(o.lastModifiedInfo); |
1060 checkLookbackConfiguration(o.lookbackConfiguration); | 1060 checkLookbackConfiguration(o.lookbackConfiguration); |
1061 unittest.expect(o.name, unittest.equals('foo')); | 1061 unittest.expect(o.name, unittest.equals('foo')); |
1062 unittest.expect(o.nielsenOcrEnabled, unittest.isTrue); | 1062 unittest.expect(o.nielsenOcrEnabled, unittest.isTrue); |
1063 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); | 1063 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); |
1064 unittest.expect(o.subaccountId, unittest.equals('foo')); | 1064 unittest.expect(o.subaccountId, unittest.equals('foo')); |
1065 checkUnnamed2664(o.traffickerEmails); | 1065 checkUnnamed2418(o.traffickerEmails); |
1066 } | 1066 } |
1067 buildCounterCampaign--; | 1067 buildCounterCampaign--; |
1068 } | 1068 } |
1069 | 1069 |
1070 core.int buildCounterCampaignCreativeAssociation = 0; | 1070 core.int buildCounterCampaignCreativeAssociation = 0; |
1071 buildCampaignCreativeAssociation() { | 1071 buildCampaignCreativeAssociation() { |
1072 var o = new api.CampaignCreativeAssociation(); | 1072 var o = new api.CampaignCreativeAssociation(); |
1073 buildCounterCampaignCreativeAssociation++; | 1073 buildCounterCampaignCreativeAssociation++; |
1074 if (buildCounterCampaignCreativeAssociation < 3) { | 1074 if (buildCounterCampaignCreativeAssociation < 3) { |
1075 o.creativeId = "foo"; | 1075 o.creativeId = "foo"; |
1076 o.kind = "foo"; | 1076 o.kind = "foo"; |
1077 } | 1077 } |
1078 buildCounterCampaignCreativeAssociation--; | 1078 buildCounterCampaignCreativeAssociation--; |
1079 return o; | 1079 return o; |
1080 } | 1080 } |
1081 | 1081 |
1082 checkCampaignCreativeAssociation(api.CampaignCreativeAssociation o) { | 1082 checkCampaignCreativeAssociation(api.CampaignCreativeAssociation o) { |
1083 buildCounterCampaignCreativeAssociation++; | 1083 buildCounterCampaignCreativeAssociation++; |
1084 if (buildCounterCampaignCreativeAssociation < 3) { | 1084 if (buildCounterCampaignCreativeAssociation < 3) { |
1085 unittest.expect(o.creativeId, unittest.equals('foo')); | 1085 unittest.expect(o.creativeId, unittest.equals('foo')); |
1086 unittest.expect(o.kind, unittest.equals('foo')); | 1086 unittest.expect(o.kind, unittest.equals('foo')); |
1087 } | 1087 } |
1088 buildCounterCampaignCreativeAssociation--; | 1088 buildCounterCampaignCreativeAssociation--; |
1089 } | 1089 } |
1090 | 1090 |
1091 buildUnnamed2665() { | 1091 buildUnnamed2419() { |
1092 var o = new core.List<api.CampaignCreativeAssociation>(); | 1092 var o = new core.List<api.CampaignCreativeAssociation>(); |
1093 o.add(buildCampaignCreativeAssociation()); | 1093 o.add(buildCampaignCreativeAssociation()); |
1094 o.add(buildCampaignCreativeAssociation()); | 1094 o.add(buildCampaignCreativeAssociation()); |
1095 return o; | 1095 return o; |
1096 } | 1096 } |
1097 | 1097 |
1098 checkUnnamed2665(core.List<api.CampaignCreativeAssociation> o) { | 1098 checkUnnamed2419(core.List<api.CampaignCreativeAssociation> o) { |
1099 unittest.expect(o, unittest.hasLength(2)); | 1099 unittest.expect(o, unittest.hasLength(2)); |
1100 checkCampaignCreativeAssociation(o[0]); | 1100 checkCampaignCreativeAssociation(o[0]); |
1101 checkCampaignCreativeAssociation(o[1]); | 1101 checkCampaignCreativeAssociation(o[1]); |
1102 } | 1102 } |
1103 | 1103 |
1104 core.int buildCounterCampaignCreativeAssociationsListResponse = 0; | 1104 core.int buildCounterCampaignCreativeAssociationsListResponse = 0; |
1105 buildCampaignCreativeAssociationsListResponse() { | 1105 buildCampaignCreativeAssociationsListResponse() { |
1106 var o = new api.CampaignCreativeAssociationsListResponse(); | 1106 var o = new api.CampaignCreativeAssociationsListResponse(); |
1107 buildCounterCampaignCreativeAssociationsListResponse++; | 1107 buildCounterCampaignCreativeAssociationsListResponse++; |
1108 if (buildCounterCampaignCreativeAssociationsListResponse < 3) { | 1108 if (buildCounterCampaignCreativeAssociationsListResponse < 3) { |
1109 o.campaignCreativeAssociations = buildUnnamed2665(); | 1109 o.campaignCreativeAssociations = buildUnnamed2419(); |
1110 o.kind = "foo"; | 1110 o.kind = "foo"; |
1111 o.nextPageToken = "foo"; | 1111 o.nextPageToken = "foo"; |
1112 } | 1112 } |
1113 buildCounterCampaignCreativeAssociationsListResponse--; | 1113 buildCounterCampaignCreativeAssociationsListResponse--; |
1114 return o; | 1114 return o; |
1115 } | 1115 } |
1116 | 1116 |
1117 checkCampaignCreativeAssociationsListResponse(api.CampaignCreativeAssociationsLi
stResponse o) { | 1117 checkCampaignCreativeAssociationsListResponse(api.CampaignCreativeAssociationsLi
stResponse o) { |
1118 buildCounterCampaignCreativeAssociationsListResponse++; | 1118 buildCounterCampaignCreativeAssociationsListResponse++; |
1119 if (buildCounterCampaignCreativeAssociationsListResponse < 3) { | 1119 if (buildCounterCampaignCreativeAssociationsListResponse < 3) { |
1120 checkUnnamed2665(o.campaignCreativeAssociations); | 1120 checkUnnamed2419(o.campaignCreativeAssociations); |
1121 unittest.expect(o.kind, unittest.equals('foo')); | 1121 unittest.expect(o.kind, unittest.equals('foo')); |
1122 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1122 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1123 } | 1123 } |
1124 buildCounterCampaignCreativeAssociationsListResponse--; | 1124 buildCounterCampaignCreativeAssociationsListResponse--; |
1125 } | 1125 } |
1126 | 1126 |
1127 buildUnnamed2666() { | 1127 buildUnnamed2420() { |
1128 var o = new core.List<api.Campaign>(); | 1128 var o = new core.List<api.Campaign>(); |
1129 o.add(buildCampaign()); | 1129 o.add(buildCampaign()); |
1130 o.add(buildCampaign()); | 1130 o.add(buildCampaign()); |
1131 return o; | 1131 return o; |
1132 } | 1132 } |
1133 | 1133 |
1134 checkUnnamed2666(core.List<api.Campaign> o) { | 1134 checkUnnamed2420(core.List<api.Campaign> o) { |
1135 unittest.expect(o, unittest.hasLength(2)); | 1135 unittest.expect(o, unittest.hasLength(2)); |
1136 checkCampaign(o[0]); | 1136 checkCampaign(o[0]); |
1137 checkCampaign(o[1]); | 1137 checkCampaign(o[1]); |
1138 } | 1138 } |
1139 | 1139 |
1140 core.int buildCounterCampaignsListResponse = 0; | 1140 core.int buildCounterCampaignsListResponse = 0; |
1141 buildCampaignsListResponse() { | 1141 buildCampaignsListResponse() { |
1142 var o = new api.CampaignsListResponse(); | 1142 var o = new api.CampaignsListResponse(); |
1143 buildCounterCampaignsListResponse++; | 1143 buildCounterCampaignsListResponse++; |
1144 if (buildCounterCampaignsListResponse < 3) { | 1144 if (buildCounterCampaignsListResponse < 3) { |
1145 o.campaigns = buildUnnamed2666(); | 1145 o.campaigns = buildUnnamed2420(); |
1146 o.kind = "foo"; | 1146 o.kind = "foo"; |
1147 o.nextPageToken = "foo"; | 1147 o.nextPageToken = "foo"; |
1148 } | 1148 } |
1149 buildCounterCampaignsListResponse--; | 1149 buildCounterCampaignsListResponse--; |
1150 return o; | 1150 return o; |
1151 } | 1151 } |
1152 | 1152 |
1153 checkCampaignsListResponse(api.CampaignsListResponse o) { | 1153 checkCampaignsListResponse(api.CampaignsListResponse o) { |
1154 buildCounterCampaignsListResponse++; | 1154 buildCounterCampaignsListResponse++; |
1155 if (buildCounterCampaignsListResponse < 3) { | 1155 if (buildCounterCampaignsListResponse < 3) { |
1156 checkUnnamed2666(o.campaigns); | 1156 checkUnnamed2420(o.campaigns); |
1157 unittest.expect(o.kind, unittest.equals('foo')); | 1157 unittest.expect(o.kind, unittest.equals('foo')); |
1158 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1158 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1159 } | 1159 } |
1160 buildCounterCampaignsListResponse--; | 1160 buildCounterCampaignsListResponse--; |
1161 } | 1161 } |
1162 | 1162 |
1163 core.int buildCounterChangeLog = 0; | 1163 core.int buildCounterChangeLog = 0; |
1164 buildChangeLog() { | 1164 buildChangeLog() { |
1165 var o = new api.ChangeLog(); | 1165 var o = new api.ChangeLog(); |
1166 buildCounterChangeLog++; | 1166 buildCounterChangeLog++; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1198 unittest.expect(o.objectType, unittest.equals('foo')); | 1198 unittest.expect(o.objectType, unittest.equals('foo')); |
1199 unittest.expect(o.oldValue, unittest.equals('foo')); | 1199 unittest.expect(o.oldValue, unittest.equals('foo')); |
1200 unittest.expect(o.subaccountId, unittest.equals('foo')); | 1200 unittest.expect(o.subaccountId, unittest.equals('foo')); |
1201 unittest.expect(o.transactionId, unittest.equals('foo')); | 1201 unittest.expect(o.transactionId, unittest.equals('foo')); |
1202 unittest.expect(o.userProfileId, unittest.equals('foo')); | 1202 unittest.expect(o.userProfileId, unittest.equals('foo')); |
1203 unittest.expect(o.userProfileName, unittest.equals('foo')); | 1203 unittest.expect(o.userProfileName, unittest.equals('foo')); |
1204 } | 1204 } |
1205 buildCounterChangeLog--; | 1205 buildCounterChangeLog--; |
1206 } | 1206 } |
1207 | 1207 |
1208 buildUnnamed2667() { | 1208 buildUnnamed2421() { |
1209 var o = new core.List<api.ChangeLog>(); | 1209 var o = new core.List<api.ChangeLog>(); |
1210 o.add(buildChangeLog()); | 1210 o.add(buildChangeLog()); |
1211 o.add(buildChangeLog()); | 1211 o.add(buildChangeLog()); |
1212 return o; | 1212 return o; |
1213 } | 1213 } |
1214 | 1214 |
1215 checkUnnamed2667(core.List<api.ChangeLog> o) { | 1215 checkUnnamed2421(core.List<api.ChangeLog> o) { |
1216 unittest.expect(o, unittest.hasLength(2)); | 1216 unittest.expect(o, unittest.hasLength(2)); |
1217 checkChangeLog(o[0]); | 1217 checkChangeLog(o[0]); |
1218 checkChangeLog(o[1]); | 1218 checkChangeLog(o[1]); |
1219 } | 1219 } |
1220 | 1220 |
1221 core.int buildCounterChangeLogsListResponse = 0; | 1221 core.int buildCounterChangeLogsListResponse = 0; |
1222 buildChangeLogsListResponse() { | 1222 buildChangeLogsListResponse() { |
1223 var o = new api.ChangeLogsListResponse(); | 1223 var o = new api.ChangeLogsListResponse(); |
1224 buildCounterChangeLogsListResponse++; | 1224 buildCounterChangeLogsListResponse++; |
1225 if (buildCounterChangeLogsListResponse < 3) { | 1225 if (buildCounterChangeLogsListResponse < 3) { |
1226 o.changeLogs = buildUnnamed2667(); | 1226 o.changeLogs = buildUnnamed2421(); |
1227 o.kind = "foo"; | 1227 o.kind = "foo"; |
1228 o.nextPageToken = "foo"; | 1228 o.nextPageToken = "foo"; |
1229 } | 1229 } |
1230 buildCounterChangeLogsListResponse--; | 1230 buildCounterChangeLogsListResponse--; |
1231 return o; | 1231 return o; |
1232 } | 1232 } |
1233 | 1233 |
1234 checkChangeLogsListResponse(api.ChangeLogsListResponse o) { | 1234 checkChangeLogsListResponse(api.ChangeLogsListResponse o) { |
1235 buildCounterChangeLogsListResponse++; | 1235 buildCounterChangeLogsListResponse++; |
1236 if (buildCounterChangeLogsListResponse < 3) { | 1236 if (buildCounterChangeLogsListResponse < 3) { |
1237 checkUnnamed2667(o.changeLogs); | 1237 checkUnnamed2421(o.changeLogs); |
1238 unittest.expect(o.kind, unittest.equals('foo')); | 1238 unittest.expect(o.kind, unittest.equals('foo')); |
1239 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1239 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1240 } | 1240 } |
1241 buildCounterChangeLogsListResponse--; | 1241 buildCounterChangeLogsListResponse--; |
1242 } | 1242 } |
1243 | 1243 |
1244 buildUnnamed2668() { | 1244 buildUnnamed2422() { |
1245 var o = new core.List<api.City>(); | 1245 var o = new core.List<api.City>(); |
1246 o.add(buildCity()); | 1246 o.add(buildCity()); |
1247 o.add(buildCity()); | 1247 o.add(buildCity()); |
1248 return o; | 1248 return o; |
1249 } | 1249 } |
1250 | 1250 |
1251 checkUnnamed2668(core.List<api.City> o) { | 1251 checkUnnamed2422(core.List<api.City> o) { |
1252 unittest.expect(o, unittest.hasLength(2)); | 1252 unittest.expect(o, unittest.hasLength(2)); |
1253 checkCity(o[0]); | 1253 checkCity(o[0]); |
1254 checkCity(o[1]); | 1254 checkCity(o[1]); |
1255 } | 1255 } |
1256 | 1256 |
1257 core.int buildCounterCitiesListResponse = 0; | 1257 core.int buildCounterCitiesListResponse = 0; |
1258 buildCitiesListResponse() { | 1258 buildCitiesListResponse() { |
1259 var o = new api.CitiesListResponse(); | 1259 var o = new api.CitiesListResponse(); |
1260 buildCounterCitiesListResponse++; | 1260 buildCounterCitiesListResponse++; |
1261 if (buildCounterCitiesListResponse < 3) { | 1261 if (buildCounterCitiesListResponse < 3) { |
1262 o.cities = buildUnnamed2668(); | 1262 o.cities = buildUnnamed2422(); |
1263 o.kind = "foo"; | 1263 o.kind = "foo"; |
1264 } | 1264 } |
1265 buildCounterCitiesListResponse--; | 1265 buildCounterCitiesListResponse--; |
1266 return o; | 1266 return o; |
1267 } | 1267 } |
1268 | 1268 |
1269 checkCitiesListResponse(api.CitiesListResponse o) { | 1269 checkCitiesListResponse(api.CitiesListResponse o) { |
1270 buildCounterCitiesListResponse++; | 1270 buildCounterCitiesListResponse++; |
1271 if (buildCounterCitiesListResponse < 3) { | 1271 if (buildCounterCitiesListResponse < 3) { |
1272 checkUnnamed2668(o.cities); | 1272 checkUnnamed2422(o.cities); |
1273 unittest.expect(o.kind, unittest.equals('foo')); | 1273 unittest.expect(o.kind, unittest.equals('foo')); |
1274 } | 1274 } |
1275 buildCounterCitiesListResponse--; | 1275 buildCounterCitiesListResponse--; |
1276 } | 1276 } |
1277 | 1277 |
1278 core.int buildCounterCity = 0; | 1278 core.int buildCounterCity = 0; |
1279 buildCity() { | 1279 buildCity() { |
1280 var o = new api.City(); | 1280 var o = new api.City(); |
1281 buildCounterCity++; | 1281 buildCounterCity++; |
1282 if (buildCounterCity < 3) { | 1282 if (buildCounterCity < 3) { |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1393 | 1393 |
1394 checkCompanionClickThroughOverride(api.CompanionClickThroughOverride o) { | 1394 checkCompanionClickThroughOverride(api.CompanionClickThroughOverride o) { |
1395 buildCounterCompanionClickThroughOverride++; | 1395 buildCounterCompanionClickThroughOverride++; |
1396 if (buildCounterCompanionClickThroughOverride < 3) { | 1396 if (buildCounterCompanionClickThroughOverride < 3) { |
1397 checkClickThroughUrl(o.clickThroughUrl); | 1397 checkClickThroughUrl(o.clickThroughUrl); |
1398 unittest.expect(o.creativeId, unittest.equals('foo')); | 1398 unittest.expect(o.creativeId, unittest.equals('foo')); |
1399 } | 1399 } |
1400 buildCounterCompanionClickThroughOverride--; | 1400 buildCounterCompanionClickThroughOverride--; |
1401 } | 1401 } |
1402 | 1402 |
| 1403 buildUnnamed2423() { |
| 1404 var o = new core.List<api.Size>(); |
| 1405 o.add(buildSize()); |
| 1406 o.add(buildSize()); |
| 1407 return o; |
| 1408 } |
| 1409 |
| 1410 checkUnnamed2423(core.List<api.Size> o) { |
| 1411 unittest.expect(o, unittest.hasLength(2)); |
| 1412 checkSize(o[0]); |
| 1413 checkSize(o[1]); |
| 1414 } |
| 1415 |
| 1416 core.int buildCounterCompanionSetting = 0; |
| 1417 buildCompanionSetting() { |
| 1418 var o = new api.CompanionSetting(); |
| 1419 buildCounterCompanionSetting++; |
| 1420 if (buildCounterCompanionSetting < 3) { |
| 1421 o.companionsDisabled = true; |
| 1422 o.enabledSizes = buildUnnamed2423(); |
| 1423 o.imageOnly = true; |
| 1424 o.kind = "foo"; |
| 1425 } |
| 1426 buildCounterCompanionSetting--; |
| 1427 return o; |
| 1428 } |
| 1429 |
| 1430 checkCompanionSetting(api.CompanionSetting o) { |
| 1431 buildCounterCompanionSetting++; |
| 1432 if (buildCounterCompanionSetting < 3) { |
| 1433 unittest.expect(o.companionsDisabled, unittest.isTrue); |
| 1434 checkUnnamed2423(o.enabledSizes); |
| 1435 unittest.expect(o.imageOnly, unittest.isTrue); |
| 1436 unittest.expect(o.kind, unittest.equals('foo')); |
| 1437 } |
| 1438 buildCounterCompanionSetting--; |
| 1439 } |
| 1440 |
1403 core.int buildCounterCompatibleFields = 0; | 1441 core.int buildCounterCompatibleFields = 0; |
1404 buildCompatibleFields() { | 1442 buildCompatibleFields() { |
1405 var o = new api.CompatibleFields(); | 1443 var o = new api.CompatibleFields(); |
1406 buildCounterCompatibleFields++; | 1444 buildCounterCompatibleFields++; |
1407 if (buildCounterCompatibleFields < 3) { | 1445 if (buildCounterCompatibleFields < 3) { |
1408 o.crossDimensionReachReportCompatibleFields = buildCrossDimensionReachReport
CompatibleFields(); | 1446 o.crossDimensionReachReportCompatibleFields = buildCrossDimensionReachReport
CompatibleFields(); |
1409 o.floodlightReportCompatibleFields = buildFloodlightReportCompatibleFields()
; | 1447 o.floodlightReportCompatibleFields = buildFloodlightReportCompatibleFields()
; |
1410 o.kind = "foo"; | 1448 o.kind = "foo"; |
1411 o.pathToConversionReportCompatibleFields = buildPathToConversionReportCompat
ibleFields(); | 1449 o.pathToConversionReportCompatibleFields = buildPathToConversionReportCompat
ibleFields(); |
1412 o.reachReportCompatibleFields = buildReachReportCompatibleFields(); | 1450 o.reachReportCompatibleFields = buildReachReportCompatibleFields(); |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1445 checkConnectionType(api.ConnectionType o) { | 1483 checkConnectionType(api.ConnectionType o) { |
1446 buildCounterConnectionType++; | 1484 buildCounterConnectionType++; |
1447 if (buildCounterConnectionType < 3) { | 1485 if (buildCounterConnectionType < 3) { |
1448 unittest.expect(o.id, unittest.equals('foo')); | 1486 unittest.expect(o.id, unittest.equals('foo')); |
1449 unittest.expect(o.kind, unittest.equals('foo')); | 1487 unittest.expect(o.kind, unittest.equals('foo')); |
1450 unittest.expect(o.name, unittest.equals('foo')); | 1488 unittest.expect(o.name, unittest.equals('foo')); |
1451 } | 1489 } |
1452 buildCounterConnectionType--; | 1490 buildCounterConnectionType--; |
1453 } | 1491 } |
1454 | 1492 |
1455 buildUnnamed2669() { | 1493 buildUnnamed2424() { |
1456 var o = new core.List<api.ConnectionType>(); | 1494 var o = new core.List<api.ConnectionType>(); |
1457 o.add(buildConnectionType()); | 1495 o.add(buildConnectionType()); |
1458 o.add(buildConnectionType()); | 1496 o.add(buildConnectionType()); |
1459 return o; | 1497 return o; |
1460 } | 1498 } |
1461 | 1499 |
1462 checkUnnamed2669(core.List<api.ConnectionType> o) { | 1500 checkUnnamed2424(core.List<api.ConnectionType> o) { |
1463 unittest.expect(o, unittest.hasLength(2)); | 1501 unittest.expect(o, unittest.hasLength(2)); |
1464 checkConnectionType(o[0]); | 1502 checkConnectionType(o[0]); |
1465 checkConnectionType(o[1]); | 1503 checkConnectionType(o[1]); |
1466 } | 1504 } |
1467 | 1505 |
1468 core.int buildCounterConnectionTypesListResponse = 0; | 1506 core.int buildCounterConnectionTypesListResponse = 0; |
1469 buildConnectionTypesListResponse() { | 1507 buildConnectionTypesListResponse() { |
1470 var o = new api.ConnectionTypesListResponse(); | 1508 var o = new api.ConnectionTypesListResponse(); |
1471 buildCounterConnectionTypesListResponse++; | 1509 buildCounterConnectionTypesListResponse++; |
1472 if (buildCounterConnectionTypesListResponse < 3) { | 1510 if (buildCounterConnectionTypesListResponse < 3) { |
1473 o.connectionTypes = buildUnnamed2669(); | 1511 o.connectionTypes = buildUnnamed2424(); |
1474 o.kind = "foo"; | 1512 o.kind = "foo"; |
1475 } | 1513 } |
1476 buildCounterConnectionTypesListResponse--; | 1514 buildCounterConnectionTypesListResponse--; |
1477 return o; | 1515 return o; |
1478 } | 1516 } |
1479 | 1517 |
1480 checkConnectionTypesListResponse(api.ConnectionTypesListResponse o) { | 1518 checkConnectionTypesListResponse(api.ConnectionTypesListResponse o) { |
1481 buildCounterConnectionTypesListResponse++; | 1519 buildCounterConnectionTypesListResponse++; |
1482 if (buildCounterConnectionTypesListResponse < 3) { | 1520 if (buildCounterConnectionTypesListResponse < 3) { |
1483 checkUnnamed2669(o.connectionTypes); | 1521 checkUnnamed2424(o.connectionTypes); |
1484 unittest.expect(o.kind, unittest.equals('foo')); | 1522 unittest.expect(o.kind, unittest.equals('foo')); |
1485 } | 1523 } |
1486 buildCounterConnectionTypesListResponse--; | 1524 buildCounterConnectionTypesListResponse--; |
1487 } | 1525 } |
1488 | 1526 |
1489 buildUnnamed2670() { | 1527 buildUnnamed2425() { |
1490 var o = new core.List<api.ContentCategory>(); | 1528 var o = new core.List<api.ContentCategory>(); |
1491 o.add(buildContentCategory()); | 1529 o.add(buildContentCategory()); |
1492 o.add(buildContentCategory()); | 1530 o.add(buildContentCategory()); |
1493 return o; | 1531 return o; |
1494 } | 1532 } |
1495 | 1533 |
1496 checkUnnamed2670(core.List<api.ContentCategory> o) { | 1534 checkUnnamed2425(core.List<api.ContentCategory> o) { |
1497 unittest.expect(o, unittest.hasLength(2)); | 1535 unittest.expect(o, unittest.hasLength(2)); |
1498 checkContentCategory(o[0]); | 1536 checkContentCategory(o[0]); |
1499 checkContentCategory(o[1]); | 1537 checkContentCategory(o[1]); |
1500 } | 1538 } |
1501 | 1539 |
1502 core.int buildCounterContentCategoriesListResponse = 0; | 1540 core.int buildCounterContentCategoriesListResponse = 0; |
1503 buildContentCategoriesListResponse() { | 1541 buildContentCategoriesListResponse() { |
1504 var o = new api.ContentCategoriesListResponse(); | 1542 var o = new api.ContentCategoriesListResponse(); |
1505 buildCounterContentCategoriesListResponse++; | 1543 buildCounterContentCategoriesListResponse++; |
1506 if (buildCounterContentCategoriesListResponse < 3) { | 1544 if (buildCounterContentCategoriesListResponse < 3) { |
1507 o.contentCategories = buildUnnamed2670(); | 1545 o.contentCategories = buildUnnamed2425(); |
1508 o.kind = "foo"; | 1546 o.kind = "foo"; |
1509 o.nextPageToken = "foo"; | 1547 o.nextPageToken = "foo"; |
1510 } | 1548 } |
1511 buildCounterContentCategoriesListResponse--; | 1549 buildCounterContentCategoriesListResponse--; |
1512 return o; | 1550 return o; |
1513 } | 1551 } |
1514 | 1552 |
1515 checkContentCategoriesListResponse(api.ContentCategoriesListResponse o) { | 1553 checkContentCategoriesListResponse(api.ContentCategoriesListResponse o) { |
1516 buildCounterContentCategoriesListResponse++; | 1554 buildCounterContentCategoriesListResponse++; |
1517 if (buildCounterContentCategoriesListResponse < 3) { | 1555 if (buildCounterContentCategoriesListResponse < 3) { |
1518 checkUnnamed2670(o.contentCategories); | 1556 checkUnnamed2425(o.contentCategories); |
1519 unittest.expect(o.kind, unittest.equals('foo')); | 1557 unittest.expect(o.kind, unittest.equals('foo')); |
1520 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1558 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1521 } | 1559 } |
1522 buildCounterContentCategoriesListResponse--; | 1560 buildCounterContentCategoriesListResponse--; |
1523 } | 1561 } |
1524 | 1562 |
1525 core.int buildCounterContentCategory = 0; | 1563 core.int buildCounterContentCategory = 0; |
1526 buildContentCategory() { | 1564 buildContentCategory() { |
1527 var o = new api.ContentCategory(); | 1565 var o = new api.ContentCategory(); |
1528 buildCounterContentCategory++; | 1566 buildCounterContentCategory++; |
(...skipping 11 matching lines...) Expand all Loading... |
1540 buildCounterContentCategory++; | 1578 buildCounterContentCategory++; |
1541 if (buildCounterContentCategory < 3) { | 1579 if (buildCounterContentCategory < 3) { |
1542 unittest.expect(o.accountId, unittest.equals('foo')); | 1580 unittest.expect(o.accountId, unittest.equals('foo')); |
1543 unittest.expect(o.id, unittest.equals('foo')); | 1581 unittest.expect(o.id, unittest.equals('foo')); |
1544 unittest.expect(o.kind, unittest.equals('foo')); | 1582 unittest.expect(o.kind, unittest.equals('foo')); |
1545 unittest.expect(o.name, unittest.equals('foo')); | 1583 unittest.expect(o.name, unittest.equals('foo')); |
1546 } | 1584 } |
1547 buildCounterContentCategory--; | 1585 buildCounterContentCategory--; |
1548 } | 1586 } |
1549 | 1587 |
1550 buildUnnamed2671() { | 1588 buildUnnamed2426() { |
1551 var o = new core.List<api.CustomFloodlightVariable>(); | 1589 var o = new core.List<api.CustomFloodlightVariable>(); |
1552 o.add(buildCustomFloodlightVariable()); | 1590 o.add(buildCustomFloodlightVariable()); |
1553 o.add(buildCustomFloodlightVariable()); | 1591 o.add(buildCustomFloodlightVariable()); |
1554 return o; | 1592 return o; |
1555 } | 1593 } |
1556 | 1594 |
1557 checkUnnamed2671(core.List<api.CustomFloodlightVariable> o) { | 1595 checkUnnamed2426(core.List<api.CustomFloodlightVariable> o) { |
1558 unittest.expect(o, unittest.hasLength(2)); | 1596 unittest.expect(o, unittest.hasLength(2)); |
1559 checkCustomFloodlightVariable(o[0]); | 1597 checkCustomFloodlightVariable(o[0]); |
1560 checkCustomFloodlightVariable(o[1]); | 1598 checkCustomFloodlightVariable(o[1]); |
1561 } | 1599 } |
1562 | 1600 |
1563 buildUnnamed2672() { | 1601 buildUnnamed2427() { |
1564 var o = new core.List<core.String>(); | 1602 var o = new core.List<core.String>(); |
1565 o.add("foo"); | 1603 o.add("foo"); |
1566 o.add("foo"); | 1604 o.add("foo"); |
1567 return o; | 1605 return o; |
1568 } | 1606 } |
1569 | 1607 |
1570 checkUnnamed2672(core.List<core.String> o) { | 1608 checkUnnamed2427(core.List<core.String> o) { |
1571 unittest.expect(o, unittest.hasLength(2)); | 1609 unittest.expect(o, unittest.hasLength(2)); |
1572 unittest.expect(o[0], unittest.equals('foo')); | 1610 unittest.expect(o[0], unittest.equals('foo')); |
1573 unittest.expect(o[1], unittest.equals('foo')); | 1611 unittest.expect(o[1], unittest.equals('foo')); |
1574 } | 1612 } |
1575 | 1613 |
1576 core.int buildCounterConversion = 0; | 1614 core.int buildCounterConversion = 0; |
1577 buildConversion() { | 1615 buildConversion() { |
1578 var o = new api.Conversion(); | 1616 var o = new api.Conversion(); |
1579 buildCounterConversion++; | 1617 buildCounterConversion++; |
1580 if (buildCounterConversion < 3) { | 1618 if (buildCounterConversion < 3) { |
1581 o.childDirectedTreatment = true; | 1619 o.childDirectedTreatment = true; |
1582 o.customVariables = buildUnnamed2671(); | 1620 o.customVariables = buildUnnamed2426(); |
1583 o.encryptedUserId = "foo"; | 1621 o.encryptedUserId = "foo"; |
1584 o.encryptedUserIdCandidates = buildUnnamed2672(); | 1622 o.encryptedUserIdCandidates = buildUnnamed2427(); |
1585 o.floodlightActivityId = "foo"; | 1623 o.floodlightActivityId = "foo"; |
1586 o.floodlightConfigurationId = "foo"; | 1624 o.floodlightConfigurationId = "foo"; |
1587 o.kind = "foo"; | 1625 o.kind = "foo"; |
1588 o.limitAdTracking = true; | 1626 o.limitAdTracking = true; |
1589 o.mobileDeviceId = "foo"; | 1627 o.mobileDeviceId = "foo"; |
1590 o.ordinal = "foo"; | 1628 o.ordinal = "foo"; |
1591 o.quantity = "foo"; | 1629 o.quantity = "foo"; |
1592 o.timestampMicros = "foo"; | 1630 o.timestampMicros = "foo"; |
1593 o.value = 42.0; | 1631 o.value = 42.0; |
1594 } | 1632 } |
1595 buildCounterConversion--; | 1633 buildCounterConversion--; |
1596 return o; | 1634 return o; |
1597 } | 1635 } |
1598 | 1636 |
1599 checkConversion(api.Conversion o) { | 1637 checkConversion(api.Conversion o) { |
1600 buildCounterConversion++; | 1638 buildCounterConversion++; |
1601 if (buildCounterConversion < 3) { | 1639 if (buildCounterConversion < 3) { |
1602 unittest.expect(o.childDirectedTreatment, unittest.isTrue); | 1640 unittest.expect(o.childDirectedTreatment, unittest.isTrue); |
1603 checkUnnamed2671(o.customVariables); | 1641 checkUnnamed2426(o.customVariables); |
1604 unittest.expect(o.encryptedUserId, unittest.equals('foo')); | 1642 unittest.expect(o.encryptedUserId, unittest.equals('foo')); |
1605 checkUnnamed2672(o.encryptedUserIdCandidates); | 1643 checkUnnamed2427(o.encryptedUserIdCandidates); |
1606 unittest.expect(o.floodlightActivityId, unittest.equals('foo')); | 1644 unittest.expect(o.floodlightActivityId, unittest.equals('foo')); |
1607 unittest.expect(o.floodlightConfigurationId, unittest.equals('foo')); | 1645 unittest.expect(o.floodlightConfigurationId, unittest.equals('foo')); |
1608 unittest.expect(o.kind, unittest.equals('foo')); | 1646 unittest.expect(o.kind, unittest.equals('foo')); |
1609 unittest.expect(o.limitAdTracking, unittest.isTrue); | 1647 unittest.expect(o.limitAdTracking, unittest.isTrue); |
1610 unittest.expect(o.mobileDeviceId, unittest.equals('foo')); | 1648 unittest.expect(o.mobileDeviceId, unittest.equals('foo')); |
1611 unittest.expect(o.ordinal, unittest.equals('foo')); | 1649 unittest.expect(o.ordinal, unittest.equals('foo')); |
1612 unittest.expect(o.quantity, unittest.equals('foo')); | 1650 unittest.expect(o.quantity, unittest.equals('foo')); |
1613 unittest.expect(o.timestampMicros, unittest.equals('foo')); | 1651 unittest.expect(o.timestampMicros, unittest.equals('foo')); |
1614 unittest.expect(o.value, unittest.equals(42.0)); | 1652 unittest.expect(o.value, unittest.equals(42.0)); |
1615 } | 1653 } |
(...skipping 16 matching lines...) Expand all Loading... |
1632 checkConversionError(api.ConversionError o) { | 1670 checkConversionError(api.ConversionError o) { |
1633 buildCounterConversionError++; | 1671 buildCounterConversionError++; |
1634 if (buildCounterConversionError < 3) { | 1672 if (buildCounterConversionError < 3) { |
1635 unittest.expect(o.code, unittest.equals('foo')); | 1673 unittest.expect(o.code, unittest.equals('foo')); |
1636 unittest.expect(o.kind, unittest.equals('foo')); | 1674 unittest.expect(o.kind, unittest.equals('foo')); |
1637 unittest.expect(o.message, unittest.equals('foo')); | 1675 unittest.expect(o.message, unittest.equals('foo')); |
1638 } | 1676 } |
1639 buildCounterConversionError--; | 1677 buildCounterConversionError--; |
1640 } | 1678 } |
1641 | 1679 |
1642 buildUnnamed2673() { | 1680 buildUnnamed2428() { |
1643 var o = new core.List<api.ConversionError>(); | 1681 var o = new core.List<api.ConversionError>(); |
1644 o.add(buildConversionError()); | 1682 o.add(buildConversionError()); |
1645 o.add(buildConversionError()); | 1683 o.add(buildConversionError()); |
1646 return o; | 1684 return o; |
1647 } | 1685 } |
1648 | 1686 |
1649 checkUnnamed2673(core.List<api.ConversionError> o) { | 1687 checkUnnamed2428(core.List<api.ConversionError> o) { |
1650 unittest.expect(o, unittest.hasLength(2)); | 1688 unittest.expect(o, unittest.hasLength(2)); |
1651 checkConversionError(o[0]); | 1689 checkConversionError(o[0]); |
1652 checkConversionError(o[1]); | 1690 checkConversionError(o[1]); |
1653 } | 1691 } |
1654 | 1692 |
1655 core.int buildCounterConversionStatus = 0; | 1693 core.int buildCounterConversionStatus = 0; |
1656 buildConversionStatus() { | 1694 buildConversionStatus() { |
1657 var o = new api.ConversionStatus(); | 1695 var o = new api.ConversionStatus(); |
1658 buildCounterConversionStatus++; | 1696 buildCounterConversionStatus++; |
1659 if (buildCounterConversionStatus < 3) { | 1697 if (buildCounterConversionStatus < 3) { |
1660 o.conversion = buildConversion(); | 1698 o.conversion = buildConversion(); |
1661 o.errors = buildUnnamed2673(); | 1699 o.errors = buildUnnamed2428(); |
1662 o.kind = "foo"; | 1700 o.kind = "foo"; |
1663 } | 1701 } |
1664 buildCounterConversionStatus--; | 1702 buildCounterConversionStatus--; |
1665 return o; | 1703 return o; |
1666 } | 1704 } |
1667 | 1705 |
1668 checkConversionStatus(api.ConversionStatus o) { | 1706 checkConversionStatus(api.ConversionStatus o) { |
1669 buildCounterConversionStatus++; | 1707 buildCounterConversionStatus++; |
1670 if (buildCounterConversionStatus < 3) { | 1708 if (buildCounterConversionStatus < 3) { |
1671 checkConversion(o.conversion); | 1709 checkConversion(o.conversion); |
1672 checkUnnamed2673(o.errors); | 1710 checkUnnamed2428(o.errors); |
1673 unittest.expect(o.kind, unittest.equals('foo')); | 1711 unittest.expect(o.kind, unittest.equals('foo')); |
1674 } | 1712 } |
1675 buildCounterConversionStatus--; | 1713 buildCounterConversionStatus--; |
1676 } | 1714 } |
1677 | 1715 |
1678 buildUnnamed2674() { | 1716 buildUnnamed2429() { |
1679 var o = new core.List<api.Conversion>(); | 1717 var o = new core.List<api.Conversion>(); |
1680 o.add(buildConversion()); | 1718 o.add(buildConversion()); |
1681 o.add(buildConversion()); | 1719 o.add(buildConversion()); |
1682 return o; | 1720 return o; |
1683 } | 1721 } |
1684 | 1722 |
1685 checkUnnamed2674(core.List<api.Conversion> o) { | 1723 checkUnnamed2429(core.List<api.Conversion> o) { |
1686 unittest.expect(o, unittest.hasLength(2)); | 1724 unittest.expect(o, unittest.hasLength(2)); |
1687 checkConversion(o[0]); | 1725 checkConversion(o[0]); |
1688 checkConversion(o[1]); | 1726 checkConversion(o[1]); |
1689 } | 1727 } |
1690 | 1728 |
1691 core.int buildCounterConversionsBatchInsertRequest = 0; | 1729 core.int buildCounterConversionsBatchInsertRequest = 0; |
1692 buildConversionsBatchInsertRequest() { | 1730 buildConversionsBatchInsertRequest() { |
1693 var o = new api.ConversionsBatchInsertRequest(); | 1731 var o = new api.ConversionsBatchInsertRequest(); |
1694 buildCounterConversionsBatchInsertRequest++; | 1732 buildCounterConversionsBatchInsertRequest++; |
1695 if (buildCounterConversionsBatchInsertRequest < 3) { | 1733 if (buildCounterConversionsBatchInsertRequest < 3) { |
1696 o.conversions = buildUnnamed2674(); | 1734 o.conversions = buildUnnamed2429(); |
1697 o.encryptionInfo = buildEncryptionInfo(); | 1735 o.encryptionInfo = buildEncryptionInfo(); |
1698 o.kind = "foo"; | 1736 o.kind = "foo"; |
1699 } | 1737 } |
1700 buildCounterConversionsBatchInsertRequest--; | 1738 buildCounterConversionsBatchInsertRequest--; |
1701 return o; | 1739 return o; |
1702 } | 1740 } |
1703 | 1741 |
1704 checkConversionsBatchInsertRequest(api.ConversionsBatchInsertRequest o) { | 1742 checkConversionsBatchInsertRequest(api.ConversionsBatchInsertRequest o) { |
1705 buildCounterConversionsBatchInsertRequest++; | 1743 buildCounterConversionsBatchInsertRequest++; |
1706 if (buildCounterConversionsBatchInsertRequest < 3) { | 1744 if (buildCounterConversionsBatchInsertRequest < 3) { |
1707 checkUnnamed2674(o.conversions); | 1745 checkUnnamed2429(o.conversions); |
1708 checkEncryptionInfo(o.encryptionInfo); | 1746 checkEncryptionInfo(o.encryptionInfo); |
1709 unittest.expect(o.kind, unittest.equals('foo')); | 1747 unittest.expect(o.kind, unittest.equals('foo')); |
1710 } | 1748 } |
1711 buildCounterConversionsBatchInsertRequest--; | 1749 buildCounterConversionsBatchInsertRequest--; |
1712 } | 1750 } |
1713 | 1751 |
1714 buildUnnamed2675() { | 1752 buildUnnamed2430() { |
1715 var o = new core.List<api.ConversionStatus>(); | 1753 var o = new core.List<api.ConversionStatus>(); |
1716 o.add(buildConversionStatus()); | 1754 o.add(buildConversionStatus()); |
1717 o.add(buildConversionStatus()); | 1755 o.add(buildConversionStatus()); |
1718 return o; | 1756 return o; |
1719 } | 1757 } |
1720 | 1758 |
1721 checkUnnamed2675(core.List<api.ConversionStatus> o) { | 1759 checkUnnamed2430(core.List<api.ConversionStatus> o) { |
1722 unittest.expect(o, unittest.hasLength(2)); | 1760 unittest.expect(o, unittest.hasLength(2)); |
1723 checkConversionStatus(o[0]); | 1761 checkConversionStatus(o[0]); |
1724 checkConversionStatus(o[1]); | 1762 checkConversionStatus(o[1]); |
1725 } | 1763 } |
1726 | 1764 |
1727 core.int buildCounterConversionsBatchInsertResponse = 0; | 1765 core.int buildCounterConversionsBatchInsertResponse = 0; |
1728 buildConversionsBatchInsertResponse() { | 1766 buildConversionsBatchInsertResponse() { |
1729 var o = new api.ConversionsBatchInsertResponse(); | 1767 var o = new api.ConversionsBatchInsertResponse(); |
1730 buildCounterConversionsBatchInsertResponse++; | 1768 buildCounterConversionsBatchInsertResponse++; |
1731 if (buildCounterConversionsBatchInsertResponse < 3) { | 1769 if (buildCounterConversionsBatchInsertResponse < 3) { |
1732 o.hasFailures = true; | 1770 o.hasFailures = true; |
1733 o.kind = "foo"; | 1771 o.kind = "foo"; |
1734 o.status = buildUnnamed2675(); | 1772 o.status = buildUnnamed2430(); |
1735 } | 1773 } |
1736 buildCounterConversionsBatchInsertResponse--; | 1774 buildCounterConversionsBatchInsertResponse--; |
1737 return o; | 1775 return o; |
1738 } | 1776 } |
1739 | 1777 |
1740 checkConversionsBatchInsertResponse(api.ConversionsBatchInsertResponse o) { | 1778 checkConversionsBatchInsertResponse(api.ConversionsBatchInsertResponse o) { |
1741 buildCounterConversionsBatchInsertResponse++; | 1779 buildCounterConversionsBatchInsertResponse++; |
1742 if (buildCounterConversionsBatchInsertResponse < 3) { | 1780 if (buildCounterConversionsBatchInsertResponse < 3) { |
1743 unittest.expect(o.hasFailures, unittest.isTrue); | 1781 unittest.expect(o.hasFailures, unittest.isTrue); |
1744 unittest.expect(o.kind, unittest.equals('foo')); | 1782 unittest.expect(o.kind, unittest.equals('foo')); |
1745 checkUnnamed2675(o.status); | 1783 checkUnnamed2430(o.status); |
1746 } | 1784 } |
1747 buildCounterConversionsBatchInsertResponse--; | 1785 buildCounterConversionsBatchInsertResponse--; |
1748 } | 1786 } |
1749 | 1787 |
1750 buildUnnamed2676() { | 1788 buildUnnamed2431() { |
1751 var o = new core.List<api.Country>(); | 1789 var o = new core.List<api.Country>(); |
1752 o.add(buildCountry()); | 1790 o.add(buildCountry()); |
1753 o.add(buildCountry()); | 1791 o.add(buildCountry()); |
1754 return o; | 1792 return o; |
1755 } | 1793 } |
1756 | 1794 |
1757 checkUnnamed2676(core.List<api.Country> o) { | 1795 checkUnnamed2431(core.List<api.Country> o) { |
1758 unittest.expect(o, unittest.hasLength(2)); | 1796 unittest.expect(o, unittest.hasLength(2)); |
1759 checkCountry(o[0]); | 1797 checkCountry(o[0]); |
1760 checkCountry(o[1]); | 1798 checkCountry(o[1]); |
1761 } | 1799 } |
1762 | 1800 |
1763 core.int buildCounterCountriesListResponse = 0; | 1801 core.int buildCounterCountriesListResponse = 0; |
1764 buildCountriesListResponse() { | 1802 buildCountriesListResponse() { |
1765 var o = new api.CountriesListResponse(); | 1803 var o = new api.CountriesListResponse(); |
1766 buildCounterCountriesListResponse++; | 1804 buildCounterCountriesListResponse++; |
1767 if (buildCounterCountriesListResponse < 3) { | 1805 if (buildCounterCountriesListResponse < 3) { |
1768 o.countries = buildUnnamed2676(); | 1806 o.countries = buildUnnamed2431(); |
1769 o.kind = "foo"; | 1807 o.kind = "foo"; |
1770 } | 1808 } |
1771 buildCounterCountriesListResponse--; | 1809 buildCounterCountriesListResponse--; |
1772 return o; | 1810 return o; |
1773 } | 1811 } |
1774 | 1812 |
1775 checkCountriesListResponse(api.CountriesListResponse o) { | 1813 checkCountriesListResponse(api.CountriesListResponse o) { |
1776 buildCounterCountriesListResponse++; | 1814 buildCounterCountriesListResponse++; |
1777 if (buildCounterCountriesListResponse < 3) { | 1815 if (buildCounterCountriesListResponse < 3) { |
1778 checkUnnamed2676(o.countries); | 1816 checkUnnamed2431(o.countries); |
1779 unittest.expect(o.kind, unittest.equals('foo')); | 1817 unittest.expect(o.kind, unittest.equals('foo')); |
1780 } | 1818 } |
1781 buildCounterCountriesListResponse--; | 1819 buildCounterCountriesListResponse--; |
1782 } | 1820 } |
1783 | 1821 |
1784 core.int buildCounterCountry = 0; | 1822 core.int buildCounterCountry = 0; |
1785 buildCountry() { | 1823 buildCountry() { |
1786 var o = new api.Country(); | 1824 var o = new api.Country(); |
1787 buildCounterCountry++; | 1825 buildCounterCountry++; |
1788 if (buildCounterCountry < 3) { | 1826 if (buildCounterCountry < 3) { |
(...skipping 12 matching lines...) Expand all Loading... |
1801 if (buildCounterCountry < 3) { | 1839 if (buildCounterCountry < 3) { |
1802 unittest.expect(o.countryCode, unittest.equals('foo')); | 1840 unittest.expect(o.countryCode, unittest.equals('foo')); |
1803 unittest.expect(o.dartId, unittest.equals('foo')); | 1841 unittest.expect(o.dartId, unittest.equals('foo')); |
1804 unittest.expect(o.kind, unittest.equals('foo')); | 1842 unittest.expect(o.kind, unittest.equals('foo')); |
1805 unittest.expect(o.name, unittest.equals('foo')); | 1843 unittest.expect(o.name, unittest.equals('foo')); |
1806 unittest.expect(o.sslEnabled, unittest.isTrue); | 1844 unittest.expect(o.sslEnabled, unittest.isTrue); |
1807 } | 1845 } |
1808 buildCounterCountry--; | 1846 buildCounterCountry--; |
1809 } | 1847 } |
1810 | 1848 |
1811 buildUnnamed2677() { | 1849 buildUnnamed2432() { |
1812 var o = new core.List<core.String>(); | 1850 var o = new core.List<core.String>(); |
1813 o.add("foo"); | 1851 o.add("foo"); |
1814 o.add("foo"); | 1852 o.add("foo"); |
1815 return o; | 1853 return o; |
1816 } | 1854 } |
1817 | 1855 |
1818 checkUnnamed2677(core.List<core.String> o) { | 1856 checkUnnamed2432(core.List<core.String> o) { |
1819 unittest.expect(o, unittest.hasLength(2)); | 1857 unittest.expect(o, unittest.hasLength(2)); |
1820 unittest.expect(o[0], unittest.equals('foo')); | 1858 unittest.expect(o[0], unittest.equals('foo')); |
1821 unittest.expect(o[1], unittest.equals('foo')); | 1859 unittest.expect(o[1], unittest.equals('foo')); |
1822 } | 1860 } |
1823 | 1861 |
1824 buildUnnamed2678() { | 1862 buildUnnamed2433() { |
1825 var o = new core.List<core.String>(); | 1863 var o = new core.List<core.String>(); |
1826 o.add("foo"); | 1864 o.add("foo"); |
1827 o.add("foo"); | 1865 o.add("foo"); |
1828 return o; | 1866 return o; |
1829 } | 1867 } |
1830 | 1868 |
1831 checkUnnamed2678(core.List<core.String> o) { | 1869 checkUnnamed2433(core.List<core.String> o) { |
1832 unittest.expect(o, unittest.hasLength(2)); | 1870 unittest.expect(o, unittest.hasLength(2)); |
1833 unittest.expect(o[0], unittest.equals('foo')); | 1871 unittest.expect(o[0], unittest.equals('foo')); |
1834 unittest.expect(o[1], unittest.equals('foo')); | 1872 unittest.expect(o[1], unittest.equals('foo')); |
1835 } | 1873 } |
1836 | 1874 |
1837 buildUnnamed2679() { | 1875 buildUnnamed2434() { |
1838 var o = new core.List<api.ClickTag>(); | 1876 var o = new core.List<api.ClickTag>(); |
1839 o.add(buildClickTag()); | 1877 o.add(buildClickTag()); |
1840 o.add(buildClickTag()); | 1878 o.add(buildClickTag()); |
1841 return o; | 1879 return o; |
1842 } | 1880 } |
1843 | 1881 |
1844 checkUnnamed2679(core.List<api.ClickTag> o) { | 1882 checkUnnamed2434(core.List<api.ClickTag> o) { |
1845 unittest.expect(o, unittest.hasLength(2)); | 1883 unittest.expect(o, unittest.hasLength(2)); |
1846 checkClickTag(o[0]); | 1884 checkClickTag(o[0]); |
1847 checkClickTag(o[1]); | 1885 checkClickTag(o[1]); |
1848 } | 1886 } |
1849 | 1887 |
1850 buildUnnamed2680() { | 1888 buildUnnamed2435() { |
1851 var o = new core.List<core.String>(); | 1889 var o = new core.List<core.String>(); |
1852 o.add("foo"); | 1890 o.add("foo"); |
1853 o.add("foo"); | 1891 o.add("foo"); |
1854 return o; | 1892 return o; |
1855 } | 1893 } |
1856 | 1894 |
1857 checkUnnamed2680(core.List<core.String> o) { | 1895 checkUnnamed2435(core.List<core.String> o) { |
1858 unittest.expect(o, unittest.hasLength(2)); | 1896 unittest.expect(o, unittest.hasLength(2)); |
1859 unittest.expect(o[0], unittest.equals('foo')); | 1897 unittest.expect(o[0], unittest.equals('foo')); |
1860 unittest.expect(o[1], unittest.equals('foo')); | 1898 unittest.expect(o[1], unittest.equals('foo')); |
1861 } | 1899 } |
1862 | 1900 |
1863 buildUnnamed2681() { | 1901 buildUnnamed2436() { |
1864 var o = new core.List<core.String>(); | 1902 var o = new core.List<core.String>(); |
1865 o.add("foo"); | 1903 o.add("foo"); |
1866 o.add("foo"); | 1904 o.add("foo"); |
1867 return o; | 1905 return o; |
1868 } | 1906 } |
1869 | 1907 |
1870 checkUnnamed2681(core.List<core.String> o) { | 1908 checkUnnamed2436(core.List<core.String> o) { |
1871 unittest.expect(o, unittest.hasLength(2)); | 1909 unittest.expect(o, unittest.hasLength(2)); |
1872 unittest.expect(o[0], unittest.equals('foo')); | 1910 unittest.expect(o[0], unittest.equals('foo')); |
1873 unittest.expect(o[1], unittest.equals('foo')); | 1911 unittest.expect(o[1], unittest.equals('foo')); |
1874 } | 1912 } |
1875 | 1913 |
1876 buildUnnamed2682() { | 1914 buildUnnamed2437() { |
1877 var o = new core.List<api.CreativeCustomEvent>(); | 1915 var o = new core.List<api.CreativeCustomEvent>(); |
1878 o.add(buildCreativeCustomEvent()); | 1916 o.add(buildCreativeCustomEvent()); |
1879 o.add(buildCreativeCustomEvent()); | 1917 o.add(buildCreativeCustomEvent()); |
1880 return o; | 1918 return o; |
1881 } | 1919 } |
1882 | 1920 |
1883 checkUnnamed2682(core.List<api.CreativeCustomEvent> o) { | 1921 checkUnnamed2437(core.List<api.CreativeCustomEvent> o) { |
1884 unittest.expect(o, unittest.hasLength(2)); | 1922 unittest.expect(o, unittest.hasLength(2)); |
1885 checkCreativeCustomEvent(o[0]); | 1923 checkCreativeCustomEvent(o[0]); |
1886 checkCreativeCustomEvent(o[1]); | 1924 checkCreativeCustomEvent(o[1]); |
1887 } | 1925 } |
1888 | 1926 |
1889 buildUnnamed2683() { | 1927 buildUnnamed2438() { |
1890 var o = new core.List<api.CreativeAsset>(); | 1928 var o = new core.List<api.CreativeAsset>(); |
1891 o.add(buildCreativeAsset()); | 1929 o.add(buildCreativeAsset()); |
1892 o.add(buildCreativeAsset()); | 1930 o.add(buildCreativeAsset()); |
1893 return o; | 1931 return o; |
1894 } | 1932 } |
1895 | 1933 |
1896 checkUnnamed2683(core.List<api.CreativeAsset> o) { | 1934 checkUnnamed2438(core.List<api.CreativeAsset> o) { |
1897 unittest.expect(o, unittest.hasLength(2)); | 1935 unittest.expect(o, unittest.hasLength(2)); |
1898 checkCreativeAsset(o[0]); | 1936 checkCreativeAsset(o[0]); |
1899 checkCreativeAsset(o[1]); | 1937 checkCreativeAsset(o[1]); |
1900 } | 1938 } |
1901 | 1939 |
1902 buildUnnamed2684() { | 1940 buildUnnamed2439() { |
1903 var o = new core.List<api.CreativeFieldAssignment>(); | 1941 var o = new core.List<api.CreativeFieldAssignment>(); |
1904 o.add(buildCreativeFieldAssignment()); | 1942 o.add(buildCreativeFieldAssignment()); |
1905 o.add(buildCreativeFieldAssignment()); | 1943 o.add(buildCreativeFieldAssignment()); |
1906 return o; | 1944 return o; |
1907 } | 1945 } |
1908 | 1946 |
1909 checkUnnamed2684(core.List<api.CreativeFieldAssignment> o) { | 1947 checkUnnamed2439(core.List<api.CreativeFieldAssignment> o) { |
1910 unittest.expect(o, unittest.hasLength(2)); | 1948 unittest.expect(o, unittest.hasLength(2)); |
1911 checkCreativeFieldAssignment(o[0]); | 1949 checkCreativeFieldAssignment(o[0]); |
1912 checkCreativeFieldAssignment(o[1]); | 1950 checkCreativeFieldAssignment(o[1]); |
1913 } | 1951 } |
1914 | 1952 |
1915 buildUnnamed2685() { | 1953 buildUnnamed2440() { |
1916 var o = new core.List<core.String>(); | 1954 var o = new core.List<core.String>(); |
1917 o.add("foo"); | 1955 o.add("foo"); |
1918 o.add("foo"); | 1956 o.add("foo"); |
1919 return o; | 1957 return o; |
1920 } | 1958 } |
1921 | 1959 |
1922 checkUnnamed2685(core.List<core.String> o) { | 1960 checkUnnamed2440(core.List<core.String> o) { |
1923 unittest.expect(o, unittest.hasLength(2)); | 1961 unittest.expect(o, unittest.hasLength(2)); |
1924 unittest.expect(o[0], unittest.equals('foo')); | 1962 unittest.expect(o[0], unittest.equals('foo')); |
1925 unittest.expect(o[1], unittest.equals('foo')); | 1963 unittest.expect(o[1], unittest.equals('foo')); |
1926 } | 1964 } |
1927 | 1965 |
1928 buildUnnamed2686() { | 1966 buildUnnamed2441() { |
1929 var o = new core.List<api.CreativeCustomEvent>(); | 1967 var o = new core.List<api.CreativeCustomEvent>(); |
1930 o.add(buildCreativeCustomEvent()); | 1968 o.add(buildCreativeCustomEvent()); |
1931 o.add(buildCreativeCustomEvent()); | 1969 o.add(buildCreativeCustomEvent()); |
1932 return o; | 1970 return o; |
1933 } | 1971 } |
1934 | 1972 |
1935 checkUnnamed2686(core.List<api.CreativeCustomEvent> o) { | 1973 checkUnnamed2441(core.List<api.CreativeCustomEvent> o) { |
1936 unittest.expect(o, unittest.hasLength(2)); | 1974 unittest.expect(o, unittest.hasLength(2)); |
1937 checkCreativeCustomEvent(o[0]); | 1975 checkCreativeCustomEvent(o[0]); |
1938 checkCreativeCustomEvent(o[1]); | 1976 checkCreativeCustomEvent(o[1]); |
1939 } | 1977 } |
1940 | 1978 |
1941 buildUnnamed2687() { | 1979 buildUnnamed2442() { |
1942 var o = new core.List<api.ThirdPartyTrackingUrl>(); | 1980 var o = new core.List<api.ThirdPartyTrackingUrl>(); |
1943 o.add(buildThirdPartyTrackingUrl()); | 1981 o.add(buildThirdPartyTrackingUrl()); |
1944 o.add(buildThirdPartyTrackingUrl()); | 1982 o.add(buildThirdPartyTrackingUrl()); |
1945 return o; | 1983 return o; |
1946 } | 1984 } |
1947 | 1985 |
1948 checkUnnamed2687(core.List<api.ThirdPartyTrackingUrl> o) { | 1986 checkUnnamed2442(core.List<api.ThirdPartyTrackingUrl> o) { |
1949 unittest.expect(o, unittest.hasLength(2)); | 1987 unittest.expect(o, unittest.hasLength(2)); |
1950 checkThirdPartyTrackingUrl(o[0]); | 1988 checkThirdPartyTrackingUrl(o[0]); |
1951 checkThirdPartyTrackingUrl(o[1]); | 1989 checkThirdPartyTrackingUrl(o[1]); |
1952 } | 1990 } |
1953 | 1991 |
1954 buildUnnamed2688() { | 1992 buildUnnamed2443() { |
1955 var o = new core.List<api.CreativeCustomEvent>(); | 1993 var o = new core.List<api.CreativeCustomEvent>(); |
1956 o.add(buildCreativeCustomEvent()); | 1994 o.add(buildCreativeCustomEvent()); |
1957 o.add(buildCreativeCustomEvent()); | 1995 o.add(buildCreativeCustomEvent()); |
1958 return o; | 1996 return o; |
1959 } | 1997 } |
1960 | 1998 |
1961 checkUnnamed2688(core.List<api.CreativeCustomEvent> o) { | 1999 checkUnnamed2443(core.List<api.CreativeCustomEvent> o) { |
1962 unittest.expect(o, unittest.hasLength(2)); | 2000 unittest.expect(o, unittest.hasLength(2)); |
1963 checkCreativeCustomEvent(o[0]); | 2001 checkCreativeCustomEvent(o[0]); |
1964 checkCreativeCustomEvent(o[1]); | 2002 checkCreativeCustomEvent(o[1]); |
1965 } | 2003 } |
1966 | 2004 |
1967 core.int buildCounterCreative = 0; | 2005 core.int buildCounterCreative = 0; |
1968 buildCreative() { | 2006 buildCreative() { |
1969 var o = new api.Creative(); | 2007 var o = new api.Creative(); |
1970 buildCounterCreative++; | 2008 buildCounterCreative++; |
1971 if (buildCounterCreative < 3) { | 2009 if (buildCounterCreative < 3) { |
1972 o.accountId = "foo"; | 2010 o.accountId = "foo"; |
1973 o.active = true; | 2011 o.active = true; |
1974 o.adParameters = "foo"; | 2012 o.adParameters = "foo"; |
1975 o.adTagKeys = buildUnnamed2677(); | 2013 o.adTagKeys = buildUnnamed2432(); |
1976 o.advertiserId = "foo"; | 2014 o.advertiserId = "foo"; |
1977 o.allowScriptAccess = true; | 2015 o.allowScriptAccess = true; |
1978 o.archived = true; | 2016 o.archived = true; |
1979 o.artworkType = "foo"; | 2017 o.artworkType = "foo"; |
1980 o.authoringSource = "foo"; | 2018 o.authoringSource = "foo"; |
1981 o.authoringTool = "foo"; | 2019 o.authoringTool = "foo"; |
1982 o.autoAdvanceImages = true; | 2020 o.autoAdvanceImages = true; |
1983 o.backgroundColor = "foo"; | 2021 o.backgroundColor = "foo"; |
1984 o.backupImageClickThroughUrl = "foo"; | 2022 o.backupImageClickThroughUrl = "foo"; |
1985 o.backupImageFeatures = buildUnnamed2678(); | 2023 o.backupImageFeatures = buildUnnamed2433(); |
1986 o.backupImageReportingLabel = "foo"; | 2024 o.backupImageReportingLabel = "foo"; |
1987 o.backupImageTargetWindow = buildTargetWindow(); | 2025 o.backupImageTargetWindow = buildTargetWindow(); |
1988 o.clickTags = buildUnnamed2679(); | 2026 o.clickTags = buildUnnamed2434(); |
1989 o.commercialId = "foo"; | 2027 o.commercialId = "foo"; |
1990 o.companionCreatives = buildUnnamed2680(); | 2028 o.companionCreatives = buildUnnamed2435(); |
1991 o.compatibility = buildUnnamed2681(); | 2029 o.compatibility = buildUnnamed2436(); |
1992 o.convertFlashToHtml5 = true; | 2030 o.convertFlashToHtml5 = true; |
1993 o.counterCustomEvents = buildUnnamed2682(); | 2031 o.counterCustomEvents = buildUnnamed2437(); |
1994 o.creativeAssetSelection = buildCreativeAssetSelection(); | 2032 o.creativeAssetSelection = buildCreativeAssetSelection(); |
1995 o.creativeAssets = buildUnnamed2683(); | 2033 o.creativeAssets = buildUnnamed2438(); |
1996 o.creativeFieldAssignments = buildUnnamed2684(); | 2034 o.creativeFieldAssignments = buildUnnamed2439(); |
1997 o.customKeyValues = buildUnnamed2685(); | 2035 o.customKeyValues = buildUnnamed2440(); |
1998 o.dynamicAssetSelection = true; | 2036 o.dynamicAssetSelection = true; |
1999 o.exitCustomEvents = buildUnnamed2686(); | 2037 o.exitCustomEvents = buildUnnamed2441(); |
2000 o.fsCommand = buildFsCommand(); | 2038 o.fsCommand = buildFsCommand(); |
2001 o.htmlCode = "foo"; | 2039 o.htmlCode = "foo"; |
2002 o.htmlCodeLocked = true; | 2040 o.htmlCodeLocked = true; |
2003 o.id = "foo"; | 2041 o.id = "foo"; |
2004 o.idDimensionValue = buildDimensionValue(); | 2042 o.idDimensionValue = buildDimensionValue(); |
2005 o.kind = "foo"; | 2043 o.kind = "foo"; |
2006 o.lastModifiedInfo = buildLastModifiedInfo(); | 2044 o.lastModifiedInfo = buildLastModifiedInfo(); |
2007 o.latestTraffickedCreativeId = "foo"; | 2045 o.latestTraffickedCreativeId = "foo"; |
2008 o.name = "foo"; | 2046 o.name = "foo"; |
2009 o.overrideCss = "foo"; | 2047 o.overrideCss = "foo"; |
| 2048 o.progressOffset = buildVideoOffset(); |
2010 o.redirectUrl = "foo"; | 2049 o.redirectUrl = "foo"; |
2011 o.renderingId = "foo"; | 2050 o.renderingId = "foo"; |
2012 o.renderingIdDimensionValue = buildDimensionValue(); | 2051 o.renderingIdDimensionValue = buildDimensionValue(); |
2013 o.requiredFlashPluginVersion = "foo"; | 2052 o.requiredFlashPluginVersion = "foo"; |
2014 o.requiredFlashVersion = 42; | 2053 o.requiredFlashVersion = 42; |
2015 o.size = buildSize(); | 2054 o.size = buildSize(); |
| 2055 o.skipOffset = buildVideoOffset(); |
2016 o.skippable = true; | 2056 o.skippable = true; |
2017 o.sslCompliant = true; | 2057 o.sslCompliant = true; |
2018 o.sslOverride = true; | 2058 o.sslOverride = true; |
2019 o.studioAdvertiserId = "foo"; | 2059 o.studioAdvertiserId = "foo"; |
2020 o.studioCreativeId = "foo"; | 2060 o.studioCreativeId = "foo"; |
2021 o.studioTraffickedCreativeId = "foo"; | 2061 o.studioTraffickedCreativeId = "foo"; |
2022 o.subaccountId = "foo"; | 2062 o.subaccountId = "foo"; |
2023 o.thirdPartyBackupImageImpressionsUrl = "foo"; | 2063 o.thirdPartyBackupImageImpressionsUrl = "foo"; |
2024 o.thirdPartyRichMediaImpressionsUrl = "foo"; | 2064 o.thirdPartyRichMediaImpressionsUrl = "foo"; |
2025 o.thirdPartyUrls = buildUnnamed2687(); | 2065 o.thirdPartyUrls = buildUnnamed2442(); |
2026 o.timerCustomEvents = buildUnnamed2688(); | 2066 o.timerCustomEvents = buildUnnamed2443(); |
2027 o.totalFileSize = "foo"; | 2067 o.totalFileSize = "foo"; |
2028 o.type = "foo"; | 2068 o.type = "foo"; |
2029 o.version = 42; | 2069 o.version = 42; |
2030 o.videoDescription = "foo"; | 2070 o.videoDescription = "foo"; |
2031 o.videoDuration = 42.0; | 2071 o.videoDuration = 42.0; |
2032 } | 2072 } |
2033 buildCounterCreative--; | 2073 buildCounterCreative--; |
2034 return o; | 2074 return o; |
2035 } | 2075 } |
2036 | 2076 |
2037 checkCreative(api.Creative o) { | 2077 checkCreative(api.Creative o) { |
2038 buildCounterCreative++; | 2078 buildCounterCreative++; |
2039 if (buildCounterCreative < 3) { | 2079 if (buildCounterCreative < 3) { |
2040 unittest.expect(o.accountId, unittest.equals('foo')); | 2080 unittest.expect(o.accountId, unittest.equals('foo')); |
2041 unittest.expect(o.active, unittest.isTrue); | 2081 unittest.expect(o.active, unittest.isTrue); |
2042 unittest.expect(o.adParameters, unittest.equals('foo')); | 2082 unittest.expect(o.adParameters, unittest.equals('foo')); |
2043 checkUnnamed2677(o.adTagKeys); | 2083 checkUnnamed2432(o.adTagKeys); |
2044 unittest.expect(o.advertiserId, unittest.equals('foo')); | 2084 unittest.expect(o.advertiserId, unittest.equals('foo')); |
2045 unittest.expect(o.allowScriptAccess, unittest.isTrue); | 2085 unittest.expect(o.allowScriptAccess, unittest.isTrue); |
2046 unittest.expect(o.archived, unittest.isTrue); | 2086 unittest.expect(o.archived, unittest.isTrue); |
2047 unittest.expect(o.artworkType, unittest.equals('foo')); | 2087 unittest.expect(o.artworkType, unittest.equals('foo')); |
2048 unittest.expect(o.authoringSource, unittest.equals('foo')); | 2088 unittest.expect(o.authoringSource, unittest.equals('foo')); |
2049 unittest.expect(o.authoringTool, unittest.equals('foo')); | 2089 unittest.expect(o.authoringTool, unittest.equals('foo')); |
2050 unittest.expect(o.autoAdvanceImages, unittest.isTrue); | 2090 unittest.expect(o.autoAdvanceImages, unittest.isTrue); |
2051 unittest.expect(o.backgroundColor, unittest.equals('foo')); | 2091 unittest.expect(o.backgroundColor, unittest.equals('foo')); |
2052 unittest.expect(o.backupImageClickThroughUrl, unittest.equals('foo')); | 2092 unittest.expect(o.backupImageClickThroughUrl, unittest.equals('foo')); |
2053 checkUnnamed2678(o.backupImageFeatures); | 2093 checkUnnamed2433(o.backupImageFeatures); |
2054 unittest.expect(o.backupImageReportingLabel, unittest.equals('foo')); | 2094 unittest.expect(o.backupImageReportingLabel, unittest.equals('foo')); |
2055 checkTargetWindow(o.backupImageTargetWindow); | 2095 checkTargetWindow(o.backupImageTargetWindow); |
2056 checkUnnamed2679(o.clickTags); | 2096 checkUnnamed2434(o.clickTags); |
2057 unittest.expect(o.commercialId, unittest.equals('foo')); | 2097 unittest.expect(o.commercialId, unittest.equals('foo')); |
2058 checkUnnamed2680(o.companionCreatives); | 2098 checkUnnamed2435(o.companionCreatives); |
2059 checkUnnamed2681(o.compatibility); | 2099 checkUnnamed2436(o.compatibility); |
2060 unittest.expect(o.convertFlashToHtml5, unittest.isTrue); | 2100 unittest.expect(o.convertFlashToHtml5, unittest.isTrue); |
2061 checkUnnamed2682(o.counterCustomEvents); | 2101 checkUnnamed2437(o.counterCustomEvents); |
2062 checkCreativeAssetSelection(o.creativeAssetSelection); | 2102 checkCreativeAssetSelection(o.creativeAssetSelection); |
2063 checkUnnamed2683(o.creativeAssets); | 2103 checkUnnamed2438(o.creativeAssets); |
2064 checkUnnamed2684(o.creativeFieldAssignments); | 2104 checkUnnamed2439(o.creativeFieldAssignments); |
2065 checkUnnamed2685(o.customKeyValues); | 2105 checkUnnamed2440(o.customKeyValues); |
2066 unittest.expect(o.dynamicAssetSelection, unittest.isTrue); | 2106 unittest.expect(o.dynamicAssetSelection, unittest.isTrue); |
2067 checkUnnamed2686(o.exitCustomEvents); | 2107 checkUnnamed2441(o.exitCustomEvents); |
2068 checkFsCommand(o.fsCommand); | 2108 checkFsCommand(o.fsCommand); |
2069 unittest.expect(o.htmlCode, unittest.equals('foo')); | 2109 unittest.expect(o.htmlCode, unittest.equals('foo')); |
2070 unittest.expect(o.htmlCodeLocked, unittest.isTrue); | 2110 unittest.expect(o.htmlCodeLocked, unittest.isTrue); |
2071 unittest.expect(o.id, unittest.equals('foo')); | 2111 unittest.expect(o.id, unittest.equals('foo')); |
2072 checkDimensionValue(o.idDimensionValue); | 2112 checkDimensionValue(o.idDimensionValue); |
2073 unittest.expect(o.kind, unittest.equals('foo')); | 2113 unittest.expect(o.kind, unittest.equals('foo')); |
2074 checkLastModifiedInfo(o.lastModifiedInfo); | 2114 checkLastModifiedInfo(o.lastModifiedInfo); |
2075 unittest.expect(o.latestTraffickedCreativeId, unittest.equals('foo')); | 2115 unittest.expect(o.latestTraffickedCreativeId, unittest.equals('foo')); |
2076 unittest.expect(o.name, unittest.equals('foo')); | 2116 unittest.expect(o.name, unittest.equals('foo')); |
2077 unittest.expect(o.overrideCss, unittest.equals('foo')); | 2117 unittest.expect(o.overrideCss, unittest.equals('foo')); |
| 2118 checkVideoOffset(o.progressOffset); |
2078 unittest.expect(o.redirectUrl, unittest.equals('foo')); | 2119 unittest.expect(o.redirectUrl, unittest.equals('foo')); |
2079 unittest.expect(o.renderingId, unittest.equals('foo')); | 2120 unittest.expect(o.renderingId, unittest.equals('foo')); |
2080 checkDimensionValue(o.renderingIdDimensionValue); | 2121 checkDimensionValue(o.renderingIdDimensionValue); |
2081 unittest.expect(o.requiredFlashPluginVersion, unittest.equals('foo')); | 2122 unittest.expect(o.requiredFlashPluginVersion, unittest.equals('foo')); |
2082 unittest.expect(o.requiredFlashVersion, unittest.equals(42)); | 2123 unittest.expect(o.requiredFlashVersion, unittest.equals(42)); |
2083 checkSize(o.size); | 2124 checkSize(o.size); |
| 2125 checkVideoOffset(o.skipOffset); |
2084 unittest.expect(o.skippable, unittest.isTrue); | 2126 unittest.expect(o.skippable, unittest.isTrue); |
2085 unittest.expect(o.sslCompliant, unittest.isTrue); | 2127 unittest.expect(o.sslCompliant, unittest.isTrue); |
2086 unittest.expect(o.sslOverride, unittest.isTrue); | 2128 unittest.expect(o.sslOverride, unittest.isTrue); |
2087 unittest.expect(o.studioAdvertiserId, unittest.equals('foo')); | 2129 unittest.expect(o.studioAdvertiserId, unittest.equals('foo')); |
2088 unittest.expect(o.studioCreativeId, unittest.equals('foo')); | 2130 unittest.expect(o.studioCreativeId, unittest.equals('foo')); |
2089 unittest.expect(o.studioTraffickedCreativeId, unittest.equals('foo')); | 2131 unittest.expect(o.studioTraffickedCreativeId, unittest.equals('foo')); |
2090 unittest.expect(o.subaccountId, unittest.equals('foo')); | 2132 unittest.expect(o.subaccountId, unittest.equals('foo')); |
2091 unittest.expect(o.thirdPartyBackupImageImpressionsUrl, unittest.equals('foo'
)); | 2133 unittest.expect(o.thirdPartyBackupImageImpressionsUrl, unittest.equals('foo'
)); |
2092 unittest.expect(o.thirdPartyRichMediaImpressionsUrl, unittest.equals('foo'))
; | 2134 unittest.expect(o.thirdPartyRichMediaImpressionsUrl, unittest.equals('foo'))
; |
2093 checkUnnamed2687(o.thirdPartyUrls); | 2135 checkUnnamed2442(o.thirdPartyUrls); |
2094 checkUnnamed2688(o.timerCustomEvents); | 2136 checkUnnamed2443(o.timerCustomEvents); |
2095 unittest.expect(o.totalFileSize, unittest.equals('foo')); | 2137 unittest.expect(o.totalFileSize, unittest.equals('foo')); |
2096 unittest.expect(o.type, unittest.equals('foo')); | 2138 unittest.expect(o.type, unittest.equals('foo')); |
2097 unittest.expect(o.version, unittest.equals(42)); | 2139 unittest.expect(o.version, unittest.equals(42)); |
2098 unittest.expect(o.videoDescription, unittest.equals('foo')); | 2140 unittest.expect(o.videoDescription, unittest.equals('foo')); |
2099 unittest.expect(o.videoDuration, unittest.equals(42.0)); | 2141 unittest.expect(o.videoDuration, unittest.equals(42.0)); |
2100 } | 2142 } |
2101 buildCounterCreative--; | 2143 buildCounterCreative--; |
2102 } | 2144 } |
2103 | 2145 |
2104 buildUnnamed2689() { | 2146 buildUnnamed2444() { |
2105 var o = new core.List<core.String>(); | 2147 var o = new core.List<core.String>(); |
2106 o.add("foo"); | 2148 o.add("foo"); |
2107 o.add("foo"); | 2149 o.add("foo"); |
2108 return o; | 2150 return o; |
2109 } | 2151 } |
2110 | 2152 |
2111 checkUnnamed2689(core.List<core.String> o) { | 2153 checkUnnamed2444(core.List<core.String> o) { |
2112 unittest.expect(o, unittest.hasLength(2)); | 2154 unittest.expect(o, unittest.hasLength(2)); |
2113 unittest.expect(o[0], unittest.equals('foo')); | 2155 unittest.expect(o[0], unittest.equals('foo')); |
2114 unittest.expect(o[1], unittest.equals('foo')); | 2156 unittest.expect(o[1], unittest.equals('foo')); |
2115 } | 2157 } |
2116 | 2158 |
2117 buildUnnamed2690() { | 2159 buildUnnamed2445() { |
2118 var o = new core.List<core.String>(); | 2160 var o = new core.List<core.String>(); |
2119 o.add("foo"); | 2161 o.add("foo"); |
2120 o.add("foo"); | 2162 o.add("foo"); |
2121 return o; | 2163 return o; |
2122 } | 2164 } |
2123 | 2165 |
2124 checkUnnamed2690(core.List<core.String> o) { | 2166 checkUnnamed2445(core.List<core.String> o) { |
2125 unittest.expect(o, unittest.hasLength(2)); | 2167 unittest.expect(o, unittest.hasLength(2)); |
2126 unittest.expect(o[0], unittest.equals('foo')); | 2168 unittest.expect(o[0], unittest.equals('foo')); |
2127 unittest.expect(o[1], unittest.equals('foo')); | 2169 unittest.expect(o[1], unittest.equals('foo')); |
2128 } | 2170 } |
2129 | 2171 |
2130 core.int buildCounterCreativeAsset = 0; | 2172 core.int buildCounterCreativeAsset = 0; |
2131 buildCreativeAsset() { | 2173 buildCreativeAsset() { |
2132 var o = new api.CreativeAsset(); | 2174 var o = new api.CreativeAsset(); |
2133 buildCounterCreativeAsset++; | 2175 buildCounterCreativeAsset++; |
2134 if (buildCounterCreativeAsset < 3) { | 2176 if (buildCounterCreativeAsset < 3) { |
2135 o.actionScript3 = true; | 2177 o.actionScript3 = true; |
2136 o.active = true; | 2178 o.active = true; |
2137 o.alignment = "foo"; | 2179 o.alignment = "foo"; |
2138 o.artworkType = "foo"; | 2180 o.artworkType = "foo"; |
2139 o.assetIdentifier = buildCreativeAssetId(); | 2181 o.assetIdentifier = buildCreativeAssetId(); |
2140 o.backupImageExit = buildCreativeCustomEvent(); | 2182 o.backupImageExit = buildCreativeCustomEvent(); |
2141 o.bitRate = 42; | 2183 o.bitRate = 42; |
2142 o.childAssetType = "foo"; | 2184 o.childAssetType = "foo"; |
2143 o.collapsedSize = buildSize(); | 2185 o.collapsedSize = buildSize(); |
2144 o.companionCreativeIds = buildUnnamed2689(); | 2186 o.companionCreativeIds = buildUnnamed2444(); |
2145 o.customStartTimeValue = 42; | 2187 o.customStartTimeValue = 42; |
2146 o.detectedFeatures = buildUnnamed2690(); | 2188 o.detectedFeatures = buildUnnamed2445(); |
2147 o.displayType = "foo"; | 2189 o.displayType = "foo"; |
2148 o.duration = 42; | 2190 o.duration = 42; |
2149 o.durationType = "foo"; | 2191 o.durationType = "foo"; |
2150 o.expandedDimension = buildSize(); | 2192 o.expandedDimension = buildSize(); |
2151 o.fileSize = "foo"; | 2193 o.fileSize = "foo"; |
2152 o.flashVersion = 42; | 2194 o.flashVersion = 42; |
2153 o.hideFlashObjects = true; | 2195 o.hideFlashObjects = true; |
2154 o.hideSelectionBoxes = true; | 2196 o.hideSelectionBoxes = true; |
2155 o.horizontallyLocked = true; | 2197 o.horizontallyLocked = true; |
2156 o.id = "foo"; | 2198 o.id = "foo"; |
(...skipping 29 matching lines...) Expand all Loading... |
2186 if (buildCounterCreativeAsset < 3) { | 2228 if (buildCounterCreativeAsset < 3) { |
2187 unittest.expect(o.actionScript3, unittest.isTrue); | 2229 unittest.expect(o.actionScript3, unittest.isTrue); |
2188 unittest.expect(o.active, unittest.isTrue); | 2230 unittest.expect(o.active, unittest.isTrue); |
2189 unittest.expect(o.alignment, unittest.equals('foo')); | 2231 unittest.expect(o.alignment, unittest.equals('foo')); |
2190 unittest.expect(o.artworkType, unittest.equals('foo')); | 2232 unittest.expect(o.artworkType, unittest.equals('foo')); |
2191 checkCreativeAssetId(o.assetIdentifier); | 2233 checkCreativeAssetId(o.assetIdentifier); |
2192 checkCreativeCustomEvent(o.backupImageExit); | 2234 checkCreativeCustomEvent(o.backupImageExit); |
2193 unittest.expect(o.bitRate, unittest.equals(42)); | 2235 unittest.expect(o.bitRate, unittest.equals(42)); |
2194 unittest.expect(o.childAssetType, unittest.equals('foo')); | 2236 unittest.expect(o.childAssetType, unittest.equals('foo')); |
2195 checkSize(o.collapsedSize); | 2237 checkSize(o.collapsedSize); |
2196 checkUnnamed2689(o.companionCreativeIds); | 2238 checkUnnamed2444(o.companionCreativeIds); |
2197 unittest.expect(o.customStartTimeValue, unittest.equals(42)); | 2239 unittest.expect(o.customStartTimeValue, unittest.equals(42)); |
2198 checkUnnamed2690(o.detectedFeatures); | 2240 checkUnnamed2445(o.detectedFeatures); |
2199 unittest.expect(o.displayType, unittest.equals('foo')); | 2241 unittest.expect(o.displayType, unittest.equals('foo')); |
2200 unittest.expect(o.duration, unittest.equals(42)); | 2242 unittest.expect(o.duration, unittest.equals(42)); |
2201 unittest.expect(o.durationType, unittest.equals('foo')); | 2243 unittest.expect(o.durationType, unittest.equals('foo')); |
2202 checkSize(o.expandedDimension); | 2244 checkSize(o.expandedDimension); |
2203 unittest.expect(o.fileSize, unittest.equals('foo')); | 2245 unittest.expect(o.fileSize, unittest.equals('foo')); |
2204 unittest.expect(o.flashVersion, unittest.equals(42)); | 2246 unittest.expect(o.flashVersion, unittest.equals(42)); |
2205 unittest.expect(o.hideFlashObjects, unittest.isTrue); | 2247 unittest.expect(o.hideFlashObjects, unittest.isTrue); |
2206 unittest.expect(o.hideSelectionBoxes, unittest.isTrue); | 2248 unittest.expect(o.hideSelectionBoxes, unittest.isTrue); |
2207 unittest.expect(o.horizontallyLocked, unittest.isTrue); | 2249 unittest.expect(o.horizontallyLocked, unittest.isTrue); |
2208 unittest.expect(o.id, unittest.equals('foo')); | 2250 unittest.expect(o.id, unittest.equals('foo')); |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2246 | 2288 |
2247 checkCreativeAssetId(api.CreativeAssetId o) { | 2289 checkCreativeAssetId(api.CreativeAssetId o) { |
2248 buildCounterCreativeAssetId++; | 2290 buildCounterCreativeAssetId++; |
2249 if (buildCounterCreativeAssetId < 3) { | 2291 if (buildCounterCreativeAssetId < 3) { |
2250 unittest.expect(o.name, unittest.equals('foo')); | 2292 unittest.expect(o.name, unittest.equals('foo')); |
2251 unittest.expect(o.type, unittest.equals('foo')); | 2293 unittest.expect(o.type, unittest.equals('foo')); |
2252 } | 2294 } |
2253 buildCounterCreativeAssetId--; | 2295 buildCounterCreativeAssetId--; |
2254 } | 2296 } |
2255 | 2297 |
2256 buildUnnamed2691() { | 2298 buildUnnamed2446() { |
2257 var o = new core.List<api.ClickTag>(); | 2299 var o = new core.List<api.ClickTag>(); |
2258 o.add(buildClickTag()); | 2300 o.add(buildClickTag()); |
2259 o.add(buildClickTag()); | 2301 o.add(buildClickTag()); |
2260 return o; | 2302 return o; |
2261 } | 2303 } |
2262 | 2304 |
2263 checkUnnamed2691(core.List<api.ClickTag> o) { | 2305 checkUnnamed2446(core.List<api.ClickTag> o) { |
2264 unittest.expect(o, unittest.hasLength(2)); | 2306 unittest.expect(o, unittest.hasLength(2)); |
2265 checkClickTag(o[0]); | 2307 checkClickTag(o[0]); |
2266 checkClickTag(o[1]); | 2308 checkClickTag(o[1]); |
2267 } | 2309 } |
2268 | 2310 |
2269 buildUnnamed2692() { | 2311 buildUnnamed2447() { |
2270 var o = new core.List<core.String>(); | 2312 var o = new core.List<core.String>(); |
2271 o.add("foo"); | 2313 o.add("foo"); |
2272 o.add("foo"); | 2314 o.add("foo"); |
2273 return o; | 2315 return o; |
2274 } | 2316 } |
2275 | 2317 |
2276 checkUnnamed2692(core.List<core.String> o) { | 2318 checkUnnamed2447(core.List<core.String> o) { |
2277 unittest.expect(o, unittest.hasLength(2)); | 2319 unittest.expect(o, unittest.hasLength(2)); |
2278 unittest.expect(o[0], unittest.equals('foo')); | 2320 unittest.expect(o[0], unittest.equals('foo')); |
2279 unittest.expect(o[1], unittest.equals('foo')); | 2321 unittest.expect(o[1], unittest.equals('foo')); |
2280 } | 2322 } |
2281 | 2323 |
2282 buildUnnamed2693() { | 2324 buildUnnamed2448() { |
2283 var o = new core.List<core.String>(); | 2325 var o = new core.List<core.String>(); |
2284 o.add("foo"); | 2326 o.add("foo"); |
2285 o.add("foo"); | 2327 o.add("foo"); |
2286 return o; | 2328 return o; |
2287 } | 2329 } |
2288 | 2330 |
2289 checkUnnamed2693(core.List<core.String> o) { | 2331 checkUnnamed2448(core.List<core.String> o) { |
2290 unittest.expect(o, unittest.hasLength(2)); | 2332 unittest.expect(o, unittest.hasLength(2)); |
2291 unittest.expect(o[0], unittest.equals('foo')); | 2333 unittest.expect(o[0], unittest.equals('foo')); |
2292 unittest.expect(o[1], unittest.equals('foo')); | 2334 unittest.expect(o[1], unittest.equals('foo')); |
2293 } | 2335 } |
2294 | 2336 |
2295 core.int buildCounterCreativeAssetMetadata = 0; | 2337 core.int buildCounterCreativeAssetMetadata = 0; |
2296 buildCreativeAssetMetadata() { | 2338 buildCreativeAssetMetadata() { |
2297 var o = new api.CreativeAssetMetadata(); | 2339 var o = new api.CreativeAssetMetadata(); |
2298 buildCounterCreativeAssetMetadata++; | 2340 buildCounterCreativeAssetMetadata++; |
2299 if (buildCounterCreativeAssetMetadata < 3) { | 2341 if (buildCounterCreativeAssetMetadata < 3) { |
2300 o.assetIdentifier = buildCreativeAssetId(); | 2342 o.assetIdentifier = buildCreativeAssetId(); |
2301 o.clickTags = buildUnnamed2691(); | 2343 o.clickTags = buildUnnamed2446(); |
2302 o.detectedFeatures = buildUnnamed2692(); | 2344 o.detectedFeatures = buildUnnamed2447(); |
2303 o.id = "foo"; | 2345 o.id = "foo"; |
2304 o.idDimensionValue = buildDimensionValue(); | 2346 o.idDimensionValue = buildDimensionValue(); |
2305 o.kind = "foo"; | 2347 o.kind = "foo"; |
2306 o.warnedValidationRules = buildUnnamed2693(); | 2348 o.warnedValidationRules = buildUnnamed2448(); |
2307 } | 2349 } |
2308 buildCounterCreativeAssetMetadata--; | 2350 buildCounterCreativeAssetMetadata--; |
2309 return o; | 2351 return o; |
2310 } | 2352 } |
2311 | 2353 |
2312 checkCreativeAssetMetadata(api.CreativeAssetMetadata o) { | 2354 checkCreativeAssetMetadata(api.CreativeAssetMetadata o) { |
2313 buildCounterCreativeAssetMetadata++; | 2355 buildCounterCreativeAssetMetadata++; |
2314 if (buildCounterCreativeAssetMetadata < 3) { | 2356 if (buildCounterCreativeAssetMetadata < 3) { |
2315 checkCreativeAssetId(o.assetIdentifier); | 2357 checkCreativeAssetId(o.assetIdentifier); |
2316 checkUnnamed2691(o.clickTags); | 2358 checkUnnamed2446(o.clickTags); |
2317 checkUnnamed2692(o.detectedFeatures); | 2359 checkUnnamed2447(o.detectedFeatures); |
2318 unittest.expect(o.id, unittest.equals('foo')); | 2360 unittest.expect(o.id, unittest.equals('foo')); |
2319 checkDimensionValue(o.idDimensionValue); | 2361 checkDimensionValue(o.idDimensionValue); |
2320 unittest.expect(o.kind, unittest.equals('foo')); | 2362 unittest.expect(o.kind, unittest.equals('foo')); |
2321 checkUnnamed2693(o.warnedValidationRules); | 2363 checkUnnamed2448(o.warnedValidationRules); |
2322 } | 2364 } |
2323 buildCounterCreativeAssetMetadata--; | 2365 buildCounterCreativeAssetMetadata--; |
2324 } | 2366 } |
2325 | 2367 |
2326 buildUnnamed2694() { | 2368 buildUnnamed2449() { |
2327 var o = new core.List<api.Rule>(); | 2369 var o = new core.List<api.Rule>(); |
2328 o.add(buildRule()); | 2370 o.add(buildRule()); |
2329 o.add(buildRule()); | 2371 o.add(buildRule()); |
2330 return o; | 2372 return o; |
2331 } | 2373 } |
2332 | 2374 |
2333 checkUnnamed2694(core.List<api.Rule> o) { | 2375 checkUnnamed2449(core.List<api.Rule> o) { |
2334 unittest.expect(o, unittest.hasLength(2)); | 2376 unittest.expect(o, unittest.hasLength(2)); |
2335 checkRule(o[0]); | 2377 checkRule(o[0]); |
2336 checkRule(o[1]); | 2378 checkRule(o[1]); |
2337 } | 2379 } |
2338 | 2380 |
2339 core.int buildCounterCreativeAssetSelection = 0; | 2381 core.int buildCounterCreativeAssetSelection = 0; |
2340 buildCreativeAssetSelection() { | 2382 buildCreativeAssetSelection() { |
2341 var o = new api.CreativeAssetSelection(); | 2383 var o = new api.CreativeAssetSelection(); |
2342 buildCounterCreativeAssetSelection++; | 2384 buildCounterCreativeAssetSelection++; |
2343 if (buildCounterCreativeAssetSelection < 3) { | 2385 if (buildCounterCreativeAssetSelection < 3) { |
2344 o.defaultAssetId = "foo"; | 2386 o.defaultAssetId = "foo"; |
2345 o.rules = buildUnnamed2694(); | 2387 o.rules = buildUnnamed2449(); |
2346 } | 2388 } |
2347 buildCounterCreativeAssetSelection--; | 2389 buildCounterCreativeAssetSelection--; |
2348 return o; | 2390 return o; |
2349 } | 2391 } |
2350 | 2392 |
2351 checkCreativeAssetSelection(api.CreativeAssetSelection o) { | 2393 checkCreativeAssetSelection(api.CreativeAssetSelection o) { |
2352 buildCounterCreativeAssetSelection++; | 2394 buildCounterCreativeAssetSelection++; |
2353 if (buildCounterCreativeAssetSelection < 3) { | 2395 if (buildCounterCreativeAssetSelection < 3) { |
2354 unittest.expect(o.defaultAssetId, unittest.equals('foo')); | 2396 unittest.expect(o.defaultAssetId, unittest.equals('foo')); |
2355 checkUnnamed2694(o.rules); | 2397 checkUnnamed2449(o.rules); |
2356 } | 2398 } |
2357 buildCounterCreativeAssetSelection--; | 2399 buildCounterCreativeAssetSelection--; |
2358 } | 2400 } |
2359 | 2401 |
2360 buildUnnamed2695() { | 2402 buildUnnamed2450() { |
2361 var o = new core.List<api.CompanionClickThroughOverride>(); | 2403 var o = new core.List<api.CompanionClickThroughOverride>(); |
2362 o.add(buildCompanionClickThroughOverride()); | 2404 o.add(buildCompanionClickThroughOverride()); |
2363 o.add(buildCompanionClickThroughOverride()); | 2405 o.add(buildCompanionClickThroughOverride()); |
2364 return o; | 2406 return o; |
2365 } | 2407 } |
2366 | 2408 |
2367 checkUnnamed2695(core.List<api.CompanionClickThroughOverride> o) { | 2409 checkUnnamed2450(core.List<api.CompanionClickThroughOverride> o) { |
2368 unittest.expect(o, unittest.hasLength(2)); | 2410 unittest.expect(o, unittest.hasLength(2)); |
2369 checkCompanionClickThroughOverride(o[0]); | 2411 checkCompanionClickThroughOverride(o[0]); |
2370 checkCompanionClickThroughOverride(o[1]); | 2412 checkCompanionClickThroughOverride(o[1]); |
2371 } | 2413 } |
2372 | 2414 |
2373 buildUnnamed2696() { | 2415 buildUnnamed2451() { |
2374 var o = new core.List<api.CreativeGroupAssignment>(); | 2416 var o = new core.List<api.CreativeGroupAssignment>(); |
2375 o.add(buildCreativeGroupAssignment()); | 2417 o.add(buildCreativeGroupAssignment()); |
2376 o.add(buildCreativeGroupAssignment()); | 2418 o.add(buildCreativeGroupAssignment()); |
2377 return o; | 2419 return o; |
2378 } | 2420 } |
2379 | 2421 |
2380 checkUnnamed2696(core.List<api.CreativeGroupAssignment> o) { | 2422 checkUnnamed2451(core.List<api.CreativeGroupAssignment> o) { |
2381 unittest.expect(o, unittest.hasLength(2)); | 2423 unittest.expect(o, unittest.hasLength(2)); |
2382 checkCreativeGroupAssignment(o[0]); | 2424 checkCreativeGroupAssignment(o[0]); |
2383 checkCreativeGroupAssignment(o[1]); | 2425 checkCreativeGroupAssignment(o[1]); |
2384 } | 2426 } |
2385 | 2427 |
2386 buildUnnamed2697() { | 2428 buildUnnamed2452() { |
2387 var o = new core.List<api.RichMediaExitOverride>(); | 2429 var o = new core.List<api.RichMediaExitOverride>(); |
2388 o.add(buildRichMediaExitOverride()); | 2430 o.add(buildRichMediaExitOverride()); |
2389 o.add(buildRichMediaExitOverride()); | 2431 o.add(buildRichMediaExitOverride()); |
2390 return o; | 2432 return o; |
2391 } | 2433 } |
2392 | 2434 |
2393 checkUnnamed2697(core.List<api.RichMediaExitOverride> o) { | 2435 checkUnnamed2452(core.List<api.RichMediaExitOverride> o) { |
2394 unittest.expect(o, unittest.hasLength(2)); | 2436 unittest.expect(o, unittest.hasLength(2)); |
2395 checkRichMediaExitOverride(o[0]); | 2437 checkRichMediaExitOverride(o[0]); |
2396 checkRichMediaExitOverride(o[1]); | 2438 checkRichMediaExitOverride(o[1]); |
2397 } | 2439 } |
2398 | 2440 |
2399 core.int buildCounterCreativeAssignment = 0; | 2441 core.int buildCounterCreativeAssignment = 0; |
2400 buildCreativeAssignment() { | 2442 buildCreativeAssignment() { |
2401 var o = new api.CreativeAssignment(); | 2443 var o = new api.CreativeAssignment(); |
2402 buildCounterCreativeAssignment++; | 2444 buildCounterCreativeAssignment++; |
2403 if (buildCounterCreativeAssignment < 3) { | 2445 if (buildCounterCreativeAssignment < 3) { |
2404 o.active = true; | 2446 o.active = true; |
2405 o.applyEventTags = true; | 2447 o.applyEventTags = true; |
2406 o.clickThroughUrl = buildClickThroughUrl(); | 2448 o.clickThroughUrl = buildClickThroughUrl(); |
2407 o.companionCreativeOverrides = buildUnnamed2695(); | 2449 o.companionCreativeOverrides = buildUnnamed2450(); |
2408 o.creativeGroupAssignments = buildUnnamed2696(); | 2450 o.creativeGroupAssignments = buildUnnamed2451(); |
2409 o.creativeId = "foo"; | 2451 o.creativeId = "foo"; |
2410 o.creativeIdDimensionValue = buildDimensionValue(); | 2452 o.creativeIdDimensionValue = buildDimensionValue(); |
2411 o.endTime = core.DateTime.parse("2002-02-27T14:01:02"); | 2453 o.endTime = core.DateTime.parse("2002-02-27T14:01:02"); |
2412 o.richMediaExitOverrides = buildUnnamed2697(); | 2454 o.richMediaExitOverrides = buildUnnamed2452(); |
2413 o.sequence = 42; | 2455 o.sequence = 42; |
2414 o.sslCompliant = true; | 2456 o.sslCompliant = true; |
2415 o.startTime = core.DateTime.parse("2002-02-27T14:01:02"); | 2457 o.startTime = core.DateTime.parse("2002-02-27T14:01:02"); |
2416 o.weight = 42; | 2458 o.weight = 42; |
2417 } | 2459 } |
2418 buildCounterCreativeAssignment--; | 2460 buildCounterCreativeAssignment--; |
2419 return o; | 2461 return o; |
2420 } | 2462 } |
2421 | 2463 |
2422 checkCreativeAssignment(api.CreativeAssignment o) { | 2464 checkCreativeAssignment(api.CreativeAssignment o) { |
2423 buildCounterCreativeAssignment++; | 2465 buildCounterCreativeAssignment++; |
2424 if (buildCounterCreativeAssignment < 3) { | 2466 if (buildCounterCreativeAssignment < 3) { |
2425 unittest.expect(o.active, unittest.isTrue); | 2467 unittest.expect(o.active, unittest.isTrue); |
2426 unittest.expect(o.applyEventTags, unittest.isTrue); | 2468 unittest.expect(o.applyEventTags, unittest.isTrue); |
2427 checkClickThroughUrl(o.clickThroughUrl); | 2469 checkClickThroughUrl(o.clickThroughUrl); |
2428 checkUnnamed2695(o.companionCreativeOverrides); | 2470 checkUnnamed2450(o.companionCreativeOverrides); |
2429 checkUnnamed2696(o.creativeGroupAssignments); | 2471 checkUnnamed2451(o.creativeGroupAssignments); |
2430 unittest.expect(o.creativeId, unittest.equals('foo')); | 2472 unittest.expect(o.creativeId, unittest.equals('foo')); |
2431 checkDimensionValue(o.creativeIdDimensionValue); | 2473 checkDimensionValue(o.creativeIdDimensionValue); |
2432 unittest.expect(o.endTime, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 2474 unittest.expect(o.endTime, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
2433 checkUnnamed2697(o.richMediaExitOverrides); | 2475 checkUnnamed2452(o.richMediaExitOverrides); |
2434 unittest.expect(o.sequence, unittest.equals(42)); | 2476 unittest.expect(o.sequence, unittest.equals(42)); |
2435 unittest.expect(o.sslCompliant, unittest.isTrue); | 2477 unittest.expect(o.sslCompliant, unittest.isTrue); |
2436 unittest.expect(o.startTime, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); | 2478 unittest.expect(o.startTime, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
2437 unittest.expect(o.weight, unittest.equals(42)); | 2479 unittest.expect(o.weight, unittest.equals(42)); |
2438 } | 2480 } |
2439 buildCounterCreativeAssignment--; | 2481 buildCounterCreativeAssignment--; |
2440 } | 2482 } |
2441 | 2483 |
2442 core.int buildCounterCreativeCustomEvent = 0; | 2484 core.int buildCounterCreativeCustomEvent = 0; |
2443 buildCreativeCustomEvent() { | 2485 buildCreativeCustomEvent() { |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2544 checkCreativeFieldValue(api.CreativeFieldValue o) { | 2586 checkCreativeFieldValue(api.CreativeFieldValue o) { |
2545 buildCounterCreativeFieldValue++; | 2587 buildCounterCreativeFieldValue++; |
2546 if (buildCounterCreativeFieldValue < 3) { | 2588 if (buildCounterCreativeFieldValue < 3) { |
2547 unittest.expect(o.id, unittest.equals('foo')); | 2589 unittest.expect(o.id, unittest.equals('foo')); |
2548 unittest.expect(o.kind, unittest.equals('foo')); | 2590 unittest.expect(o.kind, unittest.equals('foo')); |
2549 unittest.expect(o.value, unittest.equals('foo')); | 2591 unittest.expect(o.value, unittest.equals('foo')); |
2550 } | 2592 } |
2551 buildCounterCreativeFieldValue--; | 2593 buildCounterCreativeFieldValue--; |
2552 } | 2594 } |
2553 | 2595 |
2554 buildUnnamed2698() { | 2596 buildUnnamed2453() { |
2555 var o = new core.List<api.CreativeFieldValue>(); | 2597 var o = new core.List<api.CreativeFieldValue>(); |
2556 o.add(buildCreativeFieldValue()); | 2598 o.add(buildCreativeFieldValue()); |
2557 o.add(buildCreativeFieldValue()); | 2599 o.add(buildCreativeFieldValue()); |
2558 return o; | 2600 return o; |
2559 } | 2601 } |
2560 | 2602 |
2561 checkUnnamed2698(core.List<api.CreativeFieldValue> o) { | 2603 checkUnnamed2453(core.List<api.CreativeFieldValue> o) { |
2562 unittest.expect(o, unittest.hasLength(2)); | 2604 unittest.expect(o, unittest.hasLength(2)); |
2563 checkCreativeFieldValue(o[0]); | 2605 checkCreativeFieldValue(o[0]); |
2564 checkCreativeFieldValue(o[1]); | 2606 checkCreativeFieldValue(o[1]); |
2565 } | 2607 } |
2566 | 2608 |
2567 core.int buildCounterCreativeFieldValuesListResponse = 0; | 2609 core.int buildCounterCreativeFieldValuesListResponse = 0; |
2568 buildCreativeFieldValuesListResponse() { | 2610 buildCreativeFieldValuesListResponse() { |
2569 var o = new api.CreativeFieldValuesListResponse(); | 2611 var o = new api.CreativeFieldValuesListResponse(); |
2570 buildCounterCreativeFieldValuesListResponse++; | 2612 buildCounterCreativeFieldValuesListResponse++; |
2571 if (buildCounterCreativeFieldValuesListResponse < 3) { | 2613 if (buildCounterCreativeFieldValuesListResponse < 3) { |
2572 o.creativeFieldValues = buildUnnamed2698(); | 2614 o.creativeFieldValues = buildUnnamed2453(); |
2573 o.kind = "foo"; | 2615 o.kind = "foo"; |
2574 o.nextPageToken = "foo"; | 2616 o.nextPageToken = "foo"; |
2575 } | 2617 } |
2576 buildCounterCreativeFieldValuesListResponse--; | 2618 buildCounterCreativeFieldValuesListResponse--; |
2577 return o; | 2619 return o; |
2578 } | 2620 } |
2579 | 2621 |
2580 checkCreativeFieldValuesListResponse(api.CreativeFieldValuesListResponse o) { | 2622 checkCreativeFieldValuesListResponse(api.CreativeFieldValuesListResponse o) { |
2581 buildCounterCreativeFieldValuesListResponse++; | 2623 buildCounterCreativeFieldValuesListResponse++; |
2582 if (buildCounterCreativeFieldValuesListResponse < 3) { | 2624 if (buildCounterCreativeFieldValuesListResponse < 3) { |
2583 checkUnnamed2698(o.creativeFieldValues); | 2625 checkUnnamed2453(o.creativeFieldValues); |
2584 unittest.expect(o.kind, unittest.equals('foo')); | 2626 unittest.expect(o.kind, unittest.equals('foo')); |
2585 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2627 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2586 } | 2628 } |
2587 buildCounterCreativeFieldValuesListResponse--; | 2629 buildCounterCreativeFieldValuesListResponse--; |
2588 } | 2630 } |
2589 | 2631 |
2590 buildUnnamed2699() { | 2632 buildUnnamed2454() { |
2591 var o = new core.List<api.CreativeField>(); | 2633 var o = new core.List<api.CreativeField>(); |
2592 o.add(buildCreativeField()); | 2634 o.add(buildCreativeField()); |
2593 o.add(buildCreativeField()); | 2635 o.add(buildCreativeField()); |
2594 return o; | 2636 return o; |
2595 } | 2637 } |
2596 | 2638 |
2597 checkUnnamed2699(core.List<api.CreativeField> o) { | 2639 checkUnnamed2454(core.List<api.CreativeField> o) { |
2598 unittest.expect(o, unittest.hasLength(2)); | 2640 unittest.expect(o, unittest.hasLength(2)); |
2599 checkCreativeField(o[0]); | 2641 checkCreativeField(o[0]); |
2600 checkCreativeField(o[1]); | 2642 checkCreativeField(o[1]); |
2601 } | 2643 } |
2602 | 2644 |
2603 core.int buildCounterCreativeFieldsListResponse = 0; | 2645 core.int buildCounterCreativeFieldsListResponse = 0; |
2604 buildCreativeFieldsListResponse() { | 2646 buildCreativeFieldsListResponse() { |
2605 var o = new api.CreativeFieldsListResponse(); | 2647 var o = new api.CreativeFieldsListResponse(); |
2606 buildCounterCreativeFieldsListResponse++; | 2648 buildCounterCreativeFieldsListResponse++; |
2607 if (buildCounterCreativeFieldsListResponse < 3) { | 2649 if (buildCounterCreativeFieldsListResponse < 3) { |
2608 o.creativeFields = buildUnnamed2699(); | 2650 o.creativeFields = buildUnnamed2454(); |
2609 o.kind = "foo"; | 2651 o.kind = "foo"; |
2610 o.nextPageToken = "foo"; | 2652 o.nextPageToken = "foo"; |
2611 } | 2653 } |
2612 buildCounterCreativeFieldsListResponse--; | 2654 buildCounterCreativeFieldsListResponse--; |
2613 return o; | 2655 return o; |
2614 } | 2656 } |
2615 | 2657 |
2616 checkCreativeFieldsListResponse(api.CreativeFieldsListResponse o) { | 2658 checkCreativeFieldsListResponse(api.CreativeFieldsListResponse o) { |
2617 buildCounterCreativeFieldsListResponse++; | 2659 buildCounterCreativeFieldsListResponse++; |
2618 if (buildCounterCreativeFieldsListResponse < 3) { | 2660 if (buildCounterCreativeFieldsListResponse < 3) { |
2619 checkUnnamed2699(o.creativeFields); | 2661 checkUnnamed2454(o.creativeFields); |
2620 unittest.expect(o.kind, unittest.equals('foo')); | 2662 unittest.expect(o.kind, unittest.equals('foo')); |
2621 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2663 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2622 } | 2664 } |
2623 buildCounterCreativeFieldsListResponse--; | 2665 buildCounterCreativeFieldsListResponse--; |
2624 } | 2666 } |
2625 | 2667 |
2626 core.int buildCounterCreativeGroup = 0; | 2668 core.int buildCounterCreativeGroup = 0; |
2627 buildCreativeGroup() { | 2669 buildCreativeGroup() { |
2628 var o = new api.CreativeGroup(); | 2670 var o = new api.CreativeGroup(); |
2629 buildCounterCreativeGroup++; | 2671 buildCounterCreativeGroup++; |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2670 | 2712 |
2671 checkCreativeGroupAssignment(api.CreativeGroupAssignment o) { | 2713 checkCreativeGroupAssignment(api.CreativeGroupAssignment o) { |
2672 buildCounterCreativeGroupAssignment++; | 2714 buildCounterCreativeGroupAssignment++; |
2673 if (buildCounterCreativeGroupAssignment < 3) { | 2715 if (buildCounterCreativeGroupAssignment < 3) { |
2674 unittest.expect(o.creativeGroupId, unittest.equals('foo')); | 2716 unittest.expect(o.creativeGroupId, unittest.equals('foo')); |
2675 unittest.expect(o.creativeGroupNumber, unittest.equals('foo')); | 2717 unittest.expect(o.creativeGroupNumber, unittest.equals('foo')); |
2676 } | 2718 } |
2677 buildCounterCreativeGroupAssignment--; | 2719 buildCounterCreativeGroupAssignment--; |
2678 } | 2720 } |
2679 | 2721 |
2680 buildUnnamed2700() { | 2722 buildUnnamed2455() { |
2681 var o = new core.List<api.CreativeGroup>(); | 2723 var o = new core.List<api.CreativeGroup>(); |
2682 o.add(buildCreativeGroup()); | 2724 o.add(buildCreativeGroup()); |
2683 o.add(buildCreativeGroup()); | 2725 o.add(buildCreativeGroup()); |
2684 return o; | 2726 return o; |
2685 } | 2727 } |
2686 | 2728 |
2687 checkUnnamed2700(core.List<api.CreativeGroup> o) { | 2729 checkUnnamed2455(core.List<api.CreativeGroup> o) { |
2688 unittest.expect(o, unittest.hasLength(2)); | 2730 unittest.expect(o, unittest.hasLength(2)); |
2689 checkCreativeGroup(o[0]); | 2731 checkCreativeGroup(o[0]); |
2690 checkCreativeGroup(o[1]); | 2732 checkCreativeGroup(o[1]); |
2691 } | 2733 } |
2692 | 2734 |
2693 core.int buildCounterCreativeGroupsListResponse = 0; | 2735 core.int buildCounterCreativeGroupsListResponse = 0; |
2694 buildCreativeGroupsListResponse() { | 2736 buildCreativeGroupsListResponse() { |
2695 var o = new api.CreativeGroupsListResponse(); | 2737 var o = new api.CreativeGroupsListResponse(); |
2696 buildCounterCreativeGroupsListResponse++; | 2738 buildCounterCreativeGroupsListResponse++; |
2697 if (buildCounterCreativeGroupsListResponse < 3) { | 2739 if (buildCounterCreativeGroupsListResponse < 3) { |
2698 o.creativeGroups = buildUnnamed2700(); | 2740 o.creativeGroups = buildUnnamed2455(); |
2699 o.kind = "foo"; | 2741 o.kind = "foo"; |
2700 o.nextPageToken = "foo"; | 2742 o.nextPageToken = "foo"; |
2701 } | 2743 } |
2702 buildCounterCreativeGroupsListResponse--; | 2744 buildCounterCreativeGroupsListResponse--; |
2703 return o; | 2745 return o; |
2704 } | 2746 } |
2705 | 2747 |
2706 checkCreativeGroupsListResponse(api.CreativeGroupsListResponse o) { | 2748 checkCreativeGroupsListResponse(api.CreativeGroupsListResponse o) { |
2707 buildCounterCreativeGroupsListResponse++; | 2749 buildCounterCreativeGroupsListResponse++; |
2708 if (buildCounterCreativeGroupsListResponse < 3) { | 2750 if (buildCounterCreativeGroupsListResponse < 3) { |
2709 checkUnnamed2700(o.creativeGroups); | 2751 checkUnnamed2455(o.creativeGroups); |
2710 unittest.expect(o.kind, unittest.equals('foo')); | 2752 unittest.expect(o.kind, unittest.equals('foo')); |
2711 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2753 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2712 } | 2754 } |
2713 buildCounterCreativeGroupsListResponse--; | 2755 buildCounterCreativeGroupsListResponse--; |
2714 } | 2756 } |
2715 | 2757 |
2716 buildUnnamed2701() { | 2758 buildUnnamed2456() { |
2717 var o = new core.List<api.OptimizationActivity>(); | 2759 var o = new core.List<api.OptimizationActivity>(); |
2718 o.add(buildOptimizationActivity()); | 2760 o.add(buildOptimizationActivity()); |
2719 o.add(buildOptimizationActivity()); | 2761 o.add(buildOptimizationActivity()); |
2720 return o; | 2762 return o; |
2721 } | 2763 } |
2722 | 2764 |
2723 checkUnnamed2701(core.List<api.OptimizationActivity> o) { | 2765 checkUnnamed2456(core.List<api.OptimizationActivity> o) { |
2724 unittest.expect(o, unittest.hasLength(2)); | 2766 unittest.expect(o, unittest.hasLength(2)); |
2725 checkOptimizationActivity(o[0]); | 2767 checkOptimizationActivity(o[0]); |
2726 checkOptimizationActivity(o[1]); | 2768 checkOptimizationActivity(o[1]); |
2727 } | 2769 } |
2728 | 2770 |
2729 core.int buildCounterCreativeOptimizationConfiguration = 0; | 2771 core.int buildCounterCreativeOptimizationConfiguration = 0; |
2730 buildCreativeOptimizationConfiguration() { | 2772 buildCreativeOptimizationConfiguration() { |
2731 var o = new api.CreativeOptimizationConfiguration(); | 2773 var o = new api.CreativeOptimizationConfiguration(); |
2732 buildCounterCreativeOptimizationConfiguration++; | 2774 buildCounterCreativeOptimizationConfiguration++; |
2733 if (buildCounterCreativeOptimizationConfiguration < 3) { | 2775 if (buildCounterCreativeOptimizationConfiguration < 3) { |
2734 o.id = "foo"; | 2776 o.id = "foo"; |
2735 o.name = "foo"; | 2777 o.name = "foo"; |
2736 o.optimizationActivitys = buildUnnamed2701(); | 2778 o.optimizationActivitys = buildUnnamed2456(); |
2737 o.optimizationModel = "foo"; | 2779 o.optimizationModel = "foo"; |
2738 } | 2780 } |
2739 buildCounterCreativeOptimizationConfiguration--; | 2781 buildCounterCreativeOptimizationConfiguration--; |
2740 return o; | 2782 return o; |
2741 } | 2783 } |
2742 | 2784 |
2743 checkCreativeOptimizationConfiguration(api.CreativeOptimizationConfiguration o)
{ | 2785 checkCreativeOptimizationConfiguration(api.CreativeOptimizationConfiguration o)
{ |
2744 buildCounterCreativeOptimizationConfiguration++; | 2786 buildCounterCreativeOptimizationConfiguration++; |
2745 if (buildCounterCreativeOptimizationConfiguration < 3) { | 2787 if (buildCounterCreativeOptimizationConfiguration < 3) { |
2746 unittest.expect(o.id, unittest.equals('foo')); | 2788 unittest.expect(o.id, unittest.equals('foo')); |
2747 unittest.expect(o.name, unittest.equals('foo')); | 2789 unittest.expect(o.name, unittest.equals('foo')); |
2748 checkUnnamed2701(o.optimizationActivitys); | 2790 checkUnnamed2456(o.optimizationActivitys); |
2749 unittest.expect(o.optimizationModel, unittest.equals('foo')); | 2791 unittest.expect(o.optimizationModel, unittest.equals('foo')); |
2750 } | 2792 } |
2751 buildCounterCreativeOptimizationConfiguration--; | 2793 buildCounterCreativeOptimizationConfiguration--; |
2752 } | 2794 } |
2753 | 2795 |
2754 buildUnnamed2702() { | 2796 buildUnnamed2457() { |
2755 var o = new core.List<api.CreativeAssignment>(); | 2797 var o = new core.List<api.CreativeAssignment>(); |
2756 o.add(buildCreativeAssignment()); | 2798 o.add(buildCreativeAssignment()); |
2757 o.add(buildCreativeAssignment()); | 2799 o.add(buildCreativeAssignment()); |
2758 return o; | 2800 return o; |
2759 } | 2801 } |
2760 | 2802 |
2761 checkUnnamed2702(core.List<api.CreativeAssignment> o) { | 2803 checkUnnamed2457(core.List<api.CreativeAssignment> o) { |
2762 unittest.expect(o, unittest.hasLength(2)); | 2804 unittest.expect(o, unittest.hasLength(2)); |
2763 checkCreativeAssignment(o[0]); | 2805 checkCreativeAssignment(o[0]); |
2764 checkCreativeAssignment(o[1]); | 2806 checkCreativeAssignment(o[1]); |
2765 } | 2807 } |
2766 | 2808 |
2767 core.int buildCounterCreativeRotation = 0; | 2809 core.int buildCounterCreativeRotation = 0; |
2768 buildCreativeRotation() { | 2810 buildCreativeRotation() { |
2769 var o = new api.CreativeRotation(); | 2811 var o = new api.CreativeRotation(); |
2770 buildCounterCreativeRotation++; | 2812 buildCounterCreativeRotation++; |
2771 if (buildCounterCreativeRotation < 3) { | 2813 if (buildCounterCreativeRotation < 3) { |
2772 o.creativeAssignments = buildUnnamed2702(); | 2814 o.creativeAssignments = buildUnnamed2457(); |
2773 o.creativeOptimizationConfigurationId = "foo"; | 2815 o.creativeOptimizationConfigurationId = "foo"; |
2774 o.type = "foo"; | 2816 o.type = "foo"; |
2775 o.weightCalculationStrategy = "foo"; | 2817 o.weightCalculationStrategy = "foo"; |
2776 } | 2818 } |
2777 buildCounterCreativeRotation--; | 2819 buildCounterCreativeRotation--; |
2778 return o; | 2820 return o; |
2779 } | 2821 } |
2780 | 2822 |
2781 checkCreativeRotation(api.CreativeRotation o) { | 2823 checkCreativeRotation(api.CreativeRotation o) { |
2782 buildCounterCreativeRotation++; | 2824 buildCounterCreativeRotation++; |
2783 if (buildCounterCreativeRotation < 3) { | 2825 if (buildCounterCreativeRotation < 3) { |
2784 checkUnnamed2702(o.creativeAssignments); | 2826 checkUnnamed2457(o.creativeAssignments); |
2785 unittest.expect(o.creativeOptimizationConfigurationId, unittest.equals('foo'
)); | 2827 unittest.expect(o.creativeOptimizationConfigurationId, unittest.equals('foo'
)); |
2786 unittest.expect(o.type, unittest.equals('foo')); | 2828 unittest.expect(o.type, unittest.equals('foo')); |
2787 unittest.expect(o.weightCalculationStrategy, unittest.equals('foo')); | 2829 unittest.expect(o.weightCalculationStrategy, unittest.equals('foo')); |
2788 } | 2830 } |
2789 buildCounterCreativeRotation--; | 2831 buildCounterCreativeRotation--; |
2790 } | 2832 } |
2791 | 2833 |
2792 core.int buildCounterCreativeSettings = 0; | 2834 core.int buildCounterCreativeSettings = 0; |
2793 buildCreativeSettings() { | 2835 buildCreativeSettings() { |
2794 var o = new api.CreativeSettings(); | 2836 var o = new api.CreativeSettings(); |
2795 buildCounterCreativeSettings++; | 2837 buildCounterCreativeSettings++; |
2796 if (buildCounterCreativeSettings < 3) { | 2838 if (buildCounterCreativeSettings < 3) { |
2797 o.iFrameFooter = "foo"; | 2839 o.iFrameFooter = "foo"; |
2798 o.iFrameHeader = "foo"; | 2840 o.iFrameHeader = "foo"; |
2799 } | 2841 } |
2800 buildCounterCreativeSettings--; | 2842 buildCounterCreativeSettings--; |
2801 return o; | 2843 return o; |
2802 } | 2844 } |
2803 | 2845 |
2804 checkCreativeSettings(api.CreativeSettings o) { | 2846 checkCreativeSettings(api.CreativeSettings o) { |
2805 buildCounterCreativeSettings++; | 2847 buildCounterCreativeSettings++; |
2806 if (buildCounterCreativeSettings < 3) { | 2848 if (buildCounterCreativeSettings < 3) { |
2807 unittest.expect(o.iFrameFooter, unittest.equals('foo')); | 2849 unittest.expect(o.iFrameFooter, unittest.equals('foo')); |
2808 unittest.expect(o.iFrameHeader, unittest.equals('foo')); | 2850 unittest.expect(o.iFrameHeader, unittest.equals('foo')); |
2809 } | 2851 } |
2810 buildCounterCreativeSettings--; | 2852 buildCounterCreativeSettings--; |
2811 } | 2853 } |
2812 | 2854 |
2813 buildUnnamed2703() { | 2855 buildUnnamed2458() { |
2814 var o = new core.List<api.Creative>(); | 2856 var o = new core.List<api.Creative>(); |
2815 o.add(buildCreative()); | 2857 o.add(buildCreative()); |
2816 o.add(buildCreative()); | 2858 o.add(buildCreative()); |
2817 return o; | 2859 return o; |
2818 } | 2860 } |
2819 | 2861 |
2820 checkUnnamed2703(core.List<api.Creative> o) { | 2862 checkUnnamed2458(core.List<api.Creative> o) { |
2821 unittest.expect(o, unittest.hasLength(2)); | 2863 unittest.expect(o, unittest.hasLength(2)); |
2822 checkCreative(o[0]); | 2864 checkCreative(o[0]); |
2823 checkCreative(o[1]); | 2865 checkCreative(o[1]); |
2824 } | 2866 } |
2825 | 2867 |
2826 core.int buildCounterCreativesListResponse = 0; | 2868 core.int buildCounterCreativesListResponse = 0; |
2827 buildCreativesListResponse() { | 2869 buildCreativesListResponse() { |
2828 var o = new api.CreativesListResponse(); | 2870 var o = new api.CreativesListResponse(); |
2829 buildCounterCreativesListResponse++; | 2871 buildCounterCreativesListResponse++; |
2830 if (buildCounterCreativesListResponse < 3) { | 2872 if (buildCounterCreativesListResponse < 3) { |
2831 o.creatives = buildUnnamed2703(); | 2873 o.creatives = buildUnnamed2458(); |
2832 o.kind = "foo"; | 2874 o.kind = "foo"; |
2833 o.nextPageToken = "foo"; | 2875 o.nextPageToken = "foo"; |
2834 } | 2876 } |
2835 buildCounterCreativesListResponse--; | 2877 buildCounterCreativesListResponse--; |
2836 return o; | 2878 return o; |
2837 } | 2879 } |
2838 | 2880 |
2839 checkCreativesListResponse(api.CreativesListResponse o) { | 2881 checkCreativesListResponse(api.CreativesListResponse o) { |
2840 buildCounterCreativesListResponse++; | 2882 buildCounterCreativesListResponse++; |
2841 if (buildCounterCreativesListResponse < 3) { | 2883 if (buildCounterCreativesListResponse < 3) { |
2842 checkUnnamed2703(o.creatives); | 2884 checkUnnamed2458(o.creatives); |
2843 unittest.expect(o.kind, unittest.equals('foo')); | 2885 unittest.expect(o.kind, unittest.equals('foo')); |
2844 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2886 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2845 } | 2887 } |
2846 buildCounterCreativesListResponse--; | 2888 buildCounterCreativesListResponse--; |
2847 } | 2889 } |
2848 | 2890 |
2849 buildUnnamed2704() { | 2891 buildUnnamed2459() { |
2850 var o = new core.List<api.Dimension>(); | 2892 var o = new core.List<api.Dimension>(); |
2851 o.add(buildDimension()); | 2893 o.add(buildDimension()); |
2852 o.add(buildDimension()); | 2894 o.add(buildDimension()); |
2853 return o; | 2895 return o; |
2854 } | 2896 } |
2855 | 2897 |
2856 checkUnnamed2704(core.List<api.Dimension> o) { | 2898 checkUnnamed2459(core.List<api.Dimension> o) { |
2857 unittest.expect(o, unittest.hasLength(2)); | 2899 unittest.expect(o, unittest.hasLength(2)); |
2858 checkDimension(o[0]); | 2900 checkDimension(o[0]); |
2859 checkDimension(o[1]); | 2901 checkDimension(o[1]); |
2860 } | 2902 } |
2861 | 2903 |
2862 buildUnnamed2705() { | 2904 buildUnnamed2460() { |
2863 var o = new core.List<api.Dimension>(); | 2905 var o = new core.List<api.Dimension>(); |
2864 o.add(buildDimension()); | 2906 o.add(buildDimension()); |
2865 o.add(buildDimension()); | 2907 o.add(buildDimension()); |
2866 return o; | 2908 return o; |
2867 } | 2909 } |
2868 | 2910 |
2869 checkUnnamed2705(core.List<api.Dimension> o) { | 2911 checkUnnamed2460(core.List<api.Dimension> o) { |
2870 unittest.expect(o, unittest.hasLength(2)); | 2912 unittest.expect(o, unittest.hasLength(2)); |
2871 checkDimension(o[0]); | 2913 checkDimension(o[0]); |
2872 checkDimension(o[1]); | 2914 checkDimension(o[1]); |
2873 } | 2915 } |
2874 | 2916 |
2875 buildUnnamed2706() { | 2917 buildUnnamed2461() { |
2876 var o = new core.List<api.Metric>(); | 2918 var o = new core.List<api.Metric>(); |
2877 o.add(buildMetric()); | 2919 o.add(buildMetric()); |
2878 o.add(buildMetric()); | 2920 o.add(buildMetric()); |
2879 return o; | 2921 return o; |
2880 } | 2922 } |
2881 | 2923 |
2882 checkUnnamed2706(core.List<api.Metric> o) { | 2924 checkUnnamed2461(core.List<api.Metric> o) { |
2883 unittest.expect(o, unittest.hasLength(2)); | 2925 unittest.expect(o, unittest.hasLength(2)); |
2884 checkMetric(o[0]); | 2926 checkMetric(o[0]); |
2885 checkMetric(o[1]); | 2927 checkMetric(o[1]); |
2886 } | 2928 } |
2887 | 2929 |
2888 buildUnnamed2707() { | 2930 buildUnnamed2462() { |
2889 var o = new core.List<api.Metric>(); | 2931 var o = new core.List<api.Metric>(); |
2890 o.add(buildMetric()); | 2932 o.add(buildMetric()); |
2891 o.add(buildMetric()); | 2933 o.add(buildMetric()); |
2892 return o; | 2934 return o; |
2893 } | 2935 } |
2894 | 2936 |
2895 checkUnnamed2707(core.List<api.Metric> o) { | 2937 checkUnnamed2462(core.List<api.Metric> o) { |
2896 unittest.expect(o, unittest.hasLength(2)); | 2938 unittest.expect(o, unittest.hasLength(2)); |
2897 checkMetric(o[0]); | 2939 checkMetric(o[0]); |
2898 checkMetric(o[1]); | 2940 checkMetric(o[1]); |
2899 } | 2941 } |
2900 | 2942 |
2901 core.int buildCounterCrossDimensionReachReportCompatibleFields = 0; | 2943 core.int buildCounterCrossDimensionReachReportCompatibleFields = 0; |
2902 buildCrossDimensionReachReportCompatibleFields() { | 2944 buildCrossDimensionReachReportCompatibleFields() { |
2903 var o = new api.CrossDimensionReachReportCompatibleFields(); | 2945 var o = new api.CrossDimensionReachReportCompatibleFields(); |
2904 buildCounterCrossDimensionReachReportCompatibleFields++; | 2946 buildCounterCrossDimensionReachReportCompatibleFields++; |
2905 if (buildCounterCrossDimensionReachReportCompatibleFields < 3) { | 2947 if (buildCounterCrossDimensionReachReportCompatibleFields < 3) { |
2906 o.breakdown = buildUnnamed2704(); | 2948 o.breakdown = buildUnnamed2459(); |
2907 o.dimensionFilters = buildUnnamed2705(); | 2949 o.dimensionFilters = buildUnnamed2460(); |
2908 o.kind = "foo"; | 2950 o.kind = "foo"; |
2909 o.metrics = buildUnnamed2706(); | 2951 o.metrics = buildUnnamed2461(); |
2910 o.overlapMetrics = buildUnnamed2707(); | 2952 o.overlapMetrics = buildUnnamed2462(); |
2911 } | 2953 } |
2912 buildCounterCrossDimensionReachReportCompatibleFields--; | 2954 buildCounterCrossDimensionReachReportCompatibleFields--; |
2913 return o; | 2955 return o; |
2914 } | 2956 } |
2915 | 2957 |
2916 checkCrossDimensionReachReportCompatibleFields(api.CrossDimensionReachReportComp
atibleFields o) { | 2958 checkCrossDimensionReachReportCompatibleFields(api.CrossDimensionReachReportComp
atibleFields o) { |
2917 buildCounterCrossDimensionReachReportCompatibleFields++; | 2959 buildCounterCrossDimensionReachReportCompatibleFields++; |
2918 if (buildCounterCrossDimensionReachReportCompatibleFields < 3) { | 2960 if (buildCounterCrossDimensionReachReportCompatibleFields < 3) { |
2919 checkUnnamed2704(o.breakdown); | 2961 checkUnnamed2459(o.breakdown); |
2920 checkUnnamed2705(o.dimensionFilters); | 2962 checkUnnamed2460(o.dimensionFilters); |
2921 unittest.expect(o.kind, unittest.equals('foo')); | 2963 unittest.expect(o.kind, unittest.equals('foo')); |
2922 checkUnnamed2706(o.metrics); | 2964 checkUnnamed2461(o.metrics); |
2923 checkUnnamed2707(o.overlapMetrics); | 2965 checkUnnamed2462(o.overlapMetrics); |
2924 } | 2966 } |
2925 buildCounterCrossDimensionReachReportCompatibleFields--; | 2967 buildCounterCrossDimensionReachReportCompatibleFields--; |
2926 } | 2968 } |
2927 | 2969 |
2928 core.int buildCounterCustomFloodlightVariable = 0; | 2970 core.int buildCounterCustomFloodlightVariable = 0; |
2929 buildCustomFloodlightVariable() { | 2971 buildCustomFloodlightVariable() { |
2930 var o = new api.CustomFloodlightVariable(); | 2972 var o = new api.CustomFloodlightVariable(); |
2931 buildCounterCustomFloodlightVariable++; | 2973 buildCounterCustomFloodlightVariable++; |
2932 if (buildCounterCustomFloodlightVariable < 3) { | 2974 if (buildCounterCustomFloodlightVariable < 3) { |
2933 o.kind = "foo"; | 2975 o.kind = "foo"; |
2934 o.type = "foo"; | 2976 o.type = "foo"; |
2935 o.value = "foo"; | 2977 o.value = "foo"; |
2936 } | 2978 } |
2937 buildCounterCustomFloodlightVariable--; | 2979 buildCounterCustomFloodlightVariable--; |
2938 return o; | 2980 return o; |
2939 } | 2981 } |
2940 | 2982 |
2941 checkCustomFloodlightVariable(api.CustomFloodlightVariable o) { | 2983 checkCustomFloodlightVariable(api.CustomFloodlightVariable o) { |
2942 buildCounterCustomFloodlightVariable++; | 2984 buildCounterCustomFloodlightVariable++; |
2943 if (buildCounterCustomFloodlightVariable < 3) { | 2985 if (buildCounterCustomFloodlightVariable < 3) { |
2944 unittest.expect(o.kind, unittest.equals('foo')); | 2986 unittest.expect(o.kind, unittest.equals('foo')); |
2945 unittest.expect(o.type, unittest.equals('foo')); | 2987 unittest.expect(o.type, unittest.equals('foo')); |
2946 unittest.expect(o.value, unittest.equals('foo')); | 2988 unittest.expect(o.value, unittest.equals('foo')); |
2947 } | 2989 } |
2948 buildCounterCustomFloodlightVariable--; | 2990 buildCounterCustomFloodlightVariable--; |
2949 } | 2991 } |
2950 | 2992 |
2951 buildUnnamed2708() { | 2993 buildUnnamed2463() { |
2952 var o = new core.List<api.DimensionValue>(); | 2994 var o = new core.List<api.DimensionValue>(); |
2953 o.add(buildDimensionValue()); | 2995 o.add(buildDimensionValue()); |
2954 o.add(buildDimensionValue()); | 2996 o.add(buildDimensionValue()); |
2955 return o; | 2997 return o; |
2956 } | 2998 } |
2957 | 2999 |
2958 checkUnnamed2708(core.List<api.DimensionValue> o) { | 3000 checkUnnamed2463(core.List<api.DimensionValue> o) { |
2959 unittest.expect(o, unittest.hasLength(2)); | 3001 unittest.expect(o, unittest.hasLength(2)); |
2960 checkDimensionValue(o[0]); | 3002 checkDimensionValue(o[0]); |
2961 checkDimensionValue(o[1]); | 3003 checkDimensionValue(o[1]); |
2962 } | 3004 } |
2963 | 3005 |
2964 core.int buildCounterCustomRichMediaEvents = 0; | 3006 core.int buildCounterCustomRichMediaEvents = 0; |
2965 buildCustomRichMediaEvents() { | 3007 buildCustomRichMediaEvents() { |
2966 var o = new api.CustomRichMediaEvents(); | 3008 var o = new api.CustomRichMediaEvents(); |
2967 buildCounterCustomRichMediaEvents++; | 3009 buildCounterCustomRichMediaEvents++; |
2968 if (buildCounterCustomRichMediaEvents < 3) { | 3010 if (buildCounterCustomRichMediaEvents < 3) { |
2969 o.filteredEventIds = buildUnnamed2708(); | 3011 o.filteredEventIds = buildUnnamed2463(); |
2970 o.kind = "foo"; | 3012 o.kind = "foo"; |
2971 } | 3013 } |
2972 buildCounterCustomRichMediaEvents--; | 3014 buildCounterCustomRichMediaEvents--; |
2973 return o; | 3015 return o; |
2974 } | 3016 } |
2975 | 3017 |
2976 checkCustomRichMediaEvents(api.CustomRichMediaEvents o) { | 3018 checkCustomRichMediaEvents(api.CustomRichMediaEvents o) { |
2977 buildCounterCustomRichMediaEvents++; | 3019 buildCounterCustomRichMediaEvents++; |
2978 if (buildCounterCustomRichMediaEvents < 3) { | 3020 if (buildCounterCustomRichMediaEvents < 3) { |
2979 checkUnnamed2708(o.filteredEventIds); | 3021 checkUnnamed2463(o.filteredEventIds); |
2980 unittest.expect(o.kind, unittest.equals('foo')); | 3022 unittest.expect(o.kind, unittest.equals('foo')); |
2981 } | 3023 } |
2982 buildCounterCustomRichMediaEvents--; | 3024 buildCounterCustomRichMediaEvents--; |
2983 } | 3025 } |
2984 | 3026 |
2985 core.int buildCounterDateRange = 0; | 3027 core.int buildCounterDateRange = 0; |
2986 buildDateRange() { | 3028 buildDateRange() { |
2987 var o = new api.DateRange(); | 3029 var o = new api.DateRange(); |
2988 buildCounterDateRange++; | 3030 buildCounterDateRange++; |
2989 if (buildCounterDateRange < 3) { | 3031 if (buildCounterDateRange < 3) { |
(...skipping 10 matching lines...) Expand all Loading... |
3000 buildCounterDateRange++; | 3042 buildCounterDateRange++; |
3001 if (buildCounterDateRange < 3) { | 3043 if (buildCounterDateRange < 3) { |
3002 unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T0
0:00:00"))); | 3044 unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T0
0:00:00"))); |
3003 unittest.expect(o.kind, unittest.equals('foo')); | 3045 unittest.expect(o.kind, unittest.equals('foo')); |
3004 unittest.expect(o.relativeDateRange, unittest.equals('foo')); | 3046 unittest.expect(o.relativeDateRange, unittest.equals('foo')); |
3005 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); | 3047 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); |
3006 } | 3048 } |
3007 buildCounterDateRange--; | 3049 buildCounterDateRange--; |
3008 } | 3050 } |
3009 | 3051 |
3010 buildUnnamed2709() { | 3052 buildUnnamed2464() { |
3011 var o = new core.List<core.String>(); | 3053 var o = new core.List<core.String>(); |
3012 o.add("foo"); | 3054 o.add("foo"); |
3013 o.add("foo"); | 3055 o.add("foo"); |
3014 return o; | 3056 return o; |
3015 } | 3057 } |
3016 | 3058 |
3017 checkUnnamed2709(core.List<core.String> o) { | 3059 checkUnnamed2464(core.List<core.String> o) { |
3018 unittest.expect(o, unittest.hasLength(2)); | 3060 unittest.expect(o, unittest.hasLength(2)); |
3019 unittest.expect(o[0], unittest.equals('foo')); | 3061 unittest.expect(o[0], unittest.equals('foo')); |
3020 unittest.expect(o[1], unittest.equals('foo')); | 3062 unittest.expect(o[1], unittest.equals('foo')); |
3021 } | 3063 } |
3022 | 3064 |
3023 buildUnnamed2710() { | 3065 buildUnnamed2465() { |
3024 var o = new core.List<core.int>(); | 3066 var o = new core.List<core.int>(); |
3025 o.add(42); | 3067 o.add(42); |
3026 o.add(42); | 3068 o.add(42); |
3027 return o; | 3069 return o; |
3028 } | 3070 } |
3029 | 3071 |
3030 checkUnnamed2710(core.List<core.int> o) { | 3072 checkUnnamed2465(core.List<core.int> o) { |
3031 unittest.expect(o, unittest.hasLength(2)); | 3073 unittest.expect(o, unittest.hasLength(2)); |
3032 unittest.expect(o[0], unittest.equals(42)); | 3074 unittest.expect(o[0], unittest.equals(42)); |
3033 unittest.expect(o[1], unittest.equals(42)); | 3075 unittest.expect(o[1], unittest.equals(42)); |
3034 } | 3076 } |
3035 | 3077 |
3036 core.int buildCounterDayPartTargeting = 0; | 3078 core.int buildCounterDayPartTargeting = 0; |
3037 buildDayPartTargeting() { | 3079 buildDayPartTargeting() { |
3038 var o = new api.DayPartTargeting(); | 3080 var o = new api.DayPartTargeting(); |
3039 buildCounterDayPartTargeting++; | 3081 buildCounterDayPartTargeting++; |
3040 if (buildCounterDayPartTargeting < 3) { | 3082 if (buildCounterDayPartTargeting < 3) { |
3041 o.daysOfWeek = buildUnnamed2709(); | 3083 o.daysOfWeek = buildUnnamed2464(); |
3042 o.hoursOfDay = buildUnnamed2710(); | 3084 o.hoursOfDay = buildUnnamed2465(); |
3043 o.userLocalTime = true; | 3085 o.userLocalTime = true; |
3044 } | 3086 } |
3045 buildCounterDayPartTargeting--; | 3087 buildCounterDayPartTargeting--; |
3046 return o; | 3088 return o; |
3047 } | 3089 } |
3048 | 3090 |
3049 checkDayPartTargeting(api.DayPartTargeting o) { | 3091 checkDayPartTargeting(api.DayPartTargeting o) { |
3050 buildCounterDayPartTargeting++; | 3092 buildCounterDayPartTargeting++; |
3051 if (buildCounterDayPartTargeting < 3) { | 3093 if (buildCounterDayPartTargeting < 3) { |
3052 checkUnnamed2709(o.daysOfWeek); | 3094 checkUnnamed2464(o.daysOfWeek); |
3053 checkUnnamed2710(o.hoursOfDay); | 3095 checkUnnamed2465(o.hoursOfDay); |
3054 unittest.expect(o.userLocalTime, unittest.isTrue); | 3096 unittest.expect(o.userLocalTime, unittest.isTrue); |
3055 } | 3097 } |
3056 buildCounterDayPartTargeting--; | 3098 buildCounterDayPartTargeting--; |
3057 } | 3099 } |
3058 | 3100 |
3059 core.int buildCounterDefaultClickThroughEventTagProperties = 0; | 3101 core.int buildCounterDefaultClickThroughEventTagProperties = 0; |
3060 buildDefaultClickThroughEventTagProperties() { | 3102 buildDefaultClickThroughEventTagProperties() { |
3061 var o = new api.DefaultClickThroughEventTagProperties(); | 3103 var o = new api.DefaultClickThroughEventTagProperties(); |
3062 buildCounterDefaultClickThroughEventTagProperties++; | 3104 buildCounterDefaultClickThroughEventTagProperties++; |
3063 if (buildCounterDefaultClickThroughEventTagProperties < 3) { | 3105 if (buildCounterDefaultClickThroughEventTagProperties < 3) { |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3195 unittest.expect(o.dimensionName, unittest.equals('foo')); | 3237 unittest.expect(o.dimensionName, unittest.equals('foo')); |
3196 unittest.expect(o.etag, unittest.equals('foo')); | 3238 unittest.expect(o.etag, unittest.equals('foo')); |
3197 unittest.expect(o.id, unittest.equals('foo')); | 3239 unittest.expect(o.id, unittest.equals('foo')); |
3198 unittest.expect(o.kind, unittest.equals('foo')); | 3240 unittest.expect(o.kind, unittest.equals('foo')); |
3199 unittest.expect(o.matchType, unittest.equals('foo')); | 3241 unittest.expect(o.matchType, unittest.equals('foo')); |
3200 unittest.expect(o.value, unittest.equals('foo')); | 3242 unittest.expect(o.value, unittest.equals('foo')); |
3201 } | 3243 } |
3202 buildCounterDimensionValue--; | 3244 buildCounterDimensionValue--; |
3203 } | 3245 } |
3204 | 3246 |
3205 buildUnnamed2711() { | 3247 buildUnnamed2466() { |
3206 var o = new core.List<api.DimensionValue>(); | 3248 var o = new core.List<api.DimensionValue>(); |
3207 o.add(buildDimensionValue()); | 3249 o.add(buildDimensionValue()); |
3208 o.add(buildDimensionValue()); | 3250 o.add(buildDimensionValue()); |
3209 return o; | 3251 return o; |
3210 } | 3252 } |
3211 | 3253 |
3212 checkUnnamed2711(core.List<api.DimensionValue> o) { | 3254 checkUnnamed2466(core.List<api.DimensionValue> o) { |
3213 unittest.expect(o, unittest.hasLength(2)); | 3255 unittest.expect(o, unittest.hasLength(2)); |
3214 checkDimensionValue(o[0]); | 3256 checkDimensionValue(o[0]); |
3215 checkDimensionValue(o[1]); | 3257 checkDimensionValue(o[1]); |
3216 } | 3258 } |
3217 | 3259 |
3218 core.int buildCounterDimensionValueList = 0; | 3260 core.int buildCounterDimensionValueList = 0; |
3219 buildDimensionValueList() { | 3261 buildDimensionValueList() { |
3220 var o = new api.DimensionValueList(); | 3262 var o = new api.DimensionValueList(); |
3221 buildCounterDimensionValueList++; | 3263 buildCounterDimensionValueList++; |
3222 if (buildCounterDimensionValueList < 3) { | 3264 if (buildCounterDimensionValueList < 3) { |
3223 o.etag = "foo"; | 3265 o.etag = "foo"; |
3224 o.items = buildUnnamed2711(); | 3266 o.items = buildUnnamed2466(); |
3225 o.kind = "foo"; | 3267 o.kind = "foo"; |
3226 o.nextPageToken = "foo"; | 3268 o.nextPageToken = "foo"; |
3227 } | 3269 } |
3228 buildCounterDimensionValueList--; | 3270 buildCounterDimensionValueList--; |
3229 return o; | 3271 return o; |
3230 } | 3272 } |
3231 | 3273 |
3232 checkDimensionValueList(api.DimensionValueList o) { | 3274 checkDimensionValueList(api.DimensionValueList o) { |
3233 buildCounterDimensionValueList++; | 3275 buildCounterDimensionValueList++; |
3234 if (buildCounterDimensionValueList < 3) { | 3276 if (buildCounterDimensionValueList < 3) { |
3235 unittest.expect(o.etag, unittest.equals('foo')); | 3277 unittest.expect(o.etag, unittest.equals('foo')); |
3236 checkUnnamed2711(o.items); | 3278 checkUnnamed2466(o.items); |
3237 unittest.expect(o.kind, unittest.equals('foo')); | 3279 unittest.expect(o.kind, unittest.equals('foo')); |
3238 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3280 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3239 } | 3281 } |
3240 buildCounterDimensionValueList--; | 3282 buildCounterDimensionValueList--; |
3241 } | 3283 } |
3242 | 3284 |
3243 buildUnnamed2712() { | 3285 buildUnnamed2467() { |
3244 var o = new core.List<api.DimensionFilter>(); | 3286 var o = new core.List<api.DimensionFilter>(); |
3245 o.add(buildDimensionFilter()); | 3287 o.add(buildDimensionFilter()); |
3246 o.add(buildDimensionFilter()); | 3288 o.add(buildDimensionFilter()); |
3247 return o; | 3289 return o; |
3248 } | 3290 } |
3249 | 3291 |
3250 checkUnnamed2712(core.List<api.DimensionFilter> o) { | 3292 checkUnnamed2467(core.List<api.DimensionFilter> o) { |
3251 unittest.expect(o, unittest.hasLength(2)); | 3293 unittest.expect(o, unittest.hasLength(2)); |
3252 checkDimensionFilter(o[0]); | 3294 checkDimensionFilter(o[0]); |
3253 checkDimensionFilter(o[1]); | 3295 checkDimensionFilter(o[1]); |
3254 } | 3296 } |
3255 | 3297 |
3256 core.int buildCounterDimensionValueRequest = 0; | 3298 core.int buildCounterDimensionValueRequest = 0; |
3257 buildDimensionValueRequest() { | 3299 buildDimensionValueRequest() { |
3258 var o = new api.DimensionValueRequest(); | 3300 var o = new api.DimensionValueRequest(); |
3259 buildCounterDimensionValueRequest++; | 3301 buildCounterDimensionValueRequest++; |
3260 if (buildCounterDimensionValueRequest < 3) { | 3302 if (buildCounterDimensionValueRequest < 3) { |
3261 o.dimensionName = "foo"; | 3303 o.dimensionName = "foo"; |
3262 o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 3304 o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
3263 o.filters = buildUnnamed2712(); | 3305 o.filters = buildUnnamed2467(); |
3264 o.kind = "foo"; | 3306 o.kind = "foo"; |
3265 o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 3307 o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
3266 } | 3308 } |
3267 buildCounterDimensionValueRequest--; | 3309 buildCounterDimensionValueRequest--; |
3268 return o; | 3310 return o; |
3269 } | 3311 } |
3270 | 3312 |
3271 checkDimensionValueRequest(api.DimensionValueRequest o) { | 3313 checkDimensionValueRequest(api.DimensionValueRequest o) { |
3272 buildCounterDimensionValueRequest++; | 3314 buildCounterDimensionValueRequest++; |
3273 if (buildCounterDimensionValueRequest < 3) { | 3315 if (buildCounterDimensionValueRequest < 3) { |
3274 unittest.expect(o.dimensionName, unittest.equals('foo')); | 3316 unittest.expect(o.dimensionName, unittest.equals('foo')); |
3275 unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T0
0:00:00"))); | 3317 unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T0
0:00:00"))); |
3276 checkUnnamed2712(o.filters); | 3318 checkUnnamed2467(o.filters); |
3277 unittest.expect(o.kind, unittest.equals('foo')); | 3319 unittest.expect(o.kind, unittest.equals('foo')); |
3278 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); | 3320 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); |
3279 } | 3321 } |
3280 buildCounterDimensionValueRequest--; | 3322 buildCounterDimensionValueRequest--; |
3281 } | 3323 } |
3282 | 3324 |
3283 buildUnnamed2713() { | 3325 buildUnnamed2468() { |
3284 var o = new core.List<api.DirectorySiteContactAssignment>(); | 3326 var o = new core.List<api.DirectorySiteContactAssignment>(); |
3285 o.add(buildDirectorySiteContactAssignment()); | 3327 o.add(buildDirectorySiteContactAssignment()); |
3286 o.add(buildDirectorySiteContactAssignment()); | 3328 o.add(buildDirectorySiteContactAssignment()); |
3287 return o; | 3329 return o; |
3288 } | 3330 } |
3289 | 3331 |
3290 checkUnnamed2713(core.List<api.DirectorySiteContactAssignment> o) { | 3332 checkUnnamed2468(core.List<api.DirectorySiteContactAssignment> o) { |
3291 unittest.expect(o, unittest.hasLength(2)); | 3333 unittest.expect(o, unittest.hasLength(2)); |
3292 checkDirectorySiteContactAssignment(o[0]); | 3334 checkDirectorySiteContactAssignment(o[0]); |
3293 checkDirectorySiteContactAssignment(o[1]); | 3335 checkDirectorySiteContactAssignment(o[1]); |
3294 } | 3336 } |
3295 | 3337 |
3296 buildUnnamed2714() { | 3338 buildUnnamed2469() { |
3297 var o = new core.List<core.String>(); | 3339 var o = new core.List<core.String>(); |
3298 o.add("foo"); | 3340 o.add("foo"); |
3299 o.add("foo"); | 3341 o.add("foo"); |
3300 return o; | 3342 return o; |
3301 } | 3343 } |
3302 | 3344 |
3303 checkUnnamed2714(core.List<core.String> o) { | 3345 checkUnnamed2469(core.List<core.String> o) { |
3304 unittest.expect(o, unittest.hasLength(2)); | 3346 unittest.expect(o, unittest.hasLength(2)); |
3305 unittest.expect(o[0], unittest.equals('foo')); | 3347 unittest.expect(o[0], unittest.equals('foo')); |
3306 unittest.expect(o[1], unittest.equals('foo')); | 3348 unittest.expect(o[1], unittest.equals('foo')); |
3307 } | 3349 } |
3308 | 3350 |
3309 buildUnnamed2715() { | 3351 buildUnnamed2470() { |
3310 var o = new core.List<core.String>(); | 3352 var o = new core.List<core.String>(); |
3311 o.add("foo"); | 3353 o.add("foo"); |
3312 o.add("foo"); | 3354 o.add("foo"); |
3313 return o; | 3355 return o; |
3314 } | 3356 } |
3315 | 3357 |
3316 checkUnnamed2715(core.List<core.String> o) { | 3358 checkUnnamed2470(core.List<core.String> o) { |
3317 unittest.expect(o, unittest.hasLength(2)); | 3359 unittest.expect(o, unittest.hasLength(2)); |
3318 unittest.expect(o[0], unittest.equals('foo')); | 3360 unittest.expect(o[0], unittest.equals('foo')); |
3319 unittest.expect(o[1], unittest.equals('foo')); | 3361 unittest.expect(o[1], unittest.equals('foo')); |
3320 } | 3362 } |
3321 | 3363 |
3322 core.int buildCounterDirectorySite = 0; | 3364 core.int buildCounterDirectorySite = 0; |
3323 buildDirectorySite() { | 3365 buildDirectorySite() { |
3324 var o = new api.DirectorySite(); | 3366 var o = new api.DirectorySite(); |
3325 buildCounterDirectorySite++; | 3367 buildCounterDirectorySite++; |
3326 if (buildCounterDirectorySite < 3) { | 3368 if (buildCounterDirectorySite < 3) { |
3327 o.active = true; | 3369 o.active = true; |
3328 o.contactAssignments = buildUnnamed2713(); | 3370 o.contactAssignments = buildUnnamed2468(); |
3329 o.countryId = "foo"; | 3371 o.countryId = "foo"; |
3330 o.currencyId = "foo"; | 3372 o.currencyId = "foo"; |
3331 o.description = "foo"; | 3373 o.description = "foo"; |
3332 o.id = "foo"; | 3374 o.id = "foo"; |
3333 o.idDimensionValue = buildDimensionValue(); | 3375 o.idDimensionValue = buildDimensionValue(); |
3334 o.inpageTagFormats = buildUnnamed2714(); | 3376 o.inpageTagFormats = buildUnnamed2469(); |
3335 o.interstitialTagFormats = buildUnnamed2715(); | 3377 o.interstitialTagFormats = buildUnnamed2470(); |
3336 o.kind = "foo"; | 3378 o.kind = "foo"; |
3337 o.name = "foo"; | 3379 o.name = "foo"; |
3338 o.parentId = "foo"; | 3380 o.parentId = "foo"; |
3339 o.settings = buildDirectorySiteSettings(); | 3381 o.settings = buildDirectorySiteSettings(); |
3340 o.url = "foo"; | 3382 o.url = "foo"; |
3341 } | 3383 } |
3342 buildCounterDirectorySite--; | 3384 buildCounterDirectorySite--; |
3343 return o; | 3385 return o; |
3344 } | 3386 } |
3345 | 3387 |
3346 checkDirectorySite(api.DirectorySite o) { | 3388 checkDirectorySite(api.DirectorySite o) { |
3347 buildCounterDirectorySite++; | 3389 buildCounterDirectorySite++; |
3348 if (buildCounterDirectorySite < 3) { | 3390 if (buildCounterDirectorySite < 3) { |
3349 unittest.expect(o.active, unittest.isTrue); | 3391 unittest.expect(o.active, unittest.isTrue); |
3350 checkUnnamed2713(o.contactAssignments); | 3392 checkUnnamed2468(o.contactAssignments); |
3351 unittest.expect(o.countryId, unittest.equals('foo')); | 3393 unittest.expect(o.countryId, unittest.equals('foo')); |
3352 unittest.expect(o.currencyId, unittest.equals('foo')); | 3394 unittest.expect(o.currencyId, unittest.equals('foo')); |
3353 unittest.expect(o.description, unittest.equals('foo')); | 3395 unittest.expect(o.description, unittest.equals('foo')); |
3354 unittest.expect(o.id, unittest.equals('foo')); | 3396 unittest.expect(o.id, unittest.equals('foo')); |
3355 checkDimensionValue(o.idDimensionValue); | 3397 checkDimensionValue(o.idDimensionValue); |
3356 checkUnnamed2714(o.inpageTagFormats); | 3398 checkUnnamed2469(o.inpageTagFormats); |
3357 checkUnnamed2715(o.interstitialTagFormats); | 3399 checkUnnamed2470(o.interstitialTagFormats); |
3358 unittest.expect(o.kind, unittest.equals('foo')); | 3400 unittest.expect(o.kind, unittest.equals('foo')); |
3359 unittest.expect(o.name, unittest.equals('foo')); | 3401 unittest.expect(o.name, unittest.equals('foo')); |
3360 unittest.expect(o.parentId, unittest.equals('foo')); | 3402 unittest.expect(o.parentId, unittest.equals('foo')); |
3361 checkDirectorySiteSettings(o.settings); | 3403 checkDirectorySiteSettings(o.settings); |
3362 unittest.expect(o.url, unittest.equals('foo')); | 3404 unittest.expect(o.url, unittest.equals('foo')); |
3363 } | 3405 } |
3364 buildCounterDirectorySite--; | 3406 buildCounterDirectorySite--; |
3365 } | 3407 } |
3366 | 3408 |
3367 core.int buildCounterDirectorySiteContact = 0; | 3409 core.int buildCounterDirectorySiteContact = 0; |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3415 | 3457 |
3416 checkDirectorySiteContactAssignment(api.DirectorySiteContactAssignment o) { | 3458 checkDirectorySiteContactAssignment(api.DirectorySiteContactAssignment o) { |
3417 buildCounterDirectorySiteContactAssignment++; | 3459 buildCounterDirectorySiteContactAssignment++; |
3418 if (buildCounterDirectorySiteContactAssignment < 3) { | 3460 if (buildCounterDirectorySiteContactAssignment < 3) { |
3419 unittest.expect(o.contactId, unittest.equals('foo')); | 3461 unittest.expect(o.contactId, unittest.equals('foo')); |
3420 unittest.expect(o.visibility, unittest.equals('foo')); | 3462 unittest.expect(o.visibility, unittest.equals('foo')); |
3421 } | 3463 } |
3422 buildCounterDirectorySiteContactAssignment--; | 3464 buildCounterDirectorySiteContactAssignment--; |
3423 } | 3465 } |
3424 | 3466 |
3425 buildUnnamed2716() { | 3467 buildUnnamed2471() { |
3426 var o = new core.List<api.DirectorySiteContact>(); | 3468 var o = new core.List<api.DirectorySiteContact>(); |
3427 o.add(buildDirectorySiteContact()); | 3469 o.add(buildDirectorySiteContact()); |
3428 o.add(buildDirectorySiteContact()); | 3470 o.add(buildDirectorySiteContact()); |
3429 return o; | 3471 return o; |
3430 } | 3472 } |
3431 | 3473 |
3432 checkUnnamed2716(core.List<api.DirectorySiteContact> o) { | 3474 checkUnnamed2471(core.List<api.DirectorySiteContact> o) { |
3433 unittest.expect(o, unittest.hasLength(2)); | 3475 unittest.expect(o, unittest.hasLength(2)); |
3434 checkDirectorySiteContact(o[0]); | 3476 checkDirectorySiteContact(o[0]); |
3435 checkDirectorySiteContact(o[1]); | 3477 checkDirectorySiteContact(o[1]); |
3436 } | 3478 } |
3437 | 3479 |
3438 core.int buildCounterDirectorySiteContactsListResponse = 0; | 3480 core.int buildCounterDirectorySiteContactsListResponse = 0; |
3439 buildDirectorySiteContactsListResponse() { | 3481 buildDirectorySiteContactsListResponse() { |
3440 var o = new api.DirectorySiteContactsListResponse(); | 3482 var o = new api.DirectorySiteContactsListResponse(); |
3441 buildCounterDirectorySiteContactsListResponse++; | 3483 buildCounterDirectorySiteContactsListResponse++; |
3442 if (buildCounterDirectorySiteContactsListResponse < 3) { | 3484 if (buildCounterDirectorySiteContactsListResponse < 3) { |
3443 o.directorySiteContacts = buildUnnamed2716(); | 3485 o.directorySiteContacts = buildUnnamed2471(); |
3444 o.kind = "foo"; | 3486 o.kind = "foo"; |
3445 o.nextPageToken = "foo"; | 3487 o.nextPageToken = "foo"; |
3446 } | 3488 } |
3447 buildCounterDirectorySiteContactsListResponse--; | 3489 buildCounterDirectorySiteContactsListResponse--; |
3448 return o; | 3490 return o; |
3449 } | 3491 } |
3450 | 3492 |
3451 checkDirectorySiteContactsListResponse(api.DirectorySiteContactsListResponse o)
{ | 3493 checkDirectorySiteContactsListResponse(api.DirectorySiteContactsListResponse o)
{ |
3452 buildCounterDirectorySiteContactsListResponse++; | 3494 buildCounterDirectorySiteContactsListResponse++; |
3453 if (buildCounterDirectorySiteContactsListResponse < 3) { | 3495 if (buildCounterDirectorySiteContactsListResponse < 3) { |
3454 checkUnnamed2716(o.directorySiteContacts); | 3496 checkUnnamed2471(o.directorySiteContacts); |
3455 unittest.expect(o.kind, unittest.equals('foo')); | 3497 unittest.expect(o.kind, unittest.equals('foo')); |
3456 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3498 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3457 } | 3499 } |
3458 buildCounterDirectorySiteContactsListResponse--; | 3500 buildCounterDirectorySiteContactsListResponse--; |
3459 } | 3501 } |
3460 | 3502 |
3461 core.int buildCounterDirectorySiteSettings = 0; | 3503 core.int buildCounterDirectorySiteSettings = 0; |
3462 buildDirectorySiteSettings() { | 3504 buildDirectorySiteSettings() { |
3463 var o = new api.DirectorySiteSettings(); | 3505 var o = new api.DirectorySiteSettings(); |
3464 buildCounterDirectorySiteSettings++; | 3506 buildCounterDirectorySiteSettings++; |
(...skipping 17 matching lines...) Expand all Loading... |
3482 checkDfpSettings(o.dfpSettings); | 3524 checkDfpSettings(o.dfpSettings); |
3483 unittest.expect(o.instreamVideoPlacementAccepted, unittest.isTrue); | 3525 unittest.expect(o.instreamVideoPlacementAccepted, unittest.isTrue); |
3484 unittest.expect(o.interstitialPlacementAccepted, unittest.isTrue); | 3526 unittest.expect(o.interstitialPlacementAccepted, unittest.isTrue); |
3485 unittest.expect(o.nielsenOcrOptOut, unittest.isTrue); | 3527 unittest.expect(o.nielsenOcrOptOut, unittest.isTrue); |
3486 unittest.expect(o.verificationTagOptOut, unittest.isTrue); | 3528 unittest.expect(o.verificationTagOptOut, unittest.isTrue); |
3487 unittest.expect(o.videoActiveViewOptOut, unittest.isTrue); | 3529 unittest.expect(o.videoActiveViewOptOut, unittest.isTrue); |
3488 } | 3530 } |
3489 buildCounterDirectorySiteSettings--; | 3531 buildCounterDirectorySiteSettings--; |
3490 } | 3532 } |
3491 | 3533 |
3492 buildUnnamed2717() { | 3534 buildUnnamed2472() { |
3493 var o = new core.List<api.DirectorySite>(); | 3535 var o = new core.List<api.DirectorySite>(); |
3494 o.add(buildDirectorySite()); | 3536 o.add(buildDirectorySite()); |
3495 o.add(buildDirectorySite()); | 3537 o.add(buildDirectorySite()); |
3496 return o; | 3538 return o; |
3497 } | 3539 } |
3498 | 3540 |
3499 checkUnnamed2717(core.List<api.DirectorySite> o) { | 3541 checkUnnamed2472(core.List<api.DirectorySite> o) { |
3500 unittest.expect(o, unittest.hasLength(2)); | 3542 unittest.expect(o, unittest.hasLength(2)); |
3501 checkDirectorySite(o[0]); | 3543 checkDirectorySite(o[0]); |
3502 checkDirectorySite(o[1]); | 3544 checkDirectorySite(o[1]); |
3503 } | 3545 } |
3504 | 3546 |
3505 core.int buildCounterDirectorySitesListResponse = 0; | 3547 core.int buildCounterDirectorySitesListResponse = 0; |
3506 buildDirectorySitesListResponse() { | 3548 buildDirectorySitesListResponse() { |
3507 var o = new api.DirectorySitesListResponse(); | 3549 var o = new api.DirectorySitesListResponse(); |
3508 buildCounterDirectorySitesListResponse++; | 3550 buildCounterDirectorySitesListResponse++; |
3509 if (buildCounterDirectorySitesListResponse < 3) { | 3551 if (buildCounterDirectorySitesListResponse < 3) { |
3510 o.directorySites = buildUnnamed2717(); | 3552 o.directorySites = buildUnnamed2472(); |
3511 o.kind = "foo"; | 3553 o.kind = "foo"; |
3512 o.nextPageToken = "foo"; | 3554 o.nextPageToken = "foo"; |
3513 } | 3555 } |
3514 buildCounterDirectorySitesListResponse--; | 3556 buildCounterDirectorySitesListResponse--; |
3515 return o; | 3557 return o; |
3516 } | 3558 } |
3517 | 3559 |
3518 checkDirectorySitesListResponse(api.DirectorySitesListResponse o) { | 3560 checkDirectorySitesListResponse(api.DirectorySitesListResponse o) { |
3519 buildCounterDirectorySitesListResponse++; | 3561 buildCounterDirectorySitesListResponse++; |
3520 if (buildCounterDirectorySitesListResponse < 3) { | 3562 if (buildCounterDirectorySitesListResponse < 3) { |
3521 checkUnnamed2717(o.directorySites); | 3563 checkUnnamed2472(o.directorySites); |
3522 unittest.expect(o.kind, unittest.equals('foo')); | 3564 unittest.expect(o.kind, unittest.equals('foo')); |
3523 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3565 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3524 } | 3566 } |
3525 buildCounterDirectorySitesListResponse--; | 3567 buildCounterDirectorySitesListResponse--; |
3526 } | 3568 } |
3527 | 3569 |
3528 core.int buildCounterDynamicTargetingKey = 0; | 3570 core.int buildCounterDynamicTargetingKey = 0; |
3529 buildDynamicTargetingKey() { | 3571 buildDynamicTargetingKey() { |
3530 var o = new api.DynamicTargetingKey(); | 3572 var o = new api.DynamicTargetingKey(); |
3531 buildCounterDynamicTargetingKey++; | 3573 buildCounterDynamicTargetingKey++; |
(...skipping 11 matching lines...) Expand all Loading... |
3543 buildCounterDynamicTargetingKey++; | 3585 buildCounterDynamicTargetingKey++; |
3544 if (buildCounterDynamicTargetingKey < 3) { | 3586 if (buildCounterDynamicTargetingKey < 3) { |
3545 unittest.expect(o.kind, unittest.equals('foo')); | 3587 unittest.expect(o.kind, unittest.equals('foo')); |
3546 unittest.expect(o.name, unittest.equals('foo')); | 3588 unittest.expect(o.name, unittest.equals('foo')); |
3547 unittest.expect(o.objectId, unittest.equals('foo')); | 3589 unittest.expect(o.objectId, unittest.equals('foo')); |
3548 unittest.expect(o.objectType, unittest.equals('foo')); | 3590 unittest.expect(o.objectType, unittest.equals('foo')); |
3549 } | 3591 } |
3550 buildCounterDynamicTargetingKey--; | 3592 buildCounterDynamicTargetingKey--; |
3551 } | 3593 } |
3552 | 3594 |
3553 buildUnnamed2718() { | 3595 buildUnnamed2473() { |
3554 var o = new core.List<api.DynamicTargetingKey>(); | 3596 var o = new core.List<api.DynamicTargetingKey>(); |
3555 o.add(buildDynamicTargetingKey()); | 3597 o.add(buildDynamicTargetingKey()); |
3556 o.add(buildDynamicTargetingKey()); | 3598 o.add(buildDynamicTargetingKey()); |
3557 return o; | 3599 return o; |
3558 } | 3600 } |
3559 | 3601 |
3560 checkUnnamed2718(core.List<api.DynamicTargetingKey> o) { | 3602 checkUnnamed2473(core.List<api.DynamicTargetingKey> o) { |
3561 unittest.expect(o, unittest.hasLength(2)); | 3603 unittest.expect(o, unittest.hasLength(2)); |
3562 checkDynamicTargetingKey(o[0]); | 3604 checkDynamicTargetingKey(o[0]); |
3563 checkDynamicTargetingKey(o[1]); | 3605 checkDynamicTargetingKey(o[1]); |
3564 } | 3606 } |
3565 | 3607 |
3566 core.int buildCounterDynamicTargetingKeysListResponse = 0; | 3608 core.int buildCounterDynamicTargetingKeysListResponse = 0; |
3567 buildDynamicTargetingKeysListResponse() { | 3609 buildDynamicTargetingKeysListResponse() { |
3568 var o = new api.DynamicTargetingKeysListResponse(); | 3610 var o = new api.DynamicTargetingKeysListResponse(); |
3569 buildCounterDynamicTargetingKeysListResponse++; | 3611 buildCounterDynamicTargetingKeysListResponse++; |
3570 if (buildCounterDynamicTargetingKeysListResponse < 3) { | 3612 if (buildCounterDynamicTargetingKeysListResponse < 3) { |
3571 o.dynamicTargetingKeys = buildUnnamed2718(); | 3613 o.dynamicTargetingKeys = buildUnnamed2473(); |
3572 o.kind = "foo"; | 3614 o.kind = "foo"; |
3573 } | 3615 } |
3574 buildCounterDynamicTargetingKeysListResponse--; | 3616 buildCounterDynamicTargetingKeysListResponse--; |
3575 return o; | 3617 return o; |
3576 } | 3618 } |
3577 | 3619 |
3578 checkDynamicTargetingKeysListResponse(api.DynamicTargetingKeysListResponse o) { | 3620 checkDynamicTargetingKeysListResponse(api.DynamicTargetingKeysListResponse o) { |
3579 buildCounterDynamicTargetingKeysListResponse++; | 3621 buildCounterDynamicTargetingKeysListResponse++; |
3580 if (buildCounterDynamicTargetingKeysListResponse < 3) { | 3622 if (buildCounterDynamicTargetingKeysListResponse < 3) { |
3581 checkUnnamed2718(o.dynamicTargetingKeys); | 3623 checkUnnamed2473(o.dynamicTargetingKeys); |
3582 unittest.expect(o.kind, unittest.equals('foo')); | 3624 unittest.expect(o.kind, unittest.equals('foo')); |
3583 } | 3625 } |
3584 buildCounterDynamicTargetingKeysListResponse--; | 3626 buildCounterDynamicTargetingKeysListResponse--; |
3585 } | 3627 } |
3586 | 3628 |
3587 core.int buildCounterEncryptionInfo = 0; | 3629 core.int buildCounterEncryptionInfo = 0; |
3588 buildEncryptionInfo() { | 3630 buildEncryptionInfo() { |
3589 var o = new api.EncryptionInfo(); | 3631 var o = new api.EncryptionInfo(); |
3590 buildCounterEncryptionInfo++; | 3632 buildCounterEncryptionInfo++; |
3591 if (buildCounterEncryptionInfo < 3) { | 3633 if (buildCounterEncryptionInfo < 3) { |
(...skipping 10 matching lines...) Expand all Loading... |
3602 buildCounterEncryptionInfo++; | 3644 buildCounterEncryptionInfo++; |
3603 if (buildCounterEncryptionInfo < 3) { | 3645 if (buildCounterEncryptionInfo < 3) { |
3604 unittest.expect(o.encryptionEntityId, unittest.equals('foo')); | 3646 unittest.expect(o.encryptionEntityId, unittest.equals('foo')); |
3605 unittest.expect(o.encryptionEntityType, unittest.equals('foo')); | 3647 unittest.expect(o.encryptionEntityType, unittest.equals('foo')); |
3606 unittest.expect(o.encryptionSource, unittest.equals('foo')); | 3648 unittest.expect(o.encryptionSource, unittest.equals('foo')); |
3607 unittest.expect(o.kind, unittest.equals('foo')); | 3649 unittest.expect(o.kind, unittest.equals('foo')); |
3608 } | 3650 } |
3609 buildCounterEncryptionInfo--; | 3651 buildCounterEncryptionInfo--; |
3610 } | 3652 } |
3611 | 3653 |
3612 buildUnnamed2719() { | 3654 buildUnnamed2474() { |
3613 var o = new core.List<core.String>(); | 3655 var o = new core.List<core.String>(); |
3614 o.add("foo"); | 3656 o.add("foo"); |
3615 o.add("foo"); | 3657 o.add("foo"); |
3616 return o; | 3658 return o; |
3617 } | 3659 } |
3618 | 3660 |
3619 checkUnnamed2719(core.List<core.String> o) { | 3661 checkUnnamed2474(core.List<core.String> o) { |
3620 unittest.expect(o, unittest.hasLength(2)); | 3662 unittest.expect(o, unittest.hasLength(2)); |
3621 unittest.expect(o[0], unittest.equals('foo')); | 3663 unittest.expect(o[0], unittest.equals('foo')); |
3622 unittest.expect(o[1], unittest.equals('foo')); | 3664 unittest.expect(o[1], unittest.equals('foo')); |
3623 } | 3665 } |
3624 | 3666 |
3625 core.int buildCounterEventTag = 0; | 3667 core.int buildCounterEventTag = 0; |
3626 buildEventTag() { | 3668 buildEventTag() { |
3627 var o = new api.EventTag(); | 3669 var o = new api.EventTag(); |
3628 buildCounterEventTag++; | 3670 buildCounterEventTag++; |
3629 if (buildCounterEventTag < 3) { | 3671 if (buildCounterEventTag < 3) { |
3630 o.accountId = "foo"; | 3672 o.accountId = "foo"; |
3631 o.advertiserId = "foo"; | 3673 o.advertiserId = "foo"; |
3632 o.advertiserIdDimensionValue = buildDimensionValue(); | 3674 o.advertiserIdDimensionValue = buildDimensionValue(); |
3633 o.campaignId = "foo"; | 3675 o.campaignId = "foo"; |
3634 o.campaignIdDimensionValue = buildDimensionValue(); | 3676 o.campaignIdDimensionValue = buildDimensionValue(); |
3635 o.enabledByDefault = true; | 3677 o.enabledByDefault = true; |
3636 o.excludeFromAdxRequests = true; | 3678 o.excludeFromAdxRequests = true; |
3637 o.id = "foo"; | 3679 o.id = "foo"; |
3638 o.kind = "foo"; | 3680 o.kind = "foo"; |
3639 o.name = "foo"; | 3681 o.name = "foo"; |
3640 o.siteFilterType = "foo"; | 3682 o.siteFilterType = "foo"; |
3641 o.siteIds = buildUnnamed2719(); | 3683 o.siteIds = buildUnnamed2474(); |
3642 o.sslCompliant = true; | 3684 o.sslCompliant = true; |
3643 o.status = "foo"; | 3685 o.status = "foo"; |
3644 o.subaccountId = "foo"; | 3686 o.subaccountId = "foo"; |
3645 o.type = "foo"; | 3687 o.type = "foo"; |
3646 o.url = "foo"; | 3688 o.url = "foo"; |
3647 o.urlEscapeLevels = 42; | 3689 o.urlEscapeLevels = 42; |
3648 } | 3690 } |
3649 buildCounterEventTag--; | 3691 buildCounterEventTag--; |
3650 return o; | 3692 return o; |
3651 } | 3693 } |
3652 | 3694 |
3653 checkEventTag(api.EventTag o) { | 3695 checkEventTag(api.EventTag o) { |
3654 buildCounterEventTag++; | 3696 buildCounterEventTag++; |
3655 if (buildCounterEventTag < 3) { | 3697 if (buildCounterEventTag < 3) { |
3656 unittest.expect(o.accountId, unittest.equals('foo')); | 3698 unittest.expect(o.accountId, unittest.equals('foo')); |
3657 unittest.expect(o.advertiserId, unittest.equals('foo')); | 3699 unittest.expect(o.advertiserId, unittest.equals('foo')); |
3658 checkDimensionValue(o.advertiserIdDimensionValue); | 3700 checkDimensionValue(o.advertiserIdDimensionValue); |
3659 unittest.expect(o.campaignId, unittest.equals('foo')); | 3701 unittest.expect(o.campaignId, unittest.equals('foo')); |
3660 checkDimensionValue(o.campaignIdDimensionValue); | 3702 checkDimensionValue(o.campaignIdDimensionValue); |
3661 unittest.expect(o.enabledByDefault, unittest.isTrue); | 3703 unittest.expect(o.enabledByDefault, unittest.isTrue); |
3662 unittest.expect(o.excludeFromAdxRequests, unittest.isTrue); | 3704 unittest.expect(o.excludeFromAdxRequests, unittest.isTrue); |
3663 unittest.expect(o.id, unittest.equals('foo')); | 3705 unittest.expect(o.id, unittest.equals('foo')); |
3664 unittest.expect(o.kind, unittest.equals('foo')); | 3706 unittest.expect(o.kind, unittest.equals('foo')); |
3665 unittest.expect(o.name, unittest.equals('foo')); | 3707 unittest.expect(o.name, unittest.equals('foo')); |
3666 unittest.expect(o.siteFilterType, unittest.equals('foo')); | 3708 unittest.expect(o.siteFilterType, unittest.equals('foo')); |
3667 checkUnnamed2719(o.siteIds); | 3709 checkUnnamed2474(o.siteIds); |
3668 unittest.expect(o.sslCompliant, unittest.isTrue); | 3710 unittest.expect(o.sslCompliant, unittest.isTrue); |
3669 unittest.expect(o.status, unittest.equals('foo')); | 3711 unittest.expect(o.status, unittest.equals('foo')); |
3670 unittest.expect(o.subaccountId, unittest.equals('foo')); | 3712 unittest.expect(o.subaccountId, unittest.equals('foo')); |
3671 unittest.expect(o.type, unittest.equals('foo')); | 3713 unittest.expect(o.type, unittest.equals('foo')); |
3672 unittest.expect(o.url, unittest.equals('foo')); | 3714 unittest.expect(o.url, unittest.equals('foo')); |
3673 unittest.expect(o.urlEscapeLevels, unittest.equals(42)); | 3715 unittest.expect(o.urlEscapeLevels, unittest.equals(42)); |
3674 } | 3716 } |
3675 buildCounterEventTag--; | 3717 buildCounterEventTag--; |
3676 } | 3718 } |
3677 | 3719 |
(...skipping 11 matching lines...) Expand all Loading... |
3689 | 3731 |
3690 checkEventTagOverride(api.EventTagOverride o) { | 3732 checkEventTagOverride(api.EventTagOverride o) { |
3691 buildCounterEventTagOverride++; | 3733 buildCounterEventTagOverride++; |
3692 if (buildCounterEventTagOverride < 3) { | 3734 if (buildCounterEventTagOverride < 3) { |
3693 unittest.expect(o.enabled, unittest.isTrue); | 3735 unittest.expect(o.enabled, unittest.isTrue); |
3694 unittest.expect(o.id, unittest.equals('foo')); | 3736 unittest.expect(o.id, unittest.equals('foo')); |
3695 } | 3737 } |
3696 buildCounterEventTagOverride--; | 3738 buildCounterEventTagOverride--; |
3697 } | 3739 } |
3698 | 3740 |
3699 buildUnnamed2720() { | 3741 buildUnnamed2475() { |
3700 var o = new core.List<api.EventTag>(); | 3742 var o = new core.List<api.EventTag>(); |
3701 o.add(buildEventTag()); | 3743 o.add(buildEventTag()); |
3702 o.add(buildEventTag()); | 3744 o.add(buildEventTag()); |
3703 return o; | 3745 return o; |
3704 } | 3746 } |
3705 | 3747 |
3706 checkUnnamed2720(core.List<api.EventTag> o) { | 3748 checkUnnamed2475(core.List<api.EventTag> o) { |
3707 unittest.expect(o, unittest.hasLength(2)); | 3749 unittest.expect(o, unittest.hasLength(2)); |
3708 checkEventTag(o[0]); | 3750 checkEventTag(o[0]); |
3709 checkEventTag(o[1]); | 3751 checkEventTag(o[1]); |
3710 } | 3752 } |
3711 | 3753 |
3712 core.int buildCounterEventTagsListResponse = 0; | 3754 core.int buildCounterEventTagsListResponse = 0; |
3713 buildEventTagsListResponse() { | 3755 buildEventTagsListResponse() { |
3714 var o = new api.EventTagsListResponse(); | 3756 var o = new api.EventTagsListResponse(); |
3715 buildCounterEventTagsListResponse++; | 3757 buildCounterEventTagsListResponse++; |
3716 if (buildCounterEventTagsListResponse < 3) { | 3758 if (buildCounterEventTagsListResponse < 3) { |
3717 o.eventTags = buildUnnamed2720(); | 3759 o.eventTags = buildUnnamed2475(); |
3718 o.kind = "foo"; | 3760 o.kind = "foo"; |
3719 } | 3761 } |
3720 buildCounterEventTagsListResponse--; | 3762 buildCounterEventTagsListResponse--; |
3721 return o; | 3763 return o; |
3722 } | 3764 } |
3723 | 3765 |
3724 checkEventTagsListResponse(api.EventTagsListResponse o) { | 3766 checkEventTagsListResponse(api.EventTagsListResponse o) { |
3725 buildCounterEventTagsListResponse++; | 3767 buildCounterEventTagsListResponse++; |
3726 if (buildCounterEventTagsListResponse < 3) { | 3768 if (buildCounterEventTagsListResponse < 3) { |
3727 checkUnnamed2720(o.eventTags); | 3769 checkUnnamed2475(o.eventTags); |
3728 unittest.expect(o.kind, unittest.equals('foo')); | 3770 unittest.expect(o.kind, unittest.equals('foo')); |
3729 } | 3771 } |
3730 buildCounterEventTagsListResponse--; | 3772 buildCounterEventTagsListResponse--; |
3731 } | 3773 } |
3732 | 3774 |
3733 core.int buildCounterFileUrls = 0; | 3775 core.int buildCounterFileUrls = 0; |
3734 buildFileUrls() { | 3776 buildFileUrls() { |
3735 var o = new api.FileUrls(); | 3777 var o = new api.FileUrls(); |
3736 buildCounterFileUrls++; | 3778 buildCounterFileUrls++; |
3737 if (buildCounterFileUrls < 3) { | 3779 if (buildCounterFileUrls < 3) { |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3781 unittest.expect(o.id, unittest.equals('foo')); | 3823 unittest.expect(o.id, unittest.equals('foo')); |
3782 unittest.expect(o.kind, unittest.equals('foo')); | 3824 unittest.expect(o.kind, unittest.equals('foo')); |
3783 unittest.expect(o.lastModifiedTime, unittest.equals('foo')); | 3825 unittest.expect(o.lastModifiedTime, unittest.equals('foo')); |
3784 unittest.expect(o.reportId, unittest.equals('foo')); | 3826 unittest.expect(o.reportId, unittest.equals('foo')); |
3785 unittest.expect(o.status, unittest.equals('foo')); | 3827 unittest.expect(o.status, unittest.equals('foo')); |
3786 checkFileUrls(o.urls); | 3828 checkFileUrls(o.urls); |
3787 } | 3829 } |
3788 buildCounterFile--; | 3830 buildCounterFile--; |
3789 } | 3831 } |
3790 | 3832 |
3791 buildUnnamed2721() { | 3833 buildUnnamed2476() { |
3792 var o = new core.List<api.File>(); | 3834 var o = new core.List<api.File>(); |
3793 o.add(buildFile()); | 3835 o.add(buildFile()); |
3794 o.add(buildFile()); | 3836 o.add(buildFile()); |
3795 return o; | 3837 return o; |
3796 } | 3838 } |
3797 | 3839 |
3798 checkUnnamed2721(core.List<api.File> o) { | 3840 checkUnnamed2476(core.List<api.File> o) { |
3799 unittest.expect(o, unittest.hasLength(2)); | 3841 unittest.expect(o, unittest.hasLength(2)); |
3800 checkFile(o[0]); | 3842 checkFile(o[0]); |
3801 checkFile(o[1]); | 3843 checkFile(o[1]); |
3802 } | 3844 } |
3803 | 3845 |
3804 core.int buildCounterFileList = 0; | 3846 core.int buildCounterFileList = 0; |
3805 buildFileList() { | 3847 buildFileList() { |
3806 var o = new api.FileList(); | 3848 var o = new api.FileList(); |
3807 buildCounterFileList++; | 3849 buildCounterFileList++; |
3808 if (buildCounterFileList < 3) { | 3850 if (buildCounterFileList < 3) { |
3809 o.etag = "foo"; | 3851 o.etag = "foo"; |
3810 o.items = buildUnnamed2721(); | 3852 o.items = buildUnnamed2476(); |
3811 o.kind = "foo"; | 3853 o.kind = "foo"; |
3812 o.nextPageToken = "foo"; | 3854 o.nextPageToken = "foo"; |
3813 } | 3855 } |
3814 buildCounterFileList--; | 3856 buildCounterFileList--; |
3815 return o; | 3857 return o; |
3816 } | 3858 } |
3817 | 3859 |
3818 checkFileList(api.FileList o) { | 3860 checkFileList(api.FileList o) { |
3819 buildCounterFileList++; | 3861 buildCounterFileList++; |
3820 if (buildCounterFileList < 3) { | 3862 if (buildCounterFileList < 3) { |
3821 unittest.expect(o.etag, unittest.equals('foo')); | 3863 unittest.expect(o.etag, unittest.equals('foo')); |
3822 checkUnnamed2721(o.items); | 3864 checkUnnamed2476(o.items); |
3823 unittest.expect(o.kind, unittest.equals('foo')); | 3865 unittest.expect(o.kind, unittest.equals('foo')); |
3824 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3866 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3825 } | 3867 } |
3826 buildCounterFileList--; | 3868 buildCounterFileList--; |
3827 } | 3869 } |
3828 | 3870 |
3829 core.int buildCounterFlight = 0; | 3871 core.int buildCounterFlight = 0; |
3830 buildFlight() { | 3872 buildFlight() { |
3831 var o = new api.Flight(); | 3873 var o = new api.Flight(); |
3832 buildCounterFlight++; | 3874 buildCounterFlight++; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3865 | 3907 |
3866 checkFloodlightActivitiesGenerateTagResponse(api.FloodlightActivitiesGenerateTag
Response o) { | 3908 checkFloodlightActivitiesGenerateTagResponse(api.FloodlightActivitiesGenerateTag
Response o) { |
3867 buildCounterFloodlightActivitiesGenerateTagResponse++; | 3909 buildCounterFloodlightActivitiesGenerateTagResponse++; |
3868 if (buildCounterFloodlightActivitiesGenerateTagResponse < 3) { | 3910 if (buildCounterFloodlightActivitiesGenerateTagResponse < 3) { |
3869 unittest.expect(o.floodlightActivityTag, unittest.equals('foo')); | 3911 unittest.expect(o.floodlightActivityTag, unittest.equals('foo')); |
3870 unittest.expect(o.kind, unittest.equals('foo')); | 3912 unittest.expect(o.kind, unittest.equals('foo')); |
3871 } | 3913 } |
3872 buildCounterFloodlightActivitiesGenerateTagResponse--; | 3914 buildCounterFloodlightActivitiesGenerateTagResponse--; |
3873 } | 3915 } |
3874 | 3916 |
3875 buildUnnamed2722() { | 3917 buildUnnamed2477() { |
3876 var o = new core.List<api.FloodlightActivity>(); | 3918 var o = new core.List<api.FloodlightActivity>(); |
3877 o.add(buildFloodlightActivity()); | 3919 o.add(buildFloodlightActivity()); |
3878 o.add(buildFloodlightActivity()); | 3920 o.add(buildFloodlightActivity()); |
3879 return o; | 3921 return o; |
3880 } | 3922 } |
3881 | 3923 |
3882 checkUnnamed2722(core.List<api.FloodlightActivity> o) { | 3924 checkUnnamed2477(core.List<api.FloodlightActivity> o) { |
3883 unittest.expect(o, unittest.hasLength(2)); | 3925 unittest.expect(o, unittest.hasLength(2)); |
3884 checkFloodlightActivity(o[0]); | 3926 checkFloodlightActivity(o[0]); |
3885 checkFloodlightActivity(o[1]); | 3927 checkFloodlightActivity(o[1]); |
3886 } | 3928 } |
3887 | 3929 |
3888 core.int buildCounterFloodlightActivitiesListResponse = 0; | 3930 core.int buildCounterFloodlightActivitiesListResponse = 0; |
3889 buildFloodlightActivitiesListResponse() { | 3931 buildFloodlightActivitiesListResponse() { |
3890 var o = new api.FloodlightActivitiesListResponse(); | 3932 var o = new api.FloodlightActivitiesListResponse(); |
3891 buildCounterFloodlightActivitiesListResponse++; | 3933 buildCounterFloodlightActivitiesListResponse++; |
3892 if (buildCounterFloodlightActivitiesListResponse < 3) { | 3934 if (buildCounterFloodlightActivitiesListResponse < 3) { |
3893 o.floodlightActivities = buildUnnamed2722(); | 3935 o.floodlightActivities = buildUnnamed2477(); |
3894 o.kind = "foo"; | 3936 o.kind = "foo"; |
3895 o.nextPageToken = "foo"; | 3937 o.nextPageToken = "foo"; |
3896 } | 3938 } |
3897 buildCounterFloodlightActivitiesListResponse--; | 3939 buildCounterFloodlightActivitiesListResponse--; |
3898 return o; | 3940 return o; |
3899 } | 3941 } |
3900 | 3942 |
3901 checkFloodlightActivitiesListResponse(api.FloodlightActivitiesListResponse o) { | 3943 checkFloodlightActivitiesListResponse(api.FloodlightActivitiesListResponse o) { |
3902 buildCounterFloodlightActivitiesListResponse++; | 3944 buildCounterFloodlightActivitiesListResponse++; |
3903 if (buildCounterFloodlightActivitiesListResponse < 3) { | 3945 if (buildCounterFloodlightActivitiesListResponse < 3) { |
3904 checkUnnamed2722(o.floodlightActivities); | 3946 checkUnnamed2477(o.floodlightActivities); |
3905 unittest.expect(o.kind, unittest.equals('foo')); | 3947 unittest.expect(o.kind, unittest.equals('foo')); |
3906 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3948 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3907 } | 3949 } |
3908 buildCounterFloodlightActivitiesListResponse--; | 3950 buildCounterFloodlightActivitiesListResponse--; |
3909 } | 3951 } |
3910 | 3952 |
3911 buildUnnamed2723() { | 3953 buildUnnamed2478() { |
3912 var o = new core.List<api.FloodlightActivityDynamicTag>(); | 3954 var o = new core.List<api.FloodlightActivityDynamicTag>(); |
3913 o.add(buildFloodlightActivityDynamicTag()); | 3955 o.add(buildFloodlightActivityDynamicTag()); |
3914 o.add(buildFloodlightActivityDynamicTag()); | 3956 o.add(buildFloodlightActivityDynamicTag()); |
3915 return o; | 3957 return o; |
3916 } | 3958 } |
3917 | 3959 |
3918 checkUnnamed2723(core.List<api.FloodlightActivityDynamicTag> o) { | 3960 checkUnnamed2478(core.List<api.FloodlightActivityDynamicTag> o) { |
3919 unittest.expect(o, unittest.hasLength(2)); | 3961 unittest.expect(o, unittest.hasLength(2)); |
3920 checkFloodlightActivityDynamicTag(o[0]); | 3962 checkFloodlightActivityDynamicTag(o[0]); |
3921 checkFloodlightActivityDynamicTag(o[1]); | 3963 checkFloodlightActivityDynamicTag(o[1]); |
3922 } | 3964 } |
3923 | 3965 |
3924 buildUnnamed2724() { | 3966 buildUnnamed2479() { |
3925 var o = new core.List<api.FloodlightActivityPublisherDynamicTag>(); | 3967 var o = new core.List<api.FloodlightActivityPublisherDynamicTag>(); |
3926 o.add(buildFloodlightActivityPublisherDynamicTag()); | 3968 o.add(buildFloodlightActivityPublisherDynamicTag()); |
3927 o.add(buildFloodlightActivityPublisherDynamicTag()); | 3969 o.add(buildFloodlightActivityPublisherDynamicTag()); |
3928 return o; | 3970 return o; |
3929 } | 3971 } |
3930 | 3972 |
3931 checkUnnamed2724(core.List<api.FloodlightActivityPublisherDynamicTag> o) { | 3973 checkUnnamed2479(core.List<api.FloodlightActivityPublisherDynamicTag> o) { |
3932 unittest.expect(o, unittest.hasLength(2)); | 3974 unittest.expect(o, unittest.hasLength(2)); |
3933 checkFloodlightActivityPublisherDynamicTag(o[0]); | 3975 checkFloodlightActivityPublisherDynamicTag(o[0]); |
3934 checkFloodlightActivityPublisherDynamicTag(o[1]); | 3976 checkFloodlightActivityPublisherDynamicTag(o[1]); |
3935 } | 3977 } |
3936 | 3978 |
3937 buildUnnamed2725() { | 3979 buildUnnamed2480() { |
3938 var o = new core.List<core.String>(); | 3980 var o = new core.List<core.String>(); |
3939 o.add("foo"); | 3981 o.add("foo"); |
3940 o.add("foo"); | 3982 o.add("foo"); |
3941 return o; | 3983 return o; |
3942 } | 3984 } |
3943 | 3985 |
3944 checkUnnamed2725(core.List<core.String> o) { | 3986 checkUnnamed2480(core.List<core.String> o) { |
3945 unittest.expect(o, unittest.hasLength(2)); | 3987 unittest.expect(o, unittest.hasLength(2)); |
3946 unittest.expect(o[0], unittest.equals('foo')); | 3988 unittest.expect(o[0], unittest.equals('foo')); |
3947 unittest.expect(o[1], unittest.equals('foo')); | 3989 unittest.expect(o[1], unittest.equals('foo')); |
3948 } | 3990 } |
3949 | 3991 |
3950 core.int buildCounterFloodlightActivity = 0; | 3992 core.int buildCounterFloodlightActivity = 0; |
3951 buildFloodlightActivity() { | 3993 buildFloodlightActivity() { |
3952 var o = new api.FloodlightActivity(); | 3994 var o = new api.FloodlightActivity(); |
3953 buildCounterFloodlightActivity++; | 3995 buildCounterFloodlightActivity++; |
3954 if (buildCounterFloodlightActivity < 3) { | 3996 if (buildCounterFloodlightActivity < 3) { |
3955 o.accountId = "foo"; | 3997 o.accountId = "foo"; |
3956 o.advertiserId = "foo"; | 3998 o.advertiserId = "foo"; |
3957 o.advertiserIdDimensionValue = buildDimensionValue(); | 3999 o.advertiserIdDimensionValue = buildDimensionValue(); |
3958 o.cacheBustingType = "foo"; | 4000 o.cacheBustingType = "foo"; |
3959 o.countingMethod = "foo"; | 4001 o.countingMethod = "foo"; |
3960 o.defaultTags = buildUnnamed2723(); | 4002 o.defaultTags = buildUnnamed2478(); |
3961 o.expectedUrl = "foo"; | 4003 o.expectedUrl = "foo"; |
3962 o.floodlightActivityGroupId = "foo"; | 4004 o.floodlightActivityGroupId = "foo"; |
3963 o.floodlightActivityGroupName = "foo"; | 4005 o.floodlightActivityGroupName = "foo"; |
3964 o.floodlightActivityGroupTagString = "foo"; | 4006 o.floodlightActivityGroupTagString = "foo"; |
3965 o.floodlightActivityGroupType = "foo"; | 4007 o.floodlightActivityGroupType = "foo"; |
3966 o.floodlightConfigurationId = "foo"; | 4008 o.floodlightConfigurationId = "foo"; |
3967 o.floodlightConfigurationIdDimensionValue = buildDimensionValue(); | 4009 o.floodlightConfigurationIdDimensionValue = buildDimensionValue(); |
3968 o.hidden = true; | 4010 o.hidden = true; |
3969 o.id = "foo"; | 4011 o.id = "foo"; |
3970 o.idDimensionValue = buildDimensionValue(); | 4012 o.idDimensionValue = buildDimensionValue(); |
3971 o.imageTagEnabled = true; | 4013 o.imageTagEnabled = true; |
3972 o.kind = "foo"; | 4014 o.kind = "foo"; |
3973 o.name = "foo"; | 4015 o.name = "foo"; |
3974 o.notes = "foo"; | 4016 o.notes = "foo"; |
3975 o.publisherTags = buildUnnamed2724(); | 4017 o.publisherTags = buildUnnamed2479(); |
3976 o.secure = true; | 4018 o.secure = true; |
3977 o.sslCompliant = true; | 4019 o.sslCompliant = true; |
3978 o.sslRequired = true; | 4020 o.sslRequired = true; |
3979 o.subaccountId = "foo"; | 4021 o.subaccountId = "foo"; |
3980 o.tagFormat = "foo"; | 4022 o.tagFormat = "foo"; |
3981 o.tagString = "foo"; | 4023 o.tagString = "foo"; |
3982 o.userDefinedVariableTypes = buildUnnamed2725(); | 4024 o.userDefinedVariableTypes = buildUnnamed2480(); |
3983 } | 4025 } |
3984 buildCounterFloodlightActivity--; | 4026 buildCounterFloodlightActivity--; |
3985 return o; | 4027 return o; |
3986 } | 4028 } |
3987 | 4029 |
3988 checkFloodlightActivity(api.FloodlightActivity o) { | 4030 checkFloodlightActivity(api.FloodlightActivity o) { |
3989 buildCounterFloodlightActivity++; | 4031 buildCounterFloodlightActivity++; |
3990 if (buildCounterFloodlightActivity < 3) { | 4032 if (buildCounterFloodlightActivity < 3) { |
3991 unittest.expect(o.accountId, unittest.equals('foo')); | 4033 unittest.expect(o.accountId, unittest.equals('foo')); |
3992 unittest.expect(o.advertiserId, unittest.equals('foo')); | 4034 unittest.expect(o.advertiserId, unittest.equals('foo')); |
3993 checkDimensionValue(o.advertiserIdDimensionValue); | 4035 checkDimensionValue(o.advertiserIdDimensionValue); |
3994 unittest.expect(o.cacheBustingType, unittest.equals('foo')); | 4036 unittest.expect(o.cacheBustingType, unittest.equals('foo')); |
3995 unittest.expect(o.countingMethod, unittest.equals('foo')); | 4037 unittest.expect(o.countingMethod, unittest.equals('foo')); |
3996 checkUnnamed2723(o.defaultTags); | 4038 checkUnnamed2478(o.defaultTags); |
3997 unittest.expect(o.expectedUrl, unittest.equals('foo')); | 4039 unittest.expect(o.expectedUrl, unittest.equals('foo')); |
3998 unittest.expect(o.floodlightActivityGroupId, unittest.equals('foo')); | 4040 unittest.expect(o.floodlightActivityGroupId, unittest.equals('foo')); |
3999 unittest.expect(o.floodlightActivityGroupName, unittest.equals('foo')); | 4041 unittest.expect(o.floodlightActivityGroupName, unittest.equals('foo')); |
4000 unittest.expect(o.floodlightActivityGroupTagString, unittest.equals('foo')); | 4042 unittest.expect(o.floodlightActivityGroupTagString, unittest.equals('foo')); |
4001 unittest.expect(o.floodlightActivityGroupType, unittest.equals('foo')); | 4043 unittest.expect(o.floodlightActivityGroupType, unittest.equals('foo')); |
4002 unittest.expect(o.floodlightConfigurationId, unittest.equals('foo')); | 4044 unittest.expect(o.floodlightConfigurationId, unittest.equals('foo')); |
4003 checkDimensionValue(o.floodlightConfigurationIdDimensionValue); | 4045 checkDimensionValue(o.floodlightConfigurationIdDimensionValue); |
4004 unittest.expect(o.hidden, unittest.isTrue); | 4046 unittest.expect(o.hidden, unittest.isTrue); |
4005 unittest.expect(o.id, unittest.equals('foo')); | 4047 unittest.expect(o.id, unittest.equals('foo')); |
4006 checkDimensionValue(o.idDimensionValue); | 4048 checkDimensionValue(o.idDimensionValue); |
4007 unittest.expect(o.imageTagEnabled, unittest.isTrue); | 4049 unittest.expect(o.imageTagEnabled, unittest.isTrue); |
4008 unittest.expect(o.kind, unittest.equals('foo')); | 4050 unittest.expect(o.kind, unittest.equals('foo')); |
4009 unittest.expect(o.name, unittest.equals('foo')); | 4051 unittest.expect(o.name, unittest.equals('foo')); |
4010 unittest.expect(o.notes, unittest.equals('foo')); | 4052 unittest.expect(o.notes, unittest.equals('foo')); |
4011 checkUnnamed2724(o.publisherTags); | 4053 checkUnnamed2479(o.publisherTags); |
4012 unittest.expect(o.secure, unittest.isTrue); | 4054 unittest.expect(o.secure, unittest.isTrue); |
4013 unittest.expect(o.sslCompliant, unittest.isTrue); | 4055 unittest.expect(o.sslCompliant, unittest.isTrue); |
4014 unittest.expect(o.sslRequired, unittest.isTrue); | 4056 unittest.expect(o.sslRequired, unittest.isTrue); |
4015 unittest.expect(o.subaccountId, unittest.equals('foo')); | 4057 unittest.expect(o.subaccountId, unittest.equals('foo')); |
4016 unittest.expect(o.tagFormat, unittest.equals('foo')); | 4058 unittest.expect(o.tagFormat, unittest.equals('foo')); |
4017 unittest.expect(o.tagString, unittest.equals('foo')); | 4059 unittest.expect(o.tagString, unittest.equals('foo')); |
4018 checkUnnamed2725(o.userDefinedVariableTypes); | 4060 checkUnnamed2480(o.userDefinedVariableTypes); |
4019 } | 4061 } |
4020 buildCounterFloodlightActivity--; | 4062 buildCounterFloodlightActivity--; |
4021 } | 4063 } |
4022 | 4064 |
4023 core.int buildCounterFloodlightActivityDynamicTag = 0; | 4065 core.int buildCounterFloodlightActivityDynamicTag = 0; |
4024 buildFloodlightActivityDynamicTag() { | 4066 buildFloodlightActivityDynamicTag() { |
4025 var o = new api.FloodlightActivityDynamicTag(); | 4067 var o = new api.FloodlightActivityDynamicTag(); |
4026 buildCounterFloodlightActivityDynamicTag++; | 4068 buildCounterFloodlightActivityDynamicTag++; |
4027 if (buildCounterFloodlightActivityDynamicTag < 3) { | 4069 if (buildCounterFloodlightActivityDynamicTag < 3) { |
4028 o.id = "foo"; | 4070 o.id = "foo"; |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4077 checkDimensionValue(o.idDimensionValue); | 4119 checkDimensionValue(o.idDimensionValue); |
4078 unittest.expect(o.kind, unittest.equals('foo')); | 4120 unittest.expect(o.kind, unittest.equals('foo')); |
4079 unittest.expect(o.name, unittest.equals('foo')); | 4121 unittest.expect(o.name, unittest.equals('foo')); |
4080 unittest.expect(o.subaccountId, unittest.equals('foo')); | 4122 unittest.expect(o.subaccountId, unittest.equals('foo')); |
4081 unittest.expect(o.tagString, unittest.equals('foo')); | 4123 unittest.expect(o.tagString, unittest.equals('foo')); |
4082 unittest.expect(o.type, unittest.equals('foo')); | 4124 unittest.expect(o.type, unittest.equals('foo')); |
4083 } | 4125 } |
4084 buildCounterFloodlightActivityGroup--; | 4126 buildCounterFloodlightActivityGroup--; |
4085 } | 4127 } |
4086 | 4128 |
4087 buildUnnamed2726() { | 4129 buildUnnamed2481() { |
4088 var o = new core.List<api.FloodlightActivityGroup>(); | 4130 var o = new core.List<api.FloodlightActivityGroup>(); |
4089 o.add(buildFloodlightActivityGroup()); | 4131 o.add(buildFloodlightActivityGroup()); |
4090 o.add(buildFloodlightActivityGroup()); | 4132 o.add(buildFloodlightActivityGroup()); |
4091 return o; | 4133 return o; |
4092 } | 4134 } |
4093 | 4135 |
4094 checkUnnamed2726(core.List<api.FloodlightActivityGroup> o) { | 4136 checkUnnamed2481(core.List<api.FloodlightActivityGroup> o) { |
4095 unittest.expect(o, unittest.hasLength(2)); | 4137 unittest.expect(o, unittest.hasLength(2)); |
4096 checkFloodlightActivityGroup(o[0]); | 4138 checkFloodlightActivityGroup(o[0]); |
4097 checkFloodlightActivityGroup(o[1]); | 4139 checkFloodlightActivityGroup(o[1]); |
4098 } | 4140 } |
4099 | 4141 |
4100 core.int buildCounterFloodlightActivityGroupsListResponse = 0; | 4142 core.int buildCounterFloodlightActivityGroupsListResponse = 0; |
4101 buildFloodlightActivityGroupsListResponse() { | 4143 buildFloodlightActivityGroupsListResponse() { |
4102 var o = new api.FloodlightActivityGroupsListResponse(); | 4144 var o = new api.FloodlightActivityGroupsListResponse(); |
4103 buildCounterFloodlightActivityGroupsListResponse++; | 4145 buildCounterFloodlightActivityGroupsListResponse++; |
4104 if (buildCounterFloodlightActivityGroupsListResponse < 3) { | 4146 if (buildCounterFloodlightActivityGroupsListResponse < 3) { |
4105 o.floodlightActivityGroups = buildUnnamed2726(); | 4147 o.floodlightActivityGroups = buildUnnamed2481(); |
4106 o.kind = "foo"; | 4148 o.kind = "foo"; |
4107 o.nextPageToken = "foo"; | 4149 o.nextPageToken = "foo"; |
4108 } | 4150 } |
4109 buildCounterFloodlightActivityGroupsListResponse--; | 4151 buildCounterFloodlightActivityGroupsListResponse--; |
4110 return o; | 4152 return o; |
4111 } | 4153 } |
4112 | 4154 |
4113 checkFloodlightActivityGroupsListResponse(api.FloodlightActivityGroupsListRespon
se o) { | 4155 checkFloodlightActivityGroupsListResponse(api.FloodlightActivityGroupsListRespon
se o) { |
4114 buildCounterFloodlightActivityGroupsListResponse++; | 4156 buildCounterFloodlightActivityGroupsListResponse++; |
4115 if (buildCounterFloodlightActivityGroupsListResponse < 3) { | 4157 if (buildCounterFloodlightActivityGroupsListResponse < 3) { |
4116 checkUnnamed2726(o.floodlightActivityGroups); | 4158 checkUnnamed2481(o.floodlightActivityGroups); |
4117 unittest.expect(o.kind, unittest.equals('foo')); | 4159 unittest.expect(o.kind, unittest.equals('foo')); |
4118 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4160 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
4119 } | 4161 } |
4120 buildCounterFloodlightActivityGroupsListResponse--; | 4162 buildCounterFloodlightActivityGroupsListResponse--; |
4121 } | 4163 } |
4122 | 4164 |
4123 core.int buildCounterFloodlightActivityPublisherDynamicTag = 0; | 4165 core.int buildCounterFloodlightActivityPublisherDynamicTag = 0; |
4124 buildFloodlightActivityPublisherDynamicTag() { | 4166 buildFloodlightActivityPublisherDynamicTag() { |
4125 var o = new api.FloodlightActivityPublisherDynamicTag(); | 4167 var o = new api.FloodlightActivityPublisherDynamicTag(); |
4126 buildCounterFloodlightActivityPublisherDynamicTag++; | 4168 buildCounterFloodlightActivityPublisherDynamicTag++; |
(...skipping 15 matching lines...) Expand all Loading... |
4142 unittest.expect(o.clickThrough, unittest.isTrue); | 4184 unittest.expect(o.clickThrough, unittest.isTrue); |
4143 unittest.expect(o.directorySiteId, unittest.equals('foo')); | 4185 unittest.expect(o.directorySiteId, unittest.equals('foo')); |
4144 checkFloodlightActivityDynamicTag(o.dynamicTag); | 4186 checkFloodlightActivityDynamicTag(o.dynamicTag); |
4145 unittest.expect(o.siteId, unittest.equals('foo')); | 4187 unittest.expect(o.siteId, unittest.equals('foo')); |
4146 checkDimensionValue(o.siteIdDimensionValue); | 4188 checkDimensionValue(o.siteIdDimensionValue); |
4147 unittest.expect(o.viewThrough, unittest.isTrue); | 4189 unittest.expect(o.viewThrough, unittest.isTrue); |
4148 } | 4190 } |
4149 buildCounterFloodlightActivityPublisherDynamicTag--; | 4191 buildCounterFloodlightActivityPublisherDynamicTag--; |
4150 } | 4192 } |
4151 | 4193 |
4152 buildUnnamed2727() { | 4194 buildUnnamed2482() { |
4153 var o = new core.List<core.String>(); | 4195 var o = new core.List<core.String>(); |
4154 o.add("foo"); | 4196 o.add("foo"); |
4155 o.add("foo"); | 4197 o.add("foo"); |
4156 return o; | 4198 return o; |
4157 } | 4199 } |
4158 | 4200 |
4159 checkUnnamed2727(core.List<core.String> o) { | 4201 checkUnnamed2482(core.List<core.String> o) { |
4160 unittest.expect(o, unittest.hasLength(2)); | 4202 unittest.expect(o, unittest.hasLength(2)); |
4161 unittest.expect(o[0], unittest.equals('foo')); | 4203 unittest.expect(o[0], unittest.equals('foo')); |
4162 unittest.expect(o[1], unittest.equals('foo')); | 4204 unittest.expect(o[1], unittest.equals('foo')); |
4163 } | 4205 } |
4164 | 4206 |
4165 buildUnnamed2728() { | 4207 buildUnnamed2483() { |
4166 var o = new core.List<api.ThirdPartyAuthenticationToken>(); | 4208 var o = new core.List<api.ThirdPartyAuthenticationToken>(); |
4167 o.add(buildThirdPartyAuthenticationToken()); | 4209 o.add(buildThirdPartyAuthenticationToken()); |
4168 o.add(buildThirdPartyAuthenticationToken()); | 4210 o.add(buildThirdPartyAuthenticationToken()); |
4169 return o; | 4211 return o; |
4170 } | 4212 } |
4171 | 4213 |
4172 checkUnnamed2728(core.List<api.ThirdPartyAuthenticationToken> o) { | 4214 checkUnnamed2483(core.List<api.ThirdPartyAuthenticationToken> o) { |
4173 unittest.expect(o, unittest.hasLength(2)); | 4215 unittest.expect(o, unittest.hasLength(2)); |
4174 checkThirdPartyAuthenticationToken(o[0]); | 4216 checkThirdPartyAuthenticationToken(o[0]); |
4175 checkThirdPartyAuthenticationToken(o[1]); | 4217 checkThirdPartyAuthenticationToken(o[1]); |
4176 } | 4218 } |
4177 | 4219 |
4178 buildUnnamed2729() { | 4220 buildUnnamed2484() { |
4179 var o = new core.List<api.UserDefinedVariableConfiguration>(); | 4221 var o = new core.List<api.UserDefinedVariableConfiguration>(); |
4180 o.add(buildUserDefinedVariableConfiguration()); | 4222 o.add(buildUserDefinedVariableConfiguration()); |
4181 o.add(buildUserDefinedVariableConfiguration()); | 4223 o.add(buildUserDefinedVariableConfiguration()); |
4182 return o; | 4224 return o; |
4183 } | 4225 } |
4184 | 4226 |
4185 checkUnnamed2729(core.List<api.UserDefinedVariableConfiguration> o) { | 4227 checkUnnamed2484(core.List<api.UserDefinedVariableConfiguration> o) { |
4186 unittest.expect(o, unittest.hasLength(2)); | 4228 unittest.expect(o, unittest.hasLength(2)); |
4187 checkUserDefinedVariableConfiguration(o[0]); | 4229 checkUserDefinedVariableConfiguration(o[0]); |
4188 checkUserDefinedVariableConfiguration(o[1]); | 4230 checkUserDefinedVariableConfiguration(o[1]); |
4189 } | 4231 } |
4190 | 4232 |
4191 core.int buildCounterFloodlightConfiguration = 0; | 4233 core.int buildCounterFloodlightConfiguration = 0; |
4192 buildFloodlightConfiguration() { | 4234 buildFloodlightConfiguration() { |
4193 var o = new api.FloodlightConfiguration(); | 4235 var o = new api.FloodlightConfiguration(); |
4194 buildCounterFloodlightConfiguration++; | 4236 buildCounterFloodlightConfiguration++; |
4195 if (buildCounterFloodlightConfiguration < 3) { | 4237 if (buildCounterFloodlightConfiguration < 3) { |
4196 o.accountId = "foo"; | 4238 o.accountId = "foo"; |
4197 o.advertiserId = "foo"; | 4239 o.advertiserId = "foo"; |
4198 o.advertiserIdDimensionValue = buildDimensionValue(); | 4240 o.advertiserIdDimensionValue = buildDimensionValue(); |
4199 o.analyticsDataSharingEnabled = true; | 4241 o.analyticsDataSharingEnabled = true; |
4200 o.exposureToConversionEnabled = true; | 4242 o.exposureToConversionEnabled = true; |
4201 o.firstDayOfWeek = "foo"; | 4243 o.firstDayOfWeek = "foo"; |
4202 o.id = "foo"; | 4244 o.id = "foo"; |
4203 o.idDimensionValue = buildDimensionValue(); | 4245 o.idDimensionValue = buildDimensionValue(); |
4204 o.inAppAttributionTrackingEnabled = true; | 4246 o.inAppAttributionTrackingEnabled = true; |
4205 o.kind = "foo"; | 4247 o.kind = "foo"; |
4206 o.lookbackConfiguration = buildLookbackConfiguration(); | 4248 o.lookbackConfiguration = buildLookbackConfiguration(); |
4207 o.naturalSearchConversionAttributionOption = "foo"; | 4249 o.naturalSearchConversionAttributionOption = "foo"; |
4208 o.omnitureSettings = buildOmnitureSettings(); | 4250 o.omnitureSettings = buildOmnitureSettings(); |
4209 o.standardVariableTypes = buildUnnamed2727(); | 4251 o.standardVariableTypes = buildUnnamed2482(); |
4210 o.subaccountId = "foo"; | 4252 o.subaccountId = "foo"; |
4211 o.tagSettings = buildTagSettings(); | 4253 o.tagSettings = buildTagSettings(); |
4212 o.thirdPartyAuthenticationTokens = buildUnnamed2728(); | 4254 o.thirdPartyAuthenticationTokens = buildUnnamed2483(); |
4213 o.userDefinedVariableConfigurations = buildUnnamed2729(); | 4255 o.userDefinedVariableConfigurations = buildUnnamed2484(); |
4214 } | 4256 } |
4215 buildCounterFloodlightConfiguration--; | 4257 buildCounterFloodlightConfiguration--; |
4216 return o; | 4258 return o; |
4217 } | 4259 } |
4218 | 4260 |
4219 checkFloodlightConfiguration(api.FloodlightConfiguration o) { | 4261 checkFloodlightConfiguration(api.FloodlightConfiguration o) { |
4220 buildCounterFloodlightConfiguration++; | 4262 buildCounterFloodlightConfiguration++; |
4221 if (buildCounterFloodlightConfiguration < 3) { | 4263 if (buildCounterFloodlightConfiguration < 3) { |
4222 unittest.expect(o.accountId, unittest.equals('foo')); | 4264 unittest.expect(o.accountId, unittest.equals('foo')); |
4223 unittest.expect(o.advertiserId, unittest.equals('foo')); | 4265 unittest.expect(o.advertiserId, unittest.equals('foo')); |
4224 checkDimensionValue(o.advertiserIdDimensionValue); | 4266 checkDimensionValue(o.advertiserIdDimensionValue); |
4225 unittest.expect(o.analyticsDataSharingEnabled, unittest.isTrue); | 4267 unittest.expect(o.analyticsDataSharingEnabled, unittest.isTrue); |
4226 unittest.expect(o.exposureToConversionEnabled, unittest.isTrue); | 4268 unittest.expect(o.exposureToConversionEnabled, unittest.isTrue); |
4227 unittest.expect(o.firstDayOfWeek, unittest.equals('foo')); | 4269 unittest.expect(o.firstDayOfWeek, unittest.equals('foo')); |
4228 unittest.expect(o.id, unittest.equals('foo')); | 4270 unittest.expect(o.id, unittest.equals('foo')); |
4229 checkDimensionValue(o.idDimensionValue); | 4271 checkDimensionValue(o.idDimensionValue); |
4230 unittest.expect(o.inAppAttributionTrackingEnabled, unittest.isTrue); | 4272 unittest.expect(o.inAppAttributionTrackingEnabled, unittest.isTrue); |
4231 unittest.expect(o.kind, unittest.equals('foo')); | 4273 unittest.expect(o.kind, unittest.equals('foo')); |
4232 checkLookbackConfiguration(o.lookbackConfiguration); | 4274 checkLookbackConfiguration(o.lookbackConfiguration); |
4233 unittest.expect(o.naturalSearchConversionAttributionOption, unittest.equals(
'foo')); | 4275 unittest.expect(o.naturalSearchConversionAttributionOption, unittest.equals(
'foo')); |
4234 checkOmnitureSettings(o.omnitureSettings); | 4276 checkOmnitureSettings(o.omnitureSettings); |
4235 checkUnnamed2727(o.standardVariableTypes); | 4277 checkUnnamed2482(o.standardVariableTypes); |
4236 unittest.expect(o.subaccountId, unittest.equals('foo')); | 4278 unittest.expect(o.subaccountId, unittest.equals('foo')); |
4237 checkTagSettings(o.tagSettings); | 4279 checkTagSettings(o.tagSettings); |
4238 checkUnnamed2728(o.thirdPartyAuthenticationTokens); | 4280 checkUnnamed2483(o.thirdPartyAuthenticationTokens); |
4239 checkUnnamed2729(o.userDefinedVariableConfigurations); | 4281 checkUnnamed2484(o.userDefinedVariableConfigurations); |
4240 } | 4282 } |
4241 buildCounterFloodlightConfiguration--; | 4283 buildCounterFloodlightConfiguration--; |
4242 } | 4284 } |
4243 | 4285 |
4244 buildUnnamed2730() { | 4286 buildUnnamed2485() { |
4245 var o = new core.List<api.FloodlightConfiguration>(); | 4287 var o = new core.List<api.FloodlightConfiguration>(); |
4246 o.add(buildFloodlightConfiguration()); | 4288 o.add(buildFloodlightConfiguration()); |
4247 o.add(buildFloodlightConfiguration()); | 4289 o.add(buildFloodlightConfiguration()); |
4248 return o; | 4290 return o; |
4249 } | 4291 } |
4250 | 4292 |
4251 checkUnnamed2730(core.List<api.FloodlightConfiguration> o) { | 4293 checkUnnamed2485(core.List<api.FloodlightConfiguration> o) { |
4252 unittest.expect(o, unittest.hasLength(2)); | 4294 unittest.expect(o, unittest.hasLength(2)); |
4253 checkFloodlightConfiguration(o[0]); | 4295 checkFloodlightConfiguration(o[0]); |
4254 checkFloodlightConfiguration(o[1]); | 4296 checkFloodlightConfiguration(o[1]); |
4255 } | 4297 } |
4256 | 4298 |
4257 core.int buildCounterFloodlightConfigurationsListResponse = 0; | 4299 core.int buildCounterFloodlightConfigurationsListResponse = 0; |
4258 buildFloodlightConfigurationsListResponse() { | 4300 buildFloodlightConfigurationsListResponse() { |
4259 var o = new api.FloodlightConfigurationsListResponse(); | 4301 var o = new api.FloodlightConfigurationsListResponse(); |
4260 buildCounterFloodlightConfigurationsListResponse++; | 4302 buildCounterFloodlightConfigurationsListResponse++; |
4261 if (buildCounterFloodlightConfigurationsListResponse < 3) { | 4303 if (buildCounterFloodlightConfigurationsListResponse < 3) { |
4262 o.floodlightConfigurations = buildUnnamed2730(); | 4304 o.floodlightConfigurations = buildUnnamed2485(); |
4263 o.kind = "foo"; | 4305 o.kind = "foo"; |
4264 } | 4306 } |
4265 buildCounterFloodlightConfigurationsListResponse--; | 4307 buildCounterFloodlightConfigurationsListResponse--; |
4266 return o; | 4308 return o; |
4267 } | 4309 } |
4268 | 4310 |
4269 checkFloodlightConfigurationsListResponse(api.FloodlightConfigurationsListRespon
se o) { | 4311 checkFloodlightConfigurationsListResponse(api.FloodlightConfigurationsListRespon
se o) { |
4270 buildCounterFloodlightConfigurationsListResponse++; | 4312 buildCounterFloodlightConfigurationsListResponse++; |
4271 if (buildCounterFloodlightConfigurationsListResponse < 3) { | 4313 if (buildCounterFloodlightConfigurationsListResponse < 3) { |
4272 checkUnnamed2730(o.floodlightConfigurations); | 4314 checkUnnamed2485(o.floodlightConfigurations); |
4273 unittest.expect(o.kind, unittest.equals('foo')); | 4315 unittest.expect(o.kind, unittest.equals('foo')); |
4274 } | 4316 } |
4275 buildCounterFloodlightConfigurationsListResponse--; | 4317 buildCounterFloodlightConfigurationsListResponse--; |
4276 } | 4318 } |
4277 | 4319 |
4278 buildUnnamed2731() { | 4320 buildUnnamed2486() { |
4279 var o = new core.List<api.Dimension>(); | 4321 var o = new core.List<api.Dimension>(); |
4280 o.add(buildDimension()); | 4322 o.add(buildDimension()); |
4281 o.add(buildDimension()); | 4323 o.add(buildDimension()); |
4282 return o; | 4324 return o; |
4283 } | 4325 } |
4284 | 4326 |
4285 checkUnnamed2731(core.List<api.Dimension> o) { | 4327 checkUnnamed2486(core.List<api.Dimension> o) { |
4286 unittest.expect(o, unittest.hasLength(2)); | 4328 unittest.expect(o, unittest.hasLength(2)); |
4287 checkDimension(o[0]); | 4329 checkDimension(o[0]); |
4288 checkDimension(o[1]); | 4330 checkDimension(o[1]); |
4289 } | 4331 } |
4290 | 4332 |
4291 buildUnnamed2732() { | 4333 buildUnnamed2487() { |
4292 var o = new core.List<api.Dimension>(); | 4334 var o = new core.List<api.Dimension>(); |
4293 o.add(buildDimension()); | 4335 o.add(buildDimension()); |
4294 o.add(buildDimension()); | 4336 o.add(buildDimension()); |
4295 return o; | 4337 return o; |
4296 } | 4338 } |
4297 | 4339 |
4298 checkUnnamed2732(core.List<api.Dimension> o) { | 4340 checkUnnamed2487(core.List<api.Dimension> o) { |
4299 unittest.expect(o, unittest.hasLength(2)); | 4341 unittest.expect(o, unittest.hasLength(2)); |
4300 checkDimension(o[0]); | 4342 checkDimension(o[0]); |
4301 checkDimension(o[1]); | 4343 checkDimension(o[1]); |
4302 } | 4344 } |
4303 | 4345 |
4304 buildUnnamed2733() { | 4346 buildUnnamed2488() { |
4305 var o = new core.List<api.Metric>(); | 4347 var o = new core.List<api.Metric>(); |
4306 o.add(buildMetric()); | 4348 o.add(buildMetric()); |
4307 o.add(buildMetric()); | 4349 o.add(buildMetric()); |
4308 return o; | 4350 return o; |
4309 } | 4351 } |
4310 | 4352 |
4311 checkUnnamed2733(core.List<api.Metric> o) { | 4353 checkUnnamed2488(core.List<api.Metric> o) { |
4312 unittest.expect(o, unittest.hasLength(2)); | 4354 unittest.expect(o, unittest.hasLength(2)); |
4313 checkMetric(o[0]); | 4355 checkMetric(o[0]); |
4314 checkMetric(o[1]); | 4356 checkMetric(o[1]); |
4315 } | 4357 } |
4316 | 4358 |
4317 core.int buildCounterFloodlightReportCompatibleFields = 0; | 4359 core.int buildCounterFloodlightReportCompatibleFields = 0; |
4318 buildFloodlightReportCompatibleFields() { | 4360 buildFloodlightReportCompatibleFields() { |
4319 var o = new api.FloodlightReportCompatibleFields(); | 4361 var o = new api.FloodlightReportCompatibleFields(); |
4320 buildCounterFloodlightReportCompatibleFields++; | 4362 buildCounterFloodlightReportCompatibleFields++; |
4321 if (buildCounterFloodlightReportCompatibleFields < 3) { | 4363 if (buildCounterFloodlightReportCompatibleFields < 3) { |
4322 o.dimensionFilters = buildUnnamed2731(); | 4364 o.dimensionFilters = buildUnnamed2486(); |
4323 o.dimensions = buildUnnamed2732(); | 4365 o.dimensions = buildUnnamed2487(); |
4324 o.kind = "foo"; | 4366 o.kind = "foo"; |
4325 o.metrics = buildUnnamed2733(); | 4367 o.metrics = buildUnnamed2488(); |
4326 } | 4368 } |
4327 buildCounterFloodlightReportCompatibleFields--; | 4369 buildCounterFloodlightReportCompatibleFields--; |
4328 return o; | 4370 return o; |
4329 } | 4371 } |
4330 | 4372 |
4331 checkFloodlightReportCompatibleFields(api.FloodlightReportCompatibleFields o) { | 4373 checkFloodlightReportCompatibleFields(api.FloodlightReportCompatibleFields o) { |
4332 buildCounterFloodlightReportCompatibleFields++; | 4374 buildCounterFloodlightReportCompatibleFields++; |
4333 if (buildCounterFloodlightReportCompatibleFields < 3) { | 4375 if (buildCounterFloodlightReportCompatibleFields < 3) { |
4334 checkUnnamed2731(o.dimensionFilters); | 4376 checkUnnamed2486(o.dimensionFilters); |
4335 checkUnnamed2732(o.dimensions); | 4377 checkUnnamed2487(o.dimensions); |
4336 unittest.expect(o.kind, unittest.equals('foo')); | 4378 unittest.expect(o.kind, unittest.equals('foo')); |
4337 checkUnnamed2733(o.metrics); | 4379 checkUnnamed2488(o.metrics); |
4338 } | 4380 } |
4339 buildCounterFloodlightReportCompatibleFields--; | 4381 buildCounterFloodlightReportCompatibleFields--; |
4340 } | 4382 } |
4341 | 4383 |
4342 core.int buildCounterFrequencyCap = 0; | 4384 core.int buildCounterFrequencyCap = 0; |
4343 buildFrequencyCap() { | 4385 buildFrequencyCap() { |
4344 var o = new api.FrequencyCap(); | 4386 var o = new api.FrequencyCap(); |
4345 buildCounterFrequencyCap++; | 4387 buildCounterFrequencyCap++; |
4346 if (buildCounterFrequencyCap < 3) { | 4388 if (buildCounterFrequencyCap < 3) { |
4347 o.duration = "foo"; | 4389 o.duration = "foo"; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4380 if (buildCounterFsCommand < 3) { | 4422 if (buildCounterFsCommand < 3) { |
4381 unittest.expect(o.left, unittest.equals(42)); | 4423 unittest.expect(o.left, unittest.equals(42)); |
4382 unittest.expect(o.positionOption, unittest.equals('foo')); | 4424 unittest.expect(o.positionOption, unittest.equals('foo')); |
4383 unittest.expect(o.top, unittest.equals(42)); | 4425 unittest.expect(o.top, unittest.equals(42)); |
4384 unittest.expect(o.windowHeight, unittest.equals(42)); | 4426 unittest.expect(o.windowHeight, unittest.equals(42)); |
4385 unittest.expect(o.windowWidth, unittest.equals(42)); | 4427 unittest.expect(o.windowWidth, unittest.equals(42)); |
4386 } | 4428 } |
4387 buildCounterFsCommand--; | 4429 buildCounterFsCommand--; |
4388 } | 4430 } |
4389 | 4431 |
4390 buildUnnamed2734() { | 4432 buildUnnamed2489() { |
4391 var o = new core.List<api.City>(); | 4433 var o = new core.List<api.City>(); |
4392 o.add(buildCity()); | 4434 o.add(buildCity()); |
4393 o.add(buildCity()); | 4435 o.add(buildCity()); |
4394 return o; | 4436 return o; |
4395 } | 4437 } |
4396 | 4438 |
4397 checkUnnamed2734(core.List<api.City> o) { | 4439 checkUnnamed2489(core.List<api.City> o) { |
4398 unittest.expect(o, unittest.hasLength(2)); | 4440 unittest.expect(o, unittest.hasLength(2)); |
4399 checkCity(o[0]); | 4441 checkCity(o[0]); |
4400 checkCity(o[1]); | 4442 checkCity(o[1]); |
4401 } | 4443 } |
4402 | 4444 |
4403 buildUnnamed2735() { | 4445 buildUnnamed2490() { |
4404 var o = new core.List<api.Country>(); | 4446 var o = new core.List<api.Country>(); |
4405 o.add(buildCountry()); | 4447 o.add(buildCountry()); |
4406 o.add(buildCountry()); | 4448 o.add(buildCountry()); |
4407 return o; | 4449 return o; |
4408 } | 4450 } |
4409 | 4451 |
4410 checkUnnamed2735(core.List<api.Country> o) { | 4452 checkUnnamed2490(core.List<api.Country> o) { |
4411 unittest.expect(o, unittest.hasLength(2)); | 4453 unittest.expect(o, unittest.hasLength(2)); |
4412 checkCountry(o[0]); | 4454 checkCountry(o[0]); |
4413 checkCountry(o[1]); | 4455 checkCountry(o[1]); |
4414 } | 4456 } |
4415 | 4457 |
4416 buildUnnamed2736() { | 4458 buildUnnamed2491() { |
4417 var o = new core.List<api.Metro>(); | 4459 var o = new core.List<api.Metro>(); |
4418 o.add(buildMetro()); | 4460 o.add(buildMetro()); |
4419 o.add(buildMetro()); | 4461 o.add(buildMetro()); |
4420 return o; | 4462 return o; |
4421 } | 4463 } |
4422 | 4464 |
4423 checkUnnamed2736(core.List<api.Metro> o) { | 4465 checkUnnamed2491(core.List<api.Metro> o) { |
4424 unittest.expect(o, unittest.hasLength(2)); | 4466 unittest.expect(o, unittest.hasLength(2)); |
4425 checkMetro(o[0]); | 4467 checkMetro(o[0]); |
4426 checkMetro(o[1]); | 4468 checkMetro(o[1]); |
4427 } | 4469 } |
4428 | 4470 |
4429 buildUnnamed2737() { | 4471 buildUnnamed2492() { |
4430 var o = new core.List<api.PostalCode>(); | 4472 var o = new core.List<api.PostalCode>(); |
4431 o.add(buildPostalCode()); | 4473 o.add(buildPostalCode()); |
4432 o.add(buildPostalCode()); | 4474 o.add(buildPostalCode()); |
4433 return o; | 4475 return o; |
4434 } | 4476 } |
4435 | 4477 |
4436 checkUnnamed2737(core.List<api.PostalCode> o) { | 4478 checkUnnamed2492(core.List<api.PostalCode> o) { |
4437 unittest.expect(o, unittest.hasLength(2)); | 4479 unittest.expect(o, unittest.hasLength(2)); |
4438 checkPostalCode(o[0]); | 4480 checkPostalCode(o[0]); |
4439 checkPostalCode(o[1]); | 4481 checkPostalCode(o[1]); |
4440 } | 4482 } |
4441 | 4483 |
4442 buildUnnamed2738() { | 4484 buildUnnamed2493() { |
4443 var o = new core.List<api.Region>(); | 4485 var o = new core.List<api.Region>(); |
4444 o.add(buildRegion()); | 4486 o.add(buildRegion()); |
4445 o.add(buildRegion()); | 4487 o.add(buildRegion()); |
4446 return o; | 4488 return o; |
4447 } | 4489 } |
4448 | 4490 |
4449 checkUnnamed2738(core.List<api.Region> o) { | 4491 checkUnnamed2493(core.List<api.Region> o) { |
4450 unittest.expect(o, unittest.hasLength(2)); | 4492 unittest.expect(o, unittest.hasLength(2)); |
4451 checkRegion(o[0]); | 4493 checkRegion(o[0]); |
4452 checkRegion(o[1]); | 4494 checkRegion(o[1]); |
4453 } | 4495 } |
4454 | 4496 |
4455 core.int buildCounterGeoTargeting = 0; | 4497 core.int buildCounterGeoTargeting = 0; |
4456 buildGeoTargeting() { | 4498 buildGeoTargeting() { |
4457 var o = new api.GeoTargeting(); | 4499 var o = new api.GeoTargeting(); |
4458 buildCounterGeoTargeting++; | 4500 buildCounterGeoTargeting++; |
4459 if (buildCounterGeoTargeting < 3) { | 4501 if (buildCounterGeoTargeting < 3) { |
4460 o.cities = buildUnnamed2734(); | 4502 o.cities = buildUnnamed2489(); |
4461 o.countries = buildUnnamed2735(); | 4503 o.countries = buildUnnamed2490(); |
4462 o.excludeCountries = true; | 4504 o.excludeCountries = true; |
4463 o.metros = buildUnnamed2736(); | 4505 o.metros = buildUnnamed2491(); |
4464 o.postalCodes = buildUnnamed2737(); | 4506 o.postalCodes = buildUnnamed2492(); |
4465 o.regions = buildUnnamed2738(); | 4507 o.regions = buildUnnamed2493(); |
4466 } | 4508 } |
4467 buildCounterGeoTargeting--; | 4509 buildCounterGeoTargeting--; |
4468 return o; | 4510 return o; |
4469 } | 4511 } |
4470 | 4512 |
4471 checkGeoTargeting(api.GeoTargeting o) { | 4513 checkGeoTargeting(api.GeoTargeting o) { |
4472 buildCounterGeoTargeting++; | 4514 buildCounterGeoTargeting++; |
4473 if (buildCounterGeoTargeting < 3) { | 4515 if (buildCounterGeoTargeting < 3) { |
4474 checkUnnamed2734(o.cities); | 4516 checkUnnamed2489(o.cities); |
4475 checkUnnamed2735(o.countries); | 4517 checkUnnamed2490(o.countries); |
4476 unittest.expect(o.excludeCountries, unittest.isTrue); | 4518 unittest.expect(o.excludeCountries, unittest.isTrue); |
4477 checkUnnamed2736(o.metros); | 4519 checkUnnamed2491(o.metros); |
4478 checkUnnamed2737(o.postalCodes); | 4520 checkUnnamed2492(o.postalCodes); |
4479 checkUnnamed2738(o.regions); | 4521 checkUnnamed2493(o.regions); |
4480 } | 4522 } |
4481 buildCounterGeoTargeting--; | 4523 buildCounterGeoTargeting--; |
4482 } | 4524 } |
4483 | 4525 |
4484 buildUnnamed2739() { | 4526 buildUnnamed2494() { |
4485 var o = new core.List<api.AdSlot>(); | 4527 var o = new core.List<api.AdSlot>(); |
4486 o.add(buildAdSlot()); | 4528 o.add(buildAdSlot()); |
4487 o.add(buildAdSlot()); | 4529 o.add(buildAdSlot()); |
4488 return o; | 4530 return o; |
4489 } | 4531 } |
4490 | 4532 |
4491 checkUnnamed2739(core.List<api.AdSlot> o) { | 4533 checkUnnamed2494(core.List<api.AdSlot> o) { |
4492 unittest.expect(o, unittest.hasLength(2)); | 4534 unittest.expect(o, unittest.hasLength(2)); |
4493 checkAdSlot(o[0]); | 4535 checkAdSlot(o[0]); |
4494 checkAdSlot(o[1]); | 4536 checkAdSlot(o[1]); |
4495 } | 4537 } |
4496 | 4538 |
4497 core.int buildCounterInventoryItem = 0; | 4539 core.int buildCounterInventoryItem = 0; |
4498 buildInventoryItem() { | 4540 buildInventoryItem() { |
4499 var o = new api.InventoryItem(); | 4541 var o = new api.InventoryItem(); |
4500 buildCounterInventoryItem++; | 4542 buildCounterInventoryItem++; |
4501 if (buildCounterInventoryItem < 3) { | 4543 if (buildCounterInventoryItem < 3) { |
4502 o.accountId = "foo"; | 4544 o.accountId = "foo"; |
4503 o.adSlots = buildUnnamed2739(); | 4545 o.adSlots = buildUnnamed2494(); |
4504 o.advertiserId = "foo"; | 4546 o.advertiserId = "foo"; |
4505 o.contentCategoryId = "foo"; | 4547 o.contentCategoryId = "foo"; |
4506 o.estimatedClickThroughRate = "foo"; | 4548 o.estimatedClickThroughRate = "foo"; |
4507 o.estimatedConversionRate = "foo"; | 4549 o.estimatedConversionRate = "foo"; |
4508 o.id = "foo"; | 4550 o.id = "foo"; |
4509 o.inPlan = true; | 4551 o.inPlan = true; |
4510 o.kind = "foo"; | 4552 o.kind = "foo"; |
4511 o.lastModifiedInfo = buildLastModifiedInfo(); | 4553 o.lastModifiedInfo = buildLastModifiedInfo(); |
4512 o.name = "foo"; | 4554 o.name = "foo"; |
4513 o.negotiationChannelId = "foo"; | 4555 o.negotiationChannelId = "foo"; |
4514 o.orderId = "foo"; | 4556 o.orderId = "foo"; |
4515 o.placementStrategyId = "foo"; | 4557 o.placementStrategyId = "foo"; |
4516 o.pricing = buildPricing(); | 4558 o.pricing = buildPricing(); |
4517 o.projectId = "foo"; | 4559 o.projectId = "foo"; |
4518 o.rfpId = "foo"; | 4560 o.rfpId = "foo"; |
4519 o.siteId = "foo"; | 4561 o.siteId = "foo"; |
4520 o.subaccountId = "foo"; | 4562 o.subaccountId = "foo"; |
4521 o.type = "foo"; | 4563 o.type = "foo"; |
4522 } | 4564 } |
4523 buildCounterInventoryItem--; | 4565 buildCounterInventoryItem--; |
4524 return o; | 4566 return o; |
4525 } | 4567 } |
4526 | 4568 |
4527 checkInventoryItem(api.InventoryItem o) { | 4569 checkInventoryItem(api.InventoryItem o) { |
4528 buildCounterInventoryItem++; | 4570 buildCounterInventoryItem++; |
4529 if (buildCounterInventoryItem < 3) { | 4571 if (buildCounterInventoryItem < 3) { |
4530 unittest.expect(o.accountId, unittest.equals('foo')); | 4572 unittest.expect(o.accountId, unittest.equals('foo')); |
4531 checkUnnamed2739(o.adSlots); | 4573 checkUnnamed2494(o.adSlots); |
4532 unittest.expect(o.advertiserId, unittest.equals('foo')); | 4574 unittest.expect(o.advertiserId, unittest.equals('foo')); |
4533 unittest.expect(o.contentCategoryId, unittest.equals('foo')); | 4575 unittest.expect(o.contentCategoryId, unittest.equals('foo')); |
4534 unittest.expect(o.estimatedClickThroughRate, unittest.equals('foo')); | 4576 unittest.expect(o.estimatedClickThroughRate, unittest.equals('foo')); |
4535 unittest.expect(o.estimatedConversionRate, unittest.equals('foo')); | 4577 unittest.expect(o.estimatedConversionRate, unittest.equals('foo')); |
4536 unittest.expect(o.id, unittest.equals('foo')); | 4578 unittest.expect(o.id, unittest.equals('foo')); |
4537 unittest.expect(o.inPlan, unittest.isTrue); | 4579 unittest.expect(o.inPlan, unittest.isTrue); |
4538 unittest.expect(o.kind, unittest.equals('foo')); | 4580 unittest.expect(o.kind, unittest.equals('foo')); |
4539 checkLastModifiedInfo(o.lastModifiedInfo); | 4581 checkLastModifiedInfo(o.lastModifiedInfo); |
4540 unittest.expect(o.name, unittest.equals('foo')); | 4582 unittest.expect(o.name, unittest.equals('foo')); |
4541 unittest.expect(o.negotiationChannelId, unittest.equals('foo')); | 4583 unittest.expect(o.negotiationChannelId, unittest.equals('foo')); |
4542 unittest.expect(o.orderId, unittest.equals('foo')); | 4584 unittest.expect(o.orderId, unittest.equals('foo')); |
4543 unittest.expect(o.placementStrategyId, unittest.equals('foo')); | 4585 unittest.expect(o.placementStrategyId, unittest.equals('foo')); |
4544 checkPricing(o.pricing); | 4586 checkPricing(o.pricing); |
4545 unittest.expect(o.projectId, unittest.equals('foo')); | 4587 unittest.expect(o.projectId, unittest.equals('foo')); |
4546 unittest.expect(o.rfpId, unittest.equals('foo')); | 4588 unittest.expect(o.rfpId, unittest.equals('foo')); |
4547 unittest.expect(o.siteId, unittest.equals('foo')); | 4589 unittest.expect(o.siteId, unittest.equals('foo')); |
4548 unittest.expect(o.subaccountId, unittest.equals('foo')); | 4590 unittest.expect(o.subaccountId, unittest.equals('foo')); |
4549 unittest.expect(o.type, unittest.equals('foo')); | 4591 unittest.expect(o.type, unittest.equals('foo')); |
4550 } | 4592 } |
4551 buildCounterInventoryItem--; | 4593 buildCounterInventoryItem--; |
4552 } | 4594 } |
4553 | 4595 |
4554 buildUnnamed2740() { | 4596 buildUnnamed2495() { |
4555 var o = new core.List<api.InventoryItem>(); | 4597 var o = new core.List<api.InventoryItem>(); |
4556 o.add(buildInventoryItem()); | 4598 o.add(buildInventoryItem()); |
4557 o.add(buildInventoryItem()); | 4599 o.add(buildInventoryItem()); |
4558 return o; | 4600 return o; |
4559 } | 4601 } |
4560 | 4602 |
4561 checkUnnamed2740(core.List<api.InventoryItem> o) { | 4603 checkUnnamed2495(core.List<api.InventoryItem> o) { |
4562 unittest.expect(o, unittest.hasLength(2)); | 4604 unittest.expect(o, unittest.hasLength(2)); |
4563 checkInventoryItem(o[0]); | 4605 checkInventoryItem(o[0]); |
4564 checkInventoryItem(o[1]); | 4606 checkInventoryItem(o[1]); |
4565 } | 4607 } |
4566 | 4608 |
4567 core.int buildCounterInventoryItemsListResponse = 0; | 4609 core.int buildCounterInventoryItemsListResponse = 0; |
4568 buildInventoryItemsListResponse() { | 4610 buildInventoryItemsListResponse() { |
4569 var o = new api.InventoryItemsListResponse(); | 4611 var o = new api.InventoryItemsListResponse(); |
4570 buildCounterInventoryItemsListResponse++; | 4612 buildCounterInventoryItemsListResponse++; |
4571 if (buildCounterInventoryItemsListResponse < 3) { | 4613 if (buildCounterInventoryItemsListResponse < 3) { |
4572 o.inventoryItems = buildUnnamed2740(); | 4614 o.inventoryItems = buildUnnamed2495(); |
4573 o.kind = "foo"; | 4615 o.kind = "foo"; |
4574 o.nextPageToken = "foo"; | 4616 o.nextPageToken = "foo"; |
4575 } | 4617 } |
4576 buildCounterInventoryItemsListResponse--; | 4618 buildCounterInventoryItemsListResponse--; |
4577 return o; | 4619 return o; |
4578 } | 4620 } |
4579 | 4621 |
4580 checkInventoryItemsListResponse(api.InventoryItemsListResponse o) { | 4622 checkInventoryItemsListResponse(api.InventoryItemsListResponse o) { |
4581 buildCounterInventoryItemsListResponse++; | 4623 buildCounterInventoryItemsListResponse++; |
4582 if (buildCounterInventoryItemsListResponse < 3) { | 4624 if (buildCounterInventoryItemsListResponse < 3) { |
4583 checkUnnamed2740(o.inventoryItems); | 4625 checkUnnamed2495(o.inventoryItems); |
4584 unittest.expect(o.kind, unittest.equals('foo')); | 4626 unittest.expect(o.kind, unittest.equals('foo')); |
4585 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4627 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
4586 } | 4628 } |
4587 buildCounterInventoryItemsListResponse--; | 4629 buildCounterInventoryItemsListResponse--; |
4588 } | 4630 } |
4589 | 4631 |
4590 core.int buildCounterKeyValueTargetingExpression = 0; | 4632 core.int buildCounterKeyValueTargetingExpression = 0; |
4591 buildKeyValueTargetingExpression() { | 4633 buildKeyValueTargetingExpression() { |
4592 var o = new api.KeyValueTargetingExpression(); | 4634 var o = new api.KeyValueTargetingExpression(); |
4593 buildCounterKeyValueTargetingExpression++; | 4635 buildCounterKeyValueTargetingExpression++; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4626 if (buildCounterLandingPage < 3) { | 4668 if (buildCounterLandingPage < 3) { |
4627 unittest.expect(o.default_, unittest.isTrue); | 4669 unittest.expect(o.default_, unittest.isTrue); |
4628 unittest.expect(o.id, unittest.equals('foo')); | 4670 unittest.expect(o.id, unittest.equals('foo')); |
4629 unittest.expect(o.kind, unittest.equals('foo')); | 4671 unittest.expect(o.kind, unittest.equals('foo')); |
4630 unittest.expect(o.name, unittest.equals('foo')); | 4672 unittest.expect(o.name, unittest.equals('foo')); |
4631 unittest.expect(o.url, unittest.equals('foo')); | 4673 unittest.expect(o.url, unittest.equals('foo')); |
4632 } | 4674 } |
4633 buildCounterLandingPage--; | 4675 buildCounterLandingPage--; |
4634 } | 4676 } |
4635 | 4677 |
4636 buildUnnamed2741() { | 4678 buildUnnamed2496() { |
4637 var o = new core.List<api.LandingPage>(); | 4679 var o = new core.List<api.LandingPage>(); |
4638 o.add(buildLandingPage()); | 4680 o.add(buildLandingPage()); |
4639 o.add(buildLandingPage()); | 4681 o.add(buildLandingPage()); |
4640 return o; | 4682 return o; |
4641 } | 4683 } |
4642 | 4684 |
4643 checkUnnamed2741(core.List<api.LandingPage> o) { | 4685 checkUnnamed2496(core.List<api.LandingPage> o) { |
4644 unittest.expect(o, unittest.hasLength(2)); | 4686 unittest.expect(o, unittest.hasLength(2)); |
4645 checkLandingPage(o[0]); | 4687 checkLandingPage(o[0]); |
4646 checkLandingPage(o[1]); | 4688 checkLandingPage(o[1]); |
4647 } | 4689 } |
4648 | 4690 |
4649 core.int buildCounterLandingPagesListResponse = 0; | 4691 core.int buildCounterLandingPagesListResponse = 0; |
4650 buildLandingPagesListResponse() { | 4692 buildLandingPagesListResponse() { |
4651 var o = new api.LandingPagesListResponse(); | 4693 var o = new api.LandingPagesListResponse(); |
4652 buildCounterLandingPagesListResponse++; | 4694 buildCounterLandingPagesListResponse++; |
4653 if (buildCounterLandingPagesListResponse < 3) { | 4695 if (buildCounterLandingPagesListResponse < 3) { |
4654 o.kind = "foo"; | 4696 o.kind = "foo"; |
4655 o.landingPages = buildUnnamed2741(); | 4697 o.landingPages = buildUnnamed2496(); |
4656 } | 4698 } |
4657 buildCounterLandingPagesListResponse--; | 4699 buildCounterLandingPagesListResponse--; |
4658 return o; | 4700 return o; |
4659 } | 4701 } |
4660 | 4702 |
4661 checkLandingPagesListResponse(api.LandingPagesListResponse o) { | 4703 checkLandingPagesListResponse(api.LandingPagesListResponse o) { |
4662 buildCounterLandingPagesListResponse++; | 4704 buildCounterLandingPagesListResponse++; |
4663 if (buildCounterLandingPagesListResponse < 3) { | 4705 if (buildCounterLandingPagesListResponse < 3) { |
4664 unittest.expect(o.kind, unittest.equals('foo')); | 4706 unittest.expect(o.kind, unittest.equals('foo')); |
4665 checkUnnamed2741(o.landingPages); | 4707 checkUnnamed2496(o.landingPages); |
4666 } | 4708 } |
4667 buildCounterLandingPagesListResponse--; | 4709 buildCounterLandingPagesListResponse--; |
4668 } | 4710 } |
4669 | 4711 |
4670 core.int buildCounterLanguage = 0; | 4712 core.int buildCounterLanguage = 0; |
4671 buildLanguage() { | 4713 buildLanguage() { |
4672 var o = new api.Language(); | 4714 var o = new api.Language(); |
4673 buildCounterLanguage++; | 4715 buildCounterLanguage++; |
4674 if (buildCounterLanguage < 3) { | 4716 if (buildCounterLanguage < 3) { |
4675 o.id = "foo"; | 4717 o.id = "foo"; |
4676 o.kind = "foo"; | 4718 o.kind = "foo"; |
4677 o.languageCode = "foo"; | 4719 o.languageCode = "foo"; |
4678 o.name = "foo"; | 4720 o.name = "foo"; |
4679 } | 4721 } |
4680 buildCounterLanguage--; | 4722 buildCounterLanguage--; |
4681 return o; | 4723 return o; |
4682 } | 4724 } |
4683 | 4725 |
4684 checkLanguage(api.Language o) { | 4726 checkLanguage(api.Language o) { |
4685 buildCounterLanguage++; | 4727 buildCounterLanguage++; |
4686 if (buildCounterLanguage < 3) { | 4728 if (buildCounterLanguage < 3) { |
4687 unittest.expect(o.id, unittest.equals('foo')); | 4729 unittest.expect(o.id, unittest.equals('foo')); |
4688 unittest.expect(o.kind, unittest.equals('foo')); | 4730 unittest.expect(o.kind, unittest.equals('foo')); |
4689 unittest.expect(o.languageCode, unittest.equals('foo')); | 4731 unittest.expect(o.languageCode, unittest.equals('foo')); |
4690 unittest.expect(o.name, unittest.equals('foo')); | 4732 unittest.expect(o.name, unittest.equals('foo')); |
4691 } | 4733 } |
4692 buildCounterLanguage--; | 4734 buildCounterLanguage--; |
4693 } | 4735 } |
4694 | 4736 |
4695 buildUnnamed2742() { | 4737 buildUnnamed2497() { |
4696 var o = new core.List<api.Language>(); | 4738 var o = new core.List<api.Language>(); |
4697 o.add(buildLanguage()); | 4739 o.add(buildLanguage()); |
4698 o.add(buildLanguage()); | 4740 o.add(buildLanguage()); |
4699 return o; | 4741 return o; |
4700 } | 4742 } |
4701 | 4743 |
4702 checkUnnamed2742(core.List<api.Language> o) { | 4744 checkUnnamed2497(core.List<api.Language> o) { |
4703 unittest.expect(o, unittest.hasLength(2)); | 4745 unittest.expect(o, unittest.hasLength(2)); |
4704 checkLanguage(o[0]); | 4746 checkLanguage(o[0]); |
4705 checkLanguage(o[1]); | 4747 checkLanguage(o[1]); |
4706 } | 4748 } |
4707 | 4749 |
4708 core.int buildCounterLanguageTargeting = 0; | 4750 core.int buildCounterLanguageTargeting = 0; |
4709 buildLanguageTargeting() { | 4751 buildLanguageTargeting() { |
4710 var o = new api.LanguageTargeting(); | 4752 var o = new api.LanguageTargeting(); |
4711 buildCounterLanguageTargeting++; | 4753 buildCounterLanguageTargeting++; |
4712 if (buildCounterLanguageTargeting < 3) { | 4754 if (buildCounterLanguageTargeting < 3) { |
4713 o.languages = buildUnnamed2742(); | 4755 o.languages = buildUnnamed2497(); |
4714 } | 4756 } |
4715 buildCounterLanguageTargeting--; | 4757 buildCounterLanguageTargeting--; |
4716 return o; | 4758 return o; |
4717 } | 4759 } |
4718 | 4760 |
4719 checkLanguageTargeting(api.LanguageTargeting o) { | 4761 checkLanguageTargeting(api.LanguageTargeting o) { |
4720 buildCounterLanguageTargeting++; | 4762 buildCounterLanguageTargeting++; |
4721 if (buildCounterLanguageTargeting < 3) { | 4763 if (buildCounterLanguageTargeting < 3) { |
4722 checkUnnamed2742(o.languages); | 4764 checkUnnamed2497(o.languages); |
4723 } | 4765 } |
4724 buildCounterLanguageTargeting--; | 4766 buildCounterLanguageTargeting--; |
4725 } | 4767 } |
4726 | 4768 |
4727 buildUnnamed2743() { | 4769 buildUnnamed2498() { |
4728 var o = new core.List<api.Language>(); | 4770 var o = new core.List<api.Language>(); |
4729 o.add(buildLanguage()); | 4771 o.add(buildLanguage()); |
4730 o.add(buildLanguage()); | 4772 o.add(buildLanguage()); |
4731 return o; | 4773 return o; |
4732 } | 4774 } |
4733 | 4775 |
4734 checkUnnamed2743(core.List<api.Language> o) { | 4776 checkUnnamed2498(core.List<api.Language> o) { |
4735 unittest.expect(o, unittest.hasLength(2)); | 4777 unittest.expect(o, unittest.hasLength(2)); |
4736 checkLanguage(o[0]); | 4778 checkLanguage(o[0]); |
4737 checkLanguage(o[1]); | 4779 checkLanguage(o[1]); |
4738 } | 4780 } |
4739 | 4781 |
4740 core.int buildCounterLanguagesListResponse = 0; | 4782 core.int buildCounterLanguagesListResponse = 0; |
4741 buildLanguagesListResponse() { | 4783 buildLanguagesListResponse() { |
4742 var o = new api.LanguagesListResponse(); | 4784 var o = new api.LanguagesListResponse(); |
4743 buildCounterLanguagesListResponse++; | 4785 buildCounterLanguagesListResponse++; |
4744 if (buildCounterLanguagesListResponse < 3) { | 4786 if (buildCounterLanguagesListResponse < 3) { |
4745 o.kind = "foo"; | 4787 o.kind = "foo"; |
4746 o.languages = buildUnnamed2743(); | 4788 o.languages = buildUnnamed2498(); |
4747 } | 4789 } |
4748 buildCounterLanguagesListResponse--; | 4790 buildCounterLanguagesListResponse--; |
4749 return o; | 4791 return o; |
4750 } | 4792 } |
4751 | 4793 |
4752 checkLanguagesListResponse(api.LanguagesListResponse o) { | 4794 checkLanguagesListResponse(api.LanguagesListResponse o) { |
4753 buildCounterLanguagesListResponse++; | 4795 buildCounterLanguagesListResponse++; |
4754 if (buildCounterLanguagesListResponse < 3) { | 4796 if (buildCounterLanguagesListResponse < 3) { |
4755 unittest.expect(o.kind, unittest.equals('foo')); | 4797 unittest.expect(o.kind, unittest.equals('foo')); |
4756 checkUnnamed2743(o.languages); | 4798 checkUnnamed2498(o.languages); |
4757 } | 4799 } |
4758 buildCounterLanguagesListResponse--; | 4800 buildCounterLanguagesListResponse--; |
4759 } | 4801 } |
4760 | 4802 |
4761 core.int buildCounterLastModifiedInfo = 0; | 4803 core.int buildCounterLastModifiedInfo = 0; |
4762 buildLastModifiedInfo() { | 4804 buildLastModifiedInfo() { |
4763 var o = new api.LastModifiedInfo(); | 4805 var o = new api.LastModifiedInfo(); |
4764 buildCounterLastModifiedInfo++; | 4806 buildCounterLastModifiedInfo++; |
4765 if (buildCounterLastModifiedInfo < 3) { | 4807 if (buildCounterLastModifiedInfo < 3) { |
4766 o.time = "foo"; | 4808 o.time = "foo"; |
4767 } | 4809 } |
4768 buildCounterLastModifiedInfo--; | 4810 buildCounterLastModifiedInfo--; |
4769 return o; | 4811 return o; |
4770 } | 4812 } |
4771 | 4813 |
4772 checkLastModifiedInfo(api.LastModifiedInfo o) { | 4814 checkLastModifiedInfo(api.LastModifiedInfo o) { |
4773 buildCounterLastModifiedInfo++; | 4815 buildCounterLastModifiedInfo++; |
4774 if (buildCounterLastModifiedInfo < 3) { | 4816 if (buildCounterLastModifiedInfo < 3) { |
4775 unittest.expect(o.time, unittest.equals('foo')); | 4817 unittest.expect(o.time, unittest.equals('foo')); |
4776 } | 4818 } |
4777 buildCounterLastModifiedInfo--; | 4819 buildCounterLastModifiedInfo--; |
4778 } | 4820 } |
4779 | 4821 |
4780 buildUnnamed2744() { | 4822 buildUnnamed2499() { |
4781 var o = new core.List<api.ListPopulationTerm>(); | 4823 var o = new core.List<api.ListPopulationTerm>(); |
4782 o.add(buildListPopulationTerm()); | 4824 o.add(buildListPopulationTerm()); |
4783 o.add(buildListPopulationTerm()); | 4825 o.add(buildListPopulationTerm()); |
4784 return o; | 4826 return o; |
4785 } | 4827 } |
4786 | 4828 |
4787 checkUnnamed2744(core.List<api.ListPopulationTerm> o) { | 4829 checkUnnamed2499(core.List<api.ListPopulationTerm> o) { |
4788 unittest.expect(o, unittest.hasLength(2)); | 4830 unittest.expect(o, unittest.hasLength(2)); |
4789 checkListPopulationTerm(o[0]); | 4831 checkListPopulationTerm(o[0]); |
4790 checkListPopulationTerm(o[1]); | 4832 checkListPopulationTerm(o[1]); |
4791 } | 4833 } |
4792 | 4834 |
4793 core.int buildCounterListPopulationClause = 0; | 4835 core.int buildCounterListPopulationClause = 0; |
4794 buildListPopulationClause() { | 4836 buildListPopulationClause() { |
4795 var o = new api.ListPopulationClause(); | 4837 var o = new api.ListPopulationClause(); |
4796 buildCounterListPopulationClause++; | 4838 buildCounterListPopulationClause++; |
4797 if (buildCounterListPopulationClause < 3) { | 4839 if (buildCounterListPopulationClause < 3) { |
4798 o.terms = buildUnnamed2744(); | 4840 o.terms = buildUnnamed2499(); |
4799 } | 4841 } |
4800 buildCounterListPopulationClause--; | 4842 buildCounterListPopulationClause--; |
4801 return o; | 4843 return o; |
4802 } | 4844 } |
4803 | 4845 |
4804 checkListPopulationClause(api.ListPopulationClause o) { | 4846 checkListPopulationClause(api.ListPopulationClause o) { |
4805 buildCounterListPopulationClause++; | 4847 buildCounterListPopulationClause++; |
4806 if (buildCounterListPopulationClause < 3) { | 4848 if (buildCounterListPopulationClause < 3) { |
4807 checkUnnamed2744(o.terms); | 4849 checkUnnamed2499(o.terms); |
4808 } | 4850 } |
4809 buildCounterListPopulationClause--; | 4851 buildCounterListPopulationClause--; |
4810 } | 4852 } |
4811 | 4853 |
4812 buildUnnamed2745() { | 4854 buildUnnamed2500() { |
4813 var o = new core.List<api.ListPopulationClause>(); | 4855 var o = new core.List<api.ListPopulationClause>(); |
4814 o.add(buildListPopulationClause()); | 4856 o.add(buildListPopulationClause()); |
4815 o.add(buildListPopulationClause()); | 4857 o.add(buildListPopulationClause()); |
4816 return o; | 4858 return o; |
4817 } | 4859 } |
4818 | 4860 |
4819 checkUnnamed2745(core.List<api.ListPopulationClause> o) { | 4861 checkUnnamed2500(core.List<api.ListPopulationClause> o) { |
4820 unittest.expect(o, unittest.hasLength(2)); | 4862 unittest.expect(o, unittest.hasLength(2)); |
4821 checkListPopulationClause(o[0]); | 4863 checkListPopulationClause(o[0]); |
4822 checkListPopulationClause(o[1]); | 4864 checkListPopulationClause(o[1]); |
4823 } | 4865 } |
4824 | 4866 |
4825 core.int buildCounterListPopulationRule = 0; | 4867 core.int buildCounterListPopulationRule = 0; |
4826 buildListPopulationRule() { | 4868 buildListPopulationRule() { |
4827 var o = new api.ListPopulationRule(); | 4869 var o = new api.ListPopulationRule(); |
4828 buildCounterListPopulationRule++; | 4870 buildCounterListPopulationRule++; |
4829 if (buildCounterListPopulationRule < 3) { | 4871 if (buildCounterListPopulationRule < 3) { |
4830 o.floodlightActivityId = "foo"; | 4872 o.floodlightActivityId = "foo"; |
4831 o.floodlightActivityName = "foo"; | 4873 o.floodlightActivityName = "foo"; |
4832 o.listPopulationClauses = buildUnnamed2745(); | 4874 o.listPopulationClauses = buildUnnamed2500(); |
4833 } | 4875 } |
4834 buildCounterListPopulationRule--; | 4876 buildCounterListPopulationRule--; |
4835 return o; | 4877 return o; |
4836 } | 4878 } |
4837 | 4879 |
4838 checkListPopulationRule(api.ListPopulationRule o) { | 4880 checkListPopulationRule(api.ListPopulationRule o) { |
4839 buildCounterListPopulationRule++; | 4881 buildCounterListPopulationRule++; |
4840 if (buildCounterListPopulationRule < 3) { | 4882 if (buildCounterListPopulationRule < 3) { |
4841 unittest.expect(o.floodlightActivityId, unittest.equals('foo')); | 4883 unittest.expect(o.floodlightActivityId, unittest.equals('foo')); |
4842 unittest.expect(o.floodlightActivityName, unittest.equals('foo')); | 4884 unittest.expect(o.floodlightActivityName, unittest.equals('foo')); |
4843 checkUnnamed2745(o.listPopulationClauses); | 4885 checkUnnamed2500(o.listPopulationClauses); |
4844 } | 4886 } |
4845 buildCounterListPopulationRule--; | 4887 buildCounterListPopulationRule--; |
4846 } | 4888 } |
4847 | 4889 |
4848 core.int buildCounterListPopulationTerm = 0; | 4890 core.int buildCounterListPopulationTerm = 0; |
4849 buildListPopulationTerm() { | 4891 buildListPopulationTerm() { |
4850 var o = new api.ListPopulationTerm(); | 4892 var o = new api.ListPopulationTerm(); |
4851 buildCounterListPopulationTerm++; | 4893 buildCounterListPopulationTerm++; |
4852 if (buildCounterListPopulationTerm < 3) { | 4894 if (buildCounterListPopulationTerm < 3) { |
4853 o.contains = true; | 4895 o.contains = true; |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4963 unittest.expect(o.countryDartId, unittest.equals('foo')); | 5005 unittest.expect(o.countryDartId, unittest.equals('foo')); |
4964 unittest.expect(o.dartId, unittest.equals('foo')); | 5006 unittest.expect(o.dartId, unittest.equals('foo')); |
4965 unittest.expect(o.dmaId, unittest.equals('foo')); | 5007 unittest.expect(o.dmaId, unittest.equals('foo')); |
4966 unittest.expect(o.kind, unittest.equals('foo')); | 5008 unittest.expect(o.kind, unittest.equals('foo')); |
4967 unittest.expect(o.metroCode, unittest.equals('foo')); | 5009 unittest.expect(o.metroCode, unittest.equals('foo')); |
4968 unittest.expect(o.name, unittest.equals('foo')); | 5010 unittest.expect(o.name, unittest.equals('foo')); |
4969 } | 5011 } |
4970 buildCounterMetro--; | 5012 buildCounterMetro--; |
4971 } | 5013 } |
4972 | 5014 |
4973 buildUnnamed2746() { | 5015 buildUnnamed2501() { |
4974 var o = new core.List<api.Metro>(); | 5016 var o = new core.List<api.Metro>(); |
4975 o.add(buildMetro()); | 5017 o.add(buildMetro()); |
4976 o.add(buildMetro()); | 5018 o.add(buildMetro()); |
4977 return o; | 5019 return o; |
4978 } | 5020 } |
4979 | 5021 |
4980 checkUnnamed2746(core.List<api.Metro> o) { | 5022 checkUnnamed2501(core.List<api.Metro> o) { |
4981 unittest.expect(o, unittest.hasLength(2)); | 5023 unittest.expect(o, unittest.hasLength(2)); |
4982 checkMetro(o[0]); | 5024 checkMetro(o[0]); |
4983 checkMetro(o[1]); | 5025 checkMetro(o[1]); |
4984 } | 5026 } |
4985 | 5027 |
4986 core.int buildCounterMetrosListResponse = 0; | 5028 core.int buildCounterMetrosListResponse = 0; |
4987 buildMetrosListResponse() { | 5029 buildMetrosListResponse() { |
4988 var o = new api.MetrosListResponse(); | 5030 var o = new api.MetrosListResponse(); |
4989 buildCounterMetrosListResponse++; | 5031 buildCounterMetrosListResponse++; |
4990 if (buildCounterMetrosListResponse < 3) { | 5032 if (buildCounterMetrosListResponse < 3) { |
4991 o.kind = "foo"; | 5033 o.kind = "foo"; |
4992 o.metros = buildUnnamed2746(); | 5034 o.metros = buildUnnamed2501(); |
4993 } | 5035 } |
4994 buildCounterMetrosListResponse--; | 5036 buildCounterMetrosListResponse--; |
4995 return o; | 5037 return o; |
4996 } | 5038 } |
4997 | 5039 |
4998 checkMetrosListResponse(api.MetrosListResponse o) { | 5040 checkMetrosListResponse(api.MetrosListResponse o) { |
4999 buildCounterMetrosListResponse++; | 5041 buildCounterMetrosListResponse++; |
5000 if (buildCounterMetrosListResponse < 3) { | 5042 if (buildCounterMetrosListResponse < 3) { |
5001 unittest.expect(o.kind, unittest.equals('foo')); | 5043 unittest.expect(o.kind, unittest.equals('foo')); |
5002 checkUnnamed2746(o.metros); | 5044 checkUnnamed2501(o.metros); |
5003 } | 5045 } |
5004 buildCounterMetrosListResponse--; | 5046 buildCounterMetrosListResponse--; |
5005 } | 5047 } |
5006 | 5048 |
5007 core.int buildCounterMobileCarrier = 0; | 5049 core.int buildCounterMobileCarrier = 0; |
5008 buildMobileCarrier() { | 5050 buildMobileCarrier() { |
5009 var o = new api.MobileCarrier(); | 5051 var o = new api.MobileCarrier(); |
5010 buildCounterMobileCarrier++; | 5052 buildCounterMobileCarrier++; |
5011 if (buildCounterMobileCarrier < 3) { | 5053 if (buildCounterMobileCarrier < 3) { |
5012 o.countryCode = "foo"; | 5054 o.countryCode = "foo"; |
(...skipping 11 matching lines...) Expand all Loading... |
5024 if (buildCounterMobileCarrier < 3) { | 5066 if (buildCounterMobileCarrier < 3) { |
5025 unittest.expect(o.countryCode, unittest.equals('foo')); | 5067 unittest.expect(o.countryCode, unittest.equals('foo')); |
5026 unittest.expect(o.countryDartId, unittest.equals('foo')); | 5068 unittest.expect(o.countryDartId, unittest.equals('foo')); |
5027 unittest.expect(o.id, unittest.equals('foo')); | 5069 unittest.expect(o.id, unittest.equals('foo')); |
5028 unittest.expect(o.kind, unittest.equals('foo')); | 5070 unittest.expect(o.kind, unittest.equals('foo')); |
5029 unittest.expect(o.name, unittest.equals('foo')); | 5071 unittest.expect(o.name, unittest.equals('foo')); |
5030 } | 5072 } |
5031 buildCounterMobileCarrier--; | 5073 buildCounterMobileCarrier--; |
5032 } | 5074 } |
5033 | 5075 |
5034 buildUnnamed2747() { | 5076 buildUnnamed2502() { |
5035 var o = new core.List<api.MobileCarrier>(); | 5077 var o = new core.List<api.MobileCarrier>(); |
5036 o.add(buildMobileCarrier()); | 5078 o.add(buildMobileCarrier()); |
5037 o.add(buildMobileCarrier()); | 5079 o.add(buildMobileCarrier()); |
5038 return o; | 5080 return o; |
5039 } | 5081 } |
5040 | 5082 |
5041 checkUnnamed2747(core.List<api.MobileCarrier> o) { | 5083 checkUnnamed2502(core.List<api.MobileCarrier> o) { |
5042 unittest.expect(o, unittest.hasLength(2)); | 5084 unittest.expect(o, unittest.hasLength(2)); |
5043 checkMobileCarrier(o[0]); | 5085 checkMobileCarrier(o[0]); |
5044 checkMobileCarrier(o[1]); | 5086 checkMobileCarrier(o[1]); |
5045 } | 5087 } |
5046 | 5088 |
5047 core.int buildCounterMobileCarriersListResponse = 0; | 5089 core.int buildCounterMobileCarriersListResponse = 0; |
5048 buildMobileCarriersListResponse() { | 5090 buildMobileCarriersListResponse() { |
5049 var o = new api.MobileCarriersListResponse(); | 5091 var o = new api.MobileCarriersListResponse(); |
5050 buildCounterMobileCarriersListResponse++; | 5092 buildCounterMobileCarriersListResponse++; |
5051 if (buildCounterMobileCarriersListResponse < 3) { | 5093 if (buildCounterMobileCarriersListResponse < 3) { |
5052 o.kind = "foo"; | 5094 o.kind = "foo"; |
5053 o.mobileCarriers = buildUnnamed2747(); | 5095 o.mobileCarriers = buildUnnamed2502(); |
5054 } | 5096 } |
5055 buildCounterMobileCarriersListResponse--; | 5097 buildCounterMobileCarriersListResponse--; |
5056 return o; | 5098 return o; |
5057 } | 5099 } |
5058 | 5100 |
5059 checkMobileCarriersListResponse(api.MobileCarriersListResponse o) { | 5101 checkMobileCarriersListResponse(api.MobileCarriersListResponse o) { |
5060 buildCounterMobileCarriersListResponse++; | 5102 buildCounterMobileCarriersListResponse++; |
5061 if (buildCounterMobileCarriersListResponse < 3) { | 5103 if (buildCounterMobileCarriersListResponse < 3) { |
5062 unittest.expect(o.kind, unittest.equals('foo')); | 5104 unittest.expect(o.kind, unittest.equals('foo')); |
5063 checkUnnamed2747(o.mobileCarriers); | 5105 checkUnnamed2502(o.mobileCarriers); |
5064 } | 5106 } |
5065 buildCounterMobileCarriersListResponse--; | 5107 buildCounterMobileCarriersListResponse--; |
5066 } | 5108 } |
5067 | 5109 |
5068 buildUnnamed2748() { | 5110 buildUnnamed2503() { |
5069 var o = new core.List<core.String>(); | 5111 var o = new core.List<core.String>(); |
5070 o.add("foo"); | 5112 o.add("foo"); |
5071 o.add("foo"); | 5113 o.add("foo"); |
5072 return o; | 5114 return o; |
5073 } | 5115 } |
5074 | 5116 |
5075 checkUnnamed2748(core.List<core.String> o) { | 5117 checkUnnamed2503(core.List<core.String> o) { |
5076 unittest.expect(o, unittest.hasLength(2)); | 5118 unittest.expect(o, unittest.hasLength(2)); |
5077 unittest.expect(o[0], unittest.equals('foo')); | 5119 unittest.expect(o[0], unittest.equals('foo')); |
5078 unittest.expect(o[1], unittest.equals('foo')); | 5120 unittest.expect(o[1], unittest.equals('foo')); |
5079 } | 5121 } |
5080 | 5122 |
5081 core.int buildCounterObjectFilter = 0; | 5123 core.int buildCounterObjectFilter = 0; |
5082 buildObjectFilter() { | 5124 buildObjectFilter() { |
5083 var o = new api.ObjectFilter(); | 5125 var o = new api.ObjectFilter(); |
5084 buildCounterObjectFilter++; | 5126 buildCounterObjectFilter++; |
5085 if (buildCounterObjectFilter < 3) { | 5127 if (buildCounterObjectFilter < 3) { |
5086 o.kind = "foo"; | 5128 o.kind = "foo"; |
5087 o.objectIds = buildUnnamed2748(); | 5129 o.objectIds = buildUnnamed2503(); |
5088 o.status = "foo"; | 5130 o.status = "foo"; |
5089 } | 5131 } |
5090 buildCounterObjectFilter--; | 5132 buildCounterObjectFilter--; |
5091 return o; | 5133 return o; |
5092 } | 5134 } |
5093 | 5135 |
5094 checkObjectFilter(api.ObjectFilter o) { | 5136 checkObjectFilter(api.ObjectFilter o) { |
5095 buildCounterObjectFilter++; | 5137 buildCounterObjectFilter++; |
5096 if (buildCounterObjectFilter < 3) { | 5138 if (buildCounterObjectFilter < 3) { |
5097 unittest.expect(o.kind, unittest.equals('foo')); | 5139 unittest.expect(o.kind, unittest.equals('foo')); |
5098 checkUnnamed2748(o.objectIds); | 5140 checkUnnamed2503(o.objectIds); |
5099 unittest.expect(o.status, unittest.equals('foo')); | 5141 unittest.expect(o.status, unittest.equals('foo')); |
5100 } | 5142 } |
5101 buildCounterObjectFilter--; | 5143 buildCounterObjectFilter--; |
5102 } | 5144 } |
5103 | 5145 |
5104 core.int buildCounterOffsetPosition = 0; | 5146 core.int buildCounterOffsetPosition = 0; |
5105 buildOffsetPosition() { | 5147 buildOffsetPosition() { |
5106 var o = new api.OffsetPosition(); | 5148 var o = new api.OffsetPosition(); |
5107 buildCounterOffsetPosition++; | 5149 buildCounterOffsetPosition++; |
5108 if (buildCounterOffsetPosition < 3) { | 5150 if (buildCounterOffsetPosition < 3) { |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5192 unittest.expect(o.id, unittest.equals('foo')); | 5234 unittest.expect(o.id, unittest.equals('foo')); |
5193 unittest.expect(o.kind, unittest.equals('foo')); | 5235 unittest.expect(o.kind, unittest.equals('foo')); |
5194 unittest.expect(o.majorVersion, unittest.equals('foo')); | 5236 unittest.expect(o.majorVersion, unittest.equals('foo')); |
5195 unittest.expect(o.minorVersion, unittest.equals('foo')); | 5237 unittest.expect(o.minorVersion, unittest.equals('foo')); |
5196 unittest.expect(o.name, unittest.equals('foo')); | 5238 unittest.expect(o.name, unittest.equals('foo')); |
5197 checkOperatingSystem(o.operatingSystem); | 5239 checkOperatingSystem(o.operatingSystem); |
5198 } | 5240 } |
5199 buildCounterOperatingSystemVersion--; | 5241 buildCounterOperatingSystemVersion--; |
5200 } | 5242 } |
5201 | 5243 |
5202 buildUnnamed2749() { | 5244 buildUnnamed2504() { |
5203 var o = new core.List<api.OperatingSystemVersion>(); | 5245 var o = new core.List<api.OperatingSystemVersion>(); |
5204 o.add(buildOperatingSystemVersion()); | 5246 o.add(buildOperatingSystemVersion()); |
5205 o.add(buildOperatingSystemVersion()); | 5247 o.add(buildOperatingSystemVersion()); |
5206 return o; | 5248 return o; |
5207 } | 5249 } |
5208 | 5250 |
5209 checkUnnamed2749(core.List<api.OperatingSystemVersion> o) { | 5251 checkUnnamed2504(core.List<api.OperatingSystemVersion> o) { |
5210 unittest.expect(o, unittest.hasLength(2)); | 5252 unittest.expect(o, unittest.hasLength(2)); |
5211 checkOperatingSystemVersion(o[0]); | 5253 checkOperatingSystemVersion(o[0]); |
5212 checkOperatingSystemVersion(o[1]); | 5254 checkOperatingSystemVersion(o[1]); |
5213 } | 5255 } |
5214 | 5256 |
5215 core.int buildCounterOperatingSystemVersionsListResponse = 0; | 5257 core.int buildCounterOperatingSystemVersionsListResponse = 0; |
5216 buildOperatingSystemVersionsListResponse() { | 5258 buildOperatingSystemVersionsListResponse() { |
5217 var o = new api.OperatingSystemVersionsListResponse(); | 5259 var o = new api.OperatingSystemVersionsListResponse(); |
5218 buildCounterOperatingSystemVersionsListResponse++; | 5260 buildCounterOperatingSystemVersionsListResponse++; |
5219 if (buildCounterOperatingSystemVersionsListResponse < 3) { | 5261 if (buildCounterOperatingSystemVersionsListResponse < 3) { |
5220 o.kind = "foo"; | 5262 o.kind = "foo"; |
5221 o.operatingSystemVersions = buildUnnamed2749(); | 5263 o.operatingSystemVersions = buildUnnamed2504(); |
5222 } | 5264 } |
5223 buildCounterOperatingSystemVersionsListResponse--; | 5265 buildCounterOperatingSystemVersionsListResponse--; |
5224 return o; | 5266 return o; |
5225 } | 5267 } |
5226 | 5268 |
5227 checkOperatingSystemVersionsListResponse(api.OperatingSystemVersionsListResponse
o) { | 5269 checkOperatingSystemVersionsListResponse(api.OperatingSystemVersionsListResponse
o) { |
5228 buildCounterOperatingSystemVersionsListResponse++; | 5270 buildCounterOperatingSystemVersionsListResponse++; |
5229 if (buildCounterOperatingSystemVersionsListResponse < 3) { | 5271 if (buildCounterOperatingSystemVersionsListResponse < 3) { |
5230 unittest.expect(o.kind, unittest.equals('foo')); | 5272 unittest.expect(o.kind, unittest.equals('foo')); |
5231 checkUnnamed2749(o.operatingSystemVersions); | 5273 checkUnnamed2504(o.operatingSystemVersions); |
5232 } | 5274 } |
5233 buildCounterOperatingSystemVersionsListResponse--; | 5275 buildCounterOperatingSystemVersionsListResponse--; |
5234 } | 5276 } |
5235 | 5277 |
5236 buildUnnamed2750() { | 5278 buildUnnamed2505() { |
5237 var o = new core.List<api.OperatingSystem>(); | 5279 var o = new core.List<api.OperatingSystem>(); |
5238 o.add(buildOperatingSystem()); | 5280 o.add(buildOperatingSystem()); |
5239 o.add(buildOperatingSystem()); | 5281 o.add(buildOperatingSystem()); |
5240 return o; | 5282 return o; |
5241 } | 5283 } |
5242 | 5284 |
5243 checkUnnamed2750(core.List<api.OperatingSystem> o) { | 5285 checkUnnamed2505(core.List<api.OperatingSystem> o) { |
5244 unittest.expect(o, unittest.hasLength(2)); | 5286 unittest.expect(o, unittest.hasLength(2)); |
5245 checkOperatingSystem(o[0]); | 5287 checkOperatingSystem(o[0]); |
5246 checkOperatingSystem(o[1]); | 5288 checkOperatingSystem(o[1]); |
5247 } | 5289 } |
5248 | 5290 |
5249 core.int buildCounterOperatingSystemsListResponse = 0; | 5291 core.int buildCounterOperatingSystemsListResponse = 0; |
5250 buildOperatingSystemsListResponse() { | 5292 buildOperatingSystemsListResponse() { |
5251 var o = new api.OperatingSystemsListResponse(); | 5293 var o = new api.OperatingSystemsListResponse(); |
5252 buildCounterOperatingSystemsListResponse++; | 5294 buildCounterOperatingSystemsListResponse++; |
5253 if (buildCounterOperatingSystemsListResponse < 3) { | 5295 if (buildCounterOperatingSystemsListResponse < 3) { |
5254 o.kind = "foo"; | 5296 o.kind = "foo"; |
5255 o.operatingSystems = buildUnnamed2750(); | 5297 o.operatingSystems = buildUnnamed2505(); |
5256 } | 5298 } |
5257 buildCounterOperatingSystemsListResponse--; | 5299 buildCounterOperatingSystemsListResponse--; |
5258 return o; | 5300 return o; |
5259 } | 5301 } |
5260 | 5302 |
5261 checkOperatingSystemsListResponse(api.OperatingSystemsListResponse o) { | 5303 checkOperatingSystemsListResponse(api.OperatingSystemsListResponse o) { |
5262 buildCounterOperatingSystemsListResponse++; | 5304 buildCounterOperatingSystemsListResponse++; |
5263 if (buildCounterOperatingSystemsListResponse < 3) { | 5305 if (buildCounterOperatingSystemsListResponse < 3) { |
5264 unittest.expect(o.kind, unittest.equals('foo')); | 5306 unittest.expect(o.kind, unittest.equals('foo')); |
5265 checkUnnamed2750(o.operatingSystems); | 5307 checkUnnamed2505(o.operatingSystems); |
5266 } | 5308 } |
5267 buildCounterOperatingSystemsListResponse--; | 5309 buildCounterOperatingSystemsListResponse--; |
5268 } | 5310 } |
5269 | 5311 |
5270 core.int buildCounterOptimizationActivity = 0; | 5312 core.int buildCounterOptimizationActivity = 0; |
5271 buildOptimizationActivity() { | 5313 buildOptimizationActivity() { |
5272 var o = new api.OptimizationActivity(); | 5314 var o = new api.OptimizationActivity(); |
5273 buildCounterOptimizationActivity++; | 5315 buildCounterOptimizationActivity++; |
5274 if (buildCounterOptimizationActivity < 3) { | 5316 if (buildCounterOptimizationActivity < 3) { |
5275 o.floodlightActivityId = "foo"; | 5317 o.floodlightActivityId = "foo"; |
5276 o.floodlightActivityIdDimensionValue = buildDimensionValue(); | 5318 o.floodlightActivityIdDimensionValue = buildDimensionValue(); |
5277 o.weight = 42; | 5319 o.weight = 42; |
5278 } | 5320 } |
5279 buildCounterOptimizationActivity--; | 5321 buildCounterOptimizationActivity--; |
5280 return o; | 5322 return o; |
5281 } | 5323 } |
5282 | 5324 |
5283 checkOptimizationActivity(api.OptimizationActivity o) { | 5325 checkOptimizationActivity(api.OptimizationActivity o) { |
5284 buildCounterOptimizationActivity++; | 5326 buildCounterOptimizationActivity++; |
5285 if (buildCounterOptimizationActivity < 3) { | 5327 if (buildCounterOptimizationActivity < 3) { |
5286 unittest.expect(o.floodlightActivityId, unittest.equals('foo')); | 5328 unittest.expect(o.floodlightActivityId, unittest.equals('foo')); |
5287 checkDimensionValue(o.floodlightActivityIdDimensionValue); | 5329 checkDimensionValue(o.floodlightActivityIdDimensionValue); |
5288 unittest.expect(o.weight, unittest.equals(42)); | 5330 unittest.expect(o.weight, unittest.equals(42)); |
5289 } | 5331 } |
5290 buildCounterOptimizationActivity--; | 5332 buildCounterOptimizationActivity--; |
5291 } | 5333 } |
5292 | 5334 |
5293 buildUnnamed2751() { | 5335 buildUnnamed2506() { |
5294 var o = new core.List<core.String>(); | 5336 var o = new core.List<core.String>(); |
5295 o.add("foo"); | 5337 o.add("foo"); |
5296 o.add("foo"); | 5338 o.add("foo"); |
5297 return o; | 5339 return o; |
5298 } | 5340 } |
5299 | 5341 |
5300 checkUnnamed2751(core.List<core.String> o) { | 5342 checkUnnamed2506(core.List<core.String> o) { |
5301 unittest.expect(o, unittest.hasLength(2)); | 5343 unittest.expect(o, unittest.hasLength(2)); |
5302 unittest.expect(o[0], unittest.equals('foo')); | 5344 unittest.expect(o[0], unittest.equals('foo')); |
5303 unittest.expect(o[1], unittest.equals('foo')); | 5345 unittest.expect(o[1], unittest.equals('foo')); |
5304 } | 5346 } |
5305 | 5347 |
5306 buildUnnamed2752() { | 5348 buildUnnamed2507() { |
5307 var o = new core.List<api.OrderContact>(); | 5349 var o = new core.List<api.OrderContact>(); |
5308 o.add(buildOrderContact()); | 5350 o.add(buildOrderContact()); |
5309 o.add(buildOrderContact()); | 5351 o.add(buildOrderContact()); |
5310 return o; | 5352 return o; |
5311 } | 5353 } |
5312 | 5354 |
5313 checkUnnamed2752(core.List<api.OrderContact> o) { | 5355 checkUnnamed2507(core.List<api.OrderContact> o) { |
5314 unittest.expect(o, unittest.hasLength(2)); | 5356 unittest.expect(o, unittest.hasLength(2)); |
5315 checkOrderContact(o[0]); | 5357 checkOrderContact(o[0]); |
5316 checkOrderContact(o[1]); | 5358 checkOrderContact(o[1]); |
5317 } | 5359 } |
5318 | 5360 |
5319 buildUnnamed2753() { | 5361 buildUnnamed2508() { |
5320 var o = new core.List<core.String>(); | 5362 var o = new core.List<core.String>(); |
5321 o.add("foo"); | 5363 o.add("foo"); |
5322 o.add("foo"); | 5364 o.add("foo"); |
5323 return o; | 5365 return o; |
5324 } | 5366 } |
5325 | 5367 |
5326 checkUnnamed2753(core.List<core.String> o) { | 5368 checkUnnamed2508(core.List<core.String> o) { |
5327 unittest.expect(o, unittest.hasLength(2)); | 5369 unittest.expect(o, unittest.hasLength(2)); |
5328 unittest.expect(o[0], unittest.equals('foo')); | 5370 unittest.expect(o[0], unittest.equals('foo')); |
5329 unittest.expect(o[1], unittest.equals('foo')); | 5371 unittest.expect(o[1], unittest.equals('foo')); |
5330 } | 5372 } |
5331 | 5373 |
5332 buildUnnamed2754() { | 5374 buildUnnamed2509() { |
5333 var o = new core.List<core.String>(); | 5375 var o = new core.List<core.String>(); |
5334 o.add("foo"); | 5376 o.add("foo"); |
5335 o.add("foo"); | 5377 o.add("foo"); |
5336 return o; | 5378 return o; |
5337 } | 5379 } |
5338 | 5380 |
5339 checkUnnamed2754(core.List<core.String> o) { | 5381 checkUnnamed2509(core.List<core.String> o) { |
5340 unittest.expect(o, unittest.hasLength(2)); | 5382 unittest.expect(o, unittest.hasLength(2)); |
5341 unittest.expect(o[0], unittest.equals('foo')); | 5383 unittest.expect(o[0], unittest.equals('foo')); |
5342 unittest.expect(o[1], unittest.equals('foo')); | 5384 unittest.expect(o[1], unittest.equals('foo')); |
5343 } | 5385 } |
5344 | 5386 |
5345 core.int buildCounterOrder = 0; | 5387 core.int buildCounterOrder = 0; |
5346 buildOrder() { | 5388 buildOrder() { |
5347 var o = new api.Order(); | 5389 var o = new api.Order(); |
5348 buildCounterOrder++; | 5390 buildCounterOrder++; |
5349 if (buildCounterOrder < 3) { | 5391 if (buildCounterOrder < 3) { |
5350 o.accountId = "foo"; | 5392 o.accountId = "foo"; |
5351 o.advertiserId = "foo"; | 5393 o.advertiserId = "foo"; |
5352 o.approverUserProfileIds = buildUnnamed2751(); | 5394 o.approverUserProfileIds = buildUnnamed2506(); |
5353 o.buyerInvoiceId = "foo"; | 5395 o.buyerInvoiceId = "foo"; |
5354 o.buyerOrganizationName = "foo"; | 5396 o.buyerOrganizationName = "foo"; |
5355 o.comments = "foo"; | 5397 o.comments = "foo"; |
5356 o.contacts = buildUnnamed2752(); | 5398 o.contacts = buildUnnamed2507(); |
5357 o.id = "foo"; | 5399 o.id = "foo"; |
5358 o.kind = "foo"; | 5400 o.kind = "foo"; |
5359 o.lastModifiedInfo = buildLastModifiedInfo(); | 5401 o.lastModifiedInfo = buildLastModifiedInfo(); |
5360 o.name = "foo"; | 5402 o.name = "foo"; |
5361 o.notes = "foo"; | 5403 o.notes = "foo"; |
5362 o.planningTermId = "foo"; | 5404 o.planningTermId = "foo"; |
5363 o.projectId = "foo"; | 5405 o.projectId = "foo"; |
5364 o.sellerOrderId = "foo"; | 5406 o.sellerOrderId = "foo"; |
5365 o.sellerOrganizationName = "foo"; | 5407 o.sellerOrganizationName = "foo"; |
5366 o.siteId = buildUnnamed2753(); | 5408 o.siteId = buildUnnamed2508(); |
5367 o.siteNames = buildUnnamed2754(); | 5409 o.siteNames = buildUnnamed2509(); |
5368 o.subaccountId = "foo"; | 5410 o.subaccountId = "foo"; |
5369 o.termsAndConditions = "foo"; | 5411 o.termsAndConditions = "foo"; |
5370 } | 5412 } |
5371 buildCounterOrder--; | 5413 buildCounterOrder--; |
5372 return o; | 5414 return o; |
5373 } | 5415 } |
5374 | 5416 |
5375 checkOrder(api.Order o) { | 5417 checkOrder(api.Order o) { |
5376 buildCounterOrder++; | 5418 buildCounterOrder++; |
5377 if (buildCounterOrder < 3) { | 5419 if (buildCounterOrder < 3) { |
5378 unittest.expect(o.accountId, unittest.equals('foo')); | 5420 unittest.expect(o.accountId, unittest.equals('foo')); |
5379 unittest.expect(o.advertiserId, unittest.equals('foo')); | 5421 unittest.expect(o.advertiserId, unittest.equals('foo')); |
5380 checkUnnamed2751(o.approverUserProfileIds); | 5422 checkUnnamed2506(o.approverUserProfileIds); |
5381 unittest.expect(o.buyerInvoiceId, unittest.equals('foo')); | 5423 unittest.expect(o.buyerInvoiceId, unittest.equals('foo')); |
5382 unittest.expect(o.buyerOrganizationName, unittest.equals('foo')); | 5424 unittest.expect(o.buyerOrganizationName, unittest.equals('foo')); |
5383 unittest.expect(o.comments, unittest.equals('foo')); | 5425 unittest.expect(o.comments, unittest.equals('foo')); |
5384 checkUnnamed2752(o.contacts); | 5426 checkUnnamed2507(o.contacts); |
5385 unittest.expect(o.id, unittest.equals('foo')); | 5427 unittest.expect(o.id, unittest.equals('foo')); |
5386 unittest.expect(o.kind, unittest.equals('foo')); | 5428 unittest.expect(o.kind, unittest.equals('foo')); |
5387 checkLastModifiedInfo(o.lastModifiedInfo); | 5429 checkLastModifiedInfo(o.lastModifiedInfo); |
5388 unittest.expect(o.name, unittest.equals('foo')); | 5430 unittest.expect(o.name, unittest.equals('foo')); |
5389 unittest.expect(o.notes, unittest.equals('foo')); | 5431 unittest.expect(o.notes, unittest.equals('foo')); |
5390 unittest.expect(o.planningTermId, unittest.equals('foo')); | 5432 unittest.expect(o.planningTermId, unittest.equals('foo')); |
5391 unittest.expect(o.projectId, unittest.equals('foo')); | 5433 unittest.expect(o.projectId, unittest.equals('foo')); |
5392 unittest.expect(o.sellerOrderId, unittest.equals('foo')); | 5434 unittest.expect(o.sellerOrderId, unittest.equals('foo')); |
5393 unittest.expect(o.sellerOrganizationName, unittest.equals('foo')); | 5435 unittest.expect(o.sellerOrganizationName, unittest.equals('foo')); |
5394 checkUnnamed2753(o.siteId); | 5436 checkUnnamed2508(o.siteId); |
5395 checkUnnamed2754(o.siteNames); | 5437 checkUnnamed2509(o.siteNames); |
5396 unittest.expect(o.subaccountId, unittest.equals('foo')); | 5438 unittest.expect(o.subaccountId, unittest.equals('foo')); |
5397 unittest.expect(o.termsAndConditions, unittest.equals('foo')); | 5439 unittest.expect(o.termsAndConditions, unittest.equals('foo')); |
5398 } | 5440 } |
5399 buildCounterOrder--; | 5441 buildCounterOrder--; |
5400 } | 5442 } |
5401 | 5443 |
5402 core.int buildCounterOrderContact = 0; | 5444 core.int buildCounterOrderContact = 0; |
5403 buildOrderContact() { | 5445 buildOrderContact() { |
5404 var o = new api.OrderContact(); | 5446 var o = new api.OrderContact(); |
5405 buildCounterOrderContact++; | 5447 buildCounterOrderContact++; |
(...skipping 13 matching lines...) Expand all Loading... |
5419 if (buildCounterOrderContact < 3) { | 5461 if (buildCounterOrderContact < 3) { |
5420 unittest.expect(o.contactInfo, unittest.equals('foo')); | 5462 unittest.expect(o.contactInfo, unittest.equals('foo')); |
5421 unittest.expect(o.contactName, unittest.equals('foo')); | 5463 unittest.expect(o.contactName, unittest.equals('foo')); |
5422 unittest.expect(o.contactTitle, unittest.equals('foo')); | 5464 unittest.expect(o.contactTitle, unittest.equals('foo')); |
5423 unittest.expect(o.contactType, unittest.equals('foo')); | 5465 unittest.expect(o.contactType, unittest.equals('foo')); |
5424 unittest.expect(o.signatureUserProfileId, unittest.equals('foo')); | 5466 unittest.expect(o.signatureUserProfileId, unittest.equals('foo')); |
5425 } | 5467 } |
5426 buildCounterOrderContact--; | 5468 buildCounterOrderContact--; |
5427 } | 5469 } |
5428 | 5470 |
5429 buildUnnamed2755() { | 5471 buildUnnamed2510() { |
5430 var o = new core.List<core.String>(); | 5472 var o = new core.List<core.String>(); |
5431 o.add("foo"); | 5473 o.add("foo"); |
5432 o.add("foo"); | 5474 o.add("foo"); |
5433 return o; | 5475 return o; |
5434 } | 5476 } |
5435 | 5477 |
5436 checkUnnamed2755(core.List<core.String> o) { | 5478 checkUnnamed2510(core.List<core.String> o) { |
5437 unittest.expect(o, unittest.hasLength(2)); | 5479 unittest.expect(o, unittest.hasLength(2)); |
5438 unittest.expect(o[0], unittest.equals('foo')); | 5480 unittest.expect(o[0], unittest.equals('foo')); |
5439 unittest.expect(o[1], unittest.equals('foo')); | 5481 unittest.expect(o[1], unittest.equals('foo')); |
5440 } | 5482 } |
5441 | 5483 |
5442 buildUnnamed2756() { | 5484 buildUnnamed2511() { |
5443 var o = new core.List<core.String>(); | 5485 var o = new core.List<core.String>(); |
5444 o.add("foo"); | 5486 o.add("foo"); |
5445 o.add("foo"); | 5487 o.add("foo"); |
5446 return o; | 5488 return o; |
5447 } | 5489 } |
5448 | 5490 |
5449 checkUnnamed2756(core.List<core.String> o) { | 5491 checkUnnamed2511(core.List<core.String> o) { |
5450 unittest.expect(o, unittest.hasLength(2)); | 5492 unittest.expect(o, unittest.hasLength(2)); |
5451 unittest.expect(o[0], unittest.equals('foo')); | 5493 unittest.expect(o[0], unittest.equals('foo')); |
5452 unittest.expect(o[1], unittest.equals('foo')); | 5494 unittest.expect(o[1], unittest.equals('foo')); |
5453 } | 5495 } |
5454 | 5496 |
5455 core.int buildCounterOrderDocument = 0; | 5497 core.int buildCounterOrderDocument = 0; |
5456 buildOrderDocument() { | 5498 buildOrderDocument() { |
5457 var o = new api.OrderDocument(); | 5499 var o = new api.OrderDocument(); |
5458 buildCounterOrderDocument++; | 5500 buildCounterOrderDocument++; |
5459 if (buildCounterOrderDocument < 3) { | 5501 if (buildCounterOrderDocument < 3) { |
5460 o.accountId = "foo"; | 5502 o.accountId = "foo"; |
5461 o.advertiserId = "foo"; | 5503 o.advertiserId = "foo"; |
5462 o.amendedOrderDocumentId = "foo"; | 5504 o.amendedOrderDocumentId = "foo"; |
5463 o.approvedByUserProfileIds = buildUnnamed2755(); | 5505 o.approvedByUserProfileIds = buildUnnamed2510(); |
5464 o.cancelled = true; | 5506 o.cancelled = true; |
5465 o.createdInfo = buildLastModifiedInfo(); | 5507 o.createdInfo = buildLastModifiedInfo(); |
5466 o.effectiveDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 5508 o.effectiveDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
5467 o.id = "foo"; | 5509 o.id = "foo"; |
5468 o.kind = "foo"; | 5510 o.kind = "foo"; |
5469 o.lastSentRecipients = buildUnnamed2756(); | 5511 o.lastSentRecipients = buildUnnamed2511(); |
5470 o.lastSentTime = core.DateTime.parse("2002-02-27T14:01:02"); | 5512 o.lastSentTime = core.DateTime.parse("2002-02-27T14:01:02"); |
5471 o.orderId = "foo"; | 5513 o.orderId = "foo"; |
5472 o.projectId = "foo"; | 5514 o.projectId = "foo"; |
5473 o.signed = true; | 5515 o.signed = true; |
5474 o.subaccountId = "foo"; | 5516 o.subaccountId = "foo"; |
5475 o.title = "foo"; | 5517 o.title = "foo"; |
5476 o.type = "foo"; | 5518 o.type = "foo"; |
5477 } | 5519 } |
5478 buildCounterOrderDocument--; | 5520 buildCounterOrderDocument--; |
5479 return o; | 5521 return o; |
5480 } | 5522 } |
5481 | 5523 |
5482 checkOrderDocument(api.OrderDocument o) { | 5524 checkOrderDocument(api.OrderDocument o) { |
5483 buildCounterOrderDocument++; | 5525 buildCounterOrderDocument++; |
5484 if (buildCounterOrderDocument < 3) { | 5526 if (buildCounterOrderDocument < 3) { |
5485 unittest.expect(o.accountId, unittest.equals('foo')); | 5527 unittest.expect(o.accountId, unittest.equals('foo')); |
5486 unittest.expect(o.advertiserId, unittest.equals('foo')); | 5528 unittest.expect(o.advertiserId, unittest.equals('foo')); |
5487 unittest.expect(o.amendedOrderDocumentId, unittest.equals('foo')); | 5529 unittest.expect(o.amendedOrderDocumentId, unittest.equals('foo')); |
5488 checkUnnamed2755(o.approvedByUserProfileIds); | 5530 checkUnnamed2510(o.approvedByUserProfileIds); |
5489 unittest.expect(o.cancelled, unittest.isTrue); | 5531 unittest.expect(o.cancelled, unittest.isTrue); |
5490 checkLastModifiedInfo(o.createdInfo); | 5532 checkLastModifiedInfo(o.createdInfo); |
5491 unittest.expect(o.effectiveDate, unittest.equals(core.DateTime.parse("2002-0
2-27T00:00:00"))); | 5533 unittest.expect(o.effectiveDate, unittest.equals(core.DateTime.parse("2002-0
2-27T00:00:00"))); |
5492 unittest.expect(o.id, unittest.equals('foo')); | 5534 unittest.expect(o.id, unittest.equals('foo')); |
5493 unittest.expect(o.kind, unittest.equals('foo')); | 5535 unittest.expect(o.kind, unittest.equals('foo')); |
5494 checkUnnamed2756(o.lastSentRecipients); | 5536 checkUnnamed2511(o.lastSentRecipients); |
5495 unittest.expect(o.lastSentTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 5537 unittest.expect(o.lastSentTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
5496 unittest.expect(o.orderId, unittest.equals('foo')); | 5538 unittest.expect(o.orderId, unittest.equals('foo')); |
5497 unittest.expect(o.projectId, unittest.equals('foo')); | 5539 unittest.expect(o.projectId, unittest.equals('foo')); |
5498 unittest.expect(o.signed, unittest.isTrue); | 5540 unittest.expect(o.signed, unittest.isTrue); |
5499 unittest.expect(o.subaccountId, unittest.equals('foo')); | 5541 unittest.expect(o.subaccountId, unittest.equals('foo')); |
5500 unittest.expect(o.title, unittest.equals('foo')); | 5542 unittest.expect(o.title, unittest.equals('foo')); |
5501 unittest.expect(o.type, unittest.equals('foo')); | 5543 unittest.expect(o.type, unittest.equals('foo')); |
5502 } | 5544 } |
5503 buildCounterOrderDocument--; | 5545 buildCounterOrderDocument--; |
5504 } | 5546 } |
5505 | 5547 |
5506 buildUnnamed2757() { | 5548 buildUnnamed2512() { |
5507 var o = new core.List<api.OrderDocument>(); | 5549 var o = new core.List<api.OrderDocument>(); |
5508 o.add(buildOrderDocument()); | 5550 o.add(buildOrderDocument()); |
5509 o.add(buildOrderDocument()); | 5551 o.add(buildOrderDocument()); |
5510 return o; | 5552 return o; |
5511 } | 5553 } |
5512 | 5554 |
5513 checkUnnamed2757(core.List<api.OrderDocument> o) { | 5555 checkUnnamed2512(core.List<api.OrderDocument> o) { |
5514 unittest.expect(o, unittest.hasLength(2)); | 5556 unittest.expect(o, unittest.hasLength(2)); |
5515 checkOrderDocument(o[0]); | 5557 checkOrderDocument(o[0]); |
5516 checkOrderDocument(o[1]); | 5558 checkOrderDocument(o[1]); |
5517 } | 5559 } |
5518 | 5560 |
5519 core.int buildCounterOrderDocumentsListResponse = 0; | 5561 core.int buildCounterOrderDocumentsListResponse = 0; |
5520 buildOrderDocumentsListResponse() { | 5562 buildOrderDocumentsListResponse() { |
5521 var o = new api.OrderDocumentsListResponse(); | 5563 var o = new api.OrderDocumentsListResponse(); |
5522 buildCounterOrderDocumentsListResponse++; | 5564 buildCounterOrderDocumentsListResponse++; |
5523 if (buildCounterOrderDocumentsListResponse < 3) { | 5565 if (buildCounterOrderDocumentsListResponse < 3) { |
5524 o.kind = "foo"; | 5566 o.kind = "foo"; |
5525 o.nextPageToken = "foo"; | 5567 o.nextPageToken = "foo"; |
5526 o.orderDocuments = buildUnnamed2757(); | 5568 o.orderDocuments = buildUnnamed2512(); |
5527 } | 5569 } |
5528 buildCounterOrderDocumentsListResponse--; | 5570 buildCounterOrderDocumentsListResponse--; |
5529 return o; | 5571 return o; |
5530 } | 5572 } |
5531 | 5573 |
5532 checkOrderDocumentsListResponse(api.OrderDocumentsListResponse o) { | 5574 checkOrderDocumentsListResponse(api.OrderDocumentsListResponse o) { |
5533 buildCounterOrderDocumentsListResponse++; | 5575 buildCounterOrderDocumentsListResponse++; |
5534 if (buildCounterOrderDocumentsListResponse < 3) { | 5576 if (buildCounterOrderDocumentsListResponse < 3) { |
5535 unittest.expect(o.kind, unittest.equals('foo')); | 5577 unittest.expect(o.kind, unittest.equals('foo')); |
5536 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5578 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5537 checkUnnamed2757(o.orderDocuments); | 5579 checkUnnamed2512(o.orderDocuments); |
5538 } | 5580 } |
5539 buildCounterOrderDocumentsListResponse--; | 5581 buildCounterOrderDocumentsListResponse--; |
5540 } | 5582 } |
5541 | 5583 |
5542 buildUnnamed2758() { | 5584 buildUnnamed2513() { |
5543 var o = new core.List<api.Order>(); | 5585 var o = new core.List<api.Order>(); |
5544 o.add(buildOrder()); | 5586 o.add(buildOrder()); |
5545 o.add(buildOrder()); | 5587 o.add(buildOrder()); |
5546 return o; | 5588 return o; |
5547 } | 5589 } |
5548 | 5590 |
5549 checkUnnamed2758(core.List<api.Order> o) { | 5591 checkUnnamed2513(core.List<api.Order> o) { |
5550 unittest.expect(o, unittest.hasLength(2)); | 5592 unittest.expect(o, unittest.hasLength(2)); |
5551 checkOrder(o[0]); | 5593 checkOrder(o[0]); |
5552 checkOrder(o[1]); | 5594 checkOrder(o[1]); |
5553 } | 5595 } |
5554 | 5596 |
5555 core.int buildCounterOrdersListResponse = 0; | 5597 core.int buildCounterOrdersListResponse = 0; |
5556 buildOrdersListResponse() { | 5598 buildOrdersListResponse() { |
5557 var o = new api.OrdersListResponse(); | 5599 var o = new api.OrdersListResponse(); |
5558 buildCounterOrdersListResponse++; | 5600 buildCounterOrdersListResponse++; |
5559 if (buildCounterOrdersListResponse < 3) { | 5601 if (buildCounterOrdersListResponse < 3) { |
5560 o.kind = "foo"; | 5602 o.kind = "foo"; |
5561 o.nextPageToken = "foo"; | 5603 o.nextPageToken = "foo"; |
5562 o.orders = buildUnnamed2758(); | 5604 o.orders = buildUnnamed2513(); |
5563 } | 5605 } |
5564 buildCounterOrdersListResponse--; | 5606 buildCounterOrdersListResponse--; |
5565 return o; | 5607 return o; |
5566 } | 5608 } |
5567 | 5609 |
5568 checkOrdersListResponse(api.OrdersListResponse o) { | 5610 checkOrdersListResponse(api.OrdersListResponse o) { |
5569 buildCounterOrdersListResponse++; | 5611 buildCounterOrdersListResponse++; |
5570 if (buildCounterOrdersListResponse < 3) { | 5612 if (buildCounterOrdersListResponse < 3) { |
5571 unittest.expect(o.kind, unittest.equals('foo')); | 5613 unittest.expect(o.kind, unittest.equals('foo')); |
5572 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5614 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5573 checkUnnamed2758(o.orders); | 5615 checkUnnamed2513(o.orders); |
5574 } | 5616 } |
5575 buildCounterOrdersListResponse--; | 5617 buildCounterOrdersListResponse--; |
5576 } | 5618 } |
5577 | 5619 |
5578 buildUnnamed2759() { | 5620 buildUnnamed2514() { |
5579 var o = new core.List<api.Dimension>(); | 5621 var o = new core.List<api.Dimension>(); |
5580 o.add(buildDimension()); | 5622 o.add(buildDimension()); |
5581 o.add(buildDimension()); | 5623 o.add(buildDimension()); |
5582 return o; | 5624 return o; |
5583 } | 5625 } |
5584 | 5626 |
5585 checkUnnamed2759(core.List<api.Dimension> o) { | 5627 checkUnnamed2514(core.List<api.Dimension> o) { |
5586 unittest.expect(o, unittest.hasLength(2)); | 5628 unittest.expect(o, unittest.hasLength(2)); |
5587 checkDimension(o[0]); | 5629 checkDimension(o[0]); |
5588 checkDimension(o[1]); | 5630 checkDimension(o[1]); |
5589 } | 5631 } |
5590 | 5632 |
5591 buildUnnamed2760() { | 5633 buildUnnamed2515() { |
5592 var o = new core.List<api.Dimension>(); | 5634 var o = new core.List<api.Dimension>(); |
5593 o.add(buildDimension()); | 5635 o.add(buildDimension()); |
5594 o.add(buildDimension()); | 5636 o.add(buildDimension()); |
5595 return o; | 5637 return o; |
5596 } | 5638 } |
5597 | 5639 |
5598 checkUnnamed2760(core.List<api.Dimension> o) { | 5640 checkUnnamed2515(core.List<api.Dimension> o) { |
5599 unittest.expect(o, unittest.hasLength(2)); | 5641 unittest.expect(o, unittest.hasLength(2)); |
5600 checkDimension(o[0]); | 5642 checkDimension(o[0]); |
5601 checkDimension(o[1]); | 5643 checkDimension(o[1]); |
5602 } | 5644 } |
5603 | 5645 |
5604 buildUnnamed2761() { | 5646 buildUnnamed2516() { |
5605 var o = new core.List<api.Metric>(); | 5647 var o = new core.List<api.Metric>(); |
5606 o.add(buildMetric()); | 5648 o.add(buildMetric()); |
5607 o.add(buildMetric()); | 5649 o.add(buildMetric()); |
5608 return o; | 5650 return o; |
5609 } | 5651 } |
5610 | 5652 |
5611 checkUnnamed2761(core.List<api.Metric> o) { | 5653 checkUnnamed2516(core.List<api.Metric> o) { |
5612 unittest.expect(o, unittest.hasLength(2)); | 5654 unittest.expect(o, unittest.hasLength(2)); |
5613 checkMetric(o[0]); | 5655 checkMetric(o[0]); |
5614 checkMetric(o[1]); | 5656 checkMetric(o[1]); |
5615 } | 5657 } |
5616 | 5658 |
5617 buildUnnamed2762() { | 5659 buildUnnamed2517() { |
5618 var o = new core.List<api.Dimension>(); | 5660 var o = new core.List<api.Dimension>(); |
5619 o.add(buildDimension()); | 5661 o.add(buildDimension()); |
5620 o.add(buildDimension()); | 5662 o.add(buildDimension()); |
5621 return o; | 5663 return o; |
5622 } | 5664 } |
5623 | 5665 |
5624 checkUnnamed2762(core.List<api.Dimension> o) { | 5666 checkUnnamed2517(core.List<api.Dimension> o) { |
5625 unittest.expect(o, unittest.hasLength(2)); | 5667 unittest.expect(o, unittest.hasLength(2)); |
5626 checkDimension(o[0]); | 5668 checkDimension(o[0]); |
5627 checkDimension(o[1]); | 5669 checkDimension(o[1]); |
5628 } | 5670 } |
5629 | 5671 |
5630 core.int buildCounterPathToConversionReportCompatibleFields = 0; | 5672 core.int buildCounterPathToConversionReportCompatibleFields = 0; |
5631 buildPathToConversionReportCompatibleFields() { | 5673 buildPathToConversionReportCompatibleFields() { |
5632 var o = new api.PathToConversionReportCompatibleFields(); | 5674 var o = new api.PathToConversionReportCompatibleFields(); |
5633 buildCounterPathToConversionReportCompatibleFields++; | 5675 buildCounterPathToConversionReportCompatibleFields++; |
5634 if (buildCounterPathToConversionReportCompatibleFields < 3) { | 5676 if (buildCounterPathToConversionReportCompatibleFields < 3) { |
5635 o.conversionDimensions = buildUnnamed2759(); | 5677 o.conversionDimensions = buildUnnamed2514(); |
5636 o.customFloodlightVariables = buildUnnamed2760(); | 5678 o.customFloodlightVariables = buildUnnamed2515(); |
5637 o.kind = "foo"; | 5679 o.kind = "foo"; |
5638 o.metrics = buildUnnamed2761(); | 5680 o.metrics = buildUnnamed2516(); |
5639 o.perInteractionDimensions = buildUnnamed2762(); | 5681 o.perInteractionDimensions = buildUnnamed2517(); |
5640 } | 5682 } |
5641 buildCounterPathToConversionReportCompatibleFields--; | 5683 buildCounterPathToConversionReportCompatibleFields--; |
5642 return o; | 5684 return o; |
5643 } | 5685 } |
5644 | 5686 |
5645 checkPathToConversionReportCompatibleFields(api.PathToConversionReportCompatible
Fields o) { | 5687 checkPathToConversionReportCompatibleFields(api.PathToConversionReportCompatible
Fields o) { |
5646 buildCounterPathToConversionReportCompatibleFields++; | 5688 buildCounterPathToConversionReportCompatibleFields++; |
5647 if (buildCounterPathToConversionReportCompatibleFields < 3) { | 5689 if (buildCounterPathToConversionReportCompatibleFields < 3) { |
5648 checkUnnamed2759(o.conversionDimensions); | 5690 checkUnnamed2514(o.conversionDimensions); |
5649 checkUnnamed2760(o.customFloodlightVariables); | 5691 checkUnnamed2515(o.customFloodlightVariables); |
5650 unittest.expect(o.kind, unittest.equals('foo')); | 5692 unittest.expect(o.kind, unittest.equals('foo')); |
5651 checkUnnamed2761(o.metrics); | 5693 checkUnnamed2516(o.metrics); |
5652 checkUnnamed2762(o.perInteractionDimensions); | 5694 checkUnnamed2517(o.perInteractionDimensions); |
5653 } | 5695 } |
5654 buildCounterPathToConversionReportCompatibleFields--; | 5696 buildCounterPathToConversionReportCompatibleFields--; |
5655 } | 5697 } |
5656 | 5698 |
5657 buildUnnamed2763() { | 5699 buildUnnamed2518() { |
5658 var o = new core.List<core.String>(); | 5700 var o = new core.List<core.String>(); |
5659 o.add("foo"); | 5701 o.add("foo"); |
5660 o.add("foo"); | 5702 o.add("foo"); |
5661 return o; | 5703 return o; |
5662 } | 5704 } |
5663 | 5705 |
5664 checkUnnamed2763(core.List<core.String> o) { | 5706 checkUnnamed2518(core.List<core.String> o) { |
5665 unittest.expect(o, unittest.hasLength(2)); | 5707 unittest.expect(o, unittest.hasLength(2)); |
5666 unittest.expect(o[0], unittest.equals('foo')); | 5708 unittest.expect(o[0], unittest.equals('foo')); |
5667 unittest.expect(o[1], unittest.equals('foo')); | 5709 unittest.expect(o[1], unittest.equals('foo')); |
5668 } | 5710 } |
5669 | 5711 |
5670 core.int buildCounterPlacement = 0; | 5712 core.int buildCounterPlacement = 0; |
5671 buildPlacement() { | 5713 buildPlacement() { |
5672 var o = new api.Placement(); | 5714 var o = new api.Placement(); |
5673 buildCounterPlacement++; | 5715 buildCounterPlacement++; |
5674 if (buildCounterPlacement < 3) { | 5716 if (buildCounterPlacement < 3) { |
(...skipping 24 matching lines...) Expand all Loading... |
5699 o.placementStrategyId = "foo"; | 5741 o.placementStrategyId = "foo"; |
5700 o.pricingSchedule = buildPricingSchedule(); | 5742 o.pricingSchedule = buildPricingSchedule(); |
5701 o.primary = true; | 5743 o.primary = true; |
5702 o.publisherUpdateInfo = buildLastModifiedInfo(); | 5744 o.publisherUpdateInfo = buildLastModifiedInfo(); |
5703 o.siteId = "foo"; | 5745 o.siteId = "foo"; |
5704 o.siteIdDimensionValue = buildDimensionValue(); | 5746 o.siteIdDimensionValue = buildDimensionValue(); |
5705 o.size = buildSize(); | 5747 o.size = buildSize(); |
5706 o.sslRequired = true; | 5748 o.sslRequired = true; |
5707 o.status = "foo"; | 5749 o.status = "foo"; |
5708 o.subaccountId = "foo"; | 5750 o.subaccountId = "foo"; |
5709 o.tagFormats = buildUnnamed2763(); | 5751 o.tagFormats = buildUnnamed2518(); |
5710 o.tagSetting = buildTagSetting(); | 5752 o.tagSetting = buildTagSetting(); |
| 5753 o.videoActiveViewOptOut = true; |
| 5754 o.videoSettings = buildVideoSettings(); |
| 5755 o.vpaidAdapterChoice = "foo"; |
5711 } | 5756 } |
5712 buildCounterPlacement--; | 5757 buildCounterPlacement--; |
5713 return o; | 5758 return o; |
5714 } | 5759 } |
5715 | 5760 |
5716 checkPlacement(api.Placement o) { | 5761 checkPlacement(api.Placement o) { |
5717 buildCounterPlacement++; | 5762 buildCounterPlacement++; |
5718 if (buildCounterPlacement < 3) { | 5763 if (buildCounterPlacement < 3) { |
5719 unittest.expect(o.accountId, unittest.equals('foo')); | 5764 unittest.expect(o.accountId, unittest.equals('foo')); |
5720 unittest.expect(o.advertiserId, unittest.equals('foo')); | 5765 unittest.expect(o.advertiserId, unittest.equals('foo')); |
(...skipping 22 matching lines...) Expand all Loading... |
5743 unittest.expect(o.placementStrategyId, unittest.equals('foo')); | 5788 unittest.expect(o.placementStrategyId, unittest.equals('foo')); |
5744 checkPricingSchedule(o.pricingSchedule); | 5789 checkPricingSchedule(o.pricingSchedule); |
5745 unittest.expect(o.primary, unittest.isTrue); | 5790 unittest.expect(o.primary, unittest.isTrue); |
5746 checkLastModifiedInfo(o.publisherUpdateInfo); | 5791 checkLastModifiedInfo(o.publisherUpdateInfo); |
5747 unittest.expect(o.siteId, unittest.equals('foo')); | 5792 unittest.expect(o.siteId, unittest.equals('foo')); |
5748 checkDimensionValue(o.siteIdDimensionValue); | 5793 checkDimensionValue(o.siteIdDimensionValue); |
5749 checkSize(o.size); | 5794 checkSize(o.size); |
5750 unittest.expect(o.sslRequired, unittest.isTrue); | 5795 unittest.expect(o.sslRequired, unittest.isTrue); |
5751 unittest.expect(o.status, unittest.equals('foo')); | 5796 unittest.expect(o.status, unittest.equals('foo')); |
5752 unittest.expect(o.subaccountId, unittest.equals('foo')); | 5797 unittest.expect(o.subaccountId, unittest.equals('foo')); |
5753 checkUnnamed2763(o.tagFormats); | 5798 checkUnnamed2518(o.tagFormats); |
5754 checkTagSetting(o.tagSetting); | 5799 checkTagSetting(o.tagSetting); |
| 5800 unittest.expect(o.videoActiveViewOptOut, unittest.isTrue); |
| 5801 checkVideoSettings(o.videoSettings); |
| 5802 unittest.expect(o.vpaidAdapterChoice, unittest.equals('foo')); |
5755 } | 5803 } |
5756 buildCounterPlacement--; | 5804 buildCounterPlacement--; |
5757 } | 5805 } |
5758 | 5806 |
5759 core.int buildCounterPlacementAssignment = 0; | 5807 core.int buildCounterPlacementAssignment = 0; |
5760 buildPlacementAssignment() { | 5808 buildPlacementAssignment() { |
5761 var o = new api.PlacementAssignment(); | 5809 var o = new api.PlacementAssignment(); |
5762 buildCounterPlacementAssignment++; | 5810 buildCounterPlacementAssignment++; |
5763 if (buildCounterPlacementAssignment < 3) { | 5811 if (buildCounterPlacementAssignment < 3) { |
5764 o.active = true; | 5812 o.active = true; |
5765 o.placementId = "foo"; | 5813 o.placementId = "foo"; |
5766 o.placementIdDimensionValue = buildDimensionValue(); | 5814 o.placementIdDimensionValue = buildDimensionValue(); |
5767 o.sslRequired = true; | 5815 o.sslRequired = true; |
5768 } | 5816 } |
5769 buildCounterPlacementAssignment--; | 5817 buildCounterPlacementAssignment--; |
5770 return o; | 5818 return o; |
5771 } | 5819 } |
5772 | 5820 |
5773 checkPlacementAssignment(api.PlacementAssignment o) { | 5821 checkPlacementAssignment(api.PlacementAssignment o) { |
5774 buildCounterPlacementAssignment++; | 5822 buildCounterPlacementAssignment++; |
5775 if (buildCounterPlacementAssignment < 3) { | 5823 if (buildCounterPlacementAssignment < 3) { |
5776 unittest.expect(o.active, unittest.isTrue); | 5824 unittest.expect(o.active, unittest.isTrue); |
5777 unittest.expect(o.placementId, unittest.equals('foo')); | 5825 unittest.expect(o.placementId, unittest.equals('foo')); |
5778 checkDimensionValue(o.placementIdDimensionValue); | 5826 checkDimensionValue(o.placementIdDimensionValue); |
5779 unittest.expect(o.sslRequired, unittest.isTrue); | 5827 unittest.expect(o.sslRequired, unittest.isTrue); |
5780 } | 5828 } |
5781 buildCounterPlacementAssignment--; | 5829 buildCounterPlacementAssignment--; |
5782 } | 5830 } |
5783 | 5831 |
5784 buildUnnamed2764() { | 5832 buildUnnamed2519() { |
5785 var o = new core.List<core.String>(); | 5833 var o = new core.List<core.String>(); |
5786 o.add("foo"); | 5834 o.add("foo"); |
5787 o.add("foo"); | 5835 o.add("foo"); |
5788 return o; | 5836 return o; |
5789 } | 5837 } |
5790 | 5838 |
5791 checkUnnamed2764(core.List<core.String> o) { | 5839 checkUnnamed2519(core.List<core.String> o) { |
5792 unittest.expect(o, unittest.hasLength(2)); | 5840 unittest.expect(o, unittest.hasLength(2)); |
5793 unittest.expect(o[0], unittest.equals('foo')); | 5841 unittest.expect(o[0], unittest.equals('foo')); |
5794 unittest.expect(o[1], unittest.equals('foo')); | 5842 unittest.expect(o[1], unittest.equals('foo')); |
5795 } | 5843 } |
5796 | 5844 |
5797 core.int buildCounterPlacementGroup = 0; | 5845 core.int buildCounterPlacementGroup = 0; |
5798 buildPlacementGroup() { | 5846 buildPlacementGroup() { |
5799 var o = new api.PlacementGroup(); | 5847 var o = new api.PlacementGroup(); |
5800 buildCounterPlacementGroup++; | 5848 buildCounterPlacementGroup++; |
5801 if (buildCounterPlacementGroup < 3) { | 5849 if (buildCounterPlacementGroup < 3) { |
5802 o.accountId = "foo"; | 5850 o.accountId = "foo"; |
5803 o.advertiserId = "foo"; | 5851 o.advertiserId = "foo"; |
5804 o.advertiserIdDimensionValue = buildDimensionValue(); | 5852 o.advertiserIdDimensionValue = buildDimensionValue(); |
5805 o.archived = true; | 5853 o.archived = true; |
5806 o.campaignId = "foo"; | 5854 o.campaignId = "foo"; |
5807 o.campaignIdDimensionValue = buildDimensionValue(); | 5855 o.campaignIdDimensionValue = buildDimensionValue(); |
5808 o.childPlacementIds = buildUnnamed2764(); | 5856 o.childPlacementIds = buildUnnamed2519(); |
5809 o.comment = "foo"; | 5857 o.comment = "foo"; |
5810 o.contentCategoryId = "foo"; | 5858 o.contentCategoryId = "foo"; |
5811 o.createInfo = buildLastModifiedInfo(); | 5859 o.createInfo = buildLastModifiedInfo(); |
5812 o.directorySiteId = "foo"; | 5860 o.directorySiteId = "foo"; |
5813 o.directorySiteIdDimensionValue = buildDimensionValue(); | 5861 o.directorySiteIdDimensionValue = buildDimensionValue(); |
5814 o.externalId = "foo"; | 5862 o.externalId = "foo"; |
5815 o.id = "foo"; | 5863 o.id = "foo"; |
5816 o.idDimensionValue = buildDimensionValue(); | 5864 o.idDimensionValue = buildDimensionValue(); |
5817 o.kind = "foo"; | 5865 o.kind = "foo"; |
5818 o.lastModifiedInfo = buildLastModifiedInfo(); | 5866 o.lastModifiedInfo = buildLastModifiedInfo(); |
(...skipping 13 matching lines...) Expand all Loading... |
5832 | 5880 |
5833 checkPlacementGroup(api.PlacementGroup o) { | 5881 checkPlacementGroup(api.PlacementGroup o) { |
5834 buildCounterPlacementGroup++; | 5882 buildCounterPlacementGroup++; |
5835 if (buildCounterPlacementGroup < 3) { | 5883 if (buildCounterPlacementGroup < 3) { |
5836 unittest.expect(o.accountId, unittest.equals('foo')); | 5884 unittest.expect(o.accountId, unittest.equals('foo')); |
5837 unittest.expect(o.advertiserId, unittest.equals('foo')); | 5885 unittest.expect(o.advertiserId, unittest.equals('foo')); |
5838 checkDimensionValue(o.advertiserIdDimensionValue); | 5886 checkDimensionValue(o.advertiserIdDimensionValue); |
5839 unittest.expect(o.archived, unittest.isTrue); | 5887 unittest.expect(o.archived, unittest.isTrue); |
5840 unittest.expect(o.campaignId, unittest.equals('foo')); | 5888 unittest.expect(o.campaignId, unittest.equals('foo')); |
5841 checkDimensionValue(o.campaignIdDimensionValue); | 5889 checkDimensionValue(o.campaignIdDimensionValue); |
5842 checkUnnamed2764(o.childPlacementIds); | 5890 checkUnnamed2519(o.childPlacementIds); |
5843 unittest.expect(o.comment, unittest.equals('foo')); | 5891 unittest.expect(o.comment, unittest.equals('foo')); |
5844 unittest.expect(o.contentCategoryId, unittest.equals('foo')); | 5892 unittest.expect(o.contentCategoryId, unittest.equals('foo')); |
5845 checkLastModifiedInfo(o.createInfo); | 5893 checkLastModifiedInfo(o.createInfo); |
5846 unittest.expect(o.directorySiteId, unittest.equals('foo')); | 5894 unittest.expect(o.directorySiteId, unittest.equals('foo')); |
5847 checkDimensionValue(o.directorySiteIdDimensionValue); | 5895 checkDimensionValue(o.directorySiteIdDimensionValue); |
5848 unittest.expect(o.externalId, unittest.equals('foo')); | 5896 unittest.expect(o.externalId, unittest.equals('foo')); |
5849 unittest.expect(o.id, unittest.equals('foo')); | 5897 unittest.expect(o.id, unittest.equals('foo')); |
5850 checkDimensionValue(o.idDimensionValue); | 5898 checkDimensionValue(o.idDimensionValue); |
5851 unittest.expect(o.kind, unittest.equals('foo')); | 5899 unittest.expect(o.kind, unittest.equals('foo')); |
5852 checkLastModifiedInfo(o.lastModifiedInfo); | 5900 checkLastModifiedInfo(o.lastModifiedInfo); |
5853 unittest.expect(o.name, unittest.equals('foo')); | 5901 unittest.expect(o.name, unittest.equals('foo')); |
5854 unittest.expect(o.placementGroupType, unittest.equals('foo')); | 5902 unittest.expect(o.placementGroupType, unittest.equals('foo')); |
5855 unittest.expect(o.placementStrategyId, unittest.equals('foo')); | 5903 unittest.expect(o.placementStrategyId, unittest.equals('foo')); |
5856 checkPricingSchedule(o.pricingSchedule); | 5904 checkPricingSchedule(o.pricingSchedule); |
5857 unittest.expect(o.primaryPlacementId, unittest.equals('foo')); | 5905 unittest.expect(o.primaryPlacementId, unittest.equals('foo')); |
5858 checkDimensionValue(o.primaryPlacementIdDimensionValue); | 5906 checkDimensionValue(o.primaryPlacementIdDimensionValue); |
5859 unittest.expect(o.siteId, unittest.equals('foo')); | 5907 unittest.expect(o.siteId, unittest.equals('foo')); |
5860 checkDimensionValue(o.siteIdDimensionValue); | 5908 checkDimensionValue(o.siteIdDimensionValue); |
5861 unittest.expect(o.subaccountId, unittest.equals('foo')); | 5909 unittest.expect(o.subaccountId, unittest.equals('foo')); |
5862 } | 5910 } |
5863 buildCounterPlacementGroup--; | 5911 buildCounterPlacementGroup--; |
5864 } | 5912 } |
5865 | 5913 |
5866 buildUnnamed2765() { | 5914 buildUnnamed2520() { |
5867 var o = new core.List<api.PlacementGroup>(); | 5915 var o = new core.List<api.PlacementGroup>(); |
5868 o.add(buildPlacementGroup()); | 5916 o.add(buildPlacementGroup()); |
5869 o.add(buildPlacementGroup()); | 5917 o.add(buildPlacementGroup()); |
5870 return o; | 5918 return o; |
5871 } | 5919 } |
5872 | 5920 |
5873 checkUnnamed2765(core.List<api.PlacementGroup> o) { | 5921 checkUnnamed2520(core.List<api.PlacementGroup> o) { |
5874 unittest.expect(o, unittest.hasLength(2)); | 5922 unittest.expect(o, unittest.hasLength(2)); |
5875 checkPlacementGroup(o[0]); | 5923 checkPlacementGroup(o[0]); |
5876 checkPlacementGroup(o[1]); | 5924 checkPlacementGroup(o[1]); |
5877 } | 5925 } |
5878 | 5926 |
5879 core.int buildCounterPlacementGroupsListResponse = 0; | 5927 core.int buildCounterPlacementGroupsListResponse = 0; |
5880 buildPlacementGroupsListResponse() { | 5928 buildPlacementGroupsListResponse() { |
5881 var o = new api.PlacementGroupsListResponse(); | 5929 var o = new api.PlacementGroupsListResponse(); |
5882 buildCounterPlacementGroupsListResponse++; | 5930 buildCounterPlacementGroupsListResponse++; |
5883 if (buildCounterPlacementGroupsListResponse < 3) { | 5931 if (buildCounterPlacementGroupsListResponse < 3) { |
5884 o.kind = "foo"; | 5932 o.kind = "foo"; |
5885 o.nextPageToken = "foo"; | 5933 o.nextPageToken = "foo"; |
5886 o.placementGroups = buildUnnamed2765(); | 5934 o.placementGroups = buildUnnamed2520(); |
5887 } | 5935 } |
5888 buildCounterPlacementGroupsListResponse--; | 5936 buildCounterPlacementGroupsListResponse--; |
5889 return o; | 5937 return o; |
5890 } | 5938 } |
5891 | 5939 |
5892 checkPlacementGroupsListResponse(api.PlacementGroupsListResponse o) { | 5940 checkPlacementGroupsListResponse(api.PlacementGroupsListResponse o) { |
5893 buildCounterPlacementGroupsListResponse++; | 5941 buildCounterPlacementGroupsListResponse++; |
5894 if (buildCounterPlacementGroupsListResponse < 3) { | 5942 if (buildCounterPlacementGroupsListResponse < 3) { |
5895 unittest.expect(o.kind, unittest.equals('foo')); | 5943 unittest.expect(o.kind, unittest.equals('foo')); |
5896 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5944 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5897 checkUnnamed2765(o.placementGroups); | 5945 checkUnnamed2520(o.placementGroups); |
5898 } | 5946 } |
5899 buildCounterPlacementGroupsListResponse--; | 5947 buildCounterPlacementGroupsListResponse--; |
5900 } | 5948 } |
5901 | 5949 |
5902 buildUnnamed2766() { | 5950 buildUnnamed2521() { |
5903 var o = new core.List<api.PlacementStrategy>(); | 5951 var o = new core.List<api.PlacementStrategy>(); |
5904 o.add(buildPlacementStrategy()); | 5952 o.add(buildPlacementStrategy()); |
5905 o.add(buildPlacementStrategy()); | 5953 o.add(buildPlacementStrategy()); |
5906 return o; | 5954 return o; |
5907 } | 5955 } |
5908 | 5956 |
5909 checkUnnamed2766(core.List<api.PlacementStrategy> o) { | 5957 checkUnnamed2521(core.List<api.PlacementStrategy> o) { |
5910 unittest.expect(o, unittest.hasLength(2)); | 5958 unittest.expect(o, unittest.hasLength(2)); |
5911 checkPlacementStrategy(o[0]); | 5959 checkPlacementStrategy(o[0]); |
5912 checkPlacementStrategy(o[1]); | 5960 checkPlacementStrategy(o[1]); |
5913 } | 5961 } |
5914 | 5962 |
5915 core.int buildCounterPlacementStrategiesListResponse = 0; | 5963 core.int buildCounterPlacementStrategiesListResponse = 0; |
5916 buildPlacementStrategiesListResponse() { | 5964 buildPlacementStrategiesListResponse() { |
5917 var o = new api.PlacementStrategiesListResponse(); | 5965 var o = new api.PlacementStrategiesListResponse(); |
5918 buildCounterPlacementStrategiesListResponse++; | 5966 buildCounterPlacementStrategiesListResponse++; |
5919 if (buildCounterPlacementStrategiesListResponse < 3) { | 5967 if (buildCounterPlacementStrategiesListResponse < 3) { |
5920 o.kind = "foo"; | 5968 o.kind = "foo"; |
5921 o.nextPageToken = "foo"; | 5969 o.nextPageToken = "foo"; |
5922 o.placementStrategies = buildUnnamed2766(); | 5970 o.placementStrategies = buildUnnamed2521(); |
5923 } | 5971 } |
5924 buildCounterPlacementStrategiesListResponse--; | 5972 buildCounterPlacementStrategiesListResponse--; |
5925 return o; | 5973 return o; |
5926 } | 5974 } |
5927 | 5975 |
5928 checkPlacementStrategiesListResponse(api.PlacementStrategiesListResponse o) { | 5976 checkPlacementStrategiesListResponse(api.PlacementStrategiesListResponse o) { |
5929 buildCounterPlacementStrategiesListResponse++; | 5977 buildCounterPlacementStrategiesListResponse++; |
5930 if (buildCounterPlacementStrategiesListResponse < 3) { | 5978 if (buildCounterPlacementStrategiesListResponse < 3) { |
5931 unittest.expect(o.kind, unittest.equals('foo')); | 5979 unittest.expect(o.kind, unittest.equals('foo')); |
5932 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5980 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5933 checkUnnamed2766(o.placementStrategies); | 5981 checkUnnamed2521(o.placementStrategies); |
5934 } | 5982 } |
5935 buildCounterPlacementStrategiesListResponse--; | 5983 buildCounterPlacementStrategiesListResponse--; |
5936 } | 5984 } |
5937 | 5985 |
5938 core.int buildCounterPlacementStrategy = 0; | 5986 core.int buildCounterPlacementStrategy = 0; |
5939 buildPlacementStrategy() { | 5987 buildPlacementStrategy() { |
5940 var o = new api.PlacementStrategy(); | 5988 var o = new api.PlacementStrategy(); |
5941 buildCounterPlacementStrategy++; | 5989 buildCounterPlacementStrategy++; |
5942 if (buildCounterPlacementStrategy < 3) { | 5990 if (buildCounterPlacementStrategy < 3) { |
5943 o.accountId = "foo"; | 5991 o.accountId = "foo"; |
5944 o.id = "foo"; | 5992 o.id = "foo"; |
5945 o.kind = "foo"; | 5993 o.kind = "foo"; |
5946 o.name = "foo"; | 5994 o.name = "foo"; |
5947 } | 5995 } |
5948 buildCounterPlacementStrategy--; | 5996 buildCounterPlacementStrategy--; |
5949 return o; | 5997 return o; |
5950 } | 5998 } |
5951 | 5999 |
5952 checkPlacementStrategy(api.PlacementStrategy o) { | 6000 checkPlacementStrategy(api.PlacementStrategy o) { |
5953 buildCounterPlacementStrategy++; | 6001 buildCounterPlacementStrategy++; |
5954 if (buildCounterPlacementStrategy < 3) { | 6002 if (buildCounterPlacementStrategy < 3) { |
5955 unittest.expect(o.accountId, unittest.equals('foo')); | 6003 unittest.expect(o.accountId, unittest.equals('foo')); |
5956 unittest.expect(o.id, unittest.equals('foo')); | 6004 unittest.expect(o.id, unittest.equals('foo')); |
5957 unittest.expect(o.kind, unittest.equals('foo')); | 6005 unittest.expect(o.kind, unittest.equals('foo')); |
5958 unittest.expect(o.name, unittest.equals('foo')); | 6006 unittest.expect(o.name, unittest.equals('foo')); |
5959 } | 6007 } |
5960 buildCounterPlacementStrategy--; | 6008 buildCounterPlacementStrategy--; |
5961 } | 6009 } |
5962 | 6010 |
5963 buildUnnamed2767() { | 6011 buildUnnamed2522() { |
5964 var o = new core.List<api.TagData>(); | 6012 var o = new core.List<api.TagData>(); |
5965 o.add(buildTagData()); | 6013 o.add(buildTagData()); |
5966 o.add(buildTagData()); | 6014 o.add(buildTagData()); |
5967 return o; | 6015 return o; |
5968 } | 6016 } |
5969 | 6017 |
5970 checkUnnamed2767(core.List<api.TagData> o) { | 6018 checkUnnamed2522(core.List<api.TagData> o) { |
5971 unittest.expect(o, unittest.hasLength(2)); | 6019 unittest.expect(o, unittest.hasLength(2)); |
5972 checkTagData(o[0]); | 6020 checkTagData(o[0]); |
5973 checkTagData(o[1]); | 6021 checkTagData(o[1]); |
5974 } | 6022 } |
5975 | 6023 |
5976 core.int buildCounterPlacementTag = 0; | 6024 core.int buildCounterPlacementTag = 0; |
5977 buildPlacementTag() { | 6025 buildPlacementTag() { |
5978 var o = new api.PlacementTag(); | 6026 var o = new api.PlacementTag(); |
5979 buildCounterPlacementTag++; | 6027 buildCounterPlacementTag++; |
5980 if (buildCounterPlacementTag < 3) { | 6028 if (buildCounterPlacementTag < 3) { |
5981 o.placementId = "foo"; | 6029 o.placementId = "foo"; |
5982 o.tagDatas = buildUnnamed2767(); | 6030 o.tagDatas = buildUnnamed2522(); |
5983 } | 6031 } |
5984 buildCounterPlacementTag--; | 6032 buildCounterPlacementTag--; |
5985 return o; | 6033 return o; |
5986 } | 6034 } |
5987 | 6035 |
5988 checkPlacementTag(api.PlacementTag o) { | 6036 checkPlacementTag(api.PlacementTag o) { |
5989 buildCounterPlacementTag++; | 6037 buildCounterPlacementTag++; |
5990 if (buildCounterPlacementTag < 3) { | 6038 if (buildCounterPlacementTag < 3) { |
5991 unittest.expect(o.placementId, unittest.equals('foo')); | 6039 unittest.expect(o.placementId, unittest.equals('foo')); |
5992 checkUnnamed2767(o.tagDatas); | 6040 checkUnnamed2522(o.tagDatas); |
5993 } | 6041 } |
5994 buildCounterPlacementTag--; | 6042 buildCounterPlacementTag--; |
5995 } | 6043 } |
5996 | 6044 |
5997 buildUnnamed2768() { | 6045 buildUnnamed2523() { |
5998 var o = new core.List<api.PlacementTag>(); | 6046 var o = new core.List<api.PlacementTag>(); |
5999 o.add(buildPlacementTag()); | 6047 o.add(buildPlacementTag()); |
6000 o.add(buildPlacementTag()); | 6048 o.add(buildPlacementTag()); |
6001 return o; | 6049 return o; |
6002 } | 6050 } |
6003 | 6051 |
6004 checkUnnamed2768(core.List<api.PlacementTag> o) { | 6052 checkUnnamed2523(core.List<api.PlacementTag> o) { |
6005 unittest.expect(o, unittest.hasLength(2)); | 6053 unittest.expect(o, unittest.hasLength(2)); |
6006 checkPlacementTag(o[0]); | 6054 checkPlacementTag(o[0]); |
6007 checkPlacementTag(o[1]); | 6055 checkPlacementTag(o[1]); |
6008 } | 6056 } |
6009 | 6057 |
6010 core.int buildCounterPlacementsGenerateTagsResponse = 0; | 6058 core.int buildCounterPlacementsGenerateTagsResponse = 0; |
6011 buildPlacementsGenerateTagsResponse() { | 6059 buildPlacementsGenerateTagsResponse() { |
6012 var o = new api.PlacementsGenerateTagsResponse(); | 6060 var o = new api.PlacementsGenerateTagsResponse(); |
6013 buildCounterPlacementsGenerateTagsResponse++; | 6061 buildCounterPlacementsGenerateTagsResponse++; |
6014 if (buildCounterPlacementsGenerateTagsResponse < 3) { | 6062 if (buildCounterPlacementsGenerateTagsResponse < 3) { |
6015 o.kind = "foo"; | 6063 o.kind = "foo"; |
6016 o.placementTags = buildUnnamed2768(); | 6064 o.placementTags = buildUnnamed2523(); |
6017 } | 6065 } |
6018 buildCounterPlacementsGenerateTagsResponse--; | 6066 buildCounterPlacementsGenerateTagsResponse--; |
6019 return o; | 6067 return o; |
6020 } | 6068 } |
6021 | 6069 |
6022 checkPlacementsGenerateTagsResponse(api.PlacementsGenerateTagsResponse o) { | 6070 checkPlacementsGenerateTagsResponse(api.PlacementsGenerateTagsResponse o) { |
6023 buildCounterPlacementsGenerateTagsResponse++; | 6071 buildCounterPlacementsGenerateTagsResponse++; |
6024 if (buildCounterPlacementsGenerateTagsResponse < 3) { | 6072 if (buildCounterPlacementsGenerateTagsResponse < 3) { |
6025 unittest.expect(o.kind, unittest.equals('foo')); | 6073 unittest.expect(o.kind, unittest.equals('foo')); |
6026 checkUnnamed2768(o.placementTags); | 6074 checkUnnamed2523(o.placementTags); |
6027 } | 6075 } |
6028 buildCounterPlacementsGenerateTagsResponse--; | 6076 buildCounterPlacementsGenerateTagsResponse--; |
6029 } | 6077 } |
6030 | 6078 |
6031 buildUnnamed2769() { | 6079 buildUnnamed2524() { |
6032 var o = new core.List<api.Placement>(); | 6080 var o = new core.List<api.Placement>(); |
6033 o.add(buildPlacement()); | 6081 o.add(buildPlacement()); |
6034 o.add(buildPlacement()); | 6082 o.add(buildPlacement()); |
6035 return o; | 6083 return o; |
6036 } | 6084 } |
6037 | 6085 |
6038 checkUnnamed2769(core.List<api.Placement> o) { | 6086 checkUnnamed2524(core.List<api.Placement> o) { |
6039 unittest.expect(o, unittest.hasLength(2)); | 6087 unittest.expect(o, unittest.hasLength(2)); |
6040 checkPlacement(o[0]); | 6088 checkPlacement(o[0]); |
6041 checkPlacement(o[1]); | 6089 checkPlacement(o[1]); |
6042 } | 6090 } |
6043 | 6091 |
6044 core.int buildCounterPlacementsListResponse = 0; | 6092 core.int buildCounterPlacementsListResponse = 0; |
6045 buildPlacementsListResponse() { | 6093 buildPlacementsListResponse() { |
6046 var o = new api.PlacementsListResponse(); | 6094 var o = new api.PlacementsListResponse(); |
6047 buildCounterPlacementsListResponse++; | 6095 buildCounterPlacementsListResponse++; |
6048 if (buildCounterPlacementsListResponse < 3) { | 6096 if (buildCounterPlacementsListResponse < 3) { |
6049 o.kind = "foo"; | 6097 o.kind = "foo"; |
6050 o.nextPageToken = "foo"; | 6098 o.nextPageToken = "foo"; |
6051 o.placements = buildUnnamed2769(); | 6099 o.placements = buildUnnamed2524(); |
6052 } | 6100 } |
6053 buildCounterPlacementsListResponse--; | 6101 buildCounterPlacementsListResponse--; |
6054 return o; | 6102 return o; |
6055 } | 6103 } |
6056 | 6104 |
6057 checkPlacementsListResponse(api.PlacementsListResponse o) { | 6105 checkPlacementsListResponse(api.PlacementsListResponse o) { |
6058 buildCounterPlacementsListResponse++; | 6106 buildCounterPlacementsListResponse++; |
6059 if (buildCounterPlacementsListResponse < 3) { | 6107 if (buildCounterPlacementsListResponse < 3) { |
6060 unittest.expect(o.kind, unittest.equals('foo')); | 6108 unittest.expect(o.kind, unittest.equals('foo')); |
6061 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6109 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
6062 checkUnnamed2769(o.placements); | 6110 checkUnnamed2524(o.placements); |
6063 } | 6111 } |
6064 buildCounterPlacementsListResponse--; | 6112 buildCounterPlacementsListResponse--; |
6065 } | 6113 } |
6066 | 6114 |
6067 core.int buildCounterPlatformType = 0; | 6115 core.int buildCounterPlatformType = 0; |
6068 buildPlatformType() { | 6116 buildPlatformType() { |
6069 var o = new api.PlatformType(); | 6117 var o = new api.PlatformType(); |
6070 buildCounterPlatformType++; | 6118 buildCounterPlatformType++; |
6071 if (buildCounterPlatformType < 3) { | 6119 if (buildCounterPlatformType < 3) { |
6072 o.id = "foo"; | 6120 o.id = "foo"; |
6073 o.kind = "foo"; | 6121 o.kind = "foo"; |
6074 o.name = "foo"; | 6122 o.name = "foo"; |
6075 } | 6123 } |
6076 buildCounterPlatformType--; | 6124 buildCounterPlatformType--; |
6077 return o; | 6125 return o; |
6078 } | 6126 } |
6079 | 6127 |
6080 checkPlatformType(api.PlatformType o) { | 6128 checkPlatformType(api.PlatformType o) { |
6081 buildCounterPlatformType++; | 6129 buildCounterPlatformType++; |
6082 if (buildCounterPlatformType < 3) { | 6130 if (buildCounterPlatformType < 3) { |
6083 unittest.expect(o.id, unittest.equals('foo')); | 6131 unittest.expect(o.id, unittest.equals('foo')); |
6084 unittest.expect(o.kind, unittest.equals('foo')); | 6132 unittest.expect(o.kind, unittest.equals('foo')); |
6085 unittest.expect(o.name, unittest.equals('foo')); | 6133 unittest.expect(o.name, unittest.equals('foo')); |
6086 } | 6134 } |
6087 buildCounterPlatformType--; | 6135 buildCounterPlatformType--; |
6088 } | 6136 } |
6089 | 6137 |
6090 buildUnnamed2770() { | 6138 buildUnnamed2525() { |
6091 var o = new core.List<api.PlatformType>(); | 6139 var o = new core.List<api.PlatformType>(); |
6092 o.add(buildPlatformType()); | 6140 o.add(buildPlatformType()); |
6093 o.add(buildPlatformType()); | 6141 o.add(buildPlatformType()); |
6094 return o; | 6142 return o; |
6095 } | 6143 } |
6096 | 6144 |
6097 checkUnnamed2770(core.List<api.PlatformType> o) { | 6145 checkUnnamed2525(core.List<api.PlatformType> o) { |
6098 unittest.expect(o, unittest.hasLength(2)); | 6146 unittest.expect(o, unittest.hasLength(2)); |
6099 checkPlatformType(o[0]); | 6147 checkPlatformType(o[0]); |
6100 checkPlatformType(o[1]); | 6148 checkPlatformType(o[1]); |
6101 } | 6149 } |
6102 | 6150 |
6103 core.int buildCounterPlatformTypesListResponse = 0; | 6151 core.int buildCounterPlatformTypesListResponse = 0; |
6104 buildPlatformTypesListResponse() { | 6152 buildPlatformTypesListResponse() { |
6105 var o = new api.PlatformTypesListResponse(); | 6153 var o = new api.PlatformTypesListResponse(); |
6106 buildCounterPlatformTypesListResponse++; | 6154 buildCounterPlatformTypesListResponse++; |
6107 if (buildCounterPlatformTypesListResponse < 3) { | 6155 if (buildCounterPlatformTypesListResponse < 3) { |
6108 o.kind = "foo"; | 6156 o.kind = "foo"; |
6109 o.platformTypes = buildUnnamed2770(); | 6157 o.platformTypes = buildUnnamed2525(); |
6110 } | 6158 } |
6111 buildCounterPlatformTypesListResponse--; | 6159 buildCounterPlatformTypesListResponse--; |
6112 return o; | 6160 return o; |
6113 } | 6161 } |
6114 | 6162 |
6115 checkPlatformTypesListResponse(api.PlatformTypesListResponse o) { | 6163 checkPlatformTypesListResponse(api.PlatformTypesListResponse o) { |
6116 buildCounterPlatformTypesListResponse++; | 6164 buildCounterPlatformTypesListResponse++; |
6117 if (buildCounterPlatformTypesListResponse < 3) { | 6165 if (buildCounterPlatformTypesListResponse < 3) { |
6118 unittest.expect(o.kind, unittest.equals('foo')); | 6166 unittest.expect(o.kind, unittest.equals('foo')); |
6119 checkUnnamed2770(o.platformTypes); | 6167 checkUnnamed2525(o.platformTypes); |
6120 } | 6168 } |
6121 buildCounterPlatformTypesListResponse--; | 6169 buildCounterPlatformTypesListResponse--; |
6122 } | 6170 } |
6123 | 6171 |
6124 core.int buildCounterPopupWindowProperties = 0; | 6172 core.int buildCounterPopupWindowProperties = 0; |
6125 buildPopupWindowProperties() { | 6173 buildPopupWindowProperties() { |
6126 var o = new api.PopupWindowProperties(); | 6174 var o = new api.PopupWindowProperties(); |
6127 buildCounterPopupWindowProperties++; | 6175 buildCounterPopupWindowProperties++; |
6128 if (buildCounterPopupWindowProperties < 3) { | 6176 if (buildCounterPopupWindowProperties < 3) { |
6129 o.dimension = buildSize(); | 6177 o.dimension = buildSize(); |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6176 if (buildCounterPostalCode < 3) { | 6224 if (buildCounterPostalCode < 3) { |
6177 unittest.expect(o.code, unittest.equals('foo')); | 6225 unittest.expect(o.code, unittest.equals('foo')); |
6178 unittest.expect(o.countryCode, unittest.equals('foo')); | 6226 unittest.expect(o.countryCode, unittest.equals('foo')); |
6179 unittest.expect(o.countryDartId, unittest.equals('foo')); | 6227 unittest.expect(o.countryDartId, unittest.equals('foo')); |
6180 unittest.expect(o.id, unittest.equals('foo')); | 6228 unittest.expect(o.id, unittest.equals('foo')); |
6181 unittest.expect(o.kind, unittest.equals('foo')); | 6229 unittest.expect(o.kind, unittest.equals('foo')); |
6182 } | 6230 } |
6183 buildCounterPostalCode--; | 6231 buildCounterPostalCode--; |
6184 } | 6232 } |
6185 | 6233 |
6186 buildUnnamed2771() { | 6234 buildUnnamed2526() { |
6187 var o = new core.List<api.PostalCode>(); | 6235 var o = new core.List<api.PostalCode>(); |
6188 o.add(buildPostalCode()); | 6236 o.add(buildPostalCode()); |
6189 o.add(buildPostalCode()); | 6237 o.add(buildPostalCode()); |
6190 return o; | 6238 return o; |
6191 } | 6239 } |
6192 | 6240 |
6193 checkUnnamed2771(core.List<api.PostalCode> o) { | 6241 checkUnnamed2526(core.List<api.PostalCode> o) { |
6194 unittest.expect(o, unittest.hasLength(2)); | 6242 unittest.expect(o, unittest.hasLength(2)); |
6195 checkPostalCode(o[0]); | 6243 checkPostalCode(o[0]); |
6196 checkPostalCode(o[1]); | 6244 checkPostalCode(o[1]); |
6197 } | 6245 } |
6198 | 6246 |
6199 core.int buildCounterPostalCodesListResponse = 0; | 6247 core.int buildCounterPostalCodesListResponse = 0; |
6200 buildPostalCodesListResponse() { | 6248 buildPostalCodesListResponse() { |
6201 var o = new api.PostalCodesListResponse(); | 6249 var o = new api.PostalCodesListResponse(); |
6202 buildCounterPostalCodesListResponse++; | 6250 buildCounterPostalCodesListResponse++; |
6203 if (buildCounterPostalCodesListResponse < 3) { | 6251 if (buildCounterPostalCodesListResponse < 3) { |
6204 o.kind = "foo"; | 6252 o.kind = "foo"; |
6205 o.postalCodes = buildUnnamed2771(); | 6253 o.postalCodes = buildUnnamed2526(); |
6206 } | 6254 } |
6207 buildCounterPostalCodesListResponse--; | 6255 buildCounterPostalCodesListResponse--; |
6208 return o; | 6256 return o; |
6209 } | 6257 } |
6210 | 6258 |
6211 checkPostalCodesListResponse(api.PostalCodesListResponse o) { | 6259 checkPostalCodesListResponse(api.PostalCodesListResponse o) { |
6212 buildCounterPostalCodesListResponse++; | 6260 buildCounterPostalCodesListResponse++; |
6213 if (buildCounterPostalCodesListResponse < 3) { | 6261 if (buildCounterPostalCodesListResponse < 3) { |
6214 unittest.expect(o.kind, unittest.equals('foo')); | 6262 unittest.expect(o.kind, unittest.equals('foo')); |
6215 checkUnnamed2771(o.postalCodes); | 6263 checkUnnamed2526(o.postalCodes); |
6216 } | 6264 } |
6217 buildCounterPostalCodesListResponse--; | 6265 buildCounterPostalCodesListResponse--; |
6218 } | 6266 } |
6219 | 6267 |
6220 buildUnnamed2772() { | 6268 buildUnnamed2527() { |
6221 var o = new core.List<api.Flight>(); | 6269 var o = new core.List<api.Flight>(); |
6222 o.add(buildFlight()); | 6270 o.add(buildFlight()); |
6223 o.add(buildFlight()); | 6271 o.add(buildFlight()); |
6224 return o; | 6272 return o; |
6225 } | 6273 } |
6226 | 6274 |
6227 checkUnnamed2772(core.List<api.Flight> o) { | 6275 checkUnnamed2527(core.List<api.Flight> o) { |
6228 unittest.expect(o, unittest.hasLength(2)); | 6276 unittest.expect(o, unittest.hasLength(2)); |
6229 checkFlight(o[0]); | 6277 checkFlight(o[0]); |
6230 checkFlight(o[1]); | 6278 checkFlight(o[1]); |
6231 } | 6279 } |
6232 | 6280 |
6233 core.int buildCounterPricing = 0; | 6281 core.int buildCounterPricing = 0; |
6234 buildPricing() { | 6282 buildPricing() { |
6235 var o = new api.Pricing(); | 6283 var o = new api.Pricing(); |
6236 buildCounterPricing++; | 6284 buildCounterPricing++; |
6237 if (buildCounterPricing < 3) { | 6285 if (buildCounterPricing < 3) { |
6238 o.capCostType = "foo"; | 6286 o.capCostType = "foo"; |
6239 o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 6287 o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
6240 o.flights = buildUnnamed2772(); | 6288 o.flights = buildUnnamed2527(); |
6241 o.groupType = "foo"; | 6289 o.groupType = "foo"; |
6242 o.pricingType = "foo"; | 6290 o.pricingType = "foo"; |
6243 o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 6291 o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
6244 } | 6292 } |
6245 buildCounterPricing--; | 6293 buildCounterPricing--; |
6246 return o; | 6294 return o; |
6247 } | 6295 } |
6248 | 6296 |
6249 checkPricing(api.Pricing o) { | 6297 checkPricing(api.Pricing o) { |
6250 buildCounterPricing++; | 6298 buildCounterPricing++; |
6251 if (buildCounterPricing < 3) { | 6299 if (buildCounterPricing < 3) { |
6252 unittest.expect(o.capCostType, unittest.equals('foo')); | 6300 unittest.expect(o.capCostType, unittest.equals('foo')); |
6253 unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T0
0:00:00"))); | 6301 unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T0
0:00:00"))); |
6254 checkUnnamed2772(o.flights); | 6302 checkUnnamed2527(o.flights); |
6255 unittest.expect(o.groupType, unittest.equals('foo')); | 6303 unittest.expect(o.groupType, unittest.equals('foo')); |
6256 unittest.expect(o.pricingType, unittest.equals('foo')); | 6304 unittest.expect(o.pricingType, unittest.equals('foo')); |
6257 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); | 6305 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); |
6258 } | 6306 } |
6259 buildCounterPricing--; | 6307 buildCounterPricing--; |
6260 } | 6308 } |
6261 | 6309 |
6262 buildUnnamed2773() { | 6310 buildUnnamed2528() { |
6263 var o = new core.List<api.PricingSchedulePricingPeriod>(); | 6311 var o = new core.List<api.PricingSchedulePricingPeriod>(); |
6264 o.add(buildPricingSchedulePricingPeriod()); | 6312 o.add(buildPricingSchedulePricingPeriod()); |
6265 o.add(buildPricingSchedulePricingPeriod()); | 6313 o.add(buildPricingSchedulePricingPeriod()); |
6266 return o; | 6314 return o; |
6267 } | 6315 } |
6268 | 6316 |
6269 checkUnnamed2773(core.List<api.PricingSchedulePricingPeriod> o) { | 6317 checkUnnamed2528(core.List<api.PricingSchedulePricingPeriod> o) { |
6270 unittest.expect(o, unittest.hasLength(2)); | 6318 unittest.expect(o, unittest.hasLength(2)); |
6271 checkPricingSchedulePricingPeriod(o[0]); | 6319 checkPricingSchedulePricingPeriod(o[0]); |
6272 checkPricingSchedulePricingPeriod(o[1]); | 6320 checkPricingSchedulePricingPeriod(o[1]); |
6273 } | 6321 } |
6274 | 6322 |
6275 core.int buildCounterPricingSchedule = 0; | 6323 core.int buildCounterPricingSchedule = 0; |
6276 buildPricingSchedule() { | 6324 buildPricingSchedule() { |
6277 var o = new api.PricingSchedule(); | 6325 var o = new api.PricingSchedule(); |
6278 buildCounterPricingSchedule++; | 6326 buildCounterPricingSchedule++; |
6279 if (buildCounterPricingSchedule < 3) { | 6327 if (buildCounterPricingSchedule < 3) { |
6280 o.capCostOption = "foo"; | 6328 o.capCostOption = "foo"; |
6281 o.disregardOverdelivery = true; | 6329 o.disregardOverdelivery = true; |
6282 o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 6330 o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
6283 o.flighted = true; | 6331 o.flighted = true; |
6284 o.floodlightActivityId = "foo"; | 6332 o.floodlightActivityId = "foo"; |
6285 o.pricingPeriods = buildUnnamed2773(); | 6333 o.pricingPeriods = buildUnnamed2528(); |
6286 o.pricingType = "foo"; | 6334 o.pricingType = "foo"; |
6287 o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 6335 o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
6288 o.testingStartDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 6336 o.testingStartDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
6289 } | 6337 } |
6290 buildCounterPricingSchedule--; | 6338 buildCounterPricingSchedule--; |
6291 return o; | 6339 return o; |
6292 } | 6340 } |
6293 | 6341 |
6294 checkPricingSchedule(api.PricingSchedule o) { | 6342 checkPricingSchedule(api.PricingSchedule o) { |
6295 buildCounterPricingSchedule++; | 6343 buildCounterPricingSchedule++; |
6296 if (buildCounterPricingSchedule < 3) { | 6344 if (buildCounterPricingSchedule < 3) { |
6297 unittest.expect(o.capCostOption, unittest.equals('foo')); | 6345 unittest.expect(o.capCostOption, unittest.equals('foo')); |
6298 unittest.expect(o.disregardOverdelivery, unittest.isTrue); | 6346 unittest.expect(o.disregardOverdelivery, unittest.isTrue); |
6299 unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T0
0:00:00"))); | 6347 unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T0
0:00:00"))); |
6300 unittest.expect(o.flighted, unittest.isTrue); | 6348 unittest.expect(o.flighted, unittest.isTrue); |
6301 unittest.expect(o.floodlightActivityId, unittest.equals('foo')); | 6349 unittest.expect(o.floodlightActivityId, unittest.equals('foo')); |
6302 checkUnnamed2773(o.pricingPeriods); | 6350 checkUnnamed2528(o.pricingPeriods); |
6303 unittest.expect(o.pricingType, unittest.equals('foo')); | 6351 unittest.expect(o.pricingType, unittest.equals('foo')); |
6304 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); | 6352 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); |
6305 unittest.expect(o.testingStartDate, unittest.equals(core.DateTime.parse("200
2-02-27T00:00:00"))); | 6353 unittest.expect(o.testingStartDate, unittest.equals(core.DateTime.parse("200
2-02-27T00:00:00"))); |
6306 } | 6354 } |
6307 buildCounterPricingSchedule--; | 6355 buildCounterPricingSchedule--; |
6308 } | 6356 } |
6309 | 6357 |
6310 core.int buildCounterPricingSchedulePricingPeriod = 0; | 6358 core.int buildCounterPricingSchedulePricingPeriod = 0; |
6311 buildPricingSchedulePricingPeriod() { | 6359 buildPricingSchedulePricingPeriod() { |
6312 var o = new api.PricingSchedulePricingPeriod(); | 6360 var o = new api.PricingSchedulePricingPeriod(); |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6388 unittest.expect(o.targetConversions, unittest.equals('foo')); | 6436 unittest.expect(o.targetConversions, unittest.equals('foo')); |
6389 unittest.expect(o.targetCpaNanos, unittest.equals('foo')); | 6437 unittest.expect(o.targetCpaNanos, unittest.equals('foo')); |
6390 unittest.expect(o.targetCpcNanos, unittest.equals('foo')); | 6438 unittest.expect(o.targetCpcNanos, unittest.equals('foo')); |
6391 unittest.expect(o.targetCpmActiveViewNanos, unittest.equals('foo')); | 6439 unittest.expect(o.targetCpmActiveViewNanos, unittest.equals('foo')); |
6392 unittest.expect(o.targetCpmNanos, unittest.equals('foo')); | 6440 unittest.expect(o.targetCpmNanos, unittest.equals('foo')); |
6393 unittest.expect(o.targetImpressions, unittest.equals('foo')); | 6441 unittest.expect(o.targetImpressions, unittest.equals('foo')); |
6394 } | 6442 } |
6395 buildCounterProject--; | 6443 buildCounterProject--; |
6396 } | 6444 } |
6397 | 6445 |
6398 buildUnnamed2774() { | 6446 buildUnnamed2529() { |
6399 var o = new core.List<api.Project>(); | 6447 var o = new core.List<api.Project>(); |
6400 o.add(buildProject()); | 6448 o.add(buildProject()); |
6401 o.add(buildProject()); | 6449 o.add(buildProject()); |
6402 return o; | 6450 return o; |
6403 } | 6451 } |
6404 | 6452 |
6405 checkUnnamed2774(core.List<api.Project> o) { | 6453 checkUnnamed2529(core.List<api.Project> o) { |
6406 unittest.expect(o, unittest.hasLength(2)); | 6454 unittest.expect(o, unittest.hasLength(2)); |
6407 checkProject(o[0]); | 6455 checkProject(o[0]); |
6408 checkProject(o[1]); | 6456 checkProject(o[1]); |
6409 } | 6457 } |
6410 | 6458 |
6411 core.int buildCounterProjectsListResponse = 0; | 6459 core.int buildCounterProjectsListResponse = 0; |
6412 buildProjectsListResponse() { | 6460 buildProjectsListResponse() { |
6413 var o = new api.ProjectsListResponse(); | 6461 var o = new api.ProjectsListResponse(); |
6414 buildCounterProjectsListResponse++; | 6462 buildCounterProjectsListResponse++; |
6415 if (buildCounterProjectsListResponse < 3) { | 6463 if (buildCounterProjectsListResponse < 3) { |
6416 o.kind = "foo"; | 6464 o.kind = "foo"; |
6417 o.nextPageToken = "foo"; | 6465 o.nextPageToken = "foo"; |
6418 o.projects = buildUnnamed2774(); | 6466 o.projects = buildUnnamed2529(); |
6419 } | 6467 } |
6420 buildCounterProjectsListResponse--; | 6468 buildCounterProjectsListResponse--; |
6421 return o; | 6469 return o; |
6422 } | 6470 } |
6423 | 6471 |
6424 checkProjectsListResponse(api.ProjectsListResponse o) { | 6472 checkProjectsListResponse(api.ProjectsListResponse o) { |
6425 buildCounterProjectsListResponse++; | 6473 buildCounterProjectsListResponse++; |
6426 if (buildCounterProjectsListResponse < 3) { | 6474 if (buildCounterProjectsListResponse < 3) { |
6427 unittest.expect(o.kind, unittest.equals('foo')); | 6475 unittest.expect(o.kind, unittest.equals('foo')); |
6428 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6476 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
6429 checkUnnamed2774(o.projects); | 6477 checkUnnamed2529(o.projects); |
6430 } | 6478 } |
6431 buildCounterProjectsListResponse--; | 6479 buildCounterProjectsListResponse--; |
6432 } | 6480 } |
6433 | 6481 |
6434 buildUnnamed2775() { | 6482 buildUnnamed2530() { |
6435 var o = new core.List<api.Dimension>(); | 6483 var o = new core.List<api.Dimension>(); |
6436 o.add(buildDimension()); | 6484 o.add(buildDimension()); |
6437 o.add(buildDimension()); | 6485 o.add(buildDimension()); |
6438 return o; | 6486 return o; |
6439 } | 6487 } |
6440 | 6488 |
6441 checkUnnamed2775(core.List<api.Dimension> o) { | 6489 checkUnnamed2530(core.List<api.Dimension> o) { |
6442 unittest.expect(o, unittest.hasLength(2)); | 6490 unittest.expect(o, unittest.hasLength(2)); |
6443 checkDimension(o[0]); | 6491 checkDimension(o[0]); |
6444 checkDimension(o[1]); | 6492 checkDimension(o[1]); |
6445 } | 6493 } |
6446 | 6494 |
6447 buildUnnamed2776() { | 6495 buildUnnamed2531() { |
6448 var o = new core.List<api.Dimension>(); | 6496 var o = new core.List<api.Dimension>(); |
6449 o.add(buildDimension()); | 6497 o.add(buildDimension()); |
6450 o.add(buildDimension()); | 6498 o.add(buildDimension()); |
6451 return o; | 6499 return o; |
6452 } | 6500 } |
6453 | 6501 |
6454 checkUnnamed2776(core.List<api.Dimension> o) { | 6502 checkUnnamed2531(core.List<api.Dimension> o) { |
6455 unittest.expect(o, unittest.hasLength(2)); | 6503 unittest.expect(o, unittest.hasLength(2)); |
6456 checkDimension(o[0]); | 6504 checkDimension(o[0]); |
6457 checkDimension(o[1]); | 6505 checkDimension(o[1]); |
6458 } | 6506 } |
6459 | 6507 |
6460 buildUnnamed2777() { | 6508 buildUnnamed2532() { |
6461 var o = new core.List<api.Metric>(); | 6509 var o = new core.List<api.Metric>(); |
6462 o.add(buildMetric()); | 6510 o.add(buildMetric()); |
6463 o.add(buildMetric()); | 6511 o.add(buildMetric()); |
6464 return o; | 6512 return o; |
6465 } | 6513 } |
6466 | 6514 |
6467 checkUnnamed2777(core.List<api.Metric> o) { | 6515 checkUnnamed2532(core.List<api.Metric> o) { |
6468 unittest.expect(o, unittest.hasLength(2)); | 6516 unittest.expect(o, unittest.hasLength(2)); |
6469 checkMetric(o[0]); | 6517 checkMetric(o[0]); |
6470 checkMetric(o[1]); | 6518 checkMetric(o[1]); |
6471 } | 6519 } |
6472 | 6520 |
6473 buildUnnamed2778() { | 6521 buildUnnamed2533() { |
6474 var o = new core.List<api.Metric>(); | 6522 var o = new core.List<api.Metric>(); |
6475 o.add(buildMetric()); | 6523 o.add(buildMetric()); |
6476 o.add(buildMetric()); | 6524 o.add(buildMetric()); |
6477 return o; | 6525 return o; |
6478 } | 6526 } |
6479 | 6527 |
6480 checkUnnamed2778(core.List<api.Metric> o) { | 6528 checkUnnamed2533(core.List<api.Metric> o) { |
6481 unittest.expect(o, unittest.hasLength(2)); | 6529 unittest.expect(o, unittest.hasLength(2)); |
6482 checkMetric(o[0]); | 6530 checkMetric(o[0]); |
6483 checkMetric(o[1]); | 6531 checkMetric(o[1]); |
6484 } | 6532 } |
6485 | 6533 |
6486 buildUnnamed2779() { | 6534 buildUnnamed2534() { |
6487 var o = new core.List<api.Metric>(); | 6535 var o = new core.List<api.Metric>(); |
6488 o.add(buildMetric()); | 6536 o.add(buildMetric()); |
6489 o.add(buildMetric()); | 6537 o.add(buildMetric()); |
6490 return o; | 6538 return o; |
6491 } | 6539 } |
6492 | 6540 |
6493 checkUnnamed2779(core.List<api.Metric> o) { | 6541 checkUnnamed2534(core.List<api.Metric> o) { |
6494 unittest.expect(o, unittest.hasLength(2)); | 6542 unittest.expect(o, unittest.hasLength(2)); |
6495 checkMetric(o[0]); | 6543 checkMetric(o[0]); |
6496 checkMetric(o[1]); | 6544 checkMetric(o[1]); |
6497 } | 6545 } |
6498 | 6546 |
6499 core.int buildCounterReachReportCompatibleFields = 0; | 6547 core.int buildCounterReachReportCompatibleFields = 0; |
6500 buildReachReportCompatibleFields() { | 6548 buildReachReportCompatibleFields() { |
6501 var o = new api.ReachReportCompatibleFields(); | 6549 var o = new api.ReachReportCompatibleFields(); |
6502 buildCounterReachReportCompatibleFields++; | 6550 buildCounterReachReportCompatibleFields++; |
6503 if (buildCounterReachReportCompatibleFields < 3) { | 6551 if (buildCounterReachReportCompatibleFields < 3) { |
6504 o.dimensionFilters = buildUnnamed2775(); | 6552 o.dimensionFilters = buildUnnamed2530(); |
6505 o.dimensions = buildUnnamed2776(); | 6553 o.dimensions = buildUnnamed2531(); |
6506 o.kind = "foo"; | 6554 o.kind = "foo"; |
6507 o.metrics = buildUnnamed2777(); | 6555 o.metrics = buildUnnamed2532(); |
6508 o.pivotedActivityMetrics = buildUnnamed2778(); | 6556 o.pivotedActivityMetrics = buildUnnamed2533(); |
6509 o.reachByFrequencyMetrics = buildUnnamed2779(); | 6557 o.reachByFrequencyMetrics = buildUnnamed2534(); |
6510 } | 6558 } |
6511 buildCounterReachReportCompatibleFields--; | 6559 buildCounterReachReportCompatibleFields--; |
6512 return o; | 6560 return o; |
6513 } | 6561 } |
6514 | 6562 |
6515 checkReachReportCompatibleFields(api.ReachReportCompatibleFields o) { | 6563 checkReachReportCompatibleFields(api.ReachReportCompatibleFields o) { |
6516 buildCounterReachReportCompatibleFields++; | 6564 buildCounterReachReportCompatibleFields++; |
6517 if (buildCounterReachReportCompatibleFields < 3) { | 6565 if (buildCounterReachReportCompatibleFields < 3) { |
6518 checkUnnamed2775(o.dimensionFilters); | 6566 checkUnnamed2530(o.dimensionFilters); |
6519 checkUnnamed2776(o.dimensions); | 6567 checkUnnamed2531(o.dimensions); |
6520 unittest.expect(o.kind, unittest.equals('foo')); | 6568 unittest.expect(o.kind, unittest.equals('foo')); |
6521 checkUnnamed2777(o.metrics); | 6569 checkUnnamed2532(o.metrics); |
6522 checkUnnamed2778(o.pivotedActivityMetrics); | 6570 checkUnnamed2533(o.pivotedActivityMetrics); |
6523 checkUnnamed2779(o.reachByFrequencyMetrics); | 6571 checkUnnamed2534(o.reachByFrequencyMetrics); |
6524 } | 6572 } |
6525 buildCounterReachReportCompatibleFields--; | 6573 buildCounterReachReportCompatibleFields--; |
6526 } | 6574 } |
6527 | 6575 |
6528 core.int buildCounterRecipient = 0; | 6576 core.int buildCounterRecipient = 0; |
6529 buildRecipient() { | 6577 buildRecipient() { |
6530 var o = new api.Recipient(); | 6578 var o = new api.Recipient(); |
6531 buildCounterRecipient++; | 6579 buildCounterRecipient++; |
6532 if (buildCounterRecipient < 3) { | 6580 if (buildCounterRecipient < 3) { |
6533 o.deliveryType = "foo"; | 6581 o.deliveryType = "foo"; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6570 unittest.expect(o.countryCode, unittest.equals('foo')); | 6618 unittest.expect(o.countryCode, unittest.equals('foo')); |
6571 unittest.expect(o.countryDartId, unittest.equals('foo')); | 6619 unittest.expect(o.countryDartId, unittest.equals('foo')); |
6572 unittest.expect(o.dartId, unittest.equals('foo')); | 6620 unittest.expect(o.dartId, unittest.equals('foo')); |
6573 unittest.expect(o.kind, unittest.equals('foo')); | 6621 unittest.expect(o.kind, unittest.equals('foo')); |
6574 unittest.expect(o.name, unittest.equals('foo')); | 6622 unittest.expect(o.name, unittest.equals('foo')); |
6575 unittest.expect(o.regionCode, unittest.equals('foo')); | 6623 unittest.expect(o.regionCode, unittest.equals('foo')); |
6576 } | 6624 } |
6577 buildCounterRegion--; | 6625 buildCounterRegion--; |
6578 } | 6626 } |
6579 | 6627 |
6580 buildUnnamed2780() { | 6628 buildUnnamed2535() { |
6581 var o = new core.List<api.Region>(); | 6629 var o = new core.List<api.Region>(); |
6582 o.add(buildRegion()); | 6630 o.add(buildRegion()); |
6583 o.add(buildRegion()); | 6631 o.add(buildRegion()); |
6584 return o; | 6632 return o; |
6585 } | 6633 } |
6586 | 6634 |
6587 checkUnnamed2780(core.List<api.Region> o) { | 6635 checkUnnamed2535(core.List<api.Region> o) { |
6588 unittest.expect(o, unittest.hasLength(2)); | 6636 unittest.expect(o, unittest.hasLength(2)); |
6589 checkRegion(o[0]); | 6637 checkRegion(o[0]); |
6590 checkRegion(o[1]); | 6638 checkRegion(o[1]); |
6591 } | 6639 } |
6592 | 6640 |
6593 core.int buildCounterRegionsListResponse = 0; | 6641 core.int buildCounterRegionsListResponse = 0; |
6594 buildRegionsListResponse() { | 6642 buildRegionsListResponse() { |
6595 var o = new api.RegionsListResponse(); | 6643 var o = new api.RegionsListResponse(); |
6596 buildCounterRegionsListResponse++; | 6644 buildCounterRegionsListResponse++; |
6597 if (buildCounterRegionsListResponse < 3) { | 6645 if (buildCounterRegionsListResponse < 3) { |
6598 o.kind = "foo"; | 6646 o.kind = "foo"; |
6599 o.regions = buildUnnamed2780(); | 6647 o.regions = buildUnnamed2535(); |
6600 } | 6648 } |
6601 buildCounterRegionsListResponse--; | 6649 buildCounterRegionsListResponse--; |
6602 return o; | 6650 return o; |
6603 } | 6651 } |
6604 | 6652 |
6605 checkRegionsListResponse(api.RegionsListResponse o) { | 6653 checkRegionsListResponse(api.RegionsListResponse o) { |
6606 buildCounterRegionsListResponse++; | 6654 buildCounterRegionsListResponse++; |
6607 if (buildCounterRegionsListResponse < 3) { | 6655 if (buildCounterRegionsListResponse < 3) { |
6608 unittest.expect(o.kind, unittest.equals('foo')); | 6656 unittest.expect(o.kind, unittest.equals('foo')); |
6609 checkUnnamed2780(o.regions); | 6657 checkUnnamed2535(o.regions); |
6610 } | 6658 } |
6611 buildCounterRegionsListResponse--; | 6659 buildCounterRegionsListResponse--; |
6612 } | 6660 } |
6613 | 6661 |
6614 core.int buildCounterRemarketingList = 0; | 6662 core.int buildCounterRemarketingList = 0; |
6615 buildRemarketingList() { | 6663 buildRemarketingList() { |
6616 var o = new api.RemarketingList(); | 6664 var o = new api.RemarketingList(); |
6617 buildCounterRemarketingList++; | 6665 buildCounterRemarketingList++; |
6618 if (buildCounterRemarketingList < 3) { | 6666 if (buildCounterRemarketingList < 3) { |
6619 o.accountId = "foo"; | 6667 o.accountId = "foo"; |
(...skipping 27 matching lines...) Expand all Loading... |
6647 unittest.expect(o.lifeSpan, unittest.equals('foo')); | 6695 unittest.expect(o.lifeSpan, unittest.equals('foo')); |
6648 checkListPopulationRule(o.listPopulationRule); | 6696 checkListPopulationRule(o.listPopulationRule); |
6649 unittest.expect(o.listSize, unittest.equals('foo')); | 6697 unittest.expect(o.listSize, unittest.equals('foo')); |
6650 unittest.expect(o.listSource, unittest.equals('foo')); | 6698 unittest.expect(o.listSource, unittest.equals('foo')); |
6651 unittest.expect(o.name, unittest.equals('foo')); | 6699 unittest.expect(o.name, unittest.equals('foo')); |
6652 unittest.expect(o.subaccountId, unittest.equals('foo')); | 6700 unittest.expect(o.subaccountId, unittest.equals('foo')); |
6653 } | 6701 } |
6654 buildCounterRemarketingList--; | 6702 buildCounterRemarketingList--; |
6655 } | 6703 } |
6656 | 6704 |
6657 buildUnnamed2781() { | 6705 buildUnnamed2536() { |
6658 var o = new core.List<core.String>(); | 6706 var o = new core.List<core.String>(); |
6659 o.add("foo"); | 6707 o.add("foo"); |
6660 o.add("foo"); | 6708 o.add("foo"); |
6661 return o; | 6709 return o; |
6662 } | 6710 } |
6663 | 6711 |
6664 checkUnnamed2781(core.List<core.String> o) { | 6712 checkUnnamed2536(core.List<core.String> o) { |
6665 unittest.expect(o, unittest.hasLength(2)); | 6713 unittest.expect(o, unittest.hasLength(2)); |
6666 unittest.expect(o[0], unittest.equals('foo')); | 6714 unittest.expect(o[0], unittest.equals('foo')); |
6667 unittest.expect(o[1], unittest.equals('foo')); | 6715 unittest.expect(o[1], unittest.equals('foo')); |
6668 } | 6716 } |
6669 | 6717 |
6670 buildUnnamed2782() { | 6718 buildUnnamed2537() { |
6671 var o = new core.List<core.String>(); | 6719 var o = new core.List<core.String>(); |
6672 o.add("foo"); | 6720 o.add("foo"); |
6673 o.add("foo"); | 6721 o.add("foo"); |
6674 return o; | 6722 return o; |
6675 } | 6723 } |
6676 | 6724 |
6677 checkUnnamed2782(core.List<core.String> o) { | 6725 checkUnnamed2537(core.List<core.String> o) { |
6678 unittest.expect(o, unittest.hasLength(2)); | 6726 unittest.expect(o, unittest.hasLength(2)); |
6679 unittest.expect(o[0], unittest.equals('foo')); | 6727 unittest.expect(o[0], unittest.equals('foo')); |
6680 unittest.expect(o[1], unittest.equals('foo')); | 6728 unittest.expect(o[1], unittest.equals('foo')); |
6681 } | 6729 } |
6682 | 6730 |
6683 core.int buildCounterRemarketingListShare = 0; | 6731 core.int buildCounterRemarketingListShare = 0; |
6684 buildRemarketingListShare() { | 6732 buildRemarketingListShare() { |
6685 var o = new api.RemarketingListShare(); | 6733 var o = new api.RemarketingListShare(); |
6686 buildCounterRemarketingListShare++; | 6734 buildCounterRemarketingListShare++; |
6687 if (buildCounterRemarketingListShare < 3) { | 6735 if (buildCounterRemarketingListShare < 3) { |
6688 o.kind = "foo"; | 6736 o.kind = "foo"; |
6689 o.remarketingListId = "foo"; | 6737 o.remarketingListId = "foo"; |
6690 o.sharedAccountIds = buildUnnamed2781(); | 6738 o.sharedAccountIds = buildUnnamed2536(); |
6691 o.sharedAdvertiserIds = buildUnnamed2782(); | 6739 o.sharedAdvertiserIds = buildUnnamed2537(); |
6692 } | 6740 } |
6693 buildCounterRemarketingListShare--; | 6741 buildCounterRemarketingListShare--; |
6694 return o; | 6742 return o; |
6695 } | 6743 } |
6696 | 6744 |
6697 checkRemarketingListShare(api.RemarketingListShare o) { | 6745 checkRemarketingListShare(api.RemarketingListShare o) { |
6698 buildCounterRemarketingListShare++; | 6746 buildCounterRemarketingListShare++; |
6699 if (buildCounterRemarketingListShare < 3) { | 6747 if (buildCounterRemarketingListShare < 3) { |
6700 unittest.expect(o.kind, unittest.equals('foo')); | 6748 unittest.expect(o.kind, unittest.equals('foo')); |
6701 unittest.expect(o.remarketingListId, unittest.equals('foo')); | 6749 unittest.expect(o.remarketingListId, unittest.equals('foo')); |
6702 checkUnnamed2781(o.sharedAccountIds); | 6750 checkUnnamed2536(o.sharedAccountIds); |
6703 checkUnnamed2782(o.sharedAdvertiserIds); | 6751 checkUnnamed2537(o.sharedAdvertiserIds); |
6704 } | 6752 } |
6705 buildCounterRemarketingListShare--; | 6753 buildCounterRemarketingListShare--; |
6706 } | 6754 } |
6707 | 6755 |
6708 buildUnnamed2783() { | 6756 buildUnnamed2538() { |
6709 var o = new core.List<api.RemarketingList>(); | 6757 var o = new core.List<api.RemarketingList>(); |
6710 o.add(buildRemarketingList()); | 6758 o.add(buildRemarketingList()); |
6711 o.add(buildRemarketingList()); | 6759 o.add(buildRemarketingList()); |
6712 return o; | 6760 return o; |
6713 } | 6761 } |
6714 | 6762 |
6715 checkUnnamed2783(core.List<api.RemarketingList> o) { | 6763 checkUnnamed2538(core.List<api.RemarketingList> o) { |
6716 unittest.expect(o, unittest.hasLength(2)); | 6764 unittest.expect(o, unittest.hasLength(2)); |
6717 checkRemarketingList(o[0]); | 6765 checkRemarketingList(o[0]); |
6718 checkRemarketingList(o[1]); | 6766 checkRemarketingList(o[1]); |
6719 } | 6767 } |
6720 | 6768 |
6721 core.int buildCounterRemarketingListsListResponse = 0; | 6769 core.int buildCounterRemarketingListsListResponse = 0; |
6722 buildRemarketingListsListResponse() { | 6770 buildRemarketingListsListResponse() { |
6723 var o = new api.RemarketingListsListResponse(); | 6771 var o = new api.RemarketingListsListResponse(); |
6724 buildCounterRemarketingListsListResponse++; | 6772 buildCounterRemarketingListsListResponse++; |
6725 if (buildCounterRemarketingListsListResponse < 3) { | 6773 if (buildCounterRemarketingListsListResponse < 3) { |
6726 o.kind = "foo"; | 6774 o.kind = "foo"; |
6727 o.nextPageToken = "foo"; | 6775 o.nextPageToken = "foo"; |
6728 o.remarketingLists = buildUnnamed2783(); | 6776 o.remarketingLists = buildUnnamed2538(); |
6729 } | 6777 } |
6730 buildCounterRemarketingListsListResponse--; | 6778 buildCounterRemarketingListsListResponse--; |
6731 return o; | 6779 return o; |
6732 } | 6780 } |
6733 | 6781 |
6734 checkRemarketingListsListResponse(api.RemarketingListsListResponse o) { | 6782 checkRemarketingListsListResponse(api.RemarketingListsListResponse o) { |
6735 buildCounterRemarketingListsListResponse++; | 6783 buildCounterRemarketingListsListResponse++; |
6736 if (buildCounterRemarketingListsListResponse < 3) { | 6784 if (buildCounterRemarketingListsListResponse < 3) { |
6737 unittest.expect(o.kind, unittest.equals('foo')); | 6785 unittest.expect(o.kind, unittest.equals('foo')); |
6738 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 6786 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
6739 checkUnnamed2783(o.remarketingLists); | 6787 checkUnnamed2538(o.remarketingLists); |
6740 } | 6788 } |
6741 buildCounterRemarketingListsListResponse--; | 6789 buildCounterRemarketingListsListResponse--; |
6742 } | 6790 } |
6743 | 6791 |
6744 buildUnnamed2784() { | 6792 buildUnnamed2539() { |
6745 var o = new core.List<api.DimensionValue>(); | 6793 var o = new core.List<api.DimensionValue>(); |
6746 o.add(buildDimensionValue()); | 6794 o.add(buildDimensionValue()); |
6747 o.add(buildDimensionValue()); | 6795 o.add(buildDimensionValue()); |
6748 return o; | 6796 return o; |
6749 } | 6797 } |
6750 | 6798 |
6751 checkUnnamed2784(core.List<api.DimensionValue> o) { | 6799 checkUnnamed2539(core.List<api.DimensionValue> o) { |
6752 unittest.expect(o, unittest.hasLength(2)); | 6800 unittest.expect(o, unittest.hasLength(2)); |
6753 checkDimensionValue(o[0]); | 6801 checkDimensionValue(o[0]); |
6754 checkDimensionValue(o[1]); | 6802 checkDimensionValue(o[1]); |
6755 } | 6803 } |
6756 | 6804 |
6757 buildUnnamed2785() { | 6805 buildUnnamed2540() { |
6758 var o = new core.List<api.SortedDimension>(); | 6806 var o = new core.List<api.SortedDimension>(); |
6759 o.add(buildSortedDimension()); | 6807 o.add(buildSortedDimension()); |
6760 o.add(buildSortedDimension()); | 6808 o.add(buildSortedDimension()); |
6761 return o; | 6809 return o; |
6762 } | 6810 } |
6763 | 6811 |
6764 checkUnnamed2785(core.List<api.SortedDimension> o) { | 6812 checkUnnamed2540(core.List<api.SortedDimension> o) { |
6765 unittest.expect(o, unittest.hasLength(2)); | 6813 unittest.expect(o, unittest.hasLength(2)); |
6766 checkSortedDimension(o[0]); | 6814 checkSortedDimension(o[0]); |
6767 checkSortedDimension(o[1]); | 6815 checkSortedDimension(o[1]); |
6768 } | 6816 } |
6769 | 6817 |
6770 buildUnnamed2786() { | 6818 buildUnnamed2541() { |
6771 var o = new core.List<core.String>(); | 6819 var o = new core.List<core.String>(); |
6772 o.add("foo"); | 6820 o.add("foo"); |
6773 o.add("foo"); | 6821 o.add("foo"); |
6774 return o; | 6822 return o; |
6775 } | 6823 } |
6776 | 6824 |
6777 checkUnnamed2786(core.List<core.String> o) { | 6825 checkUnnamed2541(core.List<core.String> o) { |
6778 unittest.expect(o, unittest.hasLength(2)); | 6826 unittest.expect(o, unittest.hasLength(2)); |
6779 unittest.expect(o[0], unittest.equals('foo')); | 6827 unittest.expect(o[0], unittest.equals('foo')); |
6780 unittest.expect(o[1], unittest.equals('foo')); | 6828 unittest.expect(o[1], unittest.equals('foo')); |
6781 } | 6829 } |
6782 | 6830 |
6783 core.int buildCounterReportCriteria = 0; | 6831 core.int buildCounterReportCriteria = 0; |
6784 buildReportCriteria() { | 6832 buildReportCriteria() { |
6785 var o = new api.ReportCriteria(); | 6833 var o = new api.ReportCriteria(); |
6786 buildCounterReportCriteria++; | 6834 buildCounterReportCriteria++; |
6787 if (buildCounterReportCriteria < 3) { | 6835 if (buildCounterReportCriteria < 3) { |
6788 o.activities = buildActivities(); | 6836 o.activities = buildActivities(); |
6789 o.customRichMediaEvents = buildCustomRichMediaEvents(); | 6837 o.customRichMediaEvents = buildCustomRichMediaEvents(); |
6790 o.dateRange = buildDateRange(); | 6838 o.dateRange = buildDateRange(); |
6791 o.dimensionFilters = buildUnnamed2784(); | 6839 o.dimensionFilters = buildUnnamed2539(); |
6792 o.dimensions = buildUnnamed2785(); | 6840 o.dimensions = buildUnnamed2540(); |
6793 o.metricNames = buildUnnamed2786(); | 6841 o.metricNames = buildUnnamed2541(); |
6794 } | 6842 } |
6795 buildCounterReportCriteria--; | 6843 buildCounterReportCriteria--; |
6796 return o; | 6844 return o; |
6797 } | 6845 } |
6798 | 6846 |
6799 checkReportCriteria(api.ReportCriteria o) { | 6847 checkReportCriteria(api.ReportCriteria o) { |
6800 buildCounterReportCriteria++; | 6848 buildCounterReportCriteria++; |
6801 if (buildCounterReportCriteria < 3) { | 6849 if (buildCounterReportCriteria < 3) { |
6802 checkActivities(o.activities); | 6850 checkActivities(o.activities); |
6803 checkCustomRichMediaEvents(o.customRichMediaEvents); | 6851 checkCustomRichMediaEvents(o.customRichMediaEvents); |
6804 checkDateRange(o.dateRange); | 6852 checkDateRange(o.dateRange); |
6805 checkUnnamed2784(o.dimensionFilters); | 6853 checkUnnamed2539(o.dimensionFilters); |
6806 checkUnnamed2785(o.dimensions); | 6854 checkUnnamed2540(o.dimensions); |
6807 checkUnnamed2786(o.metricNames); | 6855 checkUnnamed2541(o.metricNames); |
6808 } | 6856 } |
6809 buildCounterReportCriteria--; | 6857 buildCounterReportCriteria--; |
6810 } | 6858 } |
6811 | 6859 |
6812 buildUnnamed2787() { | 6860 buildUnnamed2542() { |
6813 var o = new core.List<api.SortedDimension>(); | 6861 var o = new core.List<api.SortedDimension>(); |
6814 o.add(buildSortedDimension()); | 6862 o.add(buildSortedDimension()); |
6815 o.add(buildSortedDimension()); | 6863 o.add(buildSortedDimension()); |
6816 return o; | 6864 return o; |
6817 } | 6865 } |
6818 | 6866 |
6819 checkUnnamed2787(core.List<api.SortedDimension> o) { | 6867 checkUnnamed2542(core.List<api.SortedDimension> o) { |
6820 unittest.expect(o, unittest.hasLength(2)); | 6868 unittest.expect(o, unittest.hasLength(2)); |
6821 checkSortedDimension(o[0]); | 6869 checkSortedDimension(o[0]); |
6822 checkSortedDimension(o[1]); | 6870 checkSortedDimension(o[1]); |
6823 } | 6871 } |
6824 | 6872 |
6825 buildUnnamed2788() { | 6873 buildUnnamed2543() { |
6826 var o = new core.List<api.DimensionValue>(); | 6874 var o = new core.List<api.DimensionValue>(); |
6827 o.add(buildDimensionValue()); | 6875 o.add(buildDimensionValue()); |
6828 o.add(buildDimensionValue()); | 6876 o.add(buildDimensionValue()); |
6829 return o; | 6877 return o; |
6830 } | 6878 } |
6831 | 6879 |
6832 checkUnnamed2788(core.List<api.DimensionValue> o) { | 6880 checkUnnamed2543(core.List<api.DimensionValue> o) { |
6833 unittest.expect(o, unittest.hasLength(2)); | 6881 unittest.expect(o, unittest.hasLength(2)); |
6834 checkDimensionValue(o[0]); | 6882 checkDimensionValue(o[0]); |
6835 checkDimensionValue(o[1]); | 6883 checkDimensionValue(o[1]); |
6836 } | 6884 } |
6837 | 6885 |
6838 buildUnnamed2789() { | 6886 buildUnnamed2544() { |
6839 var o = new core.List<core.String>(); | 6887 var o = new core.List<core.String>(); |
6840 o.add("foo"); | 6888 o.add("foo"); |
6841 o.add("foo"); | 6889 o.add("foo"); |
6842 return o; | 6890 return o; |
6843 } | 6891 } |
6844 | 6892 |
6845 checkUnnamed2789(core.List<core.String> o) { | 6893 checkUnnamed2544(core.List<core.String> o) { |
6846 unittest.expect(o, unittest.hasLength(2)); | 6894 unittest.expect(o, unittest.hasLength(2)); |
6847 unittest.expect(o[0], unittest.equals('foo')); | 6895 unittest.expect(o[0], unittest.equals('foo')); |
6848 unittest.expect(o[1], unittest.equals('foo')); | 6896 unittest.expect(o[1], unittest.equals('foo')); |
6849 } | 6897 } |
6850 | 6898 |
6851 buildUnnamed2790() { | 6899 buildUnnamed2545() { |
6852 var o = new core.List<core.String>(); | 6900 var o = new core.List<core.String>(); |
6853 o.add("foo"); | 6901 o.add("foo"); |
6854 o.add("foo"); | 6902 o.add("foo"); |
6855 return o; | 6903 return o; |
6856 } | 6904 } |
6857 | 6905 |
6858 checkUnnamed2790(core.List<core.String> o) { | 6906 checkUnnamed2545(core.List<core.String> o) { |
6859 unittest.expect(o, unittest.hasLength(2)); | 6907 unittest.expect(o, unittest.hasLength(2)); |
6860 unittest.expect(o[0], unittest.equals('foo')); | 6908 unittest.expect(o[0], unittest.equals('foo')); |
6861 unittest.expect(o[1], unittest.equals('foo')); | 6909 unittest.expect(o[1], unittest.equals('foo')); |
6862 } | 6910 } |
6863 | 6911 |
6864 core.int buildCounterReportCrossDimensionReachCriteria = 0; | 6912 core.int buildCounterReportCrossDimensionReachCriteria = 0; |
6865 buildReportCrossDimensionReachCriteria() { | 6913 buildReportCrossDimensionReachCriteria() { |
6866 var o = new api.ReportCrossDimensionReachCriteria(); | 6914 var o = new api.ReportCrossDimensionReachCriteria(); |
6867 buildCounterReportCrossDimensionReachCriteria++; | 6915 buildCounterReportCrossDimensionReachCriteria++; |
6868 if (buildCounterReportCrossDimensionReachCriteria < 3) { | 6916 if (buildCounterReportCrossDimensionReachCriteria < 3) { |
6869 o.breakdown = buildUnnamed2787(); | 6917 o.breakdown = buildUnnamed2542(); |
6870 o.dateRange = buildDateRange(); | 6918 o.dateRange = buildDateRange(); |
6871 o.dimension = "foo"; | 6919 o.dimension = "foo"; |
6872 o.dimensionFilters = buildUnnamed2788(); | 6920 o.dimensionFilters = buildUnnamed2543(); |
6873 o.metricNames = buildUnnamed2789(); | 6921 o.metricNames = buildUnnamed2544(); |
6874 o.overlapMetricNames = buildUnnamed2790(); | 6922 o.overlapMetricNames = buildUnnamed2545(); |
6875 o.pivoted = true; | 6923 o.pivoted = true; |
6876 } | 6924 } |
6877 buildCounterReportCrossDimensionReachCriteria--; | 6925 buildCounterReportCrossDimensionReachCriteria--; |
6878 return o; | 6926 return o; |
6879 } | 6927 } |
6880 | 6928 |
6881 checkReportCrossDimensionReachCriteria(api.ReportCrossDimensionReachCriteria o)
{ | 6929 checkReportCrossDimensionReachCriteria(api.ReportCrossDimensionReachCriteria o)
{ |
6882 buildCounterReportCrossDimensionReachCriteria++; | 6930 buildCounterReportCrossDimensionReachCriteria++; |
6883 if (buildCounterReportCrossDimensionReachCriteria < 3) { | 6931 if (buildCounterReportCrossDimensionReachCriteria < 3) { |
6884 checkUnnamed2787(o.breakdown); | 6932 checkUnnamed2542(o.breakdown); |
6885 checkDateRange(o.dateRange); | 6933 checkDateRange(o.dateRange); |
6886 unittest.expect(o.dimension, unittest.equals('foo')); | 6934 unittest.expect(o.dimension, unittest.equals('foo')); |
6887 checkUnnamed2788(o.dimensionFilters); | 6935 checkUnnamed2543(o.dimensionFilters); |
6888 checkUnnamed2789(o.metricNames); | 6936 checkUnnamed2544(o.metricNames); |
6889 checkUnnamed2790(o.overlapMetricNames); | 6937 checkUnnamed2545(o.overlapMetricNames); |
6890 unittest.expect(o.pivoted, unittest.isTrue); | 6938 unittest.expect(o.pivoted, unittest.isTrue); |
6891 } | 6939 } |
6892 buildCounterReportCrossDimensionReachCriteria--; | 6940 buildCounterReportCrossDimensionReachCriteria--; |
6893 } | 6941 } |
6894 | 6942 |
6895 buildUnnamed2791() { | 6943 buildUnnamed2546() { |
6896 var o = new core.List<api.Recipient>(); | 6944 var o = new core.List<api.Recipient>(); |
6897 o.add(buildRecipient()); | 6945 o.add(buildRecipient()); |
6898 o.add(buildRecipient()); | 6946 o.add(buildRecipient()); |
6899 return o; | 6947 return o; |
6900 } | 6948 } |
6901 | 6949 |
6902 checkUnnamed2791(core.List<api.Recipient> o) { | 6950 checkUnnamed2546(core.List<api.Recipient> o) { |
6903 unittest.expect(o, unittest.hasLength(2)); | 6951 unittest.expect(o, unittest.hasLength(2)); |
6904 checkRecipient(o[0]); | 6952 checkRecipient(o[0]); |
6905 checkRecipient(o[1]); | 6953 checkRecipient(o[1]); |
6906 } | 6954 } |
6907 | 6955 |
6908 core.int buildCounterReportDelivery = 0; | 6956 core.int buildCounterReportDelivery = 0; |
6909 buildReportDelivery() { | 6957 buildReportDelivery() { |
6910 var o = new api.ReportDelivery(); | 6958 var o = new api.ReportDelivery(); |
6911 buildCounterReportDelivery++; | 6959 buildCounterReportDelivery++; |
6912 if (buildCounterReportDelivery < 3) { | 6960 if (buildCounterReportDelivery < 3) { |
6913 o.emailOwner = true; | 6961 o.emailOwner = true; |
6914 o.emailOwnerDeliveryType = "foo"; | 6962 o.emailOwnerDeliveryType = "foo"; |
6915 o.message = "foo"; | 6963 o.message = "foo"; |
6916 o.recipients = buildUnnamed2791(); | 6964 o.recipients = buildUnnamed2546(); |
6917 } | 6965 } |
6918 buildCounterReportDelivery--; | 6966 buildCounterReportDelivery--; |
6919 return o; | 6967 return o; |
6920 } | 6968 } |
6921 | 6969 |
6922 checkReportDelivery(api.ReportDelivery o) { | 6970 checkReportDelivery(api.ReportDelivery o) { |
6923 buildCounterReportDelivery++; | 6971 buildCounterReportDelivery++; |
6924 if (buildCounterReportDelivery < 3) { | 6972 if (buildCounterReportDelivery < 3) { |
6925 unittest.expect(o.emailOwner, unittest.isTrue); | 6973 unittest.expect(o.emailOwner, unittest.isTrue); |
6926 unittest.expect(o.emailOwnerDeliveryType, unittest.equals('foo')); | 6974 unittest.expect(o.emailOwnerDeliveryType, unittest.equals('foo')); |
6927 unittest.expect(o.message, unittest.equals('foo')); | 6975 unittest.expect(o.message, unittest.equals('foo')); |
6928 checkUnnamed2791(o.recipients); | 6976 checkUnnamed2546(o.recipients); |
6929 } | 6977 } |
6930 buildCounterReportDelivery--; | 6978 buildCounterReportDelivery--; |
6931 } | 6979 } |
6932 | 6980 |
6933 buildUnnamed2792() { | 6981 buildUnnamed2547() { |
6934 var o = new core.List<api.DimensionValue>(); | 6982 var o = new core.List<api.DimensionValue>(); |
6935 o.add(buildDimensionValue()); | 6983 o.add(buildDimensionValue()); |
6936 o.add(buildDimensionValue()); | 6984 o.add(buildDimensionValue()); |
6937 return o; | 6985 return o; |
6938 } | 6986 } |
6939 | 6987 |
6940 checkUnnamed2792(core.List<api.DimensionValue> o) { | 6988 checkUnnamed2547(core.List<api.DimensionValue> o) { |
6941 unittest.expect(o, unittest.hasLength(2)); | 6989 unittest.expect(o, unittest.hasLength(2)); |
6942 checkDimensionValue(o[0]); | 6990 checkDimensionValue(o[0]); |
6943 checkDimensionValue(o[1]); | 6991 checkDimensionValue(o[1]); |
6944 } | 6992 } |
6945 | 6993 |
6946 buildUnnamed2793() { | 6994 buildUnnamed2548() { |
6947 var o = new core.List<api.DimensionValue>(); | 6995 var o = new core.List<api.DimensionValue>(); |
6948 o.add(buildDimensionValue()); | 6996 o.add(buildDimensionValue()); |
6949 o.add(buildDimensionValue()); | 6997 o.add(buildDimensionValue()); |
6950 return o; | 6998 return o; |
6951 } | 6999 } |
6952 | 7000 |
6953 checkUnnamed2793(core.List<api.DimensionValue> o) { | 7001 checkUnnamed2548(core.List<api.DimensionValue> o) { |
6954 unittest.expect(o, unittest.hasLength(2)); | 7002 unittest.expect(o, unittest.hasLength(2)); |
6955 checkDimensionValue(o[0]); | 7003 checkDimensionValue(o[0]); |
6956 checkDimensionValue(o[1]); | 7004 checkDimensionValue(o[1]); |
6957 } | 7005 } |
6958 | 7006 |
6959 buildUnnamed2794() { | 7007 buildUnnamed2549() { |
6960 var o = new core.List<api.SortedDimension>(); | 7008 var o = new core.List<api.SortedDimension>(); |
6961 o.add(buildSortedDimension()); | 7009 o.add(buildSortedDimension()); |
6962 o.add(buildSortedDimension()); | 7010 o.add(buildSortedDimension()); |
6963 return o; | 7011 return o; |
6964 } | 7012 } |
6965 | 7013 |
6966 checkUnnamed2794(core.List<api.SortedDimension> o) { | 7014 checkUnnamed2549(core.List<api.SortedDimension> o) { |
6967 unittest.expect(o, unittest.hasLength(2)); | 7015 unittest.expect(o, unittest.hasLength(2)); |
6968 checkSortedDimension(o[0]); | 7016 checkSortedDimension(o[0]); |
6969 checkSortedDimension(o[1]); | 7017 checkSortedDimension(o[1]); |
6970 } | 7018 } |
6971 | 7019 |
6972 buildUnnamed2795() { | 7020 buildUnnamed2550() { |
6973 var o = new core.List<core.String>(); | 7021 var o = new core.List<core.String>(); |
6974 o.add("foo"); | 7022 o.add("foo"); |
6975 o.add("foo"); | 7023 o.add("foo"); |
6976 return o; | 7024 return o; |
6977 } | 7025 } |
6978 | 7026 |
6979 checkUnnamed2795(core.List<core.String> o) { | 7027 checkUnnamed2550(core.List<core.String> o) { |
6980 unittest.expect(o, unittest.hasLength(2)); | 7028 unittest.expect(o, unittest.hasLength(2)); |
6981 unittest.expect(o[0], unittest.equals('foo')); | 7029 unittest.expect(o[0], unittest.equals('foo')); |
6982 unittest.expect(o[1], unittest.equals('foo')); | 7030 unittest.expect(o[1], unittest.equals('foo')); |
6983 } | 7031 } |
6984 | 7032 |
6985 core.int buildCounterReportFloodlightCriteriaReportProperties = 0; | 7033 core.int buildCounterReportFloodlightCriteriaReportProperties = 0; |
6986 buildReportFloodlightCriteriaReportProperties() { | 7034 buildReportFloodlightCriteriaReportProperties() { |
6987 var o = new api.ReportFloodlightCriteriaReportProperties(); | 7035 var o = new api.ReportFloodlightCriteriaReportProperties(); |
6988 buildCounterReportFloodlightCriteriaReportProperties++; | 7036 buildCounterReportFloodlightCriteriaReportProperties++; |
6989 if (buildCounterReportFloodlightCriteriaReportProperties < 3) { | 7037 if (buildCounterReportFloodlightCriteriaReportProperties < 3) { |
(...skipping 13 matching lines...) Expand all Loading... |
7003 unittest.expect(o.includeUnattributedIPConversions, unittest.isTrue); | 7051 unittest.expect(o.includeUnattributedIPConversions, unittest.isTrue); |
7004 } | 7052 } |
7005 buildCounterReportFloodlightCriteriaReportProperties--; | 7053 buildCounterReportFloodlightCriteriaReportProperties--; |
7006 } | 7054 } |
7007 | 7055 |
7008 core.int buildCounterReportFloodlightCriteria = 0; | 7056 core.int buildCounterReportFloodlightCriteria = 0; |
7009 buildReportFloodlightCriteria() { | 7057 buildReportFloodlightCriteria() { |
7010 var o = new api.ReportFloodlightCriteria(); | 7058 var o = new api.ReportFloodlightCriteria(); |
7011 buildCounterReportFloodlightCriteria++; | 7059 buildCounterReportFloodlightCriteria++; |
7012 if (buildCounterReportFloodlightCriteria < 3) { | 7060 if (buildCounterReportFloodlightCriteria < 3) { |
7013 o.customRichMediaEvents = buildUnnamed2792(); | 7061 o.customRichMediaEvents = buildUnnamed2547(); |
7014 o.dateRange = buildDateRange(); | 7062 o.dateRange = buildDateRange(); |
7015 o.dimensionFilters = buildUnnamed2793(); | 7063 o.dimensionFilters = buildUnnamed2548(); |
7016 o.dimensions = buildUnnamed2794(); | 7064 o.dimensions = buildUnnamed2549(); |
7017 o.floodlightConfigId = buildDimensionValue(); | 7065 o.floodlightConfigId = buildDimensionValue(); |
7018 o.metricNames = buildUnnamed2795(); | 7066 o.metricNames = buildUnnamed2550(); |
7019 o.reportProperties = buildReportFloodlightCriteriaReportProperties(); | 7067 o.reportProperties = buildReportFloodlightCriteriaReportProperties(); |
7020 } | 7068 } |
7021 buildCounterReportFloodlightCriteria--; | 7069 buildCounterReportFloodlightCriteria--; |
7022 return o; | 7070 return o; |
7023 } | 7071 } |
7024 | 7072 |
7025 checkReportFloodlightCriteria(api.ReportFloodlightCriteria o) { | 7073 checkReportFloodlightCriteria(api.ReportFloodlightCriteria o) { |
7026 buildCounterReportFloodlightCriteria++; | 7074 buildCounterReportFloodlightCriteria++; |
7027 if (buildCounterReportFloodlightCriteria < 3) { | 7075 if (buildCounterReportFloodlightCriteria < 3) { |
7028 checkUnnamed2792(o.customRichMediaEvents); | 7076 checkUnnamed2547(o.customRichMediaEvents); |
7029 checkDateRange(o.dateRange); | 7077 checkDateRange(o.dateRange); |
7030 checkUnnamed2793(o.dimensionFilters); | 7078 checkUnnamed2548(o.dimensionFilters); |
7031 checkUnnamed2794(o.dimensions); | 7079 checkUnnamed2549(o.dimensions); |
7032 checkDimensionValue(o.floodlightConfigId); | 7080 checkDimensionValue(o.floodlightConfigId); |
7033 checkUnnamed2795(o.metricNames); | 7081 checkUnnamed2550(o.metricNames); |
7034 checkReportFloodlightCriteriaReportProperties(o.reportProperties); | 7082 checkReportFloodlightCriteriaReportProperties(o.reportProperties); |
7035 } | 7083 } |
7036 buildCounterReportFloodlightCriteria--; | 7084 buildCounterReportFloodlightCriteria--; |
7037 } | 7085 } |
7038 | 7086 |
7039 buildUnnamed2796() { | 7087 buildUnnamed2551() { |
7040 var o = new core.List<api.DimensionValue>(); | 7088 var o = new core.List<api.DimensionValue>(); |
7041 o.add(buildDimensionValue()); | 7089 o.add(buildDimensionValue()); |
7042 o.add(buildDimensionValue()); | 7090 o.add(buildDimensionValue()); |
7043 return o; | 7091 return o; |
7044 } | 7092 } |
7045 | 7093 |
7046 checkUnnamed2796(core.List<api.DimensionValue> o) { | 7094 checkUnnamed2551(core.List<api.DimensionValue> o) { |
7047 unittest.expect(o, unittest.hasLength(2)); | 7095 unittest.expect(o, unittest.hasLength(2)); |
7048 checkDimensionValue(o[0]); | 7096 checkDimensionValue(o[0]); |
7049 checkDimensionValue(o[1]); | 7097 checkDimensionValue(o[1]); |
7050 } | 7098 } |
7051 | 7099 |
7052 buildUnnamed2797() { | 7100 buildUnnamed2552() { |
7053 var o = new core.List<api.SortedDimension>(); | 7101 var o = new core.List<api.SortedDimension>(); |
7054 o.add(buildSortedDimension()); | 7102 o.add(buildSortedDimension()); |
7055 o.add(buildSortedDimension()); | 7103 o.add(buildSortedDimension()); |
7056 return o; | 7104 return o; |
7057 } | 7105 } |
7058 | 7106 |
7059 checkUnnamed2797(core.List<api.SortedDimension> o) { | 7107 checkUnnamed2552(core.List<api.SortedDimension> o) { |
7060 unittest.expect(o, unittest.hasLength(2)); | 7108 unittest.expect(o, unittest.hasLength(2)); |
7061 checkSortedDimension(o[0]); | 7109 checkSortedDimension(o[0]); |
7062 checkSortedDimension(o[1]); | 7110 checkSortedDimension(o[1]); |
7063 } | 7111 } |
7064 | 7112 |
7065 buildUnnamed2798() { | 7113 buildUnnamed2553() { |
7066 var o = new core.List<api.SortedDimension>(); | 7114 var o = new core.List<api.SortedDimension>(); |
7067 o.add(buildSortedDimension()); | 7115 o.add(buildSortedDimension()); |
7068 o.add(buildSortedDimension()); | 7116 o.add(buildSortedDimension()); |
7069 return o; | 7117 return o; |
7070 } | 7118 } |
7071 | 7119 |
7072 checkUnnamed2798(core.List<api.SortedDimension> o) { | 7120 checkUnnamed2553(core.List<api.SortedDimension> o) { |
7073 unittest.expect(o, unittest.hasLength(2)); | 7121 unittest.expect(o, unittest.hasLength(2)); |
7074 checkSortedDimension(o[0]); | 7122 checkSortedDimension(o[0]); |
7075 checkSortedDimension(o[1]); | 7123 checkSortedDimension(o[1]); |
7076 } | 7124 } |
7077 | 7125 |
7078 buildUnnamed2799() { | 7126 buildUnnamed2554() { |
7079 var o = new core.List<api.DimensionValue>(); | 7127 var o = new core.List<api.DimensionValue>(); |
7080 o.add(buildDimensionValue()); | 7128 o.add(buildDimensionValue()); |
7081 o.add(buildDimensionValue()); | 7129 o.add(buildDimensionValue()); |
7082 return o; | 7130 return o; |
7083 } | 7131 } |
7084 | 7132 |
7085 checkUnnamed2799(core.List<api.DimensionValue> o) { | 7133 checkUnnamed2554(core.List<api.DimensionValue> o) { |
7086 unittest.expect(o, unittest.hasLength(2)); | 7134 unittest.expect(o, unittest.hasLength(2)); |
7087 checkDimensionValue(o[0]); | 7135 checkDimensionValue(o[0]); |
7088 checkDimensionValue(o[1]); | 7136 checkDimensionValue(o[1]); |
7089 } | 7137 } |
7090 | 7138 |
7091 buildUnnamed2800() { | 7139 buildUnnamed2555() { |
7092 var o = new core.List<core.String>(); | 7140 var o = new core.List<core.String>(); |
7093 o.add("foo"); | 7141 o.add("foo"); |
7094 o.add("foo"); | 7142 o.add("foo"); |
7095 return o; | 7143 return o; |
7096 } | 7144 } |
7097 | 7145 |
7098 checkUnnamed2800(core.List<core.String> o) { | 7146 checkUnnamed2555(core.List<core.String> o) { |
7099 unittest.expect(o, unittest.hasLength(2)); | 7147 unittest.expect(o, unittest.hasLength(2)); |
7100 unittest.expect(o[0], unittest.equals('foo')); | 7148 unittest.expect(o[0], unittest.equals('foo')); |
7101 unittest.expect(o[1], unittest.equals('foo')); | 7149 unittest.expect(o[1], unittest.equals('foo')); |
7102 } | 7150 } |
7103 | 7151 |
7104 buildUnnamed2801() { | 7152 buildUnnamed2556() { |
7105 var o = new core.List<api.SortedDimension>(); | 7153 var o = new core.List<api.SortedDimension>(); |
7106 o.add(buildSortedDimension()); | 7154 o.add(buildSortedDimension()); |
7107 o.add(buildSortedDimension()); | 7155 o.add(buildSortedDimension()); |
7108 return o; | 7156 return o; |
7109 } | 7157 } |
7110 | 7158 |
7111 checkUnnamed2801(core.List<api.SortedDimension> o) { | 7159 checkUnnamed2556(core.List<api.SortedDimension> o) { |
7112 unittest.expect(o, unittest.hasLength(2)); | 7160 unittest.expect(o, unittest.hasLength(2)); |
7113 checkSortedDimension(o[0]); | 7161 checkSortedDimension(o[0]); |
7114 checkSortedDimension(o[1]); | 7162 checkSortedDimension(o[1]); |
7115 } | 7163 } |
7116 | 7164 |
7117 core.int buildCounterReportPathToConversionCriteriaReportProperties = 0; | 7165 core.int buildCounterReportPathToConversionCriteriaReportProperties = 0; |
7118 buildReportPathToConversionCriteriaReportProperties() { | 7166 buildReportPathToConversionCriteriaReportProperties() { |
7119 var o = new api.ReportPathToConversionCriteriaReportProperties(); | 7167 var o = new api.ReportPathToConversionCriteriaReportProperties(); |
7120 buildCounterReportPathToConversionCriteriaReportProperties++; | 7168 buildCounterReportPathToConversionCriteriaReportProperties++; |
7121 if (buildCounterReportPathToConversionCriteriaReportProperties < 3) { | 7169 if (buildCounterReportPathToConversionCriteriaReportProperties < 3) { |
(...skipping 25 matching lines...) Expand all Loading... |
7147 unittest.expect(o.pivotOnInteractionPath, unittest.isTrue); | 7195 unittest.expect(o.pivotOnInteractionPath, unittest.isTrue); |
7148 } | 7196 } |
7149 buildCounterReportPathToConversionCriteriaReportProperties--; | 7197 buildCounterReportPathToConversionCriteriaReportProperties--; |
7150 } | 7198 } |
7151 | 7199 |
7152 core.int buildCounterReportPathToConversionCriteria = 0; | 7200 core.int buildCounterReportPathToConversionCriteria = 0; |
7153 buildReportPathToConversionCriteria() { | 7201 buildReportPathToConversionCriteria() { |
7154 var o = new api.ReportPathToConversionCriteria(); | 7202 var o = new api.ReportPathToConversionCriteria(); |
7155 buildCounterReportPathToConversionCriteria++; | 7203 buildCounterReportPathToConversionCriteria++; |
7156 if (buildCounterReportPathToConversionCriteria < 3) { | 7204 if (buildCounterReportPathToConversionCriteria < 3) { |
7157 o.activityFilters = buildUnnamed2796(); | 7205 o.activityFilters = buildUnnamed2551(); |
7158 o.conversionDimensions = buildUnnamed2797(); | 7206 o.conversionDimensions = buildUnnamed2552(); |
7159 o.customFloodlightVariables = buildUnnamed2798(); | 7207 o.customFloodlightVariables = buildUnnamed2553(); |
7160 o.customRichMediaEvents = buildUnnamed2799(); | 7208 o.customRichMediaEvents = buildUnnamed2554(); |
7161 o.dateRange = buildDateRange(); | 7209 o.dateRange = buildDateRange(); |
7162 o.floodlightConfigId = buildDimensionValue(); | 7210 o.floodlightConfigId = buildDimensionValue(); |
7163 o.metricNames = buildUnnamed2800(); | 7211 o.metricNames = buildUnnamed2555(); |
7164 o.perInteractionDimensions = buildUnnamed2801(); | 7212 o.perInteractionDimensions = buildUnnamed2556(); |
7165 o.reportProperties = buildReportPathToConversionCriteriaReportProperties(); | 7213 o.reportProperties = buildReportPathToConversionCriteriaReportProperties(); |
7166 } | 7214 } |
7167 buildCounterReportPathToConversionCriteria--; | 7215 buildCounterReportPathToConversionCriteria--; |
7168 return o; | 7216 return o; |
7169 } | 7217 } |
7170 | 7218 |
7171 checkReportPathToConversionCriteria(api.ReportPathToConversionCriteria o) { | 7219 checkReportPathToConversionCriteria(api.ReportPathToConversionCriteria o) { |
7172 buildCounterReportPathToConversionCriteria++; | 7220 buildCounterReportPathToConversionCriteria++; |
7173 if (buildCounterReportPathToConversionCriteria < 3) { | 7221 if (buildCounterReportPathToConversionCriteria < 3) { |
7174 checkUnnamed2796(o.activityFilters); | 7222 checkUnnamed2551(o.activityFilters); |
7175 checkUnnamed2797(o.conversionDimensions); | 7223 checkUnnamed2552(o.conversionDimensions); |
7176 checkUnnamed2798(o.customFloodlightVariables); | 7224 checkUnnamed2553(o.customFloodlightVariables); |
7177 checkUnnamed2799(o.customRichMediaEvents); | 7225 checkUnnamed2554(o.customRichMediaEvents); |
7178 checkDateRange(o.dateRange); | 7226 checkDateRange(o.dateRange); |
7179 checkDimensionValue(o.floodlightConfigId); | 7227 checkDimensionValue(o.floodlightConfigId); |
7180 checkUnnamed2800(o.metricNames); | 7228 checkUnnamed2555(o.metricNames); |
7181 checkUnnamed2801(o.perInteractionDimensions); | 7229 checkUnnamed2556(o.perInteractionDimensions); |
7182 checkReportPathToConversionCriteriaReportProperties(o.reportProperties); | 7230 checkReportPathToConversionCriteriaReportProperties(o.reportProperties); |
7183 } | 7231 } |
7184 buildCounterReportPathToConversionCriteria--; | 7232 buildCounterReportPathToConversionCriteria--; |
7185 } | 7233 } |
7186 | 7234 |
7187 buildUnnamed2802() { | 7235 buildUnnamed2557() { |
7188 var o = new core.List<api.DimensionValue>(); | 7236 var o = new core.List<api.DimensionValue>(); |
7189 o.add(buildDimensionValue()); | 7237 o.add(buildDimensionValue()); |
7190 o.add(buildDimensionValue()); | 7238 o.add(buildDimensionValue()); |
7191 return o; | 7239 return o; |
7192 } | 7240 } |
7193 | 7241 |
7194 checkUnnamed2802(core.List<api.DimensionValue> o) { | 7242 checkUnnamed2557(core.List<api.DimensionValue> o) { |
7195 unittest.expect(o, unittest.hasLength(2)); | 7243 unittest.expect(o, unittest.hasLength(2)); |
7196 checkDimensionValue(o[0]); | 7244 checkDimensionValue(o[0]); |
7197 checkDimensionValue(o[1]); | 7245 checkDimensionValue(o[1]); |
7198 } | 7246 } |
7199 | 7247 |
7200 buildUnnamed2803() { | 7248 buildUnnamed2558() { |
7201 var o = new core.List<api.SortedDimension>(); | 7249 var o = new core.List<api.SortedDimension>(); |
7202 o.add(buildSortedDimension()); | 7250 o.add(buildSortedDimension()); |
7203 o.add(buildSortedDimension()); | 7251 o.add(buildSortedDimension()); |
7204 return o; | 7252 return o; |
7205 } | 7253 } |
7206 | 7254 |
7207 checkUnnamed2803(core.List<api.SortedDimension> o) { | 7255 checkUnnamed2558(core.List<api.SortedDimension> o) { |
7208 unittest.expect(o, unittest.hasLength(2)); | 7256 unittest.expect(o, unittest.hasLength(2)); |
7209 checkSortedDimension(o[0]); | 7257 checkSortedDimension(o[0]); |
7210 checkSortedDimension(o[1]); | 7258 checkSortedDimension(o[1]); |
7211 } | 7259 } |
7212 | 7260 |
7213 buildUnnamed2804() { | 7261 buildUnnamed2559() { |
7214 var o = new core.List<core.String>(); | 7262 var o = new core.List<core.String>(); |
7215 o.add("foo"); | 7263 o.add("foo"); |
7216 o.add("foo"); | 7264 o.add("foo"); |
7217 return o; | 7265 return o; |
7218 } | 7266 } |
7219 | 7267 |
7220 checkUnnamed2804(core.List<core.String> o) { | 7268 checkUnnamed2559(core.List<core.String> o) { |
7221 unittest.expect(o, unittest.hasLength(2)); | 7269 unittest.expect(o, unittest.hasLength(2)); |
7222 unittest.expect(o[0], unittest.equals('foo')); | 7270 unittest.expect(o[0], unittest.equals('foo')); |
7223 unittest.expect(o[1], unittest.equals('foo')); | 7271 unittest.expect(o[1], unittest.equals('foo')); |
7224 } | 7272 } |
7225 | 7273 |
7226 buildUnnamed2805() { | 7274 buildUnnamed2560() { |
7227 var o = new core.List<core.String>(); | 7275 var o = new core.List<core.String>(); |
7228 o.add("foo"); | 7276 o.add("foo"); |
7229 o.add("foo"); | 7277 o.add("foo"); |
7230 return o; | 7278 return o; |
7231 } | 7279 } |
7232 | 7280 |
7233 checkUnnamed2805(core.List<core.String> o) { | 7281 checkUnnamed2560(core.List<core.String> o) { |
7234 unittest.expect(o, unittest.hasLength(2)); | 7282 unittest.expect(o, unittest.hasLength(2)); |
7235 unittest.expect(o[0], unittest.equals('foo')); | 7283 unittest.expect(o[0], unittest.equals('foo')); |
7236 unittest.expect(o[1], unittest.equals('foo')); | 7284 unittest.expect(o[1], unittest.equals('foo')); |
7237 } | 7285 } |
7238 | 7286 |
7239 core.int buildCounterReportReachCriteria = 0; | 7287 core.int buildCounterReportReachCriteria = 0; |
7240 buildReportReachCriteria() { | 7288 buildReportReachCriteria() { |
7241 var o = new api.ReportReachCriteria(); | 7289 var o = new api.ReportReachCriteria(); |
7242 buildCounterReportReachCriteria++; | 7290 buildCounterReportReachCriteria++; |
7243 if (buildCounterReportReachCriteria < 3) { | 7291 if (buildCounterReportReachCriteria < 3) { |
7244 o.activities = buildActivities(); | 7292 o.activities = buildActivities(); |
7245 o.customRichMediaEvents = buildCustomRichMediaEvents(); | 7293 o.customRichMediaEvents = buildCustomRichMediaEvents(); |
7246 o.dateRange = buildDateRange(); | 7294 o.dateRange = buildDateRange(); |
7247 o.dimensionFilters = buildUnnamed2802(); | 7295 o.dimensionFilters = buildUnnamed2557(); |
7248 o.dimensions = buildUnnamed2803(); | 7296 o.dimensions = buildUnnamed2558(); |
7249 o.enableAllDimensionCombinations = true; | 7297 o.enableAllDimensionCombinations = true; |
7250 o.metricNames = buildUnnamed2804(); | 7298 o.metricNames = buildUnnamed2559(); |
7251 o.reachByFrequencyMetricNames = buildUnnamed2805(); | 7299 o.reachByFrequencyMetricNames = buildUnnamed2560(); |
7252 } | 7300 } |
7253 buildCounterReportReachCriteria--; | 7301 buildCounterReportReachCriteria--; |
7254 return o; | 7302 return o; |
7255 } | 7303 } |
7256 | 7304 |
7257 checkReportReachCriteria(api.ReportReachCriteria o) { | 7305 checkReportReachCriteria(api.ReportReachCriteria o) { |
7258 buildCounterReportReachCriteria++; | 7306 buildCounterReportReachCriteria++; |
7259 if (buildCounterReportReachCriteria < 3) { | 7307 if (buildCounterReportReachCriteria < 3) { |
7260 checkActivities(o.activities); | 7308 checkActivities(o.activities); |
7261 checkCustomRichMediaEvents(o.customRichMediaEvents); | 7309 checkCustomRichMediaEvents(o.customRichMediaEvents); |
7262 checkDateRange(o.dateRange); | 7310 checkDateRange(o.dateRange); |
7263 checkUnnamed2802(o.dimensionFilters); | 7311 checkUnnamed2557(o.dimensionFilters); |
7264 checkUnnamed2803(o.dimensions); | 7312 checkUnnamed2558(o.dimensions); |
7265 unittest.expect(o.enableAllDimensionCombinations, unittest.isTrue); | 7313 unittest.expect(o.enableAllDimensionCombinations, unittest.isTrue); |
7266 checkUnnamed2804(o.metricNames); | 7314 checkUnnamed2559(o.metricNames); |
7267 checkUnnamed2805(o.reachByFrequencyMetricNames); | 7315 checkUnnamed2560(o.reachByFrequencyMetricNames); |
7268 } | 7316 } |
7269 buildCounterReportReachCriteria--; | 7317 buildCounterReportReachCriteria--; |
7270 } | 7318 } |
7271 | 7319 |
7272 buildUnnamed2806() { | 7320 buildUnnamed2561() { |
7273 var o = new core.List<core.String>(); | 7321 var o = new core.List<core.String>(); |
7274 o.add("foo"); | 7322 o.add("foo"); |
7275 o.add("foo"); | 7323 o.add("foo"); |
7276 return o; | 7324 return o; |
7277 } | 7325 } |
7278 | 7326 |
7279 checkUnnamed2806(core.List<core.String> o) { | 7327 checkUnnamed2561(core.List<core.String> o) { |
7280 unittest.expect(o, unittest.hasLength(2)); | 7328 unittest.expect(o, unittest.hasLength(2)); |
7281 unittest.expect(o[0], unittest.equals('foo')); | 7329 unittest.expect(o[0], unittest.equals('foo')); |
7282 unittest.expect(o[1], unittest.equals('foo')); | 7330 unittest.expect(o[1], unittest.equals('foo')); |
7283 } | 7331 } |
7284 | 7332 |
7285 core.int buildCounterReportSchedule = 0; | 7333 core.int buildCounterReportSchedule = 0; |
7286 buildReportSchedule() { | 7334 buildReportSchedule() { |
7287 var o = new api.ReportSchedule(); | 7335 var o = new api.ReportSchedule(); |
7288 buildCounterReportSchedule++; | 7336 buildCounterReportSchedule++; |
7289 if (buildCounterReportSchedule < 3) { | 7337 if (buildCounterReportSchedule < 3) { |
7290 o.active = true; | 7338 o.active = true; |
7291 o.every = 42; | 7339 o.every = 42; |
7292 o.expirationDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 7340 o.expirationDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
7293 o.repeats = "foo"; | 7341 o.repeats = "foo"; |
7294 o.repeatsOnWeekDays = buildUnnamed2806(); | 7342 o.repeatsOnWeekDays = buildUnnamed2561(); |
7295 o.runsOnDayOfMonth = "foo"; | 7343 o.runsOnDayOfMonth = "foo"; |
7296 o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 7344 o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
7297 } | 7345 } |
7298 buildCounterReportSchedule--; | 7346 buildCounterReportSchedule--; |
7299 return o; | 7347 return o; |
7300 } | 7348 } |
7301 | 7349 |
7302 checkReportSchedule(api.ReportSchedule o) { | 7350 checkReportSchedule(api.ReportSchedule o) { |
7303 buildCounterReportSchedule++; | 7351 buildCounterReportSchedule++; |
7304 if (buildCounterReportSchedule < 3) { | 7352 if (buildCounterReportSchedule < 3) { |
7305 unittest.expect(o.active, unittest.isTrue); | 7353 unittest.expect(o.active, unittest.isTrue); |
7306 unittest.expect(o.every, unittest.equals(42)); | 7354 unittest.expect(o.every, unittest.equals(42)); |
7307 unittest.expect(o.expirationDate, unittest.equals(core.DateTime.parse("2002-
02-27T00:00:00"))); | 7355 unittest.expect(o.expirationDate, unittest.equals(core.DateTime.parse("2002-
02-27T00:00:00"))); |
7308 unittest.expect(o.repeats, unittest.equals('foo')); | 7356 unittest.expect(o.repeats, unittest.equals('foo')); |
7309 checkUnnamed2806(o.repeatsOnWeekDays); | 7357 checkUnnamed2561(o.repeatsOnWeekDays); |
7310 unittest.expect(o.runsOnDayOfMonth, unittest.equals('foo')); | 7358 unittest.expect(o.runsOnDayOfMonth, unittest.equals('foo')); |
7311 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); | 7359 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); |
7312 } | 7360 } |
7313 buildCounterReportSchedule--; | 7361 buildCounterReportSchedule--; |
7314 } | 7362 } |
7315 | 7363 |
7316 core.int buildCounterReport = 0; | 7364 core.int buildCounterReport = 0; |
7317 buildReport() { | 7365 buildReport() { |
7318 var o = new api.Report(); | 7366 var o = new api.Report(); |
7319 buildCounterReport++; | 7367 buildCounterReport++; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7359 unittest.expect(o.ownerProfileId, unittest.equals('foo')); | 7407 unittest.expect(o.ownerProfileId, unittest.equals('foo')); |
7360 checkReportPathToConversionCriteria(o.pathToConversionCriteria); | 7408 checkReportPathToConversionCriteria(o.pathToConversionCriteria); |
7361 checkReportReachCriteria(o.reachCriteria); | 7409 checkReportReachCriteria(o.reachCriteria); |
7362 checkReportSchedule(o.schedule); | 7410 checkReportSchedule(o.schedule); |
7363 unittest.expect(o.subAccountId, unittest.equals('foo')); | 7411 unittest.expect(o.subAccountId, unittest.equals('foo')); |
7364 unittest.expect(o.type, unittest.equals('foo')); | 7412 unittest.expect(o.type, unittest.equals('foo')); |
7365 } | 7413 } |
7366 buildCounterReport--; | 7414 buildCounterReport--; |
7367 } | 7415 } |
7368 | 7416 |
7369 buildUnnamed2807() { | 7417 buildUnnamed2562() { |
7370 var o = new core.List<api.Dimension>(); | 7418 var o = new core.List<api.Dimension>(); |
7371 o.add(buildDimension()); | 7419 o.add(buildDimension()); |
7372 o.add(buildDimension()); | 7420 o.add(buildDimension()); |
7373 return o; | 7421 return o; |
7374 } | 7422 } |
7375 | 7423 |
7376 checkUnnamed2807(core.List<api.Dimension> o) { | 7424 checkUnnamed2562(core.List<api.Dimension> o) { |
7377 unittest.expect(o, unittest.hasLength(2)); | 7425 unittest.expect(o, unittest.hasLength(2)); |
7378 checkDimension(o[0]); | 7426 checkDimension(o[0]); |
7379 checkDimension(o[1]); | 7427 checkDimension(o[1]); |
7380 } | 7428 } |
7381 | 7429 |
7382 buildUnnamed2808() { | 7430 buildUnnamed2563() { |
7383 var o = new core.List<api.Dimension>(); | 7431 var o = new core.List<api.Dimension>(); |
7384 o.add(buildDimension()); | 7432 o.add(buildDimension()); |
7385 o.add(buildDimension()); | 7433 o.add(buildDimension()); |
7386 return o; | 7434 return o; |
7387 } | 7435 } |
7388 | 7436 |
7389 checkUnnamed2808(core.List<api.Dimension> o) { | 7437 checkUnnamed2563(core.List<api.Dimension> o) { |
7390 unittest.expect(o, unittest.hasLength(2)); | 7438 unittest.expect(o, unittest.hasLength(2)); |
7391 checkDimension(o[0]); | 7439 checkDimension(o[0]); |
7392 checkDimension(o[1]); | 7440 checkDimension(o[1]); |
7393 } | 7441 } |
7394 | 7442 |
7395 buildUnnamed2809() { | 7443 buildUnnamed2564() { |
7396 var o = new core.List<api.Metric>(); | 7444 var o = new core.List<api.Metric>(); |
7397 o.add(buildMetric()); | 7445 o.add(buildMetric()); |
7398 o.add(buildMetric()); | 7446 o.add(buildMetric()); |
7399 return o; | 7447 return o; |
7400 } | 7448 } |
7401 | 7449 |
7402 checkUnnamed2809(core.List<api.Metric> o) { | 7450 checkUnnamed2564(core.List<api.Metric> o) { |
7403 unittest.expect(o, unittest.hasLength(2)); | 7451 unittest.expect(o, unittest.hasLength(2)); |
7404 checkMetric(o[0]); | 7452 checkMetric(o[0]); |
7405 checkMetric(o[1]); | 7453 checkMetric(o[1]); |
7406 } | 7454 } |
7407 | 7455 |
7408 buildUnnamed2810() { | 7456 buildUnnamed2565() { |
7409 var o = new core.List<api.Metric>(); | 7457 var o = new core.List<api.Metric>(); |
7410 o.add(buildMetric()); | 7458 o.add(buildMetric()); |
7411 o.add(buildMetric()); | 7459 o.add(buildMetric()); |
7412 return o; | 7460 return o; |
7413 } | 7461 } |
7414 | 7462 |
7415 checkUnnamed2810(core.List<api.Metric> o) { | 7463 checkUnnamed2565(core.List<api.Metric> o) { |
7416 unittest.expect(o, unittest.hasLength(2)); | 7464 unittest.expect(o, unittest.hasLength(2)); |
7417 checkMetric(o[0]); | 7465 checkMetric(o[0]); |
7418 checkMetric(o[1]); | 7466 checkMetric(o[1]); |
7419 } | 7467 } |
7420 | 7468 |
7421 core.int buildCounterReportCompatibleFields = 0; | 7469 core.int buildCounterReportCompatibleFields = 0; |
7422 buildReportCompatibleFields() { | 7470 buildReportCompatibleFields() { |
7423 var o = new api.ReportCompatibleFields(); | 7471 var o = new api.ReportCompatibleFields(); |
7424 buildCounterReportCompatibleFields++; | 7472 buildCounterReportCompatibleFields++; |
7425 if (buildCounterReportCompatibleFields < 3) { | 7473 if (buildCounterReportCompatibleFields < 3) { |
7426 o.dimensionFilters = buildUnnamed2807(); | 7474 o.dimensionFilters = buildUnnamed2562(); |
7427 o.dimensions = buildUnnamed2808(); | 7475 o.dimensions = buildUnnamed2563(); |
7428 o.kind = "foo"; | 7476 o.kind = "foo"; |
7429 o.metrics = buildUnnamed2809(); | 7477 o.metrics = buildUnnamed2564(); |
7430 o.pivotedActivityMetrics = buildUnnamed2810(); | 7478 o.pivotedActivityMetrics = buildUnnamed2565(); |
7431 } | 7479 } |
7432 buildCounterReportCompatibleFields--; | 7480 buildCounterReportCompatibleFields--; |
7433 return o; | 7481 return o; |
7434 } | 7482 } |
7435 | 7483 |
7436 checkReportCompatibleFields(api.ReportCompatibleFields o) { | 7484 checkReportCompatibleFields(api.ReportCompatibleFields o) { |
7437 buildCounterReportCompatibleFields++; | 7485 buildCounterReportCompatibleFields++; |
7438 if (buildCounterReportCompatibleFields < 3) { | 7486 if (buildCounterReportCompatibleFields < 3) { |
7439 checkUnnamed2807(o.dimensionFilters); | 7487 checkUnnamed2562(o.dimensionFilters); |
7440 checkUnnamed2808(o.dimensions); | 7488 checkUnnamed2563(o.dimensions); |
7441 unittest.expect(o.kind, unittest.equals('foo')); | 7489 unittest.expect(o.kind, unittest.equals('foo')); |
7442 checkUnnamed2809(o.metrics); | 7490 checkUnnamed2564(o.metrics); |
7443 checkUnnamed2810(o.pivotedActivityMetrics); | 7491 checkUnnamed2565(o.pivotedActivityMetrics); |
7444 } | 7492 } |
7445 buildCounterReportCompatibleFields--; | 7493 buildCounterReportCompatibleFields--; |
7446 } | 7494 } |
7447 | 7495 |
7448 buildUnnamed2811() { | 7496 buildUnnamed2566() { |
7449 var o = new core.List<api.Report>(); | 7497 var o = new core.List<api.Report>(); |
7450 o.add(buildReport()); | 7498 o.add(buildReport()); |
7451 o.add(buildReport()); | 7499 o.add(buildReport()); |
7452 return o; | 7500 return o; |
7453 } | 7501 } |
7454 | 7502 |
7455 checkUnnamed2811(core.List<api.Report> o) { | 7503 checkUnnamed2566(core.List<api.Report> o) { |
7456 unittest.expect(o, unittest.hasLength(2)); | 7504 unittest.expect(o, unittest.hasLength(2)); |
7457 checkReport(o[0]); | 7505 checkReport(o[0]); |
7458 checkReport(o[1]); | 7506 checkReport(o[1]); |
7459 } | 7507 } |
7460 | 7508 |
7461 core.int buildCounterReportList = 0; | 7509 core.int buildCounterReportList = 0; |
7462 buildReportList() { | 7510 buildReportList() { |
7463 var o = new api.ReportList(); | 7511 var o = new api.ReportList(); |
7464 buildCounterReportList++; | 7512 buildCounterReportList++; |
7465 if (buildCounterReportList < 3) { | 7513 if (buildCounterReportList < 3) { |
7466 o.etag = "foo"; | 7514 o.etag = "foo"; |
7467 o.items = buildUnnamed2811(); | 7515 o.items = buildUnnamed2566(); |
7468 o.kind = "foo"; | 7516 o.kind = "foo"; |
7469 o.nextPageToken = "foo"; | 7517 o.nextPageToken = "foo"; |
7470 } | 7518 } |
7471 buildCounterReportList--; | 7519 buildCounterReportList--; |
7472 return o; | 7520 return o; |
7473 } | 7521 } |
7474 | 7522 |
7475 checkReportList(api.ReportList o) { | 7523 checkReportList(api.ReportList o) { |
7476 buildCounterReportList++; | 7524 buildCounterReportList++; |
7477 if (buildCounterReportList < 3) { | 7525 if (buildCounterReportList < 3) { |
7478 unittest.expect(o.etag, unittest.equals('foo')); | 7526 unittest.expect(o.etag, unittest.equals('foo')); |
7479 checkUnnamed2811(o.items); | 7527 checkUnnamed2566(o.items); |
7480 unittest.expect(o.kind, unittest.equals('foo')); | 7528 unittest.expect(o.kind, unittest.equals('foo')); |
7481 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 7529 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
7482 } | 7530 } |
7483 buildCounterReportList--; | 7531 buildCounterReportList--; |
7484 } | 7532 } |
7485 | 7533 |
7486 core.int buildCounterReportsConfiguration = 0; | 7534 core.int buildCounterReportsConfiguration = 0; |
7487 buildReportsConfiguration() { | 7535 buildReportsConfiguration() { |
7488 var o = new api.ReportsConfiguration(); | 7536 var o = new api.ReportsConfiguration(); |
7489 buildCounterReportsConfiguration++; | 7537 buildCounterReportsConfiguration++; |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7545 checkRule(api.Rule o) { | 7593 checkRule(api.Rule o) { |
7546 buildCounterRule++; | 7594 buildCounterRule++; |
7547 if (buildCounterRule < 3) { | 7595 if (buildCounterRule < 3) { |
7548 unittest.expect(o.assetId, unittest.equals('foo')); | 7596 unittest.expect(o.assetId, unittest.equals('foo')); |
7549 unittest.expect(o.name, unittest.equals('foo')); | 7597 unittest.expect(o.name, unittest.equals('foo')); |
7550 unittest.expect(o.targetingTemplateId, unittest.equals('foo')); | 7598 unittest.expect(o.targetingTemplateId, unittest.equals('foo')); |
7551 } | 7599 } |
7552 buildCounterRule--; | 7600 buildCounterRule--; |
7553 } | 7601 } |
7554 | 7602 |
7555 buildUnnamed2812() { | 7603 buildUnnamed2567() { |
7556 var o = new core.List<api.SiteContact>(); | 7604 var o = new core.List<api.SiteContact>(); |
7557 o.add(buildSiteContact()); | 7605 o.add(buildSiteContact()); |
7558 o.add(buildSiteContact()); | 7606 o.add(buildSiteContact()); |
7559 return o; | 7607 return o; |
7560 } | 7608 } |
7561 | 7609 |
7562 checkUnnamed2812(core.List<api.SiteContact> o) { | 7610 checkUnnamed2567(core.List<api.SiteContact> o) { |
7563 unittest.expect(o, unittest.hasLength(2)); | 7611 unittest.expect(o, unittest.hasLength(2)); |
7564 checkSiteContact(o[0]); | 7612 checkSiteContact(o[0]); |
7565 checkSiteContact(o[1]); | 7613 checkSiteContact(o[1]); |
7566 } | 7614 } |
7567 | 7615 |
7568 core.int buildCounterSite = 0; | 7616 core.int buildCounterSite = 0; |
7569 buildSite() { | 7617 buildSite() { |
7570 var o = new api.Site(); | 7618 var o = new api.Site(); |
7571 buildCounterSite++; | 7619 buildCounterSite++; |
7572 if (buildCounterSite < 3) { | 7620 if (buildCounterSite < 3) { |
7573 o.accountId = "foo"; | 7621 o.accountId = "foo"; |
7574 o.approved = true; | 7622 o.approved = true; |
7575 o.directorySiteId = "foo"; | 7623 o.directorySiteId = "foo"; |
7576 o.directorySiteIdDimensionValue = buildDimensionValue(); | 7624 o.directorySiteIdDimensionValue = buildDimensionValue(); |
7577 o.id = "foo"; | 7625 o.id = "foo"; |
7578 o.idDimensionValue = buildDimensionValue(); | 7626 o.idDimensionValue = buildDimensionValue(); |
7579 o.keyName = "foo"; | 7627 o.keyName = "foo"; |
7580 o.kind = "foo"; | 7628 o.kind = "foo"; |
7581 o.name = "foo"; | 7629 o.name = "foo"; |
7582 o.siteContacts = buildUnnamed2812(); | 7630 o.siteContacts = buildUnnamed2567(); |
7583 o.siteSettings = buildSiteSettings(); | 7631 o.siteSettings = buildSiteSettings(); |
7584 o.subaccountId = "foo"; | 7632 o.subaccountId = "foo"; |
7585 } | 7633 } |
7586 buildCounterSite--; | 7634 buildCounterSite--; |
7587 return o; | 7635 return o; |
7588 } | 7636 } |
7589 | 7637 |
7590 checkSite(api.Site o) { | 7638 checkSite(api.Site o) { |
7591 buildCounterSite++; | 7639 buildCounterSite++; |
7592 if (buildCounterSite < 3) { | 7640 if (buildCounterSite < 3) { |
7593 unittest.expect(o.accountId, unittest.equals('foo')); | 7641 unittest.expect(o.accountId, unittest.equals('foo')); |
7594 unittest.expect(o.approved, unittest.isTrue); | 7642 unittest.expect(o.approved, unittest.isTrue); |
7595 unittest.expect(o.directorySiteId, unittest.equals('foo')); | 7643 unittest.expect(o.directorySiteId, unittest.equals('foo')); |
7596 checkDimensionValue(o.directorySiteIdDimensionValue); | 7644 checkDimensionValue(o.directorySiteIdDimensionValue); |
7597 unittest.expect(o.id, unittest.equals('foo')); | 7645 unittest.expect(o.id, unittest.equals('foo')); |
7598 checkDimensionValue(o.idDimensionValue); | 7646 checkDimensionValue(o.idDimensionValue); |
7599 unittest.expect(o.keyName, unittest.equals('foo')); | 7647 unittest.expect(o.keyName, unittest.equals('foo')); |
7600 unittest.expect(o.kind, unittest.equals('foo')); | 7648 unittest.expect(o.kind, unittest.equals('foo')); |
7601 unittest.expect(o.name, unittest.equals('foo')); | 7649 unittest.expect(o.name, unittest.equals('foo')); |
7602 checkUnnamed2812(o.siteContacts); | 7650 checkUnnamed2567(o.siteContacts); |
7603 checkSiteSettings(o.siteSettings); | 7651 checkSiteSettings(o.siteSettings); |
7604 unittest.expect(o.subaccountId, unittest.equals('foo')); | 7652 unittest.expect(o.subaccountId, unittest.equals('foo')); |
7605 } | 7653 } |
7606 buildCounterSite--; | 7654 buildCounterSite--; |
7607 } | 7655 } |
7608 | 7656 |
7609 core.int buildCounterSiteContact = 0; | 7657 core.int buildCounterSiteContact = 0; |
7610 buildSiteContact() { | 7658 buildSiteContact() { |
7611 var o = new api.SiteContact(); | 7659 var o = new api.SiteContact(); |
7612 buildCounterSiteContact++; | 7660 buildCounterSiteContact++; |
(...skipping 30 matching lines...) Expand all Loading... |
7643 buildSiteSettings() { | 7691 buildSiteSettings() { |
7644 var o = new api.SiteSettings(); | 7692 var o = new api.SiteSettings(); |
7645 buildCounterSiteSettings++; | 7693 buildCounterSiteSettings++; |
7646 if (buildCounterSiteSettings < 3) { | 7694 if (buildCounterSiteSettings < 3) { |
7647 o.activeViewOptOut = true; | 7695 o.activeViewOptOut = true; |
7648 o.creativeSettings = buildCreativeSettings(); | 7696 o.creativeSettings = buildCreativeSettings(); |
7649 o.disableBrandSafeAds = true; | 7697 o.disableBrandSafeAds = true; |
7650 o.disableNewCookie = true; | 7698 o.disableNewCookie = true; |
7651 o.lookbackConfiguration = buildLookbackConfiguration(); | 7699 o.lookbackConfiguration = buildLookbackConfiguration(); |
7652 o.tagSetting = buildTagSetting(); | 7700 o.tagSetting = buildTagSetting(); |
7653 o.videoActiveViewOptOut = true; | 7701 o.videoActiveViewOptOutTemplate = true; |
| 7702 o.vpaidAdapterChoiceTemplate = "foo"; |
7654 } | 7703 } |
7655 buildCounterSiteSettings--; | 7704 buildCounterSiteSettings--; |
7656 return o; | 7705 return o; |
7657 } | 7706 } |
7658 | 7707 |
7659 checkSiteSettings(api.SiteSettings o) { | 7708 checkSiteSettings(api.SiteSettings o) { |
7660 buildCounterSiteSettings++; | 7709 buildCounterSiteSettings++; |
7661 if (buildCounterSiteSettings < 3) { | 7710 if (buildCounterSiteSettings < 3) { |
7662 unittest.expect(o.activeViewOptOut, unittest.isTrue); | 7711 unittest.expect(o.activeViewOptOut, unittest.isTrue); |
7663 checkCreativeSettings(o.creativeSettings); | 7712 checkCreativeSettings(o.creativeSettings); |
7664 unittest.expect(o.disableBrandSafeAds, unittest.isTrue); | 7713 unittest.expect(o.disableBrandSafeAds, unittest.isTrue); |
7665 unittest.expect(o.disableNewCookie, unittest.isTrue); | 7714 unittest.expect(o.disableNewCookie, unittest.isTrue); |
7666 checkLookbackConfiguration(o.lookbackConfiguration); | 7715 checkLookbackConfiguration(o.lookbackConfiguration); |
7667 checkTagSetting(o.tagSetting); | 7716 checkTagSetting(o.tagSetting); |
7668 unittest.expect(o.videoActiveViewOptOut, unittest.isTrue); | 7717 unittest.expect(o.videoActiveViewOptOutTemplate, unittest.isTrue); |
| 7718 unittest.expect(o.vpaidAdapterChoiceTemplate, unittest.equals('foo')); |
7669 } | 7719 } |
7670 buildCounterSiteSettings--; | 7720 buildCounterSiteSettings--; |
7671 } | 7721 } |
7672 | 7722 |
7673 buildUnnamed2813() { | 7723 buildUnnamed2568() { |
7674 var o = new core.List<api.Site>(); | 7724 var o = new core.List<api.Site>(); |
7675 o.add(buildSite()); | 7725 o.add(buildSite()); |
7676 o.add(buildSite()); | 7726 o.add(buildSite()); |
7677 return o; | 7727 return o; |
7678 } | 7728 } |
7679 | 7729 |
7680 checkUnnamed2813(core.List<api.Site> o) { | 7730 checkUnnamed2568(core.List<api.Site> o) { |
7681 unittest.expect(o, unittest.hasLength(2)); | 7731 unittest.expect(o, unittest.hasLength(2)); |
7682 checkSite(o[0]); | 7732 checkSite(o[0]); |
7683 checkSite(o[1]); | 7733 checkSite(o[1]); |
7684 } | 7734 } |
7685 | 7735 |
7686 core.int buildCounterSitesListResponse = 0; | 7736 core.int buildCounterSitesListResponse = 0; |
7687 buildSitesListResponse() { | 7737 buildSitesListResponse() { |
7688 var o = new api.SitesListResponse(); | 7738 var o = new api.SitesListResponse(); |
7689 buildCounterSitesListResponse++; | 7739 buildCounterSitesListResponse++; |
7690 if (buildCounterSitesListResponse < 3) { | 7740 if (buildCounterSitesListResponse < 3) { |
7691 o.kind = "foo"; | 7741 o.kind = "foo"; |
7692 o.nextPageToken = "foo"; | 7742 o.nextPageToken = "foo"; |
7693 o.sites = buildUnnamed2813(); | 7743 o.sites = buildUnnamed2568(); |
7694 } | 7744 } |
7695 buildCounterSitesListResponse--; | 7745 buildCounterSitesListResponse--; |
7696 return o; | 7746 return o; |
7697 } | 7747 } |
7698 | 7748 |
7699 checkSitesListResponse(api.SitesListResponse o) { | 7749 checkSitesListResponse(api.SitesListResponse o) { |
7700 buildCounterSitesListResponse++; | 7750 buildCounterSitesListResponse++; |
7701 if (buildCounterSitesListResponse < 3) { | 7751 if (buildCounterSitesListResponse < 3) { |
7702 unittest.expect(o.kind, unittest.equals('foo')); | 7752 unittest.expect(o.kind, unittest.equals('foo')); |
7703 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 7753 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
7704 checkUnnamed2813(o.sites); | 7754 checkUnnamed2568(o.sites); |
7705 } | 7755 } |
7706 buildCounterSitesListResponse--; | 7756 buildCounterSitesListResponse--; |
7707 } | 7757 } |
7708 | 7758 |
7709 core.int buildCounterSize = 0; | 7759 core.int buildCounterSize = 0; |
7710 buildSize() { | 7760 buildSize() { |
7711 var o = new api.Size(); | 7761 var o = new api.Size(); |
7712 buildCounterSize++; | 7762 buildCounterSize++; |
7713 if (buildCounterSize < 3) { | 7763 if (buildCounterSize < 3) { |
7714 o.height = 42; | 7764 o.height = 42; |
(...skipping 11 matching lines...) Expand all Loading... |
7726 if (buildCounterSize < 3) { | 7776 if (buildCounterSize < 3) { |
7727 unittest.expect(o.height, unittest.equals(42)); | 7777 unittest.expect(o.height, unittest.equals(42)); |
7728 unittest.expect(o.iab, unittest.isTrue); | 7778 unittest.expect(o.iab, unittest.isTrue); |
7729 unittest.expect(o.id, unittest.equals('foo')); | 7779 unittest.expect(o.id, unittest.equals('foo')); |
7730 unittest.expect(o.kind, unittest.equals('foo')); | 7780 unittest.expect(o.kind, unittest.equals('foo')); |
7731 unittest.expect(o.width, unittest.equals(42)); | 7781 unittest.expect(o.width, unittest.equals(42)); |
7732 } | 7782 } |
7733 buildCounterSize--; | 7783 buildCounterSize--; |
7734 } | 7784 } |
7735 | 7785 |
7736 buildUnnamed2814() { | 7786 buildUnnamed2569() { |
7737 var o = new core.List<api.Size>(); | 7787 var o = new core.List<api.Size>(); |
7738 o.add(buildSize()); | 7788 o.add(buildSize()); |
7739 o.add(buildSize()); | 7789 o.add(buildSize()); |
7740 return o; | 7790 return o; |
7741 } | 7791 } |
7742 | 7792 |
7743 checkUnnamed2814(core.List<api.Size> o) { | 7793 checkUnnamed2569(core.List<api.Size> o) { |
7744 unittest.expect(o, unittest.hasLength(2)); | 7794 unittest.expect(o, unittest.hasLength(2)); |
7745 checkSize(o[0]); | 7795 checkSize(o[0]); |
7746 checkSize(o[1]); | 7796 checkSize(o[1]); |
7747 } | 7797 } |
7748 | 7798 |
7749 core.int buildCounterSizesListResponse = 0; | 7799 core.int buildCounterSizesListResponse = 0; |
7750 buildSizesListResponse() { | 7800 buildSizesListResponse() { |
7751 var o = new api.SizesListResponse(); | 7801 var o = new api.SizesListResponse(); |
7752 buildCounterSizesListResponse++; | 7802 buildCounterSizesListResponse++; |
7753 if (buildCounterSizesListResponse < 3) { | 7803 if (buildCounterSizesListResponse < 3) { |
7754 o.kind = "foo"; | 7804 o.kind = "foo"; |
7755 o.sizes = buildUnnamed2814(); | 7805 o.sizes = buildUnnamed2569(); |
7756 } | 7806 } |
7757 buildCounterSizesListResponse--; | 7807 buildCounterSizesListResponse--; |
7758 return o; | 7808 return o; |
7759 } | 7809 } |
7760 | 7810 |
7761 checkSizesListResponse(api.SizesListResponse o) { | 7811 checkSizesListResponse(api.SizesListResponse o) { |
7762 buildCounterSizesListResponse++; | 7812 buildCounterSizesListResponse++; |
7763 if (buildCounterSizesListResponse < 3) { | 7813 if (buildCounterSizesListResponse < 3) { |
7764 unittest.expect(o.kind, unittest.equals('foo')); | 7814 unittest.expect(o.kind, unittest.equals('foo')); |
7765 checkUnnamed2814(o.sizes); | 7815 checkUnnamed2569(o.sizes); |
7766 } | 7816 } |
7767 buildCounterSizesListResponse--; | 7817 buildCounterSizesListResponse--; |
7768 } | 7818 } |
7769 | 7819 |
| 7820 core.int buildCounterSkippableSetting = 0; |
| 7821 buildSkippableSetting() { |
| 7822 var o = new api.SkippableSetting(); |
| 7823 buildCounterSkippableSetting++; |
| 7824 if (buildCounterSkippableSetting < 3) { |
| 7825 o.kind = "foo"; |
| 7826 o.progressOffset = buildVideoOffset(); |
| 7827 o.skipOffset = buildVideoOffset(); |
| 7828 o.skippable = true; |
| 7829 } |
| 7830 buildCounterSkippableSetting--; |
| 7831 return o; |
| 7832 } |
| 7833 |
| 7834 checkSkippableSetting(api.SkippableSetting o) { |
| 7835 buildCounterSkippableSetting++; |
| 7836 if (buildCounterSkippableSetting < 3) { |
| 7837 unittest.expect(o.kind, unittest.equals('foo')); |
| 7838 checkVideoOffset(o.progressOffset); |
| 7839 checkVideoOffset(o.skipOffset); |
| 7840 unittest.expect(o.skippable, unittest.isTrue); |
| 7841 } |
| 7842 buildCounterSkippableSetting--; |
| 7843 } |
| 7844 |
7770 core.int buildCounterSortedDimension = 0; | 7845 core.int buildCounterSortedDimension = 0; |
7771 buildSortedDimension() { | 7846 buildSortedDimension() { |
7772 var o = new api.SortedDimension(); | 7847 var o = new api.SortedDimension(); |
7773 buildCounterSortedDimension++; | 7848 buildCounterSortedDimension++; |
7774 if (buildCounterSortedDimension < 3) { | 7849 if (buildCounterSortedDimension < 3) { |
7775 o.kind = "foo"; | 7850 o.kind = "foo"; |
7776 o.name = "foo"; | 7851 o.name = "foo"; |
7777 o.sortOrder = "foo"; | 7852 o.sortOrder = "foo"; |
7778 } | 7853 } |
7779 buildCounterSortedDimension--; | 7854 buildCounterSortedDimension--; |
7780 return o; | 7855 return o; |
7781 } | 7856 } |
7782 | 7857 |
7783 checkSortedDimension(api.SortedDimension o) { | 7858 checkSortedDimension(api.SortedDimension o) { |
7784 buildCounterSortedDimension++; | 7859 buildCounterSortedDimension++; |
7785 if (buildCounterSortedDimension < 3) { | 7860 if (buildCounterSortedDimension < 3) { |
7786 unittest.expect(o.kind, unittest.equals('foo')); | 7861 unittest.expect(o.kind, unittest.equals('foo')); |
7787 unittest.expect(o.name, unittest.equals('foo')); | 7862 unittest.expect(o.name, unittest.equals('foo')); |
7788 unittest.expect(o.sortOrder, unittest.equals('foo')); | 7863 unittest.expect(o.sortOrder, unittest.equals('foo')); |
7789 } | 7864 } |
7790 buildCounterSortedDimension--; | 7865 buildCounterSortedDimension--; |
7791 } | 7866 } |
7792 | 7867 |
7793 buildUnnamed2815() { | 7868 buildUnnamed2570() { |
7794 var o = new core.List<core.String>(); | 7869 var o = new core.List<core.String>(); |
7795 o.add("foo"); | 7870 o.add("foo"); |
7796 o.add("foo"); | 7871 o.add("foo"); |
7797 return o; | 7872 return o; |
7798 } | 7873 } |
7799 | 7874 |
7800 checkUnnamed2815(core.List<core.String> o) { | 7875 checkUnnamed2570(core.List<core.String> o) { |
7801 unittest.expect(o, unittest.hasLength(2)); | 7876 unittest.expect(o, unittest.hasLength(2)); |
7802 unittest.expect(o[0], unittest.equals('foo')); | 7877 unittest.expect(o[0], unittest.equals('foo')); |
7803 unittest.expect(o[1], unittest.equals('foo')); | 7878 unittest.expect(o[1], unittest.equals('foo')); |
7804 } | 7879 } |
7805 | 7880 |
7806 core.int buildCounterSubaccount = 0; | 7881 core.int buildCounterSubaccount = 0; |
7807 buildSubaccount() { | 7882 buildSubaccount() { |
7808 var o = new api.Subaccount(); | 7883 var o = new api.Subaccount(); |
7809 buildCounterSubaccount++; | 7884 buildCounterSubaccount++; |
7810 if (buildCounterSubaccount < 3) { | 7885 if (buildCounterSubaccount < 3) { |
7811 o.accountId = "foo"; | 7886 o.accountId = "foo"; |
7812 o.availablePermissionIds = buildUnnamed2815(); | 7887 o.availablePermissionIds = buildUnnamed2570(); |
7813 o.id = "foo"; | 7888 o.id = "foo"; |
7814 o.kind = "foo"; | 7889 o.kind = "foo"; |
7815 o.name = "foo"; | 7890 o.name = "foo"; |
7816 } | 7891 } |
7817 buildCounterSubaccount--; | 7892 buildCounterSubaccount--; |
7818 return o; | 7893 return o; |
7819 } | 7894 } |
7820 | 7895 |
7821 checkSubaccount(api.Subaccount o) { | 7896 checkSubaccount(api.Subaccount o) { |
7822 buildCounterSubaccount++; | 7897 buildCounterSubaccount++; |
7823 if (buildCounterSubaccount < 3) { | 7898 if (buildCounterSubaccount < 3) { |
7824 unittest.expect(o.accountId, unittest.equals('foo')); | 7899 unittest.expect(o.accountId, unittest.equals('foo')); |
7825 checkUnnamed2815(o.availablePermissionIds); | 7900 checkUnnamed2570(o.availablePermissionIds); |
7826 unittest.expect(o.id, unittest.equals('foo')); | 7901 unittest.expect(o.id, unittest.equals('foo')); |
7827 unittest.expect(o.kind, unittest.equals('foo')); | 7902 unittest.expect(o.kind, unittest.equals('foo')); |
7828 unittest.expect(o.name, unittest.equals('foo')); | 7903 unittest.expect(o.name, unittest.equals('foo')); |
7829 } | 7904 } |
7830 buildCounterSubaccount--; | 7905 buildCounterSubaccount--; |
7831 } | 7906 } |
7832 | 7907 |
7833 buildUnnamed2816() { | 7908 buildUnnamed2571() { |
7834 var o = new core.List<api.Subaccount>(); | 7909 var o = new core.List<api.Subaccount>(); |
7835 o.add(buildSubaccount()); | 7910 o.add(buildSubaccount()); |
7836 o.add(buildSubaccount()); | 7911 o.add(buildSubaccount()); |
7837 return o; | 7912 return o; |
7838 } | 7913 } |
7839 | 7914 |
7840 checkUnnamed2816(core.List<api.Subaccount> o) { | 7915 checkUnnamed2571(core.List<api.Subaccount> o) { |
7841 unittest.expect(o, unittest.hasLength(2)); | 7916 unittest.expect(o, unittest.hasLength(2)); |
7842 checkSubaccount(o[0]); | 7917 checkSubaccount(o[0]); |
7843 checkSubaccount(o[1]); | 7918 checkSubaccount(o[1]); |
7844 } | 7919 } |
7845 | 7920 |
7846 core.int buildCounterSubaccountsListResponse = 0; | 7921 core.int buildCounterSubaccountsListResponse = 0; |
7847 buildSubaccountsListResponse() { | 7922 buildSubaccountsListResponse() { |
7848 var o = new api.SubaccountsListResponse(); | 7923 var o = new api.SubaccountsListResponse(); |
7849 buildCounterSubaccountsListResponse++; | 7924 buildCounterSubaccountsListResponse++; |
7850 if (buildCounterSubaccountsListResponse < 3) { | 7925 if (buildCounterSubaccountsListResponse < 3) { |
7851 o.kind = "foo"; | 7926 o.kind = "foo"; |
7852 o.nextPageToken = "foo"; | 7927 o.nextPageToken = "foo"; |
7853 o.subaccounts = buildUnnamed2816(); | 7928 o.subaccounts = buildUnnamed2571(); |
7854 } | 7929 } |
7855 buildCounterSubaccountsListResponse--; | 7930 buildCounterSubaccountsListResponse--; |
7856 return o; | 7931 return o; |
7857 } | 7932 } |
7858 | 7933 |
7859 checkSubaccountsListResponse(api.SubaccountsListResponse o) { | 7934 checkSubaccountsListResponse(api.SubaccountsListResponse o) { |
7860 buildCounterSubaccountsListResponse++; | 7935 buildCounterSubaccountsListResponse++; |
7861 if (buildCounterSubaccountsListResponse < 3) { | 7936 if (buildCounterSubaccountsListResponse < 3) { |
7862 unittest.expect(o.kind, unittest.equals('foo')); | 7937 unittest.expect(o.kind, unittest.equals('foo')); |
7863 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 7938 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
7864 checkUnnamed2816(o.subaccounts); | 7939 checkUnnamed2571(o.subaccounts); |
7865 } | 7940 } |
7866 buildCounterSubaccountsListResponse--; | 7941 buildCounterSubaccountsListResponse--; |
7867 } | 7942 } |
7868 | 7943 |
7869 core.int buildCounterTagData = 0; | 7944 core.int buildCounterTagData = 0; |
7870 buildTagData() { | 7945 buildTagData() { |
7871 var o = new api.TagData(); | 7946 var o = new api.TagData(); |
7872 buildCounterTagData++; | 7947 buildCounterTagData++; |
7873 if (buildCounterTagData < 3) { | 7948 if (buildCounterTagData < 3) { |
7874 o.adId = "foo"; | 7949 o.adId = "foo"; |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7994 unittest.expect(o.kind, unittest.equals('foo')); | 8069 unittest.expect(o.kind, unittest.equals('foo')); |
7995 unittest.expect(o.lifeSpan, unittest.equals('foo')); | 8070 unittest.expect(o.lifeSpan, unittest.equals('foo')); |
7996 unittest.expect(o.listSize, unittest.equals('foo')); | 8071 unittest.expect(o.listSize, unittest.equals('foo')); |
7997 unittest.expect(o.listSource, unittest.equals('foo')); | 8072 unittest.expect(o.listSource, unittest.equals('foo')); |
7998 unittest.expect(o.name, unittest.equals('foo')); | 8073 unittest.expect(o.name, unittest.equals('foo')); |
7999 unittest.expect(o.subaccountId, unittest.equals('foo')); | 8074 unittest.expect(o.subaccountId, unittest.equals('foo')); |
8000 } | 8075 } |
8001 buildCounterTargetableRemarketingList--; | 8076 buildCounterTargetableRemarketingList--; |
8002 } | 8077 } |
8003 | 8078 |
8004 buildUnnamed2817() { | 8079 buildUnnamed2572() { |
8005 var o = new core.List<api.TargetableRemarketingList>(); | 8080 var o = new core.List<api.TargetableRemarketingList>(); |
8006 o.add(buildTargetableRemarketingList()); | 8081 o.add(buildTargetableRemarketingList()); |
8007 o.add(buildTargetableRemarketingList()); | 8082 o.add(buildTargetableRemarketingList()); |
8008 return o; | 8083 return o; |
8009 } | 8084 } |
8010 | 8085 |
8011 checkUnnamed2817(core.List<api.TargetableRemarketingList> o) { | 8086 checkUnnamed2572(core.List<api.TargetableRemarketingList> o) { |
8012 unittest.expect(o, unittest.hasLength(2)); | 8087 unittest.expect(o, unittest.hasLength(2)); |
8013 checkTargetableRemarketingList(o[0]); | 8088 checkTargetableRemarketingList(o[0]); |
8014 checkTargetableRemarketingList(o[1]); | 8089 checkTargetableRemarketingList(o[1]); |
8015 } | 8090 } |
8016 | 8091 |
8017 core.int buildCounterTargetableRemarketingListsListResponse = 0; | 8092 core.int buildCounterTargetableRemarketingListsListResponse = 0; |
8018 buildTargetableRemarketingListsListResponse() { | 8093 buildTargetableRemarketingListsListResponse() { |
8019 var o = new api.TargetableRemarketingListsListResponse(); | 8094 var o = new api.TargetableRemarketingListsListResponse(); |
8020 buildCounterTargetableRemarketingListsListResponse++; | 8095 buildCounterTargetableRemarketingListsListResponse++; |
8021 if (buildCounterTargetableRemarketingListsListResponse < 3) { | 8096 if (buildCounterTargetableRemarketingListsListResponse < 3) { |
8022 o.kind = "foo"; | 8097 o.kind = "foo"; |
8023 o.nextPageToken = "foo"; | 8098 o.nextPageToken = "foo"; |
8024 o.targetableRemarketingLists = buildUnnamed2817(); | 8099 o.targetableRemarketingLists = buildUnnamed2572(); |
8025 } | 8100 } |
8026 buildCounterTargetableRemarketingListsListResponse--; | 8101 buildCounterTargetableRemarketingListsListResponse--; |
8027 return o; | 8102 return o; |
8028 } | 8103 } |
8029 | 8104 |
8030 checkTargetableRemarketingListsListResponse(api.TargetableRemarketingListsListRe
sponse o) { | 8105 checkTargetableRemarketingListsListResponse(api.TargetableRemarketingListsListRe
sponse o) { |
8031 buildCounterTargetableRemarketingListsListResponse++; | 8106 buildCounterTargetableRemarketingListsListResponse++; |
8032 if (buildCounterTargetableRemarketingListsListResponse < 3) { | 8107 if (buildCounterTargetableRemarketingListsListResponse < 3) { |
8033 unittest.expect(o.kind, unittest.equals('foo')); | 8108 unittest.expect(o.kind, unittest.equals('foo')); |
8034 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 8109 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
8035 checkUnnamed2817(o.targetableRemarketingLists); | 8110 checkUnnamed2572(o.targetableRemarketingLists); |
8036 } | 8111 } |
8037 buildCounterTargetableRemarketingListsListResponse--; | 8112 buildCounterTargetableRemarketingListsListResponse--; |
8038 } | 8113 } |
8039 | 8114 |
8040 core.int buildCounterTargetingTemplate = 0; | 8115 core.int buildCounterTargetingTemplate = 0; |
8041 buildTargetingTemplate() { | 8116 buildTargetingTemplate() { |
8042 var o = new api.TargetingTemplate(); | 8117 var o = new api.TargetingTemplate(); |
8043 buildCounterTargetingTemplate++; | 8118 buildCounterTargetingTemplate++; |
8044 if (buildCounterTargetingTemplate < 3) { | 8119 if (buildCounterTargetingTemplate < 3) { |
8045 o.accountId = "foo"; | 8120 o.accountId = "foo"; |
(...skipping 27 matching lines...) Expand all Loading... |
8073 unittest.expect(o.kind, unittest.equals('foo')); | 8148 unittest.expect(o.kind, unittest.equals('foo')); |
8074 checkLanguageTargeting(o.languageTargeting); | 8149 checkLanguageTargeting(o.languageTargeting); |
8075 checkListTargetingExpression(o.listTargetingExpression); | 8150 checkListTargetingExpression(o.listTargetingExpression); |
8076 unittest.expect(o.name, unittest.equals('foo')); | 8151 unittest.expect(o.name, unittest.equals('foo')); |
8077 unittest.expect(o.subaccountId, unittest.equals('foo')); | 8152 unittest.expect(o.subaccountId, unittest.equals('foo')); |
8078 checkTechnologyTargeting(o.technologyTargeting); | 8153 checkTechnologyTargeting(o.technologyTargeting); |
8079 } | 8154 } |
8080 buildCounterTargetingTemplate--; | 8155 buildCounterTargetingTemplate--; |
8081 } | 8156 } |
8082 | 8157 |
8083 buildUnnamed2818() { | 8158 buildUnnamed2573() { |
8084 var o = new core.List<api.TargetingTemplate>(); | 8159 var o = new core.List<api.TargetingTemplate>(); |
8085 o.add(buildTargetingTemplate()); | 8160 o.add(buildTargetingTemplate()); |
8086 o.add(buildTargetingTemplate()); | 8161 o.add(buildTargetingTemplate()); |
8087 return o; | 8162 return o; |
8088 } | 8163 } |
8089 | 8164 |
8090 checkUnnamed2818(core.List<api.TargetingTemplate> o) { | 8165 checkUnnamed2573(core.List<api.TargetingTemplate> o) { |
8091 unittest.expect(o, unittest.hasLength(2)); | 8166 unittest.expect(o, unittest.hasLength(2)); |
8092 checkTargetingTemplate(o[0]); | 8167 checkTargetingTemplate(o[0]); |
8093 checkTargetingTemplate(o[1]); | 8168 checkTargetingTemplate(o[1]); |
8094 } | 8169 } |
8095 | 8170 |
8096 core.int buildCounterTargetingTemplatesListResponse = 0; | 8171 core.int buildCounterTargetingTemplatesListResponse = 0; |
8097 buildTargetingTemplatesListResponse() { | 8172 buildTargetingTemplatesListResponse() { |
8098 var o = new api.TargetingTemplatesListResponse(); | 8173 var o = new api.TargetingTemplatesListResponse(); |
8099 buildCounterTargetingTemplatesListResponse++; | 8174 buildCounterTargetingTemplatesListResponse++; |
8100 if (buildCounterTargetingTemplatesListResponse < 3) { | 8175 if (buildCounterTargetingTemplatesListResponse < 3) { |
8101 o.kind = "foo"; | 8176 o.kind = "foo"; |
8102 o.nextPageToken = "foo"; | 8177 o.nextPageToken = "foo"; |
8103 o.targetingTemplates = buildUnnamed2818(); | 8178 o.targetingTemplates = buildUnnamed2573(); |
8104 } | 8179 } |
8105 buildCounterTargetingTemplatesListResponse--; | 8180 buildCounterTargetingTemplatesListResponse--; |
8106 return o; | 8181 return o; |
8107 } | 8182 } |
8108 | 8183 |
8109 checkTargetingTemplatesListResponse(api.TargetingTemplatesListResponse o) { | 8184 checkTargetingTemplatesListResponse(api.TargetingTemplatesListResponse o) { |
8110 buildCounterTargetingTemplatesListResponse++; | 8185 buildCounterTargetingTemplatesListResponse++; |
8111 if (buildCounterTargetingTemplatesListResponse < 3) { | 8186 if (buildCounterTargetingTemplatesListResponse < 3) { |
8112 unittest.expect(o.kind, unittest.equals('foo')); | 8187 unittest.expect(o.kind, unittest.equals('foo')); |
8113 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 8188 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
8114 checkUnnamed2818(o.targetingTemplates); | 8189 checkUnnamed2573(o.targetingTemplates); |
8115 } | 8190 } |
8116 buildCounterTargetingTemplatesListResponse--; | 8191 buildCounterTargetingTemplatesListResponse--; |
8117 } | 8192 } |
8118 | 8193 |
8119 buildUnnamed2819() { | 8194 buildUnnamed2574() { |
8120 var o = new core.List<api.Browser>(); | 8195 var o = new core.List<api.Browser>(); |
8121 o.add(buildBrowser()); | 8196 o.add(buildBrowser()); |
8122 o.add(buildBrowser()); | 8197 o.add(buildBrowser()); |
8123 return o; | 8198 return o; |
8124 } | 8199 } |
8125 | 8200 |
8126 checkUnnamed2819(core.List<api.Browser> o) { | 8201 checkUnnamed2574(core.List<api.Browser> o) { |
8127 unittest.expect(o, unittest.hasLength(2)); | 8202 unittest.expect(o, unittest.hasLength(2)); |
8128 checkBrowser(o[0]); | 8203 checkBrowser(o[0]); |
8129 checkBrowser(o[1]); | 8204 checkBrowser(o[1]); |
8130 } | 8205 } |
8131 | 8206 |
8132 buildUnnamed2820() { | 8207 buildUnnamed2575() { |
8133 var o = new core.List<api.ConnectionType>(); | 8208 var o = new core.List<api.ConnectionType>(); |
8134 o.add(buildConnectionType()); | 8209 o.add(buildConnectionType()); |
8135 o.add(buildConnectionType()); | 8210 o.add(buildConnectionType()); |
8136 return o; | 8211 return o; |
8137 } | 8212 } |
8138 | 8213 |
8139 checkUnnamed2820(core.List<api.ConnectionType> o) { | 8214 checkUnnamed2575(core.List<api.ConnectionType> o) { |
8140 unittest.expect(o, unittest.hasLength(2)); | 8215 unittest.expect(o, unittest.hasLength(2)); |
8141 checkConnectionType(o[0]); | 8216 checkConnectionType(o[0]); |
8142 checkConnectionType(o[1]); | 8217 checkConnectionType(o[1]); |
8143 } | 8218 } |
8144 | 8219 |
8145 buildUnnamed2821() { | 8220 buildUnnamed2576() { |
8146 var o = new core.List<api.MobileCarrier>(); | 8221 var o = new core.List<api.MobileCarrier>(); |
8147 o.add(buildMobileCarrier()); | 8222 o.add(buildMobileCarrier()); |
8148 o.add(buildMobileCarrier()); | 8223 o.add(buildMobileCarrier()); |
8149 return o; | 8224 return o; |
8150 } | 8225 } |
8151 | 8226 |
8152 checkUnnamed2821(core.List<api.MobileCarrier> o) { | 8227 checkUnnamed2576(core.List<api.MobileCarrier> o) { |
8153 unittest.expect(o, unittest.hasLength(2)); | 8228 unittest.expect(o, unittest.hasLength(2)); |
8154 checkMobileCarrier(o[0]); | 8229 checkMobileCarrier(o[0]); |
8155 checkMobileCarrier(o[1]); | 8230 checkMobileCarrier(o[1]); |
8156 } | 8231 } |
8157 | 8232 |
8158 buildUnnamed2822() { | 8233 buildUnnamed2577() { |
8159 var o = new core.List<api.OperatingSystemVersion>(); | 8234 var o = new core.List<api.OperatingSystemVersion>(); |
8160 o.add(buildOperatingSystemVersion()); | 8235 o.add(buildOperatingSystemVersion()); |
8161 o.add(buildOperatingSystemVersion()); | 8236 o.add(buildOperatingSystemVersion()); |
8162 return o; | 8237 return o; |
8163 } | 8238 } |
8164 | 8239 |
8165 checkUnnamed2822(core.List<api.OperatingSystemVersion> o) { | 8240 checkUnnamed2577(core.List<api.OperatingSystemVersion> o) { |
8166 unittest.expect(o, unittest.hasLength(2)); | 8241 unittest.expect(o, unittest.hasLength(2)); |
8167 checkOperatingSystemVersion(o[0]); | 8242 checkOperatingSystemVersion(o[0]); |
8168 checkOperatingSystemVersion(o[1]); | 8243 checkOperatingSystemVersion(o[1]); |
8169 } | 8244 } |
8170 | 8245 |
8171 buildUnnamed2823() { | 8246 buildUnnamed2578() { |
8172 var o = new core.List<api.OperatingSystem>(); | 8247 var o = new core.List<api.OperatingSystem>(); |
8173 o.add(buildOperatingSystem()); | 8248 o.add(buildOperatingSystem()); |
8174 o.add(buildOperatingSystem()); | 8249 o.add(buildOperatingSystem()); |
8175 return o; | 8250 return o; |
8176 } | 8251 } |
8177 | 8252 |
8178 checkUnnamed2823(core.List<api.OperatingSystem> o) { | 8253 checkUnnamed2578(core.List<api.OperatingSystem> o) { |
8179 unittest.expect(o, unittest.hasLength(2)); | 8254 unittest.expect(o, unittest.hasLength(2)); |
8180 checkOperatingSystem(o[0]); | 8255 checkOperatingSystem(o[0]); |
8181 checkOperatingSystem(o[1]); | 8256 checkOperatingSystem(o[1]); |
8182 } | 8257 } |
8183 | 8258 |
8184 buildUnnamed2824() { | 8259 buildUnnamed2579() { |
8185 var o = new core.List<api.PlatformType>(); | 8260 var o = new core.List<api.PlatformType>(); |
8186 o.add(buildPlatformType()); | 8261 o.add(buildPlatformType()); |
8187 o.add(buildPlatformType()); | 8262 o.add(buildPlatformType()); |
8188 return o; | 8263 return o; |
8189 } | 8264 } |
8190 | 8265 |
8191 checkUnnamed2824(core.List<api.PlatformType> o) { | 8266 checkUnnamed2579(core.List<api.PlatformType> o) { |
8192 unittest.expect(o, unittest.hasLength(2)); | 8267 unittest.expect(o, unittest.hasLength(2)); |
8193 checkPlatformType(o[0]); | 8268 checkPlatformType(o[0]); |
8194 checkPlatformType(o[1]); | 8269 checkPlatformType(o[1]); |
8195 } | 8270 } |
8196 | 8271 |
8197 core.int buildCounterTechnologyTargeting = 0; | 8272 core.int buildCounterTechnologyTargeting = 0; |
8198 buildTechnologyTargeting() { | 8273 buildTechnologyTargeting() { |
8199 var o = new api.TechnologyTargeting(); | 8274 var o = new api.TechnologyTargeting(); |
8200 buildCounterTechnologyTargeting++; | 8275 buildCounterTechnologyTargeting++; |
8201 if (buildCounterTechnologyTargeting < 3) { | 8276 if (buildCounterTechnologyTargeting < 3) { |
8202 o.browsers = buildUnnamed2819(); | 8277 o.browsers = buildUnnamed2574(); |
8203 o.connectionTypes = buildUnnamed2820(); | 8278 o.connectionTypes = buildUnnamed2575(); |
8204 o.mobileCarriers = buildUnnamed2821(); | 8279 o.mobileCarriers = buildUnnamed2576(); |
8205 o.operatingSystemVersions = buildUnnamed2822(); | 8280 o.operatingSystemVersions = buildUnnamed2577(); |
8206 o.operatingSystems = buildUnnamed2823(); | 8281 o.operatingSystems = buildUnnamed2578(); |
8207 o.platformTypes = buildUnnamed2824(); | 8282 o.platformTypes = buildUnnamed2579(); |
8208 } | 8283 } |
8209 buildCounterTechnologyTargeting--; | 8284 buildCounterTechnologyTargeting--; |
8210 return o; | 8285 return o; |
8211 } | 8286 } |
8212 | 8287 |
8213 checkTechnologyTargeting(api.TechnologyTargeting o) { | 8288 checkTechnologyTargeting(api.TechnologyTargeting o) { |
8214 buildCounterTechnologyTargeting++; | 8289 buildCounterTechnologyTargeting++; |
8215 if (buildCounterTechnologyTargeting < 3) { | 8290 if (buildCounterTechnologyTargeting < 3) { |
8216 checkUnnamed2819(o.browsers); | 8291 checkUnnamed2574(o.browsers); |
8217 checkUnnamed2820(o.connectionTypes); | 8292 checkUnnamed2575(o.connectionTypes); |
8218 checkUnnamed2821(o.mobileCarriers); | 8293 checkUnnamed2576(o.mobileCarriers); |
8219 checkUnnamed2822(o.operatingSystemVersions); | 8294 checkUnnamed2577(o.operatingSystemVersions); |
8220 checkUnnamed2823(o.operatingSystems); | 8295 checkUnnamed2578(o.operatingSystems); |
8221 checkUnnamed2824(o.platformTypes); | 8296 checkUnnamed2579(o.platformTypes); |
8222 } | 8297 } |
8223 buildCounterTechnologyTargeting--; | 8298 buildCounterTechnologyTargeting--; |
8224 } | 8299 } |
8225 | 8300 |
8226 core.int buildCounterThirdPartyAuthenticationToken = 0; | 8301 core.int buildCounterThirdPartyAuthenticationToken = 0; |
8227 buildThirdPartyAuthenticationToken() { | 8302 buildThirdPartyAuthenticationToken() { |
8228 var o = new api.ThirdPartyAuthenticationToken(); | 8303 var o = new api.ThirdPartyAuthenticationToken(); |
8229 buildCounterThirdPartyAuthenticationToken++; | 8304 buildCounterThirdPartyAuthenticationToken++; |
8230 if (buildCounterThirdPartyAuthenticationToken < 3) { | 8305 if (buildCounterThirdPartyAuthenticationToken < 3) { |
8231 o.name = "foo"; | 8306 o.name = "foo"; |
(...skipping 26 matching lines...) Expand all Loading... |
8258 | 8333 |
8259 checkThirdPartyTrackingUrl(api.ThirdPartyTrackingUrl o) { | 8334 checkThirdPartyTrackingUrl(api.ThirdPartyTrackingUrl o) { |
8260 buildCounterThirdPartyTrackingUrl++; | 8335 buildCounterThirdPartyTrackingUrl++; |
8261 if (buildCounterThirdPartyTrackingUrl < 3) { | 8336 if (buildCounterThirdPartyTrackingUrl < 3) { |
8262 unittest.expect(o.thirdPartyUrlType, unittest.equals('foo')); | 8337 unittest.expect(o.thirdPartyUrlType, unittest.equals('foo')); |
8263 unittest.expect(o.url, unittest.equals('foo')); | 8338 unittest.expect(o.url, unittest.equals('foo')); |
8264 } | 8339 } |
8265 buildCounterThirdPartyTrackingUrl--; | 8340 buildCounterThirdPartyTrackingUrl--; |
8266 } | 8341 } |
8267 | 8342 |
| 8343 buildUnnamed2580() { |
| 8344 var o = new core.List<core.int>(); |
| 8345 o.add(42); |
| 8346 o.add(42); |
| 8347 return o; |
| 8348 } |
| 8349 |
| 8350 checkUnnamed2580(core.List<core.int> o) { |
| 8351 unittest.expect(o, unittest.hasLength(2)); |
| 8352 unittest.expect(o[0], unittest.equals(42)); |
| 8353 unittest.expect(o[1], unittest.equals(42)); |
| 8354 } |
| 8355 |
| 8356 core.int buildCounterTranscodeSetting = 0; |
| 8357 buildTranscodeSetting() { |
| 8358 var o = new api.TranscodeSetting(); |
| 8359 buildCounterTranscodeSetting++; |
| 8360 if (buildCounterTranscodeSetting < 3) { |
| 8361 o.enabledVideoFormats = buildUnnamed2580(); |
| 8362 o.kind = "foo"; |
| 8363 } |
| 8364 buildCounterTranscodeSetting--; |
| 8365 return o; |
| 8366 } |
| 8367 |
| 8368 checkTranscodeSetting(api.TranscodeSetting o) { |
| 8369 buildCounterTranscodeSetting++; |
| 8370 if (buildCounterTranscodeSetting < 3) { |
| 8371 checkUnnamed2580(o.enabledVideoFormats); |
| 8372 unittest.expect(o.kind, unittest.equals('foo')); |
| 8373 } |
| 8374 buildCounterTranscodeSetting--; |
| 8375 } |
| 8376 |
8268 core.int buildCounterUserDefinedVariableConfiguration = 0; | 8377 core.int buildCounterUserDefinedVariableConfiguration = 0; |
8269 buildUserDefinedVariableConfiguration() { | 8378 buildUserDefinedVariableConfiguration() { |
8270 var o = new api.UserDefinedVariableConfiguration(); | 8379 var o = new api.UserDefinedVariableConfiguration(); |
8271 buildCounterUserDefinedVariableConfiguration++; | 8380 buildCounterUserDefinedVariableConfiguration++; |
8272 if (buildCounterUserDefinedVariableConfiguration < 3) { | 8381 if (buildCounterUserDefinedVariableConfiguration < 3) { |
8273 o.dataType = "foo"; | 8382 o.dataType = "foo"; |
8274 o.reportName = "foo"; | 8383 o.reportName = "foo"; |
8275 o.variableType = "foo"; | 8384 o.variableType = "foo"; |
8276 } | 8385 } |
8277 buildCounterUserDefinedVariableConfiguration--; | 8386 buildCounterUserDefinedVariableConfiguration--; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8314 unittest.expect(o.etag, unittest.equals('foo')); | 8423 unittest.expect(o.etag, unittest.equals('foo')); |
8315 unittest.expect(o.kind, unittest.equals('foo')); | 8424 unittest.expect(o.kind, unittest.equals('foo')); |
8316 unittest.expect(o.profileId, unittest.equals('foo')); | 8425 unittest.expect(o.profileId, unittest.equals('foo')); |
8317 unittest.expect(o.subAccountId, unittest.equals('foo')); | 8426 unittest.expect(o.subAccountId, unittest.equals('foo')); |
8318 unittest.expect(o.subAccountName, unittest.equals('foo')); | 8427 unittest.expect(o.subAccountName, unittest.equals('foo')); |
8319 unittest.expect(o.userName, unittest.equals('foo')); | 8428 unittest.expect(o.userName, unittest.equals('foo')); |
8320 } | 8429 } |
8321 buildCounterUserProfile--; | 8430 buildCounterUserProfile--; |
8322 } | 8431 } |
8323 | 8432 |
8324 buildUnnamed2825() { | 8433 buildUnnamed2581() { |
8325 var o = new core.List<api.UserProfile>(); | 8434 var o = new core.List<api.UserProfile>(); |
8326 o.add(buildUserProfile()); | 8435 o.add(buildUserProfile()); |
8327 o.add(buildUserProfile()); | 8436 o.add(buildUserProfile()); |
8328 return o; | 8437 return o; |
8329 } | 8438 } |
8330 | 8439 |
8331 checkUnnamed2825(core.List<api.UserProfile> o) { | 8440 checkUnnamed2581(core.List<api.UserProfile> o) { |
8332 unittest.expect(o, unittest.hasLength(2)); | 8441 unittest.expect(o, unittest.hasLength(2)); |
8333 checkUserProfile(o[0]); | 8442 checkUserProfile(o[0]); |
8334 checkUserProfile(o[1]); | 8443 checkUserProfile(o[1]); |
8335 } | 8444 } |
8336 | 8445 |
8337 core.int buildCounterUserProfileList = 0; | 8446 core.int buildCounterUserProfileList = 0; |
8338 buildUserProfileList() { | 8447 buildUserProfileList() { |
8339 var o = new api.UserProfileList(); | 8448 var o = new api.UserProfileList(); |
8340 buildCounterUserProfileList++; | 8449 buildCounterUserProfileList++; |
8341 if (buildCounterUserProfileList < 3) { | 8450 if (buildCounterUserProfileList < 3) { |
8342 o.etag = "foo"; | 8451 o.etag = "foo"; |
8343 o.items = buildUnnamed2825(); | 8452 o.items = buildUnnamed2581(); |
8344 o.kind = "foo"; | 8453 o.kind = "foo"; |
8345 } | 8454 } |
8346 buildCounterUserProfileList--; | 8455 buildCounterUserProfileList--; |
8347 return o; | 8456 return o; |
8348 } | 8457 } |
8349 | 8458 |
8350 checkUserProfileList(api.UserProfileList o) { | 8459 checkUserProfileList(api.UserProfileList o) { |
8351 buildCounterUserProfileList++; | 8460 buildCounterUserProfileList++; |
8352 if (buildCounterUserProfileList < 3) { | 8461 if (buildCounterUserProfileList < 3) { |
8353 unittest.expect(o.etag, unittest.equals('foo')); | 8462 unittest.expect(o.etag, unittest.equals('foo')); |
8354 checkUnnamed2825(o.items); | 8463 checkUnnamed2581(o.items); |
8355 unittest.expect(o.kind, unittest.equals('foo')); | 8464 unittest.expect(o.kind, unittest.equals('foo')); |
8356 } | 8465 } |
8357 buildCounterUserProfileList--; | 8466 buildCounterUserProfileList--; |
8358 } | 8467 } |
8359 | 8468 |
8360 buildUnnamed2826() { | 8469 buildUnnamed2582() { |
8361 var o = new core.List<api.UserRolePermission>(); | 8470 var o = new core.List<api.UserRolePermission>(); |
8362 o.add(buildUserRolePermission()); | 8471 o.add(buildUserRolePermission()); |
8363 o.add(buildUserRolePermission()); | 8472 o.add(buildUserRolePermission()); |
8364 return o; | 8473 return o; |
8365 } | 8474 } |
8366 | 8475 |
8367 checkUnnamed2826(core.List<api.UserRolePermission> o) { | 8476 checkUnnamed2582(core.List<api.UserRolePermission> o) { |
8368 unittest.expect(o, unittest.hasLength(2)); | 8477 unittest.expect(o, unittest.hasLength(2)); |
8369 checkUserRolePermission(o[0]); | 8478 checkUserRolePermission(o[0]); |
8370 checkUserRolePermission(o[1]); | 8479 checkUserRolePermission(o[1]); |
8371 } | 8480 } |
8372 | 8481 |
8373 core.int buildCounterUserRole = 0; | 8482 core.int buildCounterUserRole = 0; |
8374 buildUserRole() { | 8483 buildUserRole() { |
8375 var o = new api.UserRole(); | 8484 var o = new api.UserRole(); |
8376 buildCounterUserRole++; | 8485 buildCounterUserRole++; |
8377 if (buildCounterUserRole < 3) { | 8486 if (buildCounterUserRole < 3) { |
8378 o.accountId = "foo"; | 8487 o.accountId = "foo"; |
8379 o.defaultUserRole = true; | 8488 o.defaultUserRole = true; |
8380 o.id = "foo"; | 8489 o.id = "foo"; |
8381 o.kind = "foo"; | 8490 o.kind = "foo"; |
8382 o.name = "foo"; | 8491 o.name = "foo"; |
8383 o.parentUserRoleId = "foo"; | 8492 o.parentUserRoleId = "foo"; |
8384 o.permissions = buildUnnamed2826(); | 8493 o.permissions = buildUnnamed2582(); |
8385 o.subaccountId = "foo"; | 8494 o.subaccountId = "foo"; |
8386 } | 8495 } |
8387 buildCounterUserRole--; | 8496 buildCounterUserRole--; |
8388 return o; | 8497 return o; |
8389 } | 8498 } |
8390 | 8499 |
8391 checkUserRole(api.UserRole o) { | 8500 checkUserRole(api.UserRole o) { |
8392 buildCounterUserRole++; | 8501 buildCounterUserRole++; |
8393 if (buildCounterUserRole < 3) { | 8502 if (buildCounterUserRole < 3) { |
8394 unittest.expect(o.accountId, unittest.equals('foo')); | 8503 unittest.expect(o.accountId, unittest.equals('foo')); |
8395 unittest.expect(o.defaultUserRole, unittest.isTrue); | 8504 unittest.expect(o.defaultUserRole, unittest.isTrue); |
8396 unittest.expect(o.id, unittest.equals('foo')); | 8505 unittest.expect(o.id, unittest.equals('foo')); |
8397 unittest.expect(o.kind, unittest.equals('foo')); | 8506 unittest.expect(o.kind, unittest.equals('foo')); |
8398 unittest.expect(o.name, unittest.equals('foo')); | 8507 unittest.expect(o.name, unittest.equals('foo')); |
8399 unittest.expect(o.parentUserRoleId, unittest.equals('foo')); | 8508 unittest.expect(o.parentUserRoleId, unittest.equals('foo')); |
8400 checkUnnamed2826(o.permissions); | 8509 checkUnnamed2582(o.permissions); |
8401 unittest.expect(o.subaccountId, unittest.equals('foo')); | 8510 unittest.expect(o.subaccountId, unittest.equals('foo')); |
8402 } | 8511 } |
8403 buildCounterUserRole--; | 8512 buildCounterUserRole--; |
8404 } | 8513 } |
8405 | 8514 |
8406 core.int buildCounterUserRolePermission = 0; | 8515 core.int buildCounterUserRolePermission = 0; |
8407 buildUserRolePermission() { | 8516 buildUserRolePermission() { |
8408 var o = new api.UserRolePermission(); | 8517 var o = new api.UserRolePermission(); |
8409 buildCounterUserRolePermission++; | 8518 buildCounterUserRolePermission++; |
8410 if (buildCounterUserRolePermission < 3) { | 8519 if (buildCounterUserRolePermission < 3) { |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8446 checkUserRolePermissionGroup(api.UserRolePermissionGroup o) { | 8555 checkUserRolePermissionGroup(api.UserRolePermissionGroup o) { |
8447 buildCounterUserRolePermissionGroup++; | 8556 buildCounterUserRolePermissionGroup++; |
8448 if (buildCounterUserRolePermissionGroup < 3) { | 8557 if (buildCounterUserRolePermissionGroup < 3) { |
8449 unittest.expect(o.id, unittest.equals('foo')); | 8558 unittest.expect(o.id, unittest.equals('foo')); |
8450 unittest.expect(o.kind, unittest.equals('foo')); | 8559 unittest.expect(o.kind, unittest.equals('foo')); |
8451 unittest.expect(o.name, unittest.equals('foo')); | 8560 unittest.expect(o.name, unittest.equals('foo')); |
8452 } | 8561 } |
8453 buildCounterUserRolePermissionGroup--; | 8562 buildCounterUserRolePermissionGroup--; |
8454 } | 8563 } |
8455 | 8564 |
8456 buildUnnamed2827() { | 8565 buildUnnamed2583() { |
8457 var o = new core.List<api.UserRolePermissionGroup>(); | 8566 var o = new core.List<api.UserRolePermissionGroup>(); |
8458 o.add(buildUserRolePermissionGroup()); | 8567 o.add(buildUserRolePermissionGroup()); |
8459 o.add(buildUserRolePermissionGroup()); | 8568 o.add(buildUserRolePermissionGroup()); |
8460 return o; | 8569 return o; |
8461 } | 8570 } |
8462 | 8571 |
8463 checkUnnamed2827(core.List<api.UserRolePermissionGroup> o) { | 8572 checkUnnamed2583(core.List<api.UserRolePermissionGroup> o) { |
8464 unittest.expect(o, unittest.hasLength(2)); | 8573 unittest.expect(o, unittest.hasLength(2)); |
8465 checkUserRolePermissionGroup(o[0]); | 8574 checkUserRolePermissionGroup(o[0]); |
8466 checkUserRolePermissionGroup(o[1]); | 8575 checkUserRolePermissionGroup(o[1]); |
8467 } | 8576 } |
8468 | 8577 |
8469 core.int buildCounterUserRolePermissionGroupsListResponse = 0; | 8578 core.int buildCounterUserRolePermissionGroupsListResponse = 0; |
8470 buildUserRolePermissionGroupsListResponse() { | 8579 buildUserRolePermissionGroupsListResponse() { |
8471 var o = new api.UserRolePermissionGroupsListResponse(); | 8580 var o = new api.UserRolePermissionGroupsListResponse(); |
8472 buildCounterUserRolePermissionGroupsListResponse++; | 8581 buildCounterUserRolePermissionGroupsListResponse++; |
8473 if (buildCounterUserRolePermissionGroupsListResponse < 3) { | 8582 if (buildCounterUserRolePermissionGroupsListResponse < 3) { |
8474 o.kind = "foo"; | 8583 o.kind = "foo"; |
8475 o.userRolePermissionGroups = buildUnnamed2827(); | 8584 o.userRolePermissionGroups = buildUnnamed2583(); |
8476 } | 8585 } |
8477 buildCounterUserRolePermissionGroupsListResponse--; | 8586 buildCounterUserRolePermissionGroupsListResponse--; |
8478 return o; | 8587 return o; |
8479 } | 8588 } |
8480 | 8589 |
8481 checkUserRolePermissionGroupsListResponse(api.UserRolePermissionGroupsListRespon
se o) { | 8590 checkUserRolePermissionGroupsListResponse(api.UserRolePermissionGroupsListRespon
se o) { |
8482 buildCounterUserRolePermissionGroupsListResponse++; | 8591 buildCounterUserRolePermissionGroupsListResponse++; |
8483 if (buildCounterUserRolePermissionGroupsListResponse < 3) { | 8592 if (buildCounterUserRolePermissionGroupsListResponse < 3) { |
8484 unittest.expect(o.kind, unittest.equals('foo')); | 8593 unittest.expect(o.kind, unittest.equals('foo')); |
8485 checkUnnamed2827(o.userRolePermissionGroups); | 8594 checkUnnamed2583(o.userRolePermissionGroups); |
8486 } | 8595 } |
8487 buildCounterUserRolePermissionGroupsListResponse--; | 8596 buildCounterUserRolePermissionGroupsListResponse--; |
8488 } | 8597 } |
8489 | 8598 |
8490 buildUnnamed2828() { | 8599 buildUnnamed2584() { |
8491 var o = new core.List<api.UserRolePermission>(); | 8600 var o = new core.List<api.UserRolePermission>(); |
8492 o.add(buildUserRolePermission()); | 8601 o.add(buildUserRolePermission()); |
8493 o.add(buildUserRolePermission()); | 8602 o.add(buildUserRolePermission()); |
8494 return o; | 8603 return o; |
8495 } | 8604 } |
8496 | 8605 |
8497 checkUnnamed2828(core.List<api.UserRolePermission> o) { | 8606 checkUnnamed2584(core.List<api.UserRolePermission> o) { |
8498 unittest.expect(o, unittest.hasLength(2)); | 8607 unittest.expect(o, unittest.hasLength(2)); |
8499 checkUserRolePermission(o[0]); | 8608 checkUserRolePermission(o[0]); |
8500 checkUserRolePermission(o[1]); | 8609 checkUserRolePermission(o[1]); |
8501 } | 8610 } |
8502 | 8611 |
8503 core.int buildCounterUserRolePermissionsListResponse = 0; | 8612 core.int buildCounterUserRolePermissionsListResponse = 0; |
8504 buildUserRolePermissionsListResponse() { | 8613 buildUserRolePermissionsListResponse() { |
8505 var o = new api.UserRolePermissionsListResponse(); | 8614 var o = new api.UserRolePermissionsListResponse(); |
8506 buildCounterUserRolePermissionsListResponse++; | 8615 buildCounterUserRolePermissionsListResponse++; |
8507 if (buildCounterUserRolePermissionsListResponse < 3) { | 8616 if (buildCounterUserRolePermissionsListResponse < 3) { |
8508 o.kind = "foo"; | 8617 o.kind = "foo"; |
8509 o.userRolePermissions = buildUnnamed2828(); | 8618 o.userRolePermissions = buildUnnamed2584(); |
8510 } | 8619 } |
8511 buildCounterUserRolePermissionsListResponse--; | 8620 buildCounterUserRolePermissionsListResponse--; |
8512 return o; | 8621 return o; |
8513 } | 8622 } |
8514 | 8623 |
8515 checkUserRolePermissionsListResponse(api.UserRolePermissionsListResponse o) { | 8624 checkUserRolePermissionsListResponse(api.UserRolePermissionsListResponse o) { |
8516 buildCounterUserRolePermissionsListResponse++; | 8625 buildCounterUserRolePermissionsListResponse++; |
8517 if (buildCounterUserRolePermissionsListResponse < 3) { | 8626 if (buildCounterUserRolePermissionsListResponse < 3) { |
8518 unittest.expect(o.kind, unittest.equals('foo')); | 8627 unittest.expect(o.kind, unittest.equals('foo')); |
8519 checkUnnamed2828(o.userRolePermissions); | 8628 checkUnnamed2584(o.userRolePermissions); |
8520 } | 8629 } |
8521 buildCounterUserRolePermissionsListResponse--; | 8630 buildCounterUserRolePermissionsListResponse--; |
8522 } | 8631 } |
8523 | 8632 |
8524 buildUnnamed2829() { | 8633 buildUnnamed2585() { |
8525 var o = new core.List<api.UserRole>(); | 8634 var o = new core.List<api.UserRole>(); |
8526 o.add(buildUserRole()); | 8635 o.add(buildUserRole()); |
8527 o.add(buildUserRole()); | 8636 o.add(buildUserRole()); |
8528 return o; | 8637 return o; |
8529 } | 8638 } |
8530 | 8639 |
8531 checkUnnamed2829(core.List<api.UserRole> o) { | 8640 checkUnnamed2585(core.List<api.UserRole> o) { |
8532 unittest.expect(o, unittest.hasLength(2)); | 8641 unittest.expect(o, unittest.hasLength(2)); |
8533 checkUserRole(o[0]); | 8642 checkUserRole(o[0]); |
8534 checkUserRole(o[1]); | 8643 checkUserRole(o[1]); |
8535 } | 8644 } |
8536 | 8645 |
8537 core.int buildCounterUserRolesListResponse = 0; | 8646 core.int buildCounterUserRolesListResponse = 0; |
8538 buildUserRolesListResponse() { | 8647 buildUserRolesListResponse() { |
8539 var o = new api.UserRolesListResponse(); | 8648 var o = new api.UserRolesListResponse(); |
8540 buildCounterUserRolesListResponse++; | 8649 buildCounterUserRolesListResponse++; |
8541 if (buildCounterUserRolesListResponse < 3) { | 8650 if (buildCounterUserRolesListResponse < 3) { |
8542 o.kind = "foo"; | 8651 o.kind = "foo"; |
8543 o.nextPageToken = "foo"; | 8652 o.nextPageToken = "foo"; |
8544 o.userRoles = buildUnnamed2829(); | 8653 o.userRoles = buildUnnamed2585(); |
8545 } | 8654 } |
8546 buildCounterUserRolesListResponse--; | 8655 buildCounterUserRolesListResponse--; |
8547 return o; | 8656 return o; |
8548 } | 8657 } |
8549 | 8658 |
8550 checkUserRolesListResponse(api.UserRolesListResponse o) { | 8659 checkUserRolesListResponse(api.UserRolesListResponse o) { |
8551 buildCounterUserRolesListResponse++; | 8660 buildCounterUserRolesListResponse++; |
8552 if (buildCounterUserRolesListResponse < 3) { | 8661 if (buildCounterUserRolesListResponse < 3) { |
8553 unittest.expect(o.kind, unittest.equals('foo')); | 8662 unittest.expect(o.kind, unittest.equals('foo')); |
8554 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 8663 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
8555 checkUnnamed2829(o.userRoles); | 8664 checkUnnamed2585(o.userRoles); |
8556 } | 8665 } |
8557 buildCounterUserRolesListResponse--; | 8666 buildCounterUserRolesListResponse--; |
8558 } | 8667 } |
8559 | 8668 |
8560 buildUnnamed2830() { | 8669 core.int buildCounterVideoFormat = 0; |
8561 var o = new core.List<core.String>(); | 8670 buildVideoFormat() { |
8562 o.add("foo"); | 8671 var o = new api.VideoFormat(); |
8563 o.add("foo"); | 8672 buildCounterVideoFormat++; |
8564 return o; | 8673 if (buildCounterVideoFormat < 3) { |
8565 } | 8674 o.fileType = "foo"; |
8566 | 8675 o.id = 42; |
8567 checkUnnamed2830(core.List<core.String> o) { | 8676 o.kind = "foo"; |
8568 unittest.expect(o, unittest.hasLength(2)); | 8677 o.resolution = buildSize(); |
8569 unittest.expect(o[0], unittest.equals('foo')); | 8678 o.targetBitRate = 42; |
8570 unittest.expect(o[1], unittest.equals('foo')); | 8679 } |
8571 } | 8680 buildCounterVideoFormat--; |
8572 | 8681 return o; |
8573 buildUnnamed2831() { | 8682 } |
8574 var o = new core.List<core.String>(); | 8683 |
8575 o.add("foo"); | 8684 checkVideoFormat(api.VideoFormat o) { |
8576 o.add("foo"); | 8685 buildCounterVideoFormat++; |
8577 return o; | 8686 if (buildCounterVideoFormat < 3) { |
8578 } | 8687 unittest.expect(o.fileType, unittest.equals('foo')); |
8579 | 8688 unittest.expect(o.id, unittest.equals(42)); |
8580 checkUnnamed2831(core.List<core.String> o) { | 8689 unittest.expect(o.kind, unittest.equals('foo')); |
8581 unittest.expect(o, unittest.hasLength(2)); | 8690 checkSize(o.resolution); |
8582 unittest.expect(o[0], unittest.equals('foo')); | 8691 unittest.expect(o.targetBitRate, unittest.equals(42)); |
8583 unittest.expect(o[1], unittest.equals('foo')); | 8692 } |
8584 } | 8693 buildCounterVideoFormat--; |
8585 | 8694 } |
8586 buildUnnamed2832() { | 8695 |
8587 var o = new core.List<core.String>(); | 8696 buildUnnamed2586() { |
8588 o.add("foo"); | 8697 var o = new core.List<api.VideoFormat>(); |
8589 o.add("foo"); | 8698 o.add(buildVideoFormat()); |
8590 return o; | 8699 o.add(buildVideoFormat()); |
8591 } | 8700 return o; |
8592 | 8701 } |
8593 checkUnnamed2832(core.List<core.String> o) { | 8702 |
8594 unittest.expect(o, unittest.hasLength(2)); | 8703 checkUnnamed2586(core.List<api.VideoFormat> o) { |
8595 unittest.expect(o[0], unittest.equals('foo')); | 8704 unittest.expect(o, unittest.hasLength(2)); |
8596 unittest.expect(o[1], unittest.equals('foo')); | 8705 checkVideoFormat(o[0]); |
8597 } | 8706 checkVideoFormat(o[1]); |
8598 | 8707 } |
8599 buildUnnamed2833() { | 8708 |
8600 var o = new core.List<core.String>(); | 8709 core.int buildCounterVideoFormatsListResponse = 0; |
8601 o.add("foo"); | 8710 buildVideoFormatsListResponse() { |
8602 o.add("foo"); | 8711 var o = new api.VideoFormatsListResponse(); |
8603 return o; | 8712 buildCounterVideoFormatsListResponse++; |
8604 } | 8713 if (buildCounterVideoFormatsListResponse < 3) { |
8605 | 8714 o.kind = "foo"; |
8606 checkUnnamed2833(core.List<core.String> o) { | 8715 o.videoFormats = buildUnnamed2586(); |
8607 unittest.expect(o, unittest.hasLength(2)); | 8716 } |
8608 unittest.expect(o[0], unittest.equals('foo')); | 8717 buildCounterVideoFormatsListResponse--; |
8609 unittest.expect(o[1], unittest.equals('foo')); | 8718 return o; |
8610 } | 8719 } |
8611 | 8720 |
8612 buildUnnamed2834() { | 8721 checkVideoFormatsListResponse(api.VideoFormatsListResponse o) { |
8613 var o = new core.List<core.String>(); | 8722 buildCounterVideoFormatsListResponse++; |
8614 o.add("foo"); | 8723 if (buildCounterVideoFormatsListResponse < 3) { |
8615 o.add("foo"); | 8724 unittest.expect(o.kind, unittest.equals('foo')); |
8616 return o; | 8725 checkUnnamed2586(o.videoFormats); |
8617 } | 8726 } |
8618 | 8727 buildCounterVideoFormatsListResponse--; |
8619 checkUnnamed2834(core.List<core.String> o) { | 8728 } |
8620 unittest.expect(o, unittest.hasLength(2)); | 8729 |
8621 unittest.expect(o[0], unittest.equals('foo')); | 8730 core.int buildCounterVideoOffset = 0; |
8622 unittest.expect(o[1], unittest.equals('foo')); | 8731 buildVideoOffset() { |
8623 } | 8732 var o = new api.VideoOffset(); |
8624 | 8733 buildCounterVideoOffset++; |
8625 buildUnnamed2835() { | 8734 if (buildCounterVideoOffset < 3) { |
8626 var o = new core.List<core.String>(); | 8735 o.offsetPercentage = 42; |
8627 o.add("foo"); | 8736 o.offsetSeconds = 42; |
8628 o.add("foo"); | 8737 } |
8629 return o; | 8738 buildCounterVideoOffset--; |
8630 } | 8739 return o; |
8631 | 8740 } |
8632 checkUnnamed2835(core.List<core.String> o) { | 8741 |
8633 unittest.expect(o, unittest.hasLength(2)); | 8742 checkVideoOffset(api.VideoOffset o) { |
8634 unittest.expect(o[0], unittest.equals('foo')); | 8743 buildCounterVideoOffset++; |
8635 unittest.expect(o[1], unittest.equals('foo')); | 8744 if (buildCounterVideoOffset < 3) { |
8636 } | 8745 unittest.expect(o.offsetPercentage, unittest.equals(42)); |
8637 | 8746 unittest.expect(o.offsetSeconds, unittest.equals(42)); |
8638 buildUnnamed2836() { | 8747 } |
8639 var o = new core.List<core.String>(); | 8748 buildCounterVideoOffset--; |
8640 o.add("foo"); | 8749 } |
8641 o.add("foo"); | 8750 |
8642 return o; | 8751 core.int buildCounterVideoSettings = 0; |
8643 } | 8752 buildVideoSettings() { |
8644 | 8753 var o = new api.VideoSettings(); |
8645 checkUnnamed2836(core.List<core.String> o) { | 8754 buildCounterVideoSettings++; |
8646 unittest.expect(o, unittest.hasLength(2)); | 8755 if (buildCounterVideoSettings < 3) { |
8647 unittest.expect(o[0], unittest.equals('foo')); | 8756 o.companionSettings = buildCompanionSetting(); |
8648 unittest.expect(o[1], unittest.equals('foo')); | 8757 o.kind = "foo"; |
8649 } | 8758 o.skippableSettings = buildSkippableSetting(); |
8650 | 8759 o.transcodeSettings = buildTranscodeSetting(); |
8651 buildUnnamed2837() { | 8760 } |
8652 var o = new core.List<core.String>(); | 8761 buildCounterVideoSettings--; |
8653 o.add("foo"); | 8762 return o; |
8654 o.add("foo"); | 8763 } |
8655 return o; | 8764 |
8656 } | 8765 checkVideoSettings(api.VideoSettings o) { |
8657 | 8766 buildCounterVideoSettings++; |
8658 checkUnnamed2837(core.List<core.String> o) { | 8767 if (buildCounterVideoSettings < 3) { |
8659 unittest.expect(o, unittest.hasLength(2)); | 8768 checkCompanionSetting(o.companionSettings); |
8660 unittest.expect(o[0], unittest.equals('foo')); | 8769 unittest.expect(o.kind, unittest.equals('foo')); |
8661 unittest.expect(o[1], unittest.equals('foo')); | 8770 checkSkippableSetting(o.skippableSettings); |
8662 } | 8771 checkTranscodeSetting(o.transcodeSettings); |
8663 | 8772 } |
8664 buildUnnamed2838() { | 8773 buildCounterVideoSettings--; |
8665 var o = new core.List<core.String>(); | 8774 } |
8666 o.add("foo"); | 8775 |
8667 o.add("foo"); | 8776 buildUnnamed2587() { |
8668 return o; | 8777 var o = new core.List<core.String>(); |
8669 } | 8778 o.add("foo"); |
8670 | 8779 o.add("foo"); |
8671 checkUnnamed2838(core.List<core.String> o) { | 8780 return o; |
8672 unittest.expect(o, unittest.hasLength(2)); | 8781 } |
8673 unittest.expect(o[0], unittest.equals('foo')); | 8782 |
8674 unittest.expect(o[1], unittest.equals('foo')); | 8783 checkUnnamed2587(core.List<core.String> o) { |
8675 } | 8784 unittest.expect(o, unittest.hasLength(2)); |
8676 | 8785 unittest.expect(o[0], unittest.equals('foo')); |
8677 buildUnnamed2839() { | 8786 unittest.expect(o[1], unittest.equals('foo')); |
8678 var o = new core.List<core.String>(); | 8787 } |
8679 o.add("foo"); | 8788 |
8680 o.add("foo"); | 8789 buildUnnamed2588() { |
8681 return o; | 8790 var o = new core.List<core.String>(); |
8682 } | 8791 o.add("foo"); |
8683 | 8792 o.add("foo"); |
8684 checkUnnamed2839(core.List<core.String> o) { | 8793 return o; |
8685 unittest.expect(o, unittest.hasLength(2)); | 8794 } |
8686 unittest.expect(o[0], unittest.equals('foo')); | 8795 |
8687 unittest.expect(o[1], unittest.equals('foo')); | 8796 checkUnnamed2588(core.List<core.String> o) { |
8688 } | 8797 unittest.expect(o, unittest.hasLength(2)); |
8689 | 8798 unittest.expect(o[0], unittest.equals('foo')); |
8690 buildUnnamed2840() { | 8799 unittest.expect(o[1], unittest.equals('foo')); |
8691 var o = new core.List<core.String>(); | 8800 } |
8692 o.add("foo"); | 8801 |
8693 o.add("foo"); | 8802 buildUnnamed2589() { |
8694 return o; | 8803 var o = new core.List<core.String>(); |
8695 } | 8804 o.add("foo"); |
8696 | 8805 o.add("foo"); |
8697 checkUnnamed2840(core.List<core.String> o) { | 8806 return o; |
8698 unittest.expect(o, unittest.hasLength(2)); | 8807 } |
8699 unittest.expect(o[0], unittest.equals('foo')); | 8808 |
8700 unittest.expect(o[1], unittest.equals('foo')); | 8809 checkUnnamed2589(core.List<core.String> o) { |
8701 } | 8810 unittest.expect(o, unittest.hasLength(2)); |
8702 | 8811 unittest.expect(o[0], unittest.equals('foo')); |
8703 buildUnnamed2841() { | 8812 unittest.expect(o[1], unittest.equals('foo')); |
8704 var o = new core.List<core.String>(); | 8813 } |
8705 o.add("foo"); | 8814 |
8706 o.add("foo"); | 8815 buildUnnamed2590() { |
8707 return o; | 8816 var o = new core.List<core.String>(); |
8708 } | 8817 o.add("foo"); |
8709 | 8818 o.add("foo"); |
8710 checkUnnamed2841(core.List<core.String> o) { | 8819 return o; |
8711 unittest.expect(o, unittest.hasLength(2)); | 8820 } |
8712 unittest.expect(o[0], unittest.equals('foo')); | 8821 |
8713 unittest.expect(o[1], unittest.equals('foo')); | 8822 checkUnnamed2590(core.List<core.String> o) { |
8714 } | 8823 unittest.expect(o, unittest.hasLength(2)); |
8715 | 8824 unittest.expect(o[0], unittest.equals('foo')); |
8716 buildUnnamed2842() { | 8825 unittest.expect(o[1], unittest.equals('foo')); |
8717 var o = new core.List<core.String>(); | 8826 } |
8718 o.add("foo"); | 8827 |
8719 o.add("foo"); | 8828 buildUnnamed2591() { |
8720 return o; | 8829 var o = new core.List<core.String>(); |
8721 } | 8830 o.add("foo"); |
8722 | 8831 o.add("foo"); |
8723 checkUnnamed2842(core.List<core.String> o) { | 8832 return o; |
8724 unittest.expect(o, unittest.hasLength(2)); | 8833 } |
8725 unittest.expect(o[0], unittest.equals('foo')); | 8834 |
8726 unittest.expect(o[1], unittest.equals('foo')); | 8835 checkUnnamed2591(core.List<core.String> o) { |
8727 } | 8836 unittest.expect(o, unittest.hasLength(2)); |
8728 | 8837 unittest.expect(o[0], unittest.equals('foo')); |
8729 buildUnnamed2843() { | 8838 unittest.expect(o[1], unittest.equals('foo')); |
8730 var o = new core.List<core.String>(); | 8839 } |
8731 o.add("foo"); | 8840 |
8732 o.add("foo"); | 8841 buildUnnamed2592() { |
8733 return o; | 8842 var o = new core.List<core.String>(); |
8734 } | 8843 o.add("foo"); |
8735 | 8844 o.add("foo"); |
8736 checkUnnamed2843(core.List<core.String> o) { | 8845 return o; |
8737 unittest.expect(o, unittest.hasLength(2)); | 8846 } |
8738 unittest.expect(o[0], unittest.equals('foo')); | 8847 |
8739 unittest.expect(o[1], unittest.equals('foo')); | 8848 checkUnnamed2592(core.List<core.String> o) { |
8740 } | 8849 unittest.expect(o, unittest.hasLength(2)); |
8741 | 8850 unittest.expect(o[0], unittest.equals('foo')); |
8742 buildUnnamed2844() { | 8851 unittest.expect(o[1], unittest.equals('foo')); |
8743 var o = new core.List<core.String>(); | 8852 } |
8744 o.add("foo"); | 8853 |
8745 o.add("foo"); | 8854 buildUnnamed2593() { |
8746 return o; | 8855 var o = new core.List<core.String>(); |
8747 } | 8856 o.add("foo"); |
8748 | 8857 o.add("foo"); |
8749 checkUnnamed2844(core.List<core.String> o) { | 8858 return o; |
8750 unittest.expect(o, unittest.hasLength(2)); | 8859 } |
8751 unittest.expect(o[0], unittest.equals('foo')); | 8860 |
8752 unittest.expect(o[1], unittest.equals('foo')); | 8861 checkUnnamed2593(core.List<core.String> o) { |
8753 } | 8862 unittest.expect(o, unittest.hasLength(2)); |
8754 | 8863 unittest.expect(o[0], unittest.equals('foo')); |
8755 buildUnnamed2845() { | 8864 unittest.expect(o[1], unittest.equals('foo')); |
8756 var o = new core.List<core.String>(); | 8865 } |
8757 o.add("foo"); | 8866 |
8758 o.add("foo"); | 8867 buildUnnamed2594() { |
8759 return o; | 8868 var o = new core.List<core.String>(); |
8760 } | 8869 o.add("foo"); |
8761 | 8870 o.add("foo"); |
8762 checkUnnamed2845(core.List<core.String> o) { | 8871 return o; |
8763 unittest.expect(o, unittest.hasLength(2)); | 8872 } |
8764 unittest.expect(o[0], unittest.equals('foo')); | 8873 |
8765 unittest.expect(o[1], unittest.equals('foo')); | 8874 checkUnnamed2594(core.List<core.String> o) { |
8766 } | 8875 unittest.expect(o, unittest.hasLength(2)); |
8767 | 8876 unittest.expect(o[0], unittest.equals('foo')); |
8768 buildUnnamed2846() { | 8877 unittest.expect(o[1], unittest.equals('foo')); |
8769 var o = new core.List<core.String>(); | 8878 } |
8770 o.add("foo"); | 8879 |
8771 o.add("foo"); | 8880 buildUnnamed2595() { |
8772 return o; | 8881 var o = new core.List<core.String>(); |
8773 } | 8882 o.add("foo"); |
8774 | 8883 o.add("foo"); |
8775 checkUnnamed2846(core.List<core.String> o) { | 8884 return o; |
8776 unittest.expect(o, unittest.hasLength(2)); | 8885 } |
8777 unittest.expect(o[0], unittest.equals('foo')); | 8886 |
8778 unittest.expect(o[1], unittest.equals('foo')); | 8887 checkUnnamed2595(core.List<core.String> o) { |
8779 } | 8888 unittest.expect(o, unittest.hasLength(2)); |
8780 | 8889 unittest.expect(o[0], unittest.equals('foo')); |
8781 buildUnnamed2847() { | 8890 unittest.expect(o[1], unittest.equals('foo')); |
8782 var o = new core.List<core.String>(); | 8891 } |
8783 o.add("foo"); | 8892 |
8784 o.add("foo"); | 8893 buildUnnamed2596() { |
8785 return o; | 8894 var o = new core.List<core.String>(); |
8786 } | 8895 o.add("foo"); |
8787 | 8896 o.add("foo"); |
8788 checkUnnamed2847(core.List<core.String> o) { | 8897 return o; |
8789 unittest.expect(o, unittest.hasLength(2)); | 8898 } |
8790 unittest.expect(o[0], unittest.equals('foo')); | 8899 |
8791 unittest.expect(o[1], unittest.equals('foo')); | 8900 checkUnnamed2596(core.List<core.String> o) { |
8792 } | 8901 unittest.expect(o, unittest.hasLength(2)); |
8793 | 8902 unittest.expect(o[0], unittest.equals('foo')); |
8794 buildUnnamed2848() { | 8903 unittest.expect(o[1], unittest.equals('foo')); |
8795 var o = new core.List<core.String>(); | 8904 } |
8796 o.add("foo"); | 8905 |
8797 o.add("foo"); | 8906 buildUnnamed2597() { |
8798 return o; | 8907 var o = new core.List<core.String>(); |
8799 } | 8908 o.add("foo"); |
8800 | 8909 o.add("foo"); |
8801 checkUnnamed2848(core.List<core.String> o) { | 8910 return o; |
8802 unittest.expect(o, unittest.hasLength(2)); | 8911 } |
8803 unittest.expect(o[0], unittest.equals('foo')); | 8912 |
8804 unittest.expect(o[1], unittest.equals('foo')); | 8913 checkUnnamed2597(core.List<core.String> o) { |
8805 } | 8914 unittest.expect(o, unittest.hasLength(2)); |
8806 | 8915 unittest.expect(o[0], unittest.equals('foo')); |
8807 buildUnnamed2849() { | 8916 unittest.expect(o[1], unittest.equals('foo')); |
8808 var o = new core.List<core.String>(); | 8917 } |
8809 o.add("foo"); | 8918 |
8810 o.add("foo"); | 8919 buildUnnamed2598() { |
8811 return o; | 8920 var o = new core.List<core.String>(); |
8812 } | 8921 o.add("foo"); |
8813 | 8922 o.add("foo"); |
8814 checkUnnamed2849(core.List<core.String> o) { | 8923 return o; |
8815 unittest.expect(o, unittest.hasLength(2)); | 8924 } |
8816 unittest.expect(o[0], unittest.equals('foo')); | 8925 |
8817 unittest.expect(o[1], unittest.equals('foo')); | 8926 checkUnnamed2598(core.List<core.String> o) { |
8818 } | 8927 unittest.expect(o, unittest.hasLength(2)); |
8819 | 8928 unittest.expect(o[0], unittest.equals('foo')); |
8820 buildUnnamed2850() { | 8929 unittest.expect(o[1], unittest.equals('foo')); |
8821 var o = new core.List<core.String>(); | 8930 } |
8822 o.add("foo"); | 8931 |
8823 o.add("foo"); | 8932 buildUnnamed2599() { |
8824 return o; | 8933 var o = new core.List<core.String>(); |
8825 } | 8934 o.add("foo"); |
8826 | 8935 o.add("foo"); |
8827 checkUnnamed2850(core.List<core.String> o) { | 8936 return o; |
8828 unittest.expect(o, unittest.hasLength(2)); | 8937 } |
8829 unittest.expect(o[0], unittest.equals('foo')); | 8938 |
8830 unittest.expect(o[1], unittest.equals('foo')); | 8939 checkUnnamed2599(core.List<core.String> o) { |
8831 } | 8940 unittest.expect(o, unittest.hasLength(2)); |
8832 | 8941 unittest.expect(o[0], unittest.equals('foo')); |
8833 buildUnnamed2851() { | 8942 unittest.expect(o[1], unittest.equals('foo')); |
8834 var o = new core.List<core.String>(); | 8943 } |
8835 o.add("foo"); | 8944 |
8836 o.add("foo"); | 8945 buildUnnamed2600() { |
8837 return o; | 8946 var o = new core.List<core.String>(); |
8838 } | 8947 o.add("foo"); |
8839 | 8948 o.add("foo"); |
8840 checkUnnamed2851(core.List<core.String> o) { | 8949 return o; |
8841 unittest.expect(o, unittest.hasLength(2)); | 8950 } |
8842 unittest.expect(o[0], unittest.equals('foo')); | 8951 |
8843 unittest.expect(o[1], unittest.equals('foo')); | 8952 checkUnnamed2600(core.List<core.String> o) { |
8844 } | 8953 unittest.expect(o, unittest.hasLength(2)); |
8845 | 8954 unittest.expect(o[0], unittest.equals('foo')); |
8846 buildUnnamed2852() { | 8955 unittest.expect(o[1], unittest.equals('foo')); |
8847 var o = new core.List<core.String>(); | 8956 } |
8848 o.add("foo"); | 8957 |
8849 o.add("foo"); | 8958 buildUnnamed2601() { |
8850 return o; | 8959 var o = new core.List<core.String>(); |
8851 } | 8960 o.add("foo"); |
8852 | 8961 o.add("foo"); |
8853 checkUnnamed2852(core.List<core.String> o) { | 8962 return o; |
8854 unittest.expect(o, unittest.hasLength(2)); | 8963 } |
8855 unittest.expect(o[0], unittest.equals('foo')); | 8964 |
8856 unittest.expect(o[1], unittest.equals('foo')); | 8965 checkUnnamed2601(core.List<core.String> o) { |
8857 } | 8966 unittest.expect(o, unittest.hasLength(2)); |
8858 | 8967 unittest.expect(o[0], unittest.equals('foo')); |
8859 buildUnnamed2853() { | 8968 unittest.expect(o[1], unittest.equals('foo')); |
8860 var o = new core.List<core.String>(); | 8969 } |
8861 o.add("foo"); | 8970 |
8862 o.add("foo"); | 8971 buildUnnamed2602() { |
8863 return o; | 8972 var o = new core.List<core.String>(); |
8864 } | 8973 o.add("foo"); |
8865 | 8974 o.add("foo"); |
8866 checkUnnamed2853(core.List<core.String> o) { | 8975 return o; |
8867 unittest.expect(o, unittest.hasLength(2)); | 8976 } |
8868 unittest.expect(o[0], unittest.equals('foo')); | 8977 |
8869 unittest.expect(o[1], unittest.equals('foo')); | 8978 checkUnnamed2602(core.List<core.String> o) { |
8870 } | 8979 unittest.expect(o, unittest.hasLength(2)); |
8871 | 8980 unittest.expect(o[0], unittest.equals('foo')); |
8872 buildUnnamed2854() { | 8981 unittest.expect(o[1], unittest.equals('foo')); |
8873 var o = new core.List<core.String>(); | 8982 } |
8874 o.add("foo"); | 8983 |
8875 o.add("foo"); | 8984 buildUnnamed2603() { |
8876 return o; | 8985 var o = new core.List<core.String>(); |
8877 } | 8986 o.add("foo"); |
8878 | 8987 o.add("foo"); |
8879 checkUnnamed2854(core.List<core.String> o) { | 8988 return o; |
8880 unittest.expect(o, unittest.hasLength(2)); | 8989 } |
8881 unittest.expect(o[0], unittest.equals('foo')); | 8990 |
8882 unittest.expect(o[1], unittest.equals('foo')); | 8991 checkUnnamed2603(core.List<core.String> o) { |
8883 } | 8992 unittest.expect(o, unittest.hasLength(2)); |
8884 | 8993 unittest.expect(o[0], unittest.equals('foo')); |
8885 buildUnnamed2855() { | 8994 unittest.expect(o[1], unittest.equals('foo')); |
8886 var o = new core.List<core.String>(); | 8995 } |
8887 o.add("foo"); | 8996 |
8888 o.add("foo"); | 8997 buildUnnamed2604() { |
8889 return o; | 8998 var o = new core.List<core.String>(); |
8890 } | 8999 o.add("foo"); |
8891 | 9000 o.add("foo"); |
8892 checkUnnamed2855(core.List<core.String> o) { | 9001 return o; |
8893 unittest.expect(o, unittest.hasLength(2)); | 9002 } |
8894 unittest.expect(o[0], unittest.equals('foo')); | 9003 |
8895 unittest.expect(o[1], unittest.equals('foo')); | 9004 checkUnnamed2604(core.List<core.String> o) { |
8896 } | 9005 unittest.expect(o, unittest.hasLength(2)); |
8897 | 9006 unittest.expect(o[0], unittest.equals('foo')); |
8898 buildUnnamed2856() { | 9007 unittest.expect(o[1], unittest.equals('foo')); |
8899 var o = new core.List<core.String>(); | 9008 } |
8900 o.add("foo"); | 9009 |
8901 o.add("foo"); | 9010 buildUnnamed2605() { |
8902 return o; | 9011 var o = new core.List<core.String>(); |
8903 } | 9012 o.add("foo"); |
8904 | 9013 o.add("foo"); |
8905 checkUnnamed2856(core.List<core.String> o) { | 9014 return o; |
8906 unittest.expect(o, unittest.hasLength(2)); | 9015 } |
8907 unittest.expect(o[0], unittest.equals('foo')); | 9016 |
8908 unittest.expect(o[1], unittest.equals('foo')); | 9017 checkUnnamed2605(core.List<core.String> o) { |
8909 } | 9018 unittest.expect(o, unittest.hasLength(2)); |
8910 | 9019 unittest.expect(o[0], unittest.equals('foo')); |
8911 buildUnnamed2857() { | 9020 unittest.expect(o[1], unittest.equals('foo')); |
8912 var o = new core.List<core.String>(); | 9021 } |
8913 o.add("foo"); | 9022 |
8914 o.add("foo"); | 9023 buildUnnamed2606() { |
8915 return o; | 9024 var o = new core.List<core.String>(); |
8916 } | 9025 o.add("foo"); |
8917 | 9026 o.add("foo"); |
8918 checkUnnamed2857(core.List<core.String> o) { | 9027 return o; |
8919 unittest.expect(o, unittest.hasLength(2)); | 9028 } |
8920 unittest.expect(o[0], unittest.equals('foo')); | 9029 |
8921 unittest.expect(o[1], unittest.equals('foo')); | 9030 checkUnnamed2606(core.List<core.String> o) { |
8922 } | 9031 unittest.expect(o, unittest.hasLength(2)); |
8923 | 9032 unittest.expect(o[0], unittest.equals('foo')); |
8924 buildUnnamed2858() { | 9033 unittest.expect(o[1], unittest.equals('foo')); |
8925 var o = new core.List<core.String>(); | 9034 } |
8926 o.add("foo"); | 9035 |
8927 o.add("foo"); | 9036 buildUnnamed2607() { |
8928 return o; | 9037 var o = new core.List<core.String>(); |
8929 } | 9038 o.add("foo"); |
8930 | 9039 o.add("foo"); |
8931 checkUnnamed2858(core.List<core.String> o) { | 9040 return o; |
8932 unittest.expect(o, unittest.hasLength(2)); | 9041 } |
8933 unittest.expect(o[0], unittest.equals('foo')); | 9042 |
8934 unittest.expect(o[1], unittest.equals('foo')); | 9043 checkUnnamed2607(core.List<core.String> o) { |
8935 } | 9044 unittest.expect(o, unittest.hasLength(2)); |
8936 | 9045 unittest.expect(o[0], unittest.equals('foo')); |
8937 buildUnnamed2859() { | 9046 unittest.expect(o[1], unittest.equals('foo')); |
8938 var o = new core.List<core.String>(); | 9047 } |
8939 o.add("foo"); | 9048 |
8940 o.add("foo"); | 9049 buildUnnamed2608() { |
8941 return o; | 9050 var o = new core.List<core.String>(); |
8942 } | 9051 o.add("foo"); |
8943 | 9052 o.add("foo"); |
8944 checkUnnamed2859(core.List<core.String> o) { | 9053 return o; |
8945 unittest.expect(o, unittest.hasLength(2)); | 9054 } |
8946 unittest.expect(o[0], unittest.equals('foo')); | 9055 |
8947 unittest.expect(o[1], unittest.equals('foo')); | 9056 checkUnnamed2608(core.List<core.String> o) { |
8948 } | 9057 unittest.expect(o, unittest.hasLength(2)); |
8949 | 9058 unittest.expect(o[0], unittest.equals('foo')); |
8950 buildUnnamed2860() { | 9059 unittest.expect(o[1], unittest.equals('foo')); |
8951 var o = new core.List<core.String>(); | 9060 } |
8952 o.add("foo"); | 9061 |
8953 o.add("foo"); | 9062 buildUnnamed2609() { |
8954 return o; | 9063 var o = new core.List<core.String>(); |
8955 } | 9064 o.add("foo"); |
8956 | 9065 o.add("foo"); |
8957 checkUnnamed2860(core.List<core.String> o) { | 9066 return o; |
8958 unittest.expect(o, unittest.hasLength(2)); | 9067 } |
8959 unittest.expect(o[0], unittest.equals('foo')); | 9068 |
8960 unittest.expect(o[1], unittest.equals('foo')); | 9069 checkUnnamed2609(core.List<core.String> o) { |
8961 } | 9070 unittest.expect(o, unittest.hasLength(2)); |
8962 | 9071 unittest.expect(o[0], unittest.equals('foo')); |
8963 buildUnnamed2861() { | 9072 unittest.expect(o[1], unittest.equals('foo')); |
8964 var o = new core.List<core.String>(); | 9073 } |
8965 o.add("foo"); | 9074 |
8966 o.add("foo"); | 9075 buildUnnamed2610() { |
8967 return o; | 9076 var o = new core.List<core.String>(); |
8968 } | 9077 o.add("foo"); |
8969 | 9078 o.add("foo"); |
8970 checkUnnamed2861(core.List<core.String> o) { | 9079 return o; |
8971 unittest.expect(o, unittest.hasLength(2)); | 9080 } |
8972 unittest.expect(o[0], unittest.equals('foo')); | 9081 |
8973 unittest.expect(o[1], unittest.equals('foo')); | 9082 checkUnnamed2610(core.List<core.String> o) { |
8974 } | 9083 unittest.expect(o, unittest.hasLength(2)); |
8975 | 9084 unittest.expect(o[0], unittest.equals('foo')); |
8976 buildUnnamed2862() { | 9085 unittest.expect(o[1], unittest.equals('foo')); |
8977 var o = new core.List<core.String>(); | 9086 } |
8978 o.add("foo"); | 9087 |
8979 o.add("foo"); | 9088 buildUnnamed2611() { |
8980 return o; | 9089 var o = new core.List<core.String>(); |
8981 } | 9090 o.add("foo"); |
8982 | 9091 o.add("foo"); |
8983 checkUnnamed2862(core.List<core.String> o) { | 9092 return o; |
8984 unittest.expect(o, unittest.hasLength(2)); | 9093 } |
8985 unittest.expect(o[0], unittest.equals('foo')); | 9094 |
8986 unittest.expect(o[1], unittest.equals('foo')); | 9095 checkUnnamed2611(core.List<core.String> o) { |
8987 } | 9096 unittest.expect(o, unittest.hasLength(2)); |
8988 | 9097 unittest.expect(o[0], unittest.equals('foo')); |
8989 buildUnnamed2863() { | 9098 unittest.expect(o[1], unittest.equals('foo')); |
8990 var o = new core.List<core.String>(); | 9099 } |
8991 o.add("foo"); | 9100 |
8992 o.add("foo"); | 9101 buildUnnamed2612() { |
8993 return o; | 9102 var o = new core.List<core.String>(); |
8994 } | 9103 o.add("foo"); |
8995 | 9104 o.add("foo"); |
8996 checkUnnamed2863(core.List<core.String> o) { | 9105 return o; |
8997 unittest.expect(o, unittest.hasLength(2)); | 9106 } |
8998 unittest.expect(o[0], unittest.equals('foo')); | 9107 |
8999 unittest.expect(o[1], unittest.equals('foo')); | 9108 checkUnnamed2612(core.List<core.String> o) { |
9000 } | 9109 unittest.expect(o, unittest.hasLength(2)); |
9001 | 9110 unittest.expect(o[0], unittest.equals('foo')); |
9002 buildUnnamed2864() { | 9111 unittest.expect(o[1], unittest.equals('foo')); |
9003 var o = new core.List<core.String>(); | 9112 } |
9004 o.add("foo"); | 9113 |
9005 o.add("foo"); | 9114 buildUnnamed2613() { |
9006 return o; | 9115 var o = new core.List<core.String>(); |
9007 } | 9116 o.add("foo"); |
9008 | 9117 o.add("foo"); |
9009 checkUnnamed2864(core.List<core.String> o) { | 9118 return o; |
9010 unittest.expect(o, unittest.hasLength(2)); | 9119 } |
9011 unittest.expect(o[0], unittest.equals('foo')); | 9120 |
9012 unittest.expect(o[1], unittest.equals('foo')); | 9121 checkUnnamed2613(core.List<core.String> o) { |
9013 } | 9122 unittest.expect(o, unittest.hasLength(2)); |
9014 | 9123 unittest.expect(o[0], unittest.equals('foo')); |
9015 buildUnnamed2865() { | 9124 unittest.expect(o[1], unittest.equals('foo')); |
9016 var o = new core.List<core.String>(); | 9125 } |
9017 o.add("foo"); | 9126 |
9018 o.add("foo"); | 9127 buildUnnamed2614() { |
9019 return o; | 9128 var o = new core.List<core.String>(); |
9020 } | 9129 o.add("foo"); |
9021 | 9130 o.add("foo"); |
9022 checkUnnamed2865(core.List<core.String> o) { | 9131 return o; |
9023 unittest.expect(o, unittest.hasLength(2)); | 9132 } |
9024 unittest.expect(o[0], unittest.equals('foo')); | 9133 |
9025 unittest.expect(o[1], unittest.equals('foo')); | 9134 checkUnnamed2614(core.List<core.String> o) { |
9026 } | 9135 unittest.expect(o, unittest.hasLength(2)); |
9027 | 9136 unittest.expect(o[0], unittest.equals('foo')); |
9028 buildUnnamed2866() { | 9137 unittest.expect(o[1], unittest.equals('foo')); |
9029 var o = new core.List<core.String>(); | 9138 } |
9030 o.add("foo"); | 9139 |
9031 o.add("foo"); | 9140 buildUnnamed2615() { |
9032 return o; | 9141 var o = new core.List<core.String>(); |
9033 } | 9142 o.add("foo"); |
9034 | 9143 o.add("foo"); |
9035 checkUnnamed2866(core.List<core.String> o) { | 9144 return o; |
9036 unittest.expect(o, unittest.hasLength(2)); | 9145 } |
9037 unittest.expect(o[0], unittest.equals('foo')); | 9146 |
9038 unittest.expect(o[1], unittest.equals('foo')); | 9147 checkUnnamed2615(core.List<core.String> o) { |
9039 } | 9148 unittest.expect(o, unittest.hasLength(2)); |
9040 | 9149 unittest.expect(o[0], unittest.equals('foo')); |
9041 buildUnnamed2867() { | 9150 unittest.expect(o[1], unittest.equals('foo')); |
9042 var o = new core.List<core.String>(); | 9151 } |
9043 o.add("foo"); | 9152 |
9044 o.add("foo"); | 9153 buildUnnamed2616() { |
9045 return o; | 9154 var o = new core.List<core.String>(); |
9046 } | 9155 o.add("foo"); |
9047 | 9156 o.add("foo"); |
9048 checkUnnamed2867(core.List<core.String> o) { | 9157 return o; |
9049 unittest.expect(o, unittest.hasLength(2)); | 9158 } |
9050 unittest.expect(o[0], unittest.equals('foo')); | 9159 |
9051 unittest.expect(o[1], unittest.equals('foo')); | 9160 checkUnnamed2616(core.List<core.String> o) { |
9052 } | 9161 unittest.expect(o, unittest.hasLength(2)); |
9053 | 9162 unittest.expect(o[0], unittest.equals('foo')); |
9054 buildUnnamed2868() { | 9163 unittest.expect(o[1], unittest.equals('foo')); |
9055 var o = new core.List<core.String>(); | 9164 } |
9056 o.add("foo"); | 9165 |
9057 o.add("foo"); | 9166 buildUnnamed2617() { |
9058 return o; | 9167 var o = new core.List<core.String>(); |
9059 } | 9168 o.add("foo"); |
9060 | 9169 o.add("foo"); |
9061 checkUnnamed2868(core.List<core.String> o) { | 9170 return o; |
9062 unittest.expect(o, unittest.hasLength(2)); | 9171 } |
9063 unittest.expect(o[0], unittest.equals('foo')); | 9172 |
9064 unittest.expect(o[1], unittest.equals('foo')); | 9173 checkUnnamed2617(core.List<core.String> o) { |
9065 } | 9174 unittest.expect(o, unittest.hasLength(2)); |
9066 | 9175 unittest.expect(o[0], unittest.equals('foo')); |
9067 buildUnnamed2869() { | 9176 unittest.expect(o[1], unittest.equals('foo')); |
9068 var o = new core.List<core.String>(); | 9177 } |
9069 o.add("foo"); | 9178 |
9070 o.add("foo"); | 9179 buildUnnamed2618() { |
9071 return o; | 9180 var o = new core.List<core.String>(); |
9072 } | 9181 o.add("foo"); |
9073 | 9182 o.add("foo"); |
9074 checkUnnamed2869(core.List<core.String> o) { | 9183 return o; |
9075 unittest.expect(o, unittest.hasLength(2)); | 9184 } |
9076 unittest.expect(o[0], unittest.equals('foo')); | 9185 |
9077 unittest.expect(o[1], unittest.equals('foo')); | 9186 checkUnnamed2618(core.List<core.String> o) { |
9078 } | 9187 unittest.expect(o, unittest.hasLength(2)); |
9079 | 9188 unittest.expect(o[0], unittest.equals('foo')); |
9080 buildUnnamed2870() { | 9189 unittest.expect(o[1], unittest.equals('foo')); |
9081 var o = new core.List<core.String>(); | 9190 } |
9082 o.add("foo"); | 9191 |
9083 o.add("foo"); | 9192 buildUnnamed2619() { |
9084 return o; | 9193 var o = new core.List<core.String>(); |
9085 } | 9194 o.add("foo"); |
9086 | 9195 o.add("foo"); |
9087 checkUnnamed2870(core.List<core.String> o) { | 9196 return o; |
9088 unittest.expect(o, unittest.hasLength(2)); | 9197 } |
9089 unittest.expect(o[0], unittest.equals('foo')); | 9198 |
9090 unittest.expect(o[1], unittest.equals('foo')); | 9199 checkUnnamed2619(core.List<core.String> o) { |
9091 } | 9200 unittest.expect(o, unittest.hasLength(2)); |
9092 | 9201 unittest.expect(o[0], unittest.equals('foo')); |
9093 buildUnnamed2871() { | 9202 unittest.expect(o[1], unittest.equals('foo')); |
9094 var o = new core.List<core.String>(); | 9203 } |
9095 o.add("foo"); | 9204 |
9096 o.add("foo"); | 9205 buildUnnamed2620() { |
9097 return o; | 9206 var o = new core.List<core.String>(); |
9098 } | 9207 o.add("foo"); |
9099 | 9208 o.add("foo"); |
9100 checkUnnamed2871(core.List<core.String> o) { | 9209 return o; |
9101 unittest.expect(o, unittest.hasLength(2)); | 9210 } |
9102 unittest.expect(o[0], unittest.equals('foo')); | 9211 |
9103 unittest.expect(o[1], unittest.equals('foo')); | 9212 checkUnnamed2620(core.List<core.String> o) { |
9104 } | 9213 unittest.expect(o, unittest.hasLength(2)); |
9105 | 9214 unittest.expect(o[0], unittest.equals('foo')); |
9106 buildUnnamed2872() { | 9215 unittest.expect(o[1], unittest.equals('foo')); |
9107 var o = new core.List<core.String>(); | 9216 } |
9108 o.add("foo"); | 9217 |
9109 o.add("foo"); | 9218 buildUnnamed2621() { |
9110 return o; | 9219 var o = new core.List<core.String>(); |
9111 } | 9220 o.add("foo"); |
9112 | 9221 o.add("foo"); |
9113 checkUnnamed2872(core.List<core.String> o) { | 9222 return o; |
9114 unittest.expect(o, unittest.hasLength(2)); | 9223 } |
9115 unittest.expect(o[0], unittest.equals('foo')); | 9224 |
9116 unittest.expect(o[1], unittest.equals('foo')); | 9225 checkUnnamed2621(core.List<core.String> o) { |
9117 } | 9226 unittest.expect(o, unittest.hasLength(2)); |
9118 | 9227 unittest.expect(o[0], unittest.equals('foo')); |
9119 buildUnnamed2873() { | 9228 unittest.expect(o[1], unittest.equals('foo')); |
9120 var o = new core.List<core.String>(); | 9229 } |
9121 o.add("foo"); | 9230 |
9122 o.add("foo"); | 9231 buildUnnamed2622() { |
9123 return o; | 9232 var o = new core.List<core.String>(); |
9124 } | 9233 o.add("foo"); |
9125 | 9234 o.add("foo"); |
9126 checkUnnamed2873(core.List<core.String> o) { | 9235 return o; |
9127 unittest.expect(o, unittest.hasLength(2)); | 9236 } |
9128 unittest.expect(o[0], unittest.equals('foo')); | 9237 |
9129 unittest.expect(o[1], unittest.equals('foo')); | 9238 checkUnnamed2622(core.List<core.String> o) { |
9130 } | 9239 unittest.expect(o, unittest.hasLength(2)); |
9131 | 9240 unittest.expect(o[0], unittest.equals('foo')); |
9132 buildUnnamed2874() { | 9241 unittest.expect(o[1], unittest.equals('foo')); |
9133 var o = new core.List<core.String>(); | 9242 } |
9134 o.add("foo"); | 9243 |
9135 o.add("foo"); | 9244 buildUnnamed2623() { |
9136 return o; | 9245 var o = new core.List<core.String>(); |
9137 } | 9246 o.add("foo"); |
9138 | 9247 o.add("foo"); |
9139 checkUnnamed2874(core.List<core.String> o) { | 9248 return o; |
9140 unittest.expect(o, unittest.hasLength(2)); | 9249 } |
9141 unittest.expect(o[0], unittest.equals('foo')); | 9250 |
9142 unittest.expect(o[1], unittest.equals('foo')); | 9251 checkUnnamed2623(core.List<core.String> o) { |
9143 } | 9252 unittest.expect(o, unittest.hasLength(2)); |
9144 | 9253 unittest.expect(o[0], unittest.equals('foo')); |
9145 buildUnnamed2875() { | 9254 unittest.expect(o[1], unittest.equals('foo')); |
9146 var o = new core.List<core.String>(); | 9255 } |
9147 o.add("foo"); | 9256 |
9148 o.add("foo"); | 9257 buildUnnamed2624() { |
9149 return o; | 9258 var o = new core.List<core.String>(); |
9150 } | 9259 o.add("foo"); |
9151 | 9260 o.add("foo"); |
9152 checkUnnamed2875(core.List<core.String> o) { | 9261 return o; |
9153 unittest.expect(o, unittest.hasLength(2)); | 9262 } |
9154 unittest.expect(o[0], unittest.equals('foo')); | 9263 |
9155 unittest.expect(o[1], unittest.equals('foo')); | 9264 checkUnnamed2624(core.List<core.String> o) { |
9156 } | 9265 unittest.expect(o, unittest.hasLength(2)); |
9157 | 9266 unittest.expect(o[0], unittest.equals('foo')); |
9158 buildUnnamed2876() { | 9267 unittest.expect(o[1], unittest.equals('foo')); |
9159 var o = new core.List<core.String>(); | 9268 } |
9160 o.add("foo"); | 9269 |
9161 o.add("foo"); | 9270 buildUnnamed2625() { |
9162 return o; | 9271 var o = new core.List<core.String>(); |
9163 } | 9272 o.add("foo"); |
9164 | 9273 o.add("foo"); |
9165 checkUnnamed2876(core.List<core.String> o) { | 9274 return o; |
9166 unittest.expect(o, unittest.hasLength(2)); | 9275 } |
9167 unittest.expect(o[0], unittest.equals('foo')); | 9276 |
9168 unittest.expect(o[1], unittest.equals('foo')); | 9277 checkUnnamed2625(core.List<core.String> o) { |
9169 } | 9278 unittest.expect(o, unittest.hasLength(2)); |
9170 | 9279 unittest.expect(o[0], unittest.equals('foo')); |
9171 buildUnnamed2877() { | 9280 unittest.expect(o[1], unittest.equals('foo')); |
9172 var o = new core.List<core.String>(); | 9281 } |
9173 o.add("foo"); | 9282 |
9174 o.add("foo"); | 9283 buildUnnamed2626() { |
9175 return o; | 9284 var o = new core.List<core.String>(); |
9176 } | 9285 o.add("foo"); |
9177 | 9286 o.add("foo"); |
9178 checkUnnamed2877(core.List<core.String> o) { | 9287 return o; |
9179 unittest.expect(o, unittest.hasLength(2)); | 9288 } |
9180 unittest.expect(o[0], unittest.equals('foo')); | 9289 |
9181 unittest.expect(o[1], unittest.equals('foo')); | 9290 checkUnnamed2626(core.List<core.String> o) { |
9182 } | 9291 unittest.expect(o, unittest.hasLength(2)); |
9183 | 9292 unittest.expect(o[0], unittest.equals('foo')); |
9184 buildUnnamed2878() { | 9293 unittest.expect(o[1], unittest.equals('foo')); |
9185 var o = new core.List<core.String>(); | 9294 } |
9186 o.add("foo"); | 9295 |
9187 o.add("foo"); | 9296 buildUnnamed2627() { |
9188 return o; | 9297 var o = new core.List<core.String>(); |
9189 } | 9298 o.add("foo"); |
9190 | 9299 o.add("foo"); |
9191 checkUnnamed2878(core.List<core.String> o) { | 9300 return o; |
9192 unittest.expect(o, unittest.hasLength(2)); | 9301 } |
9193 unittest.expect(o[0], unittest.equals('foo')); | 9302 |
9194 unittest.expect(o[1], unittest.equals('foo')); | 9303 checkUnnamed2627(core.List<core.String> o) { |
9195 } | 9304 unittest.expect(o, unittest.hasLength(2)); |
9196 | 9305 unittest.expect(o[0], unittest.equals('foo')); |
9197 buildUnnamed2879() { | 9306 unittest.expect(o[1], unittest.equals('foo')); |
9198 var o = new core.List<core.String>(); | 9307 } |
9199 o.add("foo"); | 9308 |
9200 o.add("foo"); | 9309 buildUnnamed2628() { |
9201 return o; | 9310 var o = new core.List<core.String>(); |
9202 } | 9311 o.add("foo"); |
9203 | 9312 o.add("foo"); |
9204 checkUnnamed2879(core.List<core.String> o) { | 9313 return o; |
9205 unittest.expect(o, unittest.hasLength(2)); | 9314 } |
9206 unittest.expect(o[0], unittest.equals('foo')); | 9315 |
9207 unittest.expect(o[1], unittest.equals('foo')); | 9316 checkUnnamed2628(core.List<core.String> o) { |
9208 } | 9317 unittest.expect(o, unittest.hasLength(2)); |
9209 | 9318 unittest.expect(o[0], unittest.equals('foo')); |
9210 buildUnnamed2880() { | 9319 unittest.expect(o[1], unittest.equals('foo')); |
9211 var o = new core.List<core.String>(); | 9320 } |
9212 o.add("foo"); | 9321 |
9213 o.add("foo"); | 9322 buildUnnamed2629() { |
9214 return o; | 9323 var o = new core.List<core.String>(); |
9215 } | 9324 o.add("foo"); |
9216 | 9325 o.add("foo"); |
9217 checkUnnamed2880(core.List<core.String> o) { | 9326 return o; |
9218 unittest.expect(o, unittest.hasLength(2)); | 9327 } |
9219 unittest.expect(o[0], unittest.equals('foo')); | 9328 |
9220 unittest.expect(o[1], unittest.equals('foo')); | 9329 checkUnnamed2629(core.List<core.String> o) { |
9221 } | 9330 unittest.expect(o, unittest.hasLength(2)); |
9222 | 9331 unittest.expect(o[0], unittest.equals('foo')); |
9223 buildUnnamed2881() { | 9332 unittest.expect(o[1], unittest.equals('foo')); |
9224 var o = new core.List<core.String>(); | 9333 } |
9225 o.add("foo"); | 9334 |
9226 o.add("foo"); | 9335 buildUnnamed2630() { |
9227 return o; | 9336 var o = new core.List<core.String>(); |
9228 } | 9337 o.add("foo"); |
9229 | 9338 o.add("foo"); |
9230 checkUnnamed2881(core.List<core.String> o) { | 9339 return o; |
9231 unittest.expect(o, unittest.hasLength(2)); | 9340 } |
9232 unittest.expect(o[0], unittest.equals('foo')); | 9341 |
9233 unittest.expect(o[1], unittest.equals('foo')); | 9342 checkUnnamed2630(core.List<core.String> o) { |
9234 } | 9343 unittest.expect(o, unittest.hasLength(2)); |
9235 | 9344 unittest.expect(o[0], unittest.equals('foo')); |
9236 buildUnnamed2882() { | 9345 unittest.expect(o[1], unittest.equals('foo')); |
9237 var o = new core.List<core.String>(); | 9346 } |
9238 o.add("foo"); | 9347 |
9239 o.add("foo"); | 9348 buildUnnamed2631() { |
9240 return o; | 9349 var o = new core.List<core.String>(); |
9241 } | 9350 o.add("foo"); |
9242 | 9351 o.add("foo"); |
9243 checkUnnamed2882(core.List<core.String> o) { | 9352 return o; |
9244 unittest.expect(o, unittest.hasLength(2)); | 9353 } |
9245 unittest.expect(o[0], unittest.equals('foo')); | 9354 |
9246 unittest.expect(o[1], unittest.equals('foo')); | 9355 checkUnnamed2631(core.List<core.String> o) { |
9247 } | 9356 unittest.expect(o, unittest.hasLength(2)); |
9248 | 9357 unittest.expect(o[0], unittest.equals('foo')); |
9249 buildUnnamed2883() { | 9358 unittest.expect(o[1], unittest.equals('foo')); |
9250 var o = new core.List<core.String>(); | 9359 } |
9251 o.add("foo"); | 9360 |
9252 o.add("foo"); | 9361 buildUnnamed2632() { |
9253 return o; | 9362 var o = new core.List<core.String>(); |
9254 } | 9363 o.add("foo"); |
9255 | 9364 o.add("foo"); |
9256 checkUnnamed2883(core.List<core.String> o) { | 9365 return o; |
9257 unittest.expect(o, unittest.hasLength(2)); | 9366 } |
9258 unittest.expect(o[0], unittest.equals('foo')); | 9367 |
9259 unittest.expect(o[1], unittest.equals('foo')); | 9368 checkUnnamed2632(core.List<core.String> o) { |
9260 } | 9369 unittest.expect(o, unittest.hasLength(2)); |
9261 | 9370 unittest.expect(o[0], unittest.equals('foo')); |
9262 buildUnnamed2884() { | 9371 unittest.expect(o[1], unittest.equals('foo')); |
9263 var o = new core.List<core.String>(); | 9372 } |
9264 o.add("foo"); | 9373 |
9265 o.add("foo"); | 9374 buildUnnamed2633() { |
9266 return o; | 9375 var o = new core.List<core.String>(); |
9267 } | 9376 o.add("foo"); |
9268 | 9377 o.add("foo"); |
9269 checkUnnamed2884(core.List<core.String> o) { | 9378 return o; |
9270 unittest.expect(o, unittest.hasLength(2)); | 9379 } |
9271 unittest.expect(o[0], unittest.equals('foo')); | 9380 |
9272 unittest.expect(o[1], unittest.equals('foo')); | 9381 checkUnnamed2633(core.List<core.String> o) { |
9273 } | 9382 unittest.expect(o, unittest.hasLength(2)); |
9274 | 9383 unittest.expect(o[0], unittest.equals('foo')); |
9275 buildUnnamed2885() { | 9384 unittest.expect(o[1], unittest.equals('foo')); |
9276 var o = new core.List<core.String>(); | 9385 } |
9277 o.add("foo"); | 9386 |
9278 o.add("foo"); | 9387 buildUnnamed2634() { |
9279 return o; | 9388 var o = new core.List<core.String>(); |
9280 } | 9389 o.add("foo"); |
9281 | 9390 o.add("foo"); |
9282 checkUnnamed2885(core.List<core.String> o) { | 9391 return o; |
9283 unittest.expect(o, unittest.hasLength(2)); | 9392 } |
9284 unittest.expect(o[0], unittest.equals('foo')); | 9393 |
9285 unittest.expect(o[1], unittest.equals('foo')); | 9394 checkUnnamed2634(core.List<core.String> o) { |
9286 } | 9395 unittest.expect(o, unittest.hasLength(2)); |
9287 | 9396 unittest.expect(o[0], unittest.equals('foo')); |
9288 buildUnnamed2886() { | 9397 unittest.expect(o[1], unittest.equals('foo')); |
9289 var o = new core.List<core.String>(); | 9398 } |
9290 o.add("foo"); | 9399 |
9291 o.add("foo"); | 9400 buildUnnamed2635() { |
9292 return o; | 9401 var o = new core.List<core.String>(); |
9293 } | 9402 o.add("foo"); |
9294 | 9403 o.add("foo"); |
9295 checkUnnamed2886(core.List<core.String> o) { | 9404 return o; |
9296 unittest.expect(o, unittest.hasLength(2)); | 9405 } |
9297 unittest.expect(o[0], unittest.equals('foo')); | 9406 |
9298 unittest.expect(o[1], unittest.equals('foo')); | 9407 checkUnnamed2635(core.List<core.String> o) { |
9299 } | 9408 unittest.expect(o, unittest.hasLength(2)); |
9300 | 9409 unittest.expect(o[0], unittest.equals('foo')); |
9301 buildUnnamed2887() { | 9410 unittest.expect(o[1], unittest.equals('foo')); |
9302 var o = new core.List<core.String>(); | 9411 } |
9303 o.add("foo"); | 9412 |
9304 o.add("foo"); | 9413 buildUnnamed2636() { |
9305 return o; | 9414 var o = new core.List<core.String>(); |
9306 } | 9415 o.add("foo"); |
9307 | 9416 o.add("foo"); |
9308 checkUnnamed2887(core.List<core.String> o) { | 9417 return o; |
9309 unittest.expect(o, unittest.hasLength(2)); | 9418 } |
9310 unittest.expect(o[0], unittest.equals('foo')); | 9419 |
9311 unittest.expect(o[1], unittest.equals('foo')); | 9420 checkUnnamed2636(core.List<core.String> o) { |
9312 } | 9421 unittest.expect(o, unittest.hasLength(2)); |
9313 | 9422 unittest.expect(o[0], unittest.equals('foo')); |
9314 buildUnnamed2888() { | 9423 unittest.expect(o[1], unittest.equals('foo')); |
9315 var o = new core.List<core.String>(); | 9424 } |
9316 o.add("foo"); | 9425 |
9317 o.add("foo"); | 9426 buildUnnamed2637() { |
9318 return o; | 9427 var o = new core.List<core.String>(); |
9319 } | 9428 o.add("foo"); |
9320 | 9429 o.add("foo"); |
9321 checkUnnamed2888(core.List<core.String> o) { | 9430 return o; |
9322 unittest.expect(o, unittest.hasLength(2)); | 9431 } |
9323 unittest.expect(o[0], unittest.equals('foo')); | 9432 |
9324 unittest.expect(o[1], unittest.equals('foo')); | 9433 checkUnnamed2637(core.List<core.String> o) { |
9325 } | 9434 unittest.expect(o, unittest.hasLength(2)); |
9326 | 9435 unittest.expect(o[0], unittest.equals('foo')); |
9327 buildUnnamed2889() { | 9436 unittest.expect(o[1], unittest.equals('foo')); |
9328 var o = new core.List<core.String>(); | 9437 } |
9329 o.add("foo"); | 9438 |
9330 o.add("foo"); | 9439 buildUnnamed2638() { |
9331 return o; | 9440 var o = new core.List<core.String>(); |
9332 } | 9441 o.add("foo"); |
9333 | 9442 o.add("foo"); |
9334 checkUnnamed2889(core.List<core.String> o) { | 9443 return o; |
9335 unittest.expect(o, unittest.hasLength(2)); | 9444 } |
9336 unittest.expect(o[0], unittest.equals('foo')); | 9445 |
9337 unittest.expect(o[1], unittest.equals('foo')); | 9446 checkUnnamed2638(core.List<core.String> o) { |
9338 } | 9447 unittest.expect(o, unittest.hasLength(2)); |
9339 | 9448 unittest.expect(o[0], unittest.equals('foo')); |
9340 buildUnnamed2890() { | 9449 unittest.expect(o[1], unittest.equals('foo')); |
9341 var o = new core.List<core.String>(); | 9450 } |
9342 o.add("foo"); | 9451 |
9343 o.add("foo"); | 9452 buildUnnamed2639() { |
9344 return o; | 9453 var o = new core.List<core.String>(); |
9345 } | 9454 o.add("foo"); |
9346 | 9455 o.add("foo"); |
9347 checkUnnamed2890(core.List<core.String> o) { | 9456 return o; |
9348 unittest.expect(o, unittest.hasLength(2)); | 9457 } |
9349 unittest.expect(o[0], unittest.equals('foo')); | 9458 |
9350 unittest.expect(o[1], unittest.equals('foo')); | 9459 checkUnnamed2639(core.List<core.String> o) { |
9351 } | 9460 unittest.expect(o, unittest.hasLength(2)); |
9352 | 9461 unittest.expect(o[0], unittest.equals('foo')); |
9353 buildUnnamed2891() { | 9462 unittest.expect(o[1], unittest.equals('foo')); |
9354 var o = new core.List<core.String>(); | 9463 } |
9355 o.add("foo"); | 9464 |
9356 o.add("foo"); | 9465 buildUnnamed2640() { |
9357 return o; | 9466 var o = new core.List<core.String>(); |
9358 } | 9467 o.add("foo"); |
9359 | 9468 o.add("foo"); |
9360 checkUnnamed2891(core.List<core.String> o) { | 9469 return o; |
9361 unittest.expect(o, unittest.hasLength(2)); | 9470 } |
9362 unittest.expect(o[0], unittest.equals('foo')); | 9471 |
9363 unittest.expect(o[1], unittest.equals('foo')); | 9472 checkUnnamed2640(core.List<core.String> o) { |
9364 } | 9473 unittest.expect(o, unittest.hasLength(2)); |
9365 | 9474 unittest.expect(o[0], unittest.equals('foo')); |
9366 buildUnnamed2892() { | 9475 unittest.expect(o[1], unittest.equals('foo')); |
9367 var o = new core.List<core.String>(); | 9476 } |
9368 o.add("foo"); | 9477 |
9369 o.add("foo"); | 9478 buildUnnamed2641() { |
9370 return o; | 9479 var o = new core.List<core.String>(); |
9371 } | 9480 o.add("foo"); |
9372 | 9481 o.add("foo"); |
9373 checkUnnamed2892(core.List<core.String> o) { | 9482 return o; |
9374 unittest.expect(o, unittest.hasLength(2)); | 9483 } |
9375 unittest.expect(o[0], unittest.equals('foo')); | 9484 |
9376 unittest.expect(o[1], unittest.equals('foo')); | 9485 checkUnnamed2641(core.List<core.String> o) { |
9377 } | 9486 unittest.expect(o, unittest.hasLength(2)); |
9378 | 9487 unittest.expect(o[0], unittest.equals('foo')); |
9379 buildUnnamed2893() { | 9488 unittest.expect(o[1], unittest.equals('foo')); |
9380 var o = new core.List<core.String>(); | 9489 } |
9381 o.add("foo"); | 9490 |
9382 o.add("foo"); | 9491 buildUnnamed2642() { |
9383 return o; | 9492 var o = new core.List<core.String>(); |
9384 } | 9493 o.add("foo"); |
9385 | 9494 o.add("foo"); |
9386 checkUnnamed2893(core.List<core.String> o) { | 9495 return o; |
9387 unittest.expect(o, unittest.hasLength(2)); | 9496 } |
9388 unittest.expect(o[0], unittest.equals('foo')); | 9497 |
9389 unittest.expect(o[1], unittest.equals('foo')); | 9498 checkUnnamed2642(core.List<core.String> o) { |
9390 } | 9499 unittest.expect(o, unittest.hasLength(2)); |
9391 | 9500 unittest.expect(o[0], unittest.equals('foo')); |
9392 buildUnnamed2894() { | 9501 unittest.expect(o[1], unittest.equals('foo')); |
9393 var o = new core.List<core.String>(); | 9502 } |
9394 o.add("foo"); | 9503 |
9395 o.add("foo"); | 9504 buildUnnamed2643() { |
9396 return o; | 9505 var o = new core.List<core.String>(); |
9397 } | 9506 o.add("foo"); |
9398 | 9507 o.add("foo"); |
9399 checkUnnamed2894(core.List<core.String> o) { | 9508 return o; |
9400 unittest.expect(o, unittest.hasLength(2)); | 9509 } |
9401 unittest.expect(o[0], unittest.equals('foo')); | 9510 |
9402 unittest.expect(o[1], unittest.equals('foo')); | 9511 checkUnnamed2643(core.List<core.String> o) { |
9403 } | 9512 unittest.expect(o, unittest.hasLength(2)); |
9404 | 9513 unittest.expect(o[0], unittest.equals('foo')); |
9405 buildUnnamed2895() { | 9514 unittest.expect(o[1], unittest.equals('foo')); |
9406 var o = new core.List<core.String>(); | 9515 } |
9407 o.add("foo"); | 9516 |
9408 o.add("foo"); | 9517 buildUnnamed2644() { |
9409 return o; | 9518 var o = new core.List<core.String>(); |
9410 } | 9519 o.add("foo"); |
9411 | 9520 o.add("foo"); |
9412 checkUnnamed2895(core.List<core.String> o) { | 9521 return o; |
9413 unittest.expect(o, unittest.hasLength(2)); | 9522 } |
9414 unittest.expect(o[0], unittest.equals('foo')); | 9523 |
9415 unittest.expect(o[1], unittest.equals('foo')); | 9524 checkUnnamed2644(core.List<core.String> o) { |
9416 } | 9525 unittest.expect(o, unittest.hasLength(2)); |
9417 | 9526 unittest.expect(o[0], unittest.equals('foo')); |
9418 buildUnnamed2896() { | 9527 unittest.expect(o[1], unittest.equals('foo')); |
9419 var o = new core.List<core.String>(); | 9528 } |
9420 o.add("foo"); | 9529 |
9421 o.add("foo"); | 9530 buildUnnamed2645() { |
9422 return o; | 9531 var o = new core.List<core.String>(); |
9423 } | 9532 o.add("foo"); |
9424 | 9533 o.add("foo"); |
9425 checkUnnamed2896(core.List<core.String> o) { | 9534 return o; |
9426 unittest.expect(o, unittest.hasLength(2)); | 9535 } |
9427 unittest.expect(o[0], unittest.equals('foo')); | 9536 |
9428 unittest.expect(o[1], unittest.equals('foo')); | 9537 checkUnnamed2645(core.List<core.String> o) { |
9429 } | 9538 unittest.expect(o, unittest.hasLength(2)); |
9430 | 9539 unittest.expect(o[0], unittest.equals('foo')); |
9431 buildUnnamed2897() { | 9540 unittest.expect(o[1], unittest.equals('foo')); |
9432 var o = new core.List<core.String>(); | 9541 } |
9433 o.add("foo"); | 9542 |
9434 o.add("foo"); | 9543 buildUnnamed2646() { |
9435 return o; | 9544 var o = new core.List<core.String>(); |
9436 } | 9545 o.add("foo"); |
9437 | 9546 o.add("foo"); |
9438 checkUnnamed2897(core.List<core.String> o) { | 9547 return o; |
9439 unittest.expect(o, unittest.hasLength(2)); | 9548 } |
9440 unittest.expect(o[0], unittest.equals('foo')); | 9549 |
9441 unittest.expect(o[1], unittest.equals('foo')); | 9550 checkUnnamed2646(core.List<core.String> o) { |
9442 } | 9551 unittest.expect(o, unittest.hasLength(2)); |
9443 | 9552 unittest.expect(o[0], unittest.equals('foo')); |
9444 buildUnnamed2898() { | 9553 unittest.expect(o[1], unittest.equals('foo')); |
9445 var o = new core.List<core.String>(); | 9554 } |
9446 o.add("foo"); | 9555 |
9447 o.add("foo"); | 9556 buildUnnamed2647() { |
9448 return o; | 9557 var o = new core.List<core.String>(); |
9449 } | 9558 o.add("foo"); |
9450 | 9559 o.add("foo"); |
9451 checkUnnamed2898(core.List<core.String> o) { | 9560 return o; |
9452 unittest.expect(o, unittest.hasLength(2)); | 9561 } |
9453 unittest.expect(o[0], unittest.equals('foo')); | 9562 |
9454 unittest.expect(o[1], unittest.equals('foo')); | 9563 checkUnnamed2647(core.List<core.String> o) { |
9455 } | 9564 unittest.expect(o, unittest.hasLength(2)); |
9456 | 9565 unittest.expect(o[0], unittest.equals('foo')); |
9457 buildUnnamed2899() { | 9566 unittest.expect(o[1], unittest.equals('foo')); |
9458 var o = new core.List<core.String>(); | 9567 } |
9459 o.add("foo"); | 9568 |
9460 o.add("foo"); | 9569 buildUnnamed2648() { |
9461 return o; | 9570 var o = new core.List<core.String>(); |
9462 } | 9571 o.add("foo"); |
9463 | 9572 o.add("foo"); |
9464 checkUnnamed2899(core.List<core.String> o) { | 9573 return o; |
9465 unittest.expect(o, unittest.hasLength(2)); | 9574 } |
9466 unittest.expect(o[0], unittest.equals('foo')); | 9575 |
9467 unittest.expect(o[1], unittest.equals('foo')); | 9576 checkUnnamed2648(core.List<core.String> o) { |
9468 } | 9577 unittest.expect(o, unittest.hasLength(2)); |
9469 | 9578 unittest.expect(o[0], unittest.equals('foo')); |
9470 buildUnnamed2900() { | 9579 unittest.expect(o[1], unittest.equals('foo')); |
9471 var o = new core.List<core.String>(); | 9580 } |
9472 o.add("foo"); | 9581 |
9473 o.add("foo"); | 9582 buildUnnamed2649() { |
9474 return o; | 9583 var o = new core.List<core.String>(); |
9475 } | 9584 o.add("foo"); |
9476 | 9585 o.add("foo"); |
9477 checkUnnamed2900(core.List<core.String> o) { | 9586 return o; |
9478 unittest.expect(o, unittest.hasLength(2)); | 9587 } |
9479 unittest.expect(o[0], unittest.equals('foo')); | 9588 |
9480 unittest.expect(o[1], unittest.equals('foo')); | 9589 checkUnnamed2649(core.List<core.String> o) { |
9481 } | 9590 unittest.expect(o, unittest.hasLength(2)); |
9482 | 9591 unittest.expect(o[0], unittest.equals('foo')); |
9483 buildUnnamed2901() { | 9592 unittest.expect(o[1], unittest.equals('foo')); |
9484 var o = new core.List<core.String>(); | 9593 } |
9485 o.add("foo"); | 9594 |
9486 o.add("foo"); | 9595 buildUnnamed2650() { |
9487 return o; | 9596 var o = new core.List<core.String>(); |
9488 } | 9597 o.add("foo"); |
9489 | 9598 o.add("foo"); |
9490 checkUnnamed2901(core.List<core.String> o) { | 9599 return o; |
9491 unittest.expect(o, unittest.hasLength(2)); | 9600 } |
9492 unittest.expect(o[0], unittest.equals('foo')); | 9601 |
9493 unittest.expect(o[1], unittest.equals('foo')); | 9602 checkUnnamed2650(core.List<core.String> o) { |
9494 } | 9603 unittest.expect(o, unittest.hasLength(2)); |
9495 | 9604 unittest.expect(o[0], unittest.equals('foo')); |
9496 buildUnnamed2902() { | 9605 unittest.expect(o[1], unittest.equals('foo')); |
9497 var o = new core.List<core.String>(); | 9606 } |
9498 o.add("foo"); | 9607 |
9499 o.add("foo"); | 9608 buildUnnamed2651() { |
9500 return o; | 9609 var o = new core.List<core.String>(); |
9501 } | 9610 o.add("foo"); |
9502 | 9611 o.add("foo"); |
9503 checkUnnamed2902(core.List<core.String> o) { | 9612 return o; |
9504 unittest.expect(o, unittest.hasLength(2)); | 9613 } |
9505 unittest.expect(o[0], unittest.equals('foo')); | 9614 |
9506 unittest.expect(o[1], unittest.equals('foo')); | 9615 checkUnnamed2651(core.List<core.String> o) { |
9507 } | 9616 unittest.expect(o, unittest.hasLength(2)); |
9508 | 9617 unittest.expect(o[0], unittest.equals('foo')); |
9509 buildUnnamed2903() { | 9618 unittest.expect(o[1], unittest.equals('foo')); |
9510 var o = new core.List<core.String>(); | 9619 } |
9511 o.add("foo"); | 9620 |
9512 o.add("foo"); | 9621 buildUnnamed2652() { |
9513 return o; | 9622 var o = new core.List<core.String>(); |
9514 } | 9623 o.add("foo"); |
9515 | 9624 o.add("foo"); |
9516 checkUnnamed2903(core.List<core.String> o) { | 9625 return o; |
9517 unittest.expect(o, unittest.hasLength(2)); | 9626 } |
9518 unittest.expect(o[0], unittest.equals('foo')); | 9627 |
9519 unittest.expect(o[1], unittest.equals('foo')); | 9628 checkUnnamed2652(core.List<core.String> o) { |
9520 } | 9629 unittest.expect(o, unittest.hasLength(2)); |
9521 | 9630 unittest.expect(o[0], unittest.equals('foo')); |
9522 buildUnnamed2904() { | 9631 unittest.expect(o[1], unittest.equals('foo')); |
9523 var o = new core.List<core.String>(); | 9632 } |
9524 o.add("foo"); | 9633 |
9525 o.add("foo"); | 9634 buildUnnamed2653() { |
9526 return o; | 9635 var o = new core.List<core.String>(); |
9527 } | 9636 o.add("foo"); |
9528 | 9637 o.add("foo"); |
9529 checkUnnamed2904(core.List<core.String> o) { | 9638 return o; |
9530 unittest.expect(o, unittest.hasLength(2)); | 9639 } |
9531 unittest.expect(o[0], unittest.equals('foo')); | 9640 |
9532 unittest.expect(o[1], unittest.equals('foo')); | 9641 checkUnnamed2653(core.List<core.String> o) { |
9533 } | 9642 unittest.expect(o, unittest.hasLength(2)); |
9534 | 9643 unittest.expect(o[0], unittest.equals('foo')); |
9535 buildUnnamed2905() { | 9644 unittest.expect(o[1], unittest.equals('foo')); |
9536 var o = new core.List<core.String>(); | 9645 } |
9537 o.add("foo"); | 9646 |
9538 o.add("foo"); | 9647 buildUnnamed2654() { |
9539 return o; | 9648 var o = new core.List<core.String>(); |
9540 } | 9649 o.add("foo"); |
9541 | 9650 o.add("foo"); |
9542 checkUnnamed2905(core.List<core.String> o) { | 9651 return o; |
9543 unittest.expect(o, unittest.hasLength(2)); | 9652 } |
9544 unittest.expect(o[0], unittest.equals('foo')); | 9653 |
9545 unittest.expect(o[1], unittest.equals('foo')); | 9654 checkUnnamed2654(core.List<core.String> o) { |
9546 } | 9655 unittest.expect(o, unittest.hasLength(2)); |
9547 | 9656 unittest.expect(o[0], unittest.equals('foo')); |
9548 buildUnnamed2906() { | 9657 unittest.expect(o[1], unittest.equals('foo')); |
9549 var o = new core.List<core.String>(); | 9658 } |
9550 o.add("foo"); | 9659 |
9551 o.add("foo"); | 9660 buildUnnamed2655() { |
9552 return o; | 9661 var o = new core.List<core.String>(); |
9553 } | 9662 o.add("foo"); |
9554 | 9663 o.add("foo"); |
9555 checkUnnamed2906(core.List<core.String> o) { | 9664 return o; |
9556 unittest.expect(o, unittest.hasLength(2)); | 9665 } |
9557 unittest.expect(o[0], unittest.equals('foo')); | 9666 |
9558 unittest.expect(o[1], unittest.equals('foo')); | 9667 checkUnnamed2655(core.List<core.String> o) { |
9559 } | 9668 unittest.expect(o, unittest.hasLength(2)); |
9560 | 9669 unittest.expect(o[0], unittest.equals('foo')); |
9561 buildUnnamed2907() { | 9670 unittest.expect(o[1], unittest.equals('foo')); |
9562 var o = new core.List<core.String>(); | 9671 } |
9563 o.add("foo"); | 9672 |
9564 o.add("foo"); | 9673 buildUnnamed2656() { |
9565 return o; | 9674 var o = new core.List<core.String>(); |
9566 } | 9675 o.add("foo"); |
9567 | 9676 o.add("foo"); |
9568 checkUnnamed2907(core.List<core.String> o) { | 9677 return o; |
9569 unittest.expect(o, unittest.hasLength(2)); | 9678 } |
9570 unittest.expect(o[0], unittest.equals('foo')); | 9679 |
9571 unittest.expect(o[1], unittest.equals('foo')); | 9680 checkUnnamed2656(core.List<core.String> o) { |
9572 } | 9681 unittest.expect(o, unittest.hasLength(2)); |
9573 | 9682 unittest.expect(o[0], unittest.equals('foo')); |
9574 buildUnnamed2908() { | 9683 unittest.expect(o[1], unittest.equals('foo')); |
9575 var o = new core.List<core.String>(); | 9684 } |
9576 o.add("foo"); | 9685 |
9577 o.add("foo"); | 9686 buildUnnamed2657() { |
9578 return o; | 9687 var o = new core.List<core.String>(); |
9579 } | 9688 o.add("foo"); |
9580 | 9689 o.add("foo"); |
9581 checkUnnamed2908(core.List<core.String> o) { | 9690 return o; |
9582 unittest.expect(o, unittest.hasLength(2)); | 9691 } |
9583 unittest.expect(o[0], unittest.equals('foo')); | 9692 |
9584 unittest.expect(o[1], unittest.equals('foo')); | 9693 checkUnnamed2657(core.List<core.String> o) { |
9585 } | 9694 unittest.expect(o, unittest.hasLength(2)); |
9586 | 9695 unittest.expect(o[0], unittest.equals('foo')); |
9587 buildUnnamed2909() { | 9696 unittest.expect(o[1], unittest.equals('foo')); |
9588 var o = new core.List<core.String>(); | 9697 } |
9589 o.add("foo"); | 9698 |
9590 o.add("foo"); | 9699 buildUnnamed2658() { |
9591 return o; | 9700 var o = new core.List<core.String>(); |
9592 } | 9701 o.add("foo"); |
9593 | 9702 o.add("foo"); |
9594 checkUnnamed2909(core.List<core.String> o) { | 9703 return o; |
9595 unittest.expect(o, unittest.hasLength(2)); | 9704 } |
9596 unittest.expect(o[0], unittest.equals('foo')); | 9705 |
9597 unittest.expect(o[1], unittest.equals('foo')); | 9706 checkUnnamed2658(core.List<core.String> o) { |
9598 } | 9707 unittest.expect(o, unittest.hasLength(2)); |
9599 | 9708 unittest.expect(o[0], unittest.equals('foo')); |
9600 buildUnnamed2910() { | 9709 unittest.expect(o[1], unittest.equals('foo')); |
9601 var o = new core.List<core.String>(); | 9710 } |
9602 o.add("foo"); | 9711 |
9603 o.add("foo"); | 9712 buildUnnamed2659() { |
9604 return o; | 9713 var o = new core.List<core.String>(); |
9605 } | 9714 o.add("foo"); |
9606 | 9715 o.add("foo"); |
9607 checkUnnamed2910(core.List<core.String> o) { | 9716 return o; |
9608 unittest.expect(o, unittest.hasLength(2)); | 9717 } |
9609 unittest.expect(o[0], unittest.equals('foo')); | 9718 |
9610 unittest.expect(o[1], unittest.equals('foo')); | 9719 checkUnnamed2659(core.List<core.String> o) { |
9611 } | 9720 unittest.expect(o, unittest.hasLength(2)); |
9612 | 9721 unittest.expect(o[0], unittest.equals('foo')); |
9613 buildUnnamed2911() { | 9722 unittest.expect(o[1], unittest.equals('foo')); |
9614 var o = new core.List<core.String>(); | 9723 } |
9615 o.add("foo"); | 9724 |
9616 o.add("foo"); | 9725 buildUnnamed2660() { |
9617 return o; | 9726 var o = new core.List<core.String>(); |
9618 } | 9727 o.add("foo"); |
9619 | 9728 o.add("foo"); |
9620 checkUnnamed2911(core.List<core.String> o) { | 9729 return o; |
9621 unittest.expect(o, unittest.hasLength(2)); | 9730 } |
9622 unittest.expect(o[0], unittest.equals('foo')); | 9731 |
9623 unittest.expect(o[1], unittest.equals('foo')); | 9732 checkUnnamed2660(core.List<core.String> o) { |
9624 } | 9733 unittest.expect(o, unittest.hasLength(2)); |
9625 | 9734 unittest.expect(o[0], unittest.equals('foo')); |
9626 buildUnnamed2912() { | 9735 unittest.expect(o[1], unittest.equals('foo')); |
9627 var o = new core.List<core.String>(); | 9736 } |
9628 o.add("foo"); | 9737 |
9629 o.add("foo"); | 9738 buildUnnamed2661() { |
9630 return o; | 9739 var o = new core.List<core.String>(); |
9631 } | 9740 o.add("foo"); |
9632 | 9741 o.add("foo"); |
9633 checkUnnamed2912(core.List<core.String> o) { | 9742 return o; |
9634 unittest.expect(o, unittest.hasLength(2)); | 9743 } |
9635 unittest.expect(o[0], unittest.equals('foo')); | 9744 |
9636 unittest.expect(o[1], unittest.equals('foo')); | 9745 checkUnnamed2661(core.List<core.String> o) { |
9637 } | 9746 unittest.expect(o, unittest.hasLength(2)); |
9638 | 9747 unittest.expect(o[0], unittest.equals('foo')); |
9639 buildUnnamed2913() { | 9748 unittest.expect(o[1], unittest.equals('foo')); |
9640 var o = new core.List<core.String>(); | 9749 } |
9641 o.add("foo"); | 9750 |
9642 o.add("foo"); | 9751 buildUnnamed2662() { |
9643 return o; | 9752 var o = new core.List<core.String>(); |
9644 } | 9753 o.add("foo"); |
9645 | 9754 o.add("foo"); |
9646 checkUnnamed2913(core.List<core.String> o) { | 9755 return o; |
9647 unittest.expect(o, unittest.hasLength(2)); | 9756 } |
9648 unittest.expect(o[0], unittest.equals('foo')); | 9757 |
9649 unittest.expect(o[1], unittest.equals('foo')); | 9758 checkUnnamed2662(core.List<core.String> o) { |
9650 } | 9759 unittest.expect(o, unittest.hasLength(2)); |
9651 | 9760 unittest.expect(o[0], unittest.equals('foo')); |
9652 buildUnnamed2914() { | 9761 unittest.expect(o[1], unittest.equals('foo')); |
9653 var o = new core.List<core.String>(); | 9762 } |
9654 o.add("foo"); | 9763 |
9655 o.add("foo"); | 9764 buildUnnamed2663() { |
9656 return o; | 9765 var o = new core.List<core.String>(); |
9657 } | 9766 o.add("foo"); |
9658 | 9767 o.add("foo"); |
9659 checkUnnamed2914(core.List<core.String> o) { | 9768 return o; |
9660 unittest.expect(o, unittest.hasLength(2)); | 9769 } |
9661 unittest.expect(o[0], unittest.equals('foo')); | 9770 |
9662 unittest.expect(o[1], unittest.equals('foo')); | 9771 checkUnnamed2663(core.List<core.String> o) { |
9663 } | 9772 unittest.expect(o, unittest.hasLength(2)); |
9664 | 9773 unittest.expect(o[0], unittest.equals('foo')); |
9665 buildUnnamed2915() { | 9774 unittest.expect(o[1], unittest.equals('foo')); |
9666 var o = new core.List<core.String>(); | 9775 } |
9667 o.add("foo"); | 9776 |
9668 o.add("foo"); | 9777 buildUnnamed2664() { |
9669 return o; | 9778 var o = new core.List<core.String>(); |
9670 } | 9779 o.add("foo"); |
9671 | 9780 o.add("foo"); |
9672 checkUnnamed2915(core.List<core.String> o) { | 9781 return o; |
9673 unittest.expect(o, unittest.hasLength(2)); | 9782 } |
9674 unittest.expect(o[0], unittest.equals('foo')); | 9783 |
9675 unittest.expect(o[1], unittest.equals('foo')); | 9784 checkUnnamed2664(core.List<core.String> o) { |
9676 } | 9785 unittest.expect(o, unittest.hasLength(2)); |
9677 | 9786 unittest.expect(o[0], unittest.equals('foo')); |
9678 buildUnnamed2916() { | 9787 unittest.expect(o[1], unittest.equals('foo')); |
9679 var o = new core.List<core.String>(); | 9788 } |
9680 o.add("foo"); | 9789 |
9681 o.add("foo"); | 9790 buildUnnamed2665() { |
9682 return o; | 9791 var o = new core.List<core.String>(); |
9683 } | 9792 o.add("foo"); |
9684 | 9793 o.add("foo"); |
9685 checkUnnamed2916(core.List<core.String> o) { | 9794 return o; |
9686 unittest.expect(o, unittest.hasLength(2)); | 9795 } |
9687 unittest.expect(o[0], unittest.equals('foo')); | 9796 |
9688 unittest.expect(o[1], unittest.equals('foo')); | 9797 checkUnnamed2665(core.List<core.String> o) { |
9689 } | 9798 unittest.expect(o, unittest.hasLength(2)); |
9690 | 9799 unittest.expect(o[0], unittest.equals('foo')); |
9691 buildUnnamed2917() { | 9800 unittest.expect(o[1], unittest.equals('foo')); |
9692 var o = new core.List<core.String>(); | 9801 } |
9693 o.add("foo"); | 9802 |
9694 o.add("foo"); | 9803 buildUnnamed2666() { |
9695 return o; | 9804 var o = new core.List<core.String>(); |
9696 } | 9805 o.add("foo"); |
9697 | 9806 o.add("foo"); |
9698 checkUnnamed2917(core.List<core.String> o) { | 9807 return o; |
9699 unittest.expect(o, unittest.hasLength(2)); | 9808 } |
9700 unittest.expect(o[0], unittest.equals('foo')); | 9809 |
9701 unittest.expect(o[1], unittest.equals('foo')); | 9810 checkUnnamed2666(core.List<core.String> o) { |
| 9811 unittest.expect(o, unittest.hasLength(2)); |
| 9812 unittest.expect(o[0], unittest.equals('foo')); |
| 9813 unittest.expect(o[1], unittest.equals('foo')); |
| 9814 } |
| 9815 |
| 9816 buildUnnamed2667() { |
| 9817 var o = new core.List<core.String>(); |
| 9818 o.add("foo"); |
| 9819 o.add("foo"); |
| 9820 return o; |
| 9821 } |
| 9822 |
| 9823 checkUnnamed2667(core.List<core.String> o) { |
| 9824 unittest.expect(o, unittest.hasLength(2)); |
| 9825 unittest.expect(o[0], unittest.equals('foo')); |
| 9826 unittest.expect(o[1], unittest.equals('foo')); |
| 9827 } |
| 9828 |
| 9829 buildUnnamed2668() { |
| 9830 var o = new core.List<core.String>(); |
| 9831 o.add("foo"); |
| 9832 o.add("foo"); |
| 9833 return o; |
| 9834 } |
| 9835 |
| 9836 checkUnnamed2668(core.List<core.String> o) { |
| 9837 unittest.expect(o, unittest.hasLength(2)); |
| 9838 unittest.expect(o[0], unittest.equals('foo')); |
| 9839 unittest.expect(o[1], unittest.equals('foo')); |
| 9840 } |
| 9841 |
| 9842 buildUnnamed2669() { |
| 9843 var o = new core.List<core.String>(); |
| 9844 o.add("foo"); |
| 9845 o.add("foo"); |
| 9846 return o; |
| 9847 } |
| 9848 |
| 9849 checkUnnamed2669(core.List<core.String> o) { |
| 9850 unittest.expect(o, unittest.hasLength(2)); |
| 9851 unittest.expect(o[0], unittest.equals('foo')); |
| 9852 unittest.expect(o[1], unittest.equals('foo')); |
| 9853 } |
| 9854 |
| 9855 buildUnnamed2670() { |
| 9856 var o = new core.List<core.String>(); |
| 9857 o.add("foo"); |
| 9858 o.add("foo"); |
| 9859 return o; |
| 9860 } |
| 9861 |
| 9862 checkUnnamed2670(core.List<core.String> o) { |
| 9863 unittest.expect(o, unittest.hasLength(2)); |
| 9864 unittest.expect(o[0], unittest.equals('foo')); |
| 9865 unittest.expect(o[1], unittest.equals('foo')); |
| 9866 } |
| 9867 |
| 9868 buildUnnamed2671() { |
| 9869 var o = new core.List<core.String>(); |
| 9870 o.add("foo"); |
| 9871 o.add("foo"); |
| 9872 return o; |
| 9873 } |
| 9874 |
| 9875 checkUnnamed2671(core.List<core.String> o) { |
| 9876 unittest.expect(o, unittest.hasLength(2)); |
| 9877 unittest.expect(o[0], unittest.equals('foo')); |
| 9878 unittest.expect(o[1], unittest.equals('foo')); |
| 9879 } |
| 9880 |
| 9881 buildUnnamed2672() { |
| 9882 var o = new core.List<core.String>(); |
| 9883 o.add("foo"); |
| 9884 o.add("foo"); |
| 9885 return o; |
| 9886 } |
| 9887 |
| 9888 checkUnnamed2672(core.List<core.String> o) { |
| 9889 unittest.expect(o, unittest.hasLength(2)); |
| 9890 unittest.expect(o[0], unittest.equals('foo')); |
| 9891 unittest.expect(o[1], unittest.equals('foo')); |
| 9892 } |
| 9893 |
| 9894 buildUnnamed2673() { |
| 9895 var o = new core.List<core.String>(); |
| 9896 o.add("foo"); |
| 9897 o.add("foo"); |
| 9898 return o; |
| 9899 } |
| 9900 |
| 9901 checkUnnamed2673(core.List<core.String> o) { |
| 9902 unittest.expect(o, unittest.hasLength(2)); |
| 9903 unittest.expect(o[0], unittest.equals('foo')); |
| 9904 unittest.expect(o[1], unittest.equals('foo')); |
| 9905 } |
| 9906 |
| 9907 buildUnnamed2674() { |
| 9908 var o = new core.List<core.String>(); |
| 9909 o.add("foo"); |
| 9910 o.add("foo"); |
| 9911 return o; |
| 9912 } |
| 9913 |
| 9914 checkUnnamed2674(core.List<core.String> o) { |
| 9915 unittest.expect(o, unittest.hasLength(2)); |
| 9916 unittest.expect(o[0], unittest.equals('foo')); |
| 9917 unittest.expect(o[1], unittest.equals('foo')); |
9702 } | 9918 } |
9703 | 9919 |
9704 | 9920 |
9705 main() { | 9921 main() { |
9706 unittest.group("obj-schema-Account", () { | 9922 unittest.group("obj-schema-Account", () { |
9707 unittest.test("to-json--from-json", () { | 9923 unittest.test("to-json--from-json", () { |
9708 var o = buildAccount(); | 9924 var o = buildAccount(); |
9709 var od = new api.Account.fromJson(o.toJson()); | 9925 var od = new api.Account.fromJson(o.toJson()); |
9710 checkAccount(od); | 9926 checkAccount(od); |
9711 }); | 9927 }); |
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9993 | 10209 |
9994 unittest.group("obj-schema-CompanionClickThroughOverride", () { | 10210 unittest.group("obj-schema-CompanionClickThroughOverride", () { |
9995 unittest.test("to-json--from-json", () { | 10211 unittest.test("to-json--from-json", () { |
9996 var o = buildCompanionClickThroughOverride(); | 10212 var o = buildCompanionClickThroughOverride(); |
9997 var od = new api.CompanionClickThroughOverride.fromJson(o.toJson()); | 10213 var od = new api.CompanionClickThroughOverride.fromJson(o.toJson()); |
9998 checkCompanionClickThroughOverride(od); | 10214 checkCompanionClickThroughOverride(od); |
9999 }); | 10215 }); |
10000 }); | 10216 }); |
10001 | 10217 |
10002 | 10218 |
| 10219 unittest.group("obj-schema-CompanionSetting", () { |
| 10220 unittest.test("to-json--from-json", () { |
| 10221 var o = buildCompanionSetting(); |
| 10222 var od = new api.CompanionSetting.fromJson(o.toJson()); |
| 10223 checkCompanionSetting(od); |
| 10224 }); |
| 10225 }); |
| 10226 |
| 10227 |
10003 unittest.group("obj-schema-CompatibleFields", () { | 10228 unittest.group("obj-schema-CompatibleFields", () { |
10004 unittest.test("to-json--from-json", () { | 10229 unittest.test("to-json--from-json", () { |
10005 var o = buildCompatibleFields(); | 10230 var o = buildCompatibleFields(); |
10006 var od = new api.CompatibleFields.fromJson(o.toJson()); | 10231 var od = new api.CompatibleFields.fromJson(o.toJson()); |
10007 checkCompatibleFields(od); | 10232 checkCompatibleFields(od); |
10008 }); | 10233 }); |
10009 }); | 10234 }); |
10010 | 10235 |
10011 | 10236 |
10012 unittest.group("obj-schema-ConnectionType", () { | 10237 unittest.group("obj-schema-ConnectionType", () { |
(...skipping 1357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11370 | 11595 |
11371 unittest.group("obj-schema-SizesListResponse", () { | 11596 unittest.group("obj-schema-SizesListResponse", () { |
11372 unittest.test("to-json--from-json", () { | 11597 unittest.test("to-json--from-json", () { |
11373 var o = buildSizesListResponse(); | 11598 var o = buildSizesListResponse(); |
11374 var od = new api.SizesListResponse.fromJson(o.toJson()); | 11599 var od = new api.SizesListResponse.fromJson(o.toJson()); |
11375 checkSizesListResponse(od); | 11600 checkSizesListResponse(od); |
11376 }); | 11601 }); |
11377 }); | 11602 }); |
11378 | 11603 |
11379 | 11604 |
| 11605 unittest.group("obj-schema-SkippableSetting", () { |
| 11606 unittest.test("to-json--from-json", () { |
| 11607 var o = buildSkippableSetting(); |
| 11608 var od = new api.SkippableSetting.fromJson(o.toJson()); |
| 11609 checkSkippableSetting(od); |
| 11610 }); |
| 11611 }); |
| 11612 |
| 11613 |
11380 unittest.group("obj-schema-SortedDimension", () { | 11614 unittest.group("obj-schema-SortedDimension", () { |
11381 unittest.test("to-json--from-json", () { | 11615 unittest.test("to-json--from-json", () { |
11382 var o = buildSortedDimension(); | 11616 var o = buildSortedDimension(); |
11383 var od = new api.SortedDimension.fromJson(o.toJson()); | 11617 var od = new api.SortedDimension.fromJson(o.toJson()); |
11384 checkSortedDimension(od); | 11618 checkSortedDimension(od); |
11385 }); | 11619 }); |
11386 }); | 11620 }); |
11387 | 11621 |
11388 | 11622 |
11389 unittest.group("obj-schema-Subaccount", () { | 11623 unittest.group("obj-schema-Subaccount", () { |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11496 | 11730 |
11497 unittest.group("obj-schema-ThirdPartyTrackingUrl", () { | 11731 unittest.group("obj-schema-ThirdPartyTrackingUrl", () { |
11498 unittest.test("to-json--from-json", () { | 11732 unittest.test("to-json--from-json", () { |
11499 var o = buildThirdPartyTrackingUrl(); | 11733 var o = buildThirdPartyTrackingUrl(); |
11500 var od = new api.ThirdPartyTrackingUrl.fromJson(o.toJson()); | 11734 var od = new api.ThirdPartyTrackingUrl.fromJson(o.toJson()); |
11501 checkThirdPartyTrackingUrl(od); | 11735 checkThirdPartyTrackingUrl(od); |
11502 }); | 11736 }); |
11503 }); | 11737 }); |
11504 | 11738 |
11505 | 11739 |
| 11740 unittest.group("obj-schema-TranscodeSetting", () { |
| 11741 unittest.test("to-json--from-json", () { |
| 11742 var o = buildTranscodeSetting(); |
| 11743 var od = new api.TranscodeSetting.fromJson(o.toJson()); |
| 11744 checkTranscodeSetting(od); |
| 11745 }); |
| 11746 }); |
| 11747 |
| 11748 |
11506 unittest.group("obj-schema-UserDefinedVariableConfiguration", () { | 11749 unittest.group("obj-schema-UserDefinedVariableConfiguration", () { |
11507 unittest.test("to-json--from-json", () { | 11750 unittest.test("to-json--from-json", () { |
11508 var o = buildUserDefinedVariableConfiguration(); | 11751 var o = buildUserDefinedVariableConfiguration(); |
11509 var od = new api.UserDefinedVariableConfiguration.fromJson(o.toJson()); | 11752 var od = new api.UserDefinedVariableConfiguration.fromJson(o.toJson()); |
11510 checkUserDefinedVariableConfiguration(od); | 11753 checkUserDefinedVariableConfiguration(od); |
11511 }); | 11754 }); |
11512 }); | 11755 }); |
11513 | 11756 |
11514 | 11757 |
11515 unittest.group("obj-schema-UserProfile", () { | 11758 unittest.group("obj-schema-UserProfile", () { |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11577 | 11820 |
11578 unittest.group("obj-schema-UserRolesListResponse", () { | 11821 unittest.group("obj-schema-UserRolesListResponse", () { |
11579 unittest.test("to-json--from-json", () { | 11822 unittest.test("to-json--from-json", () { |
11580 var o = buildUserRolesListResponse(); | 11823 var o = buildUserRolesListResponse(); |
11581 var od = new api.UserRolesListResponse.fromJson(o.toJson()); | 11824 var od = new api.UserRolesListResponse.fromJson(o.toJson()); |
11582 checkUserRolesListResponse(od); | 11825 checkUserRolesListResponse(od); |
11583 }); | 11826 }); |
11584 }); | 11827 }); |
11585 | 11828 |
11586 | 11829 |
| 11830 unittest.group("obj-schema-VideoFormat", () { |
| 11831 unittest.test("to-json--from-json", () { |
| 11832 var o = buildVideoFormat(); |
| 11833 var od = new api.VideoFormat.fromJson(o.toJson()); |
| 11834 checkVideoFormat(od); |
| 11835 }); |
| 11836 }); |
| 11837 |
| 11838 |
| 11839 unittest.group("obj-schema-VideoFormatsListResponse", () { |
| 11840 unittest.test("to-json--from-json", () { |
| 11841 var o = buildVideoFormatsListResponse(); |
| 11842 var od = new api.VideoFormatsListResponse.fromJson(o.toJson()); |
| 11843 checkVideoFormatsListResponse(od); |
| 11844 }); |
| 11845 }); |
| 11846 |
| 11847 |
| 11848 unittest.group("obj-schema-VideoOffset", () { |
| 11849 unittest.test("to-json--from-json", () { |
| 11850 var o = buildVideoOffset(); |
| 11851 var od = new api.VideoOffset.fromJson(o.toJson()); |
| 11852 checkVideoOffset(od); |
| 11853 }); |
| 11854 }); |
| 11855 |
| 11856 |
| 11857 unittest.group("obj-schema-VideoSettings", () { |
| 11858 unittest.test("to-json--from-json", () { |
| 11859 var o = buildVideoSettings(); |
| 11860 var od = new api.VideoSettings.fromJson(o.toJson()); |
| 11861 checkVideoSettings(od); |
| 11862 }); |
| 11863 }); |
| 11864 |
| 11865 |
11587 unittest.group("resource-AccountActiveAdSummariesResourceApi", () { | 11866 unittest.group("resource-AccountActiveAdSummariesResourceApi", () { |
11588 unittest.test("method--get", () { | 11867 unittest.test("method--get", () { |
11589 | 11868 |
11590 var mock = new HttpServerMock(); | 11869 var mock = new HttpServerMock(); |
11591 api.AccountActiveAdSummariesResourceApi res = new api.DfareportingApi(mock
).accountActiveAdSummaries; | 11870 api.AccountActiveAdSummariesResourceApi res = new api.DfareportingApi(mock
).accountActiveAdSummaries; |
11592 var arg_profileId = "foo"; | 11871 var arg_profileId = "foo"; |
11593 var arg_summaryAccountId = "foo"; | 11872 var arg_summaryAccountId = "foo"; |
11594 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 11873 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
11595 var path = (req.url).path; | 11874 var path = (req.url).path; |
11596 var pathOffset = 0; | 11875 var pathOffset = 0; |
11597 var index; | 11876 var index; |
11598 var subPart; | 11877 var subPart; |
11599 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 11878 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
11600 pathOffset += 1; | 11879 pathOffset += 1; |
11601 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 11880 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
11602 pathOffset += 18; | 11881 pathOffset += 18; |
11603 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 11882 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
11604 pathOffset += 13; | 11883 pathOffset += 13; |
11605 index = path.indexOf("/accountActiveAdSummaries/", pathOffset); | 11884 index = path.indexOf("/accountActiveAdSummaries/", pathOffset); |
11606 unittest.expect(index >= 0, unittest.isTrue); | 11885 unittest.expect(index >= 0, unittest.isTrue); |
11607 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 11886 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
11608 pathOffset = index; | 11887 pathOffset = index; |
11609 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 11888 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
11610 unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.eq
uals("/accountActiveAdSummaries/")); | 11889 unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.eq
uals("/accountActiveAdSummaries/")); |
11611 pathOffset += 26; | 11890 pathOffset += 26; |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11652 api.AccountPermissionGroupsResourceApi res = new api.DfareportingApi(mock)
.accountPermissionGroups; | 11931 api.AccountPermissionGroupsResourceApi res = new api.DfareportingApi(mock)
.accountPermissionGroups; |
11653 var arg_profileId = "foo"; | 11932 var arg_profileId = "foo"; |
11654 var arg_id = "foo"; | 11933 var arg_id = "foo"; |
11655 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 11934 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
11656 var path = (req.url).path; | 11935 var path = (req.url).path; |
11657 var pathOffset = 0; | 11936 var pathOffset = 0; |
11658 var index; | 11937 var index; |
11659 var subPart; | 11938 var subPart; |
11660 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 11939 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
11661 pathOffset += 1; | 11940 pathOffset += 1; |
11662 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 11941 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
11663 pathOffset += 18; | 11942 pathOffset += 18; |
11664 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 11943 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
11665 pathOffset += 13; | 11944 pathOffset += 13; |
11666 index = path.indexOf("/accountPermissionGroups/", pathOffset); | 11945 index = path.indexOf("/accountPermissionGroups/", pathOffset); |
11667 unittest.expect(index >= 0, unittest.isTrue); | 11946 unittest.expect(index >= 0, unittest.isTrue); |
11668 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 11947 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
11669 pathOffset = index; | 11948 pathOffset = index; |
11670 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 11949 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
11671 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/accountPermissionGroups/")); | 11950 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/accountPermissionGroups/")); |
11672 pathOffset += 25; | 11951 pathOffset += 25; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11708 var mock = new HttpServerMock(); | 11987 var mock = new HttpServerMock(); |
11709 api.AccountPermissionGroupsResourceApi res = new api.DfareportingApi(mock)
.accountPermissionGroups; | 11988 api.AccountPermissionGroupsResourceApi res = new api.DfareportingApi(mock)
.accountPermissionGroups; |
11710 var arg_profileId = "foo"; | 11989 var arg_profileId = "foo"; |
11711 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 11990 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
11712 var path = (req.url).path; | 11991 var path = (req.url).path; |
11713 var pathOffset = 0; | 11992 var pathOffset = 0; |
11714 var index; | 11993 var index; |
11715 var subPart; | 11994 var subPart; |
11716 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 11995 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
11717 pathOffset += 1; | 11996 pathOffset += 1; |
11718 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 11997 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
11719 pathOffset += 18; | 11998 pathOffset += 18; |
11720 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 11999 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
11721 pathOffset += 13; | 12000 pathOffset += 13; |
11722 index = path.indexOf("/accountPermissionGroups", pathOffset); | 12001 index = path.indexOf("/accountPermissionGroups", pathOffset); |
11723 unittest.expect(index >= 0, unittest.isTrue); | 12002 unittest.expect(index >= 0, unittest.isTrue); |
11724 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12003 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
11725 pathOffset = index; | 12004 pathOffset = index; |
11726 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12005 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
11727 unittest.expect(path.substring(pathOffset, pathOffset + 24), unittest.eq
uals("/accountPermissionGroups")); | 12006 unittest.expect(path.substring(pathOffset, pathOffset + 24), unittest.eq
uals("/accountPermissionGroups")); |
11728 pathOffset += 24; | 12007 pathOffset += 24; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11766 api.AccountPermissionsResourceApi res = new api.DfareportingApi(mock).acco
untPermissions; | 12045 api.AccountPermissionsResourceApi res = new api.DfareportingApi(mock).acco
untPermissions; |
11767 var arg_profileId = "foo"; | 12046 var arg_profileId = "foo"; |
11768 var arg_id = "foo"; | 12047 var arg_id = "foo"; |
11769 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12048 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
11770 var path = (req.url).path; | 12049 var path = (req.url).path; |
11771 var pathOffset = 0; | 12050 var pathOffset = 0; |
11772 var index; | 12051 var index; |
11773 var subPart; | 12052 var subPart; |
11774 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12053 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
11775 pathOffset += 1; | 12054 pathOffset += 1; |
11776 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 12055 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
11777 pathOffset += 18; | 12056 pathOffset += 18; |
11778 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12057 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
11779 pathOffset += 13; | 12058 pathOffset += 13; |
11780 index = path.indexOf("/accountPermissions/", pathOffset); | 12059 index = path.indexOf("/accountPermissions/", pathOffset); |
11781 unittest.expect(index >= 0, unittest.isTrue); | 12060 unittest.expect(index >= 0, unittest.isTrue); |
11782 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12061 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
11783 pathOffset = index; | 12062 pathOffset = index; |
11784 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12063 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
11785 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/accountPermissions/")); | 12064 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/accountPermissions/")); |
11786 pathOffset += 20; | 12065 pathOffset += 20; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11822 var mock = new HttpServerMock(); | 12101 var mock = new HttpServerMock(); |
11823 api.AccountPermissionsResourceApi res = new api.DfareportingApi(mock).acco
untPermissions; | 12102 api.AccountPermissionsResourceApi res = new api.DfareportingApi(mock).acco
untPermissions; |
11824 var arg_profileId = "foo"; | 12103 var arg_profileId = "foo"; |
11825 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12104 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
11826 var path = (req.url).path; | 12105 var path = (req.url).path; |
11827 var pathOffset = 0; | 12106 var pathOffset = 0; |
11828 var index; | 12107 var index; |
11829 var subPart; | 12108 var subPart; |
11830 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12109 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
11831 pathOffset += 1; | 12110 pathOffset += 1; |
11832 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 12111 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
11833 pathOffset += 18; | 12112 pathOffset += 18; |
11834 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12113 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
11835 pathOffset += 13; | 12114 pathOffset += 13; |
11836 index = path.indexOf("/accountPermissions", pathOffset); | 12115 index = path.indexOf("/accountPermissions", pathOffset); |
11837 unittest.expect(index >= 0, unittest.isTrue); | 12116 unittest.expect(index >= 0, unittest.isTrue); |
11838 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12117 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
11839 pathOffset = index; | 12118 pathOffset = index; |
11840 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12119 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
11841 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("/accountPermissions")); | 12120 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("/accountPermissions")); |
11842 pathOffset += 19; | 12121 pathOffset += 19; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11880 api.AccountUserProfilesResourceApi res = new api.DfareportingApi(mock).acc
ountUserProfiles; | 12159 api.AccountUserProfilesResourceApi res = new api.DfareportingApi(mock).acc
ountUserProfiles; |
11881 var arg_profileId = "foo"; | 12160 var arg_profileId = "foo"; |
11882 var arg_id = "foo"; | 12161 var arg_id = "foo"; |
11883 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12162 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
11884 var path = (req.url).path; | 12163 var path = (req.url).path; |
11885 var pathOffset = 0; | 12164 var pathOffset = 0; |
11886 var index; | 12165 var index; |
11887 var subPart; | 12166 var subPart; |
11888 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12167 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
11889 pathOffset += 1; | 12168 pathOffset += 1; |
11890 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 12169 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
11891 pathOffset += 18; | 12170 pathOffset += 18; |
11892 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12171 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
11893 pathOffset += 13; | 12172 pathOffset += 13; |
11894 index = path.indexOf("/accountUserProfiles/", pathOffset); | 12173 index = path.indexOf("/accountUserProfiles/", pathOffset); |
11895 unittest.expect(index >= 0, unittest.isTrue); | 12174 unittest.expect(index >= 0, unittest.isTrue); |
11896 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12175 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
11897 pathOffset = index; | 12176 pathOffset = index; |
11898 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12177 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
11899 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/accountUserProfiles/")); | 12178 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/accountUserProfiles/")); |
11900 pathOffset += 21; | 12179 pathOffset += 21; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11940 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12219 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
11941 var obj = new api.AccountUserProfile.fromJson(json); | 12220 var obj = new api.AccountUserProfile.fromJson(json); |
11942 checkAccountUserProfile(obj); | 12221 checkAccountUserProfile(obj); |
11943 | 12222 |
11944 var path = (req.url).path; | 12223 var path = (req.url).path; |
11945 var pathOffset = 0; | 12224 var pathOffset = 0; |
11946 var index; | 12225 var index; |
11947 var subPart; | 12226 var subPart; |
11948 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12227 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
11949 pathOffset += 1; | 12228 pathOffset += 1; |
11950 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 12229 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
11951 pathOffset += 18; | 12230 pathOffset += 18; |
11952 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12231 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
11953 pathOffset += 13; | 12232 pathOffset += 13; |
11954 index = path.indexOf("/accountUserProfiles", pathOffset); | 12233 index = path.indexOf("/accountUserProfiles", pathOffset); |
11955 unittest.expect(index >= 0, unittest.isTrue); | 12234 unittest.expect(index >= 0, unittest.isTrue); |
11956 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12235 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
11957 pathOffset = index; | 12236 pathOffset = index; |
11958 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12237 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
11959 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/accountUserProfiles")); | 12238 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/accountUserProfiles")); |
11960 pathOffset += 20; | 12239 pathOffset += 20; |
(...skipping 26 matching lines...) Expand all Loading... |
11987 checkAccountUserProfile(response); | 12266 checkAccountUserProfile(response); |
11988 }))); | 12267 }))); |
11989 }); | 12268 }); |
11990 | 12269 |
11991 unittest.test("method--list", () { | 12270 unittest.test("method--list", () { |
11992 | 12271 |
11993 var mock = new HttpServerMock(); | 12272 var mock = new HttpServerMock(); |
11994 api.AccountUserProfilesResourceApi res = new api.DfareportingApi(mock).acc
ountUserProfiles; | 12273 api.AccountUserProfilesResourceApi res = new api.DfareportingApi(mock).acc
ountUserProfiles; |
11995 var arg_profileId = "foo"; | 12274 var arg_profileId = "foo"; |
11996 var arg_active = true; | 12275 var arg_active = true; |
11997 var arg_ids = buildUnnamed2830(); | 12276 var arg_ids = buildUnnamed2587(); |
11998 var arg_maxResults = 42; | 12277 var arg_maxResults = 42; |
11999 var arg_pageToken = "foo"; | 12278 var arg_pageToken = "foo"; |
12000 var arg_searchString = "foo"; | 12279 var arg_searchString = "foo"; |
12001 var arg_sortField = "foo"; | 12280 var arg_sortField = "foo"; |
12002 var arg_sortOrder = "foo"; | 12281 var arg_sortOrder = "foo"; |
12003 var arg_subaccountId = "foo"; | 12282 var arg_subaccountId = "foo"; |
12004 var arg_userRoleId = "foo"; | 12283 var arg_userRoleId = "foo"; |
12005 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12284 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
12006 var path = (req.url).path; | 12285 var path = (req.url).path; |
12007 var pathOffset = 0; | 12286 var pathOffset = 0; |
12008 var index; | 12287 var index; |
12009 var subPart; | 12288 var subPart; |
12010 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12289 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
12011 pathOffset += 1; | 12290 pathOffset += 1; |
12012 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 12291 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
12013 pathOffset += 18; | 12292 pathOffset += 18; |
12014 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12293 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
12015 pathOffset += 13; | 12294 pathOffset += 13; |
12016 index = path.indexOf("/accountUserProfiles", pathOffset); | 12295 index = path.indexOf("/accountUserProfiles", pathOffset); |
12017 unittest.expect(index >= 0, unittest.isTrue); | 12296 unittest.expect(index >= 0, unittest.isTrue); |
12018 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12297 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
12019 pathOffset = index; | 12298 pathOffset = index; |
12020 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12299 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
12021 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/accountUserProfiles")); | 12300 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/accountUserProfiles")); |
12022 pathOffset += 20; | 12301 pathOffset += 20; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12069 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12348 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
12070 var obj = new api.AccountUserProfile.fromJson(json); | 12349 var obj = new api.AccountUserProfile.fromJson(json); |
12071 checkAccountUserProfile(obj); | 12350 checkAccountUserProfile(obj); |
12072 | 12351 |
12073 var path = (req.url).path; | 12352 var path = (req.url).path; |
12074 var pathOffset = 0; | 12353 var pathOffset = 0; |
12075 var index; | 12354 var index; |
12076 var subPart; | 12355 var subPart; |
12077 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12356 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
12078 pathOffset += 1; | 12357 pathOffset += 1; |
12079 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 12358 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
12080 pathOffset += 18; | 12359 pathOffset += 18; |
12081 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12360 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
12082 pathOffset += 13; | 12361 pathOffset += 13; |
12083 index = path.indexOf("/accountUserProfiles", pathOffset); | 12362 index = path.indexOf("/accountUserProfiles", pathOffset); |
12084 unittest.expect(index >= 0, unittest.isTrue); | 12363 unittest.expect(index >= 0, unittest.isTrue); |
12085 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12364 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
12086 pathOffset = index; | 12365 pathOffset = index; |
12087 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12366 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
12088 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/accountUserProfiles")); | 12367 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/accountUserProfiles")); |
12089 pathOffset += 20; | 12368 pathOffset += 20; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12127 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12406 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
12128 var obj = new api.AccountUserProfile.fromJson(json); | 12407 var obj = new api.AccountUserProfile.fromJson(json); |
12129 checkAccountUserProfile(obj); | 12408 checkAccountUserProfile(obj); |
12130 | 12409 |
12131 var path = (req.url).path; | 12410 var path = (req.url).path; |
12132 var pathOffset = 0; | 12411 var pathOffset = 0; |
12133 var index; | 12412 var index; |
12134 var subPart; | 12413 var subPart; |
12135 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12414 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
12136 pathOffset += 1; | 12415 pathOffset += 1; |
12137 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 12416 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
12138 pathOffset += 18; | 12417 pathOffset += 18; |
12139 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12418 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
12140 pathOffset += 13; | 12419 pathOffset += 13; |
12141 index = path.indexOf("/accountUserProfiles", pathOffset); | 12420 index = path.indexOf("/accountUserProfiles", pathOffset); |
12142 unittest.expect(index >= 0, unittest.isTrue); | 12421 unittest.expect(index >= 0, unittest.isTrue); |
12143 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12422 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
12144 pathOffset = index; | 12423 pathOffset = index; |
12145 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12424 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
12146 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/accountUserProfiles")); | 12425 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/accountUserProfiles")); |
12147 pathOffset += 20; | 12426 pathOffset += 20; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12185 api.AccountsResourceApi res = new api.DfareportingApi(mock).accounts; | 12464 api.AccountsResourceApi res = new api.DfareportingApi(mock).accounts; |
12186 var arg_profileId = "foo"; | 12465 var arg_profileId = "foo"; |
12187 var arg_id = "foo"; | 12466 var arg_id = "foo"; |
12188 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12467 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
12189 var path = (req.url).path; | 12468 var path = (req.url).path; |
12190 var pathOffset = 0; | 12469 var pathOffset = 0; |
12191 var index; | 12470 var index; |
12192 var subPart; | 12471 var subPart; |
12193 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12472 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
12194 pathOffset += 1; | 12473 pathOffset += 1; |
12195 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 12474 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
12196 pathOffset += 18; | 12475 pathOffset += 18; |
12197 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12476 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
12198 pathOffset += 13; | 12477 pathOffset += 13; |
12199 index = path.indexOf("/accounts/", pathOffset); | 12478 index = path.indexOf("/accounts/", pathOffset); |
12200 unittest.expect(index >= 0, unittest.isTrue); | 12479 unittest.expect(index >= 0, unittest.isTrue); |
12201 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12480 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
12202 pathOffset = index; | 12481 pathOffset = index; |
12203 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12482 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
12204 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/accounts/")); | 12483 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/accounts/")); |
12205 pathOffset += 10; | 12484 pathOffset += 10; |
(...skipping 29 matching lines...) Expand all Loading... |
12235 checkAccount(response); | 12514 checkAccount(response); |
12236 }))); | 12515 }))); |
12237 }); | 12516 }); |
12238 | 12517 |
12239 unittest.test("method--list", () { | 12518 unittest.test("method--list", () { |
12240 | 12519 |
12241 var mock = new HttpServerMock(); | 12520 var mock = new HttpServerMock(); |
12242 api.AccountsResourceApi res = new api.DfareportingApi(mock).accounts; | 12521 api.AccountsResourceApi res = new api.DfareportingApi(mock).accounts; |
12243 var arg_profileId = "foo"; | 12522 var arg_profileId = "foo"; |
12244 var arg_active = true; | 12523 var arg_active = true; |
12245 var arg_ids = buildUnnamed2831(); | 12524 var arg_ids = buildUnnamed2588(); |
12246 var arg_maxResults = 42; | 12525 var arg_maxResults = 42; |
12247 var arg_pageToken = "foo"; | 12526 var arg_pageToken = "foo"; |
12248 var arg_searchString = "foo"; | 12527 var arg_searchString = "foo"; |
12249 var arg_sortField = "foo"; | 12528 var arg_sortField = "foo"; |
12250 var arg_sortOrder = "foo"; | 12529 var arg_sortOrder = "foo"; |
12251 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12530 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
12252 var path = (req.url).path; | 12531 var path = (req.url).path; |
12253 var pathOffset = 0; | 12532 var pathOffset = 0; |
12254 var index; | 12533 var index; |
12255 var subPart; | 12534 var subPart; |
12256 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12535 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
12257 pathOffset += 1; | 12536 pathOffset += 1; |
12258 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 12537 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
12259 pathOffset += 18; | 12538 pathOffset += 18; |
12260 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12539 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
12261 pathOffset += 13; | 12540 pathOffset += 13; |
12262 index = path.indexOf("/accounts", pathOffset); | 12541 index = path.indexOf("/accounts", pathOffset); |
12263 unittest.expect(index >= 0, unittest.isTrue); | 12542 unittest.expect(index >= 0, unittest.isTrue); |
12264 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12543 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
12265 pathOffset = index; | 12544 pathOffset = index; |
12266 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12545 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
12267 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/accounts")); | 12546 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/accounts")); |
12268 pathOffset += 9; | 12547 pathOffset += 9; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12313 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12592 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
12314 var obj = new api.Account.fromJson(json); | 12593 var obj = new api.Account.fromJson(json); |
12315 checkAccount(obj); | 12594 checkAccount(obj); |
12316 | 12595 |
12317 var path = (req.url).path; | 12596 var path = (req.url).path; |
12318 var pathOffset = 0; | 12597 var pathOffset = 0; |
12319 var index; | 12598 var index; |
12320 var subPart; | 12599 var subPart; |
12321 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12600 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
12322 pathOffset += 1; | 12601 pathOffset += 1; |
12323 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 12602 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
12324 pathOffset += 18; | 12603 pathOffset += 18; |
12325 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12604 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
12326 pathOffset += 13; | 12605 pathOffset += 13; |
12327 index = path.indexOf("/accounts", pathOffset); | 12606 index = path.indexOf("/accounts", pathOffset); |
12328 unittest.expect(index >= 0, unittest.isTrue); | 12607 unittest.expect(index >= 0, unittest.isTrue); |
12329 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12608 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
12330 pathOffset = index; | 12609 pathOffset = index; |
12331 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12610 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
12332 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/accounts")); | 12611 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/accounts")); |
12333 pathOffset += 9; | 12612 pathOffset += 9; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12371 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12650 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
12372 var obj = new api.Account.fromJson(json); | 12651 var obj = new api.Account.fromJson(json); |
12373 checkAccount(obj); | 12652 checkAccount(obj); |
12374 | 12653 |
12375 var path = (req.url).path; | 12654 var path = (req.url).path; |
12376 var pathOffset = 0; | 12655 var pathOffset = 0; |
12377 var index; | 12656 var index; |
12378 var subPart; | 12657 var subPart; |
12379 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12658 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
12380 pathOffset += 1; | 12659 pathOffset += 1; |
12381 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 12660 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
12382 pathOffset += 18; | 12661 pathOffset += 18; |
12383 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12662 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
12384 pathOffset += 13; | 12663 pathOffset += 13; |
12385 index = path.indexOf("/accounts", pathOffset); | 12664 index = path.indexOf("/accounts", pathOffset); |
12386 unittest.expect(index >= 0, unittest.isTrue); | 12665 unittest.expect(index >= 0, unittest.isTrue); |
12387 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12666 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
12388 pathOffset = index; | 12667 pathOffset = index; |
12389 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12668 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
12390 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/accounts")); | 12669 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/accounts")); |
12391 pathOffset += 9; | 12670 pathOffset += 9; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12429 api.AdsResourceApi res = new api.DfareportingApi(mock).ads; | 12708 api.AdsResourceApi res = new api.DfareportingApi(mock).ads; |
12430 var arg_profileId = "foo"; | 12709 var arg_profileId = "foo"; |
12431 var arg_id = "foo"; | 12710 var arg_id = "foo"; |
12432 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12711 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
12433 var path = (req.url).path; | 12712 var path = (req.url).path; |
12434 var pathOffset = 0; | 12713 var pathOffset = 0; |
12435 var index; | 12714 var index; |
12436 var subPart; | 12715 var subPart; |
12437 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12716 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
12438 pathOffset += 1; | 12717 pathOffset += 1; |
12439 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 12718 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
12440 pathOffset += 18; | 12719 pathOffset += 18; |
12441 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12720 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
12442 pathOffset += 13; | 12721 pathOffset += 13; |
12443 index = path.indexOf("/ads/", pathOffset); | 12722 index = path.indexOf("/ads/", pathOffset); |
12444 unittest.expect(index >= 0, unittest.isTrue); | 12723 unittest.expect(index >= 0, unittest.isTrue); |
12445 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12724 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
12446 pathOffset = index; | 12725 pathOffset = index; |
12447 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12726 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
12448 unittest.expect(path.substring(pathOffset, pathOffset + 5), unittest.equ
als("/ads/")); | 12727 unittest.expect(path.substring(pathOffset, pathOffset + 5), unittest.equ
als("/ads/")); |
12449 pathOffset += 5; | 12728 pathOffset += 5; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12489 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12768 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
12490 var obj = new api.Ad.fromJson(json); | 12769 var obj = new api.Ad.fromJson(json); |
12491 checkAd(obj); | 12770 checkAd(obj); |
12492 | 12771 |
12493 var path = (req.url).path; | 12772 var path = (req.url).path; |
12494 var pathOffset = 0; | 12773 var pathOffset = 0; |
12495 var index; | 12774 var index; |
12496 var subPart; | 12775 var subPart; |
12497 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12776 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
12498 pathOffset += 1; | 12777 pathOffset += 1; |
12499 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 12778 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
12500 pathOffset += 18; | 12779 pathOffset += 18; |
12501 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12780 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
12502 pathOffset += 13; | 12781 pathOffset += 13; |
12503 index = path.indexOf("/ads", pathOffset); | 12782 index = path.indexOf("/ads", pathOffset); |
12504 unittest.expect(index >= 0, unittest.isTrue); | 12783 unittest.expect(index >= 0, unittest.isTrue); |
12505 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12784 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
12506 pathOffset = index; | 12785 pathOffset = index; |
12507 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12786 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
12508 unittest.expect(path.substring(pathOffset, pathOffset + 4), unittest.equ
als("/ads")); | 12787 unittest.expect(path.substring(pathOffset, pathOffset + 4), unittest.equ
als("/ads")); |
12509 pathOffset += 4; | 12788 pathOffset += 4; |
(...skipping 28 matching lines...) Expand all Loading... |
12538 }); | 12817 }); |
12539 | 12818 |
12540 unittest.test("method--list", () { | 12819 unittest.test("method--list", () { |
12541 | 12820 |
12542 var mock = new HttpServerMock(); | 12821 var mock = new HttpServerMock(); |
12543 api.AdsResourceApi res = new api.DfareportingApi(mock).ads; | 12822 api.AdsResourceApi res = new api.DfareportingApi(mock).ads; |
12544 var arg_profileId = "foo"; | 12823 var arg_profileId = "foo"; |
12545 var arg_active = true; | 12824 var arg_active = true; |
12546 var arg_advertiserId = "foo"; | 12825 var arg_advertiserId = "foo"; |
12547 var arg_archived = true; | 12826 var arg_archived = true; |
12548 var arg_audienceSegmentIds = buildUnnamed2832(); | 12827 var arg_audienceSegmentIds = buildUnnamed2589(); |
12549 var arg_campaignIds = buildUnnamed2833(); | 12828 var arg_campaignIds = buildUnnamed2590(); |
12550 var arg_compatibility = "foo"; | 12829 var arg_compatibility = "foo"; |
12551 var arg_creativeIds = buildUnnamed2834(); | 12830 var arg_creativeIds = buildUnnamed2591(); |
12552 var arg_creativeOptimizationConfigurationIds = buildUnnamed2835(); | 12831 var arg_creativeOptimizationConfigurationIds = buildUnnamed2592(); |
12553 var arg_creativeType = "foo"; | |
12554 var arg_dynamicClickTracker = true; | 12832 var arg_dynamicClickTracker = true; |
12555 var arg_ids = buildUnnamed2836(); | 12833 var arg_ids = buildUnnamed2593(); |
12556 var arg_landingPageIds = buildUnnamed2837(); | 12834 var arg_landingPageIds = buildUnnamed2594(); |
12557 var arg_maxResults = 42; | 12835 var arg_maxResults = 42; |
12558 var arg_overriddenEventTagId = "foo"; | 12836 var arg_overriddenEventTagId = "foo"; |
12559 var arg_pageToken = "foo"; | 12837 var arg_pageToken = "foo"; |
12560 var arg_placementIds = buildUnnamed2838(); | 12838 var arg_placementIds = buildUnnamed2595(); |
12561 var arg_remarketingListIds = buildUnnamed2839(); | 12839 var arg_remarketingListIds = buildUnnamed2596(); |
12562 var arg_searchString = "foo"; | 12840 var arg_searchString = "foo"; |
12563 var arg_sizeIds = buildUnnamed2840(); | 12841 var arg_sizeIds = buildUnnamed2597(); |
12564 var arg_sortField = "foo"; | 12842 var arg_sortField = "foo"; |
12565 var arg_sortOrder = "foo"; | 12843 var arg_sortOrder = "foo"; |
12566 var arg_sslCompliant = true; | 12844 var arg_sslCompliant = true; |
12567 var arg_sslRequired = true; | 12845 var arg_sslRequired = true; |
12568 var arg_type = buildUnnamed2841(); | 12846 var arg_type = buildUnnamed2598(); |
12569 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12847 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
12570 var path = (req.url).path; | 12848 var path = (req.url).path; |
12571 var pathOffset = 0; | 12849 var pathOffset = 0; |
12572 var index; | 12850 var index; |
12573 var subPart; | 12851 var subPart; |
12574 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12852 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
12575 pathOffset += 1; | 12853 pathOffset += 1; |
12576 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 12854 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
12577 pathOffset += 18; | 12855 pathOffset += 18; |
12578 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12856 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
12579 pathOffset += 13; | 12857 pathOffset += 13; |
12580 index = path.indexOf("/ads", pathOffset); | 12858 index = path.indexOf("/ads", pathOffset); |
12581 unittest.expect(index >= 0, unittest.isTrue); | 12859 unittest.expect(index >= 0, unittest.isTrue); |
12582 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12860 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
12583 pathOffset = index; | 12861 pathOffset = index; |
12584 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12862 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
12585 unittest.expect(path.substring(pathOffset, pathOffset + 4), unittest.equ
als("/ads")); | 12863 unittest.expect(path.substring(pathOffset, pathOffset + 4), unittest.equ
als("/ads")); |
12586 pathOffset += 4; | 12864 pathOffset += 4; |
(...skipping 15 matching lines...) Expand all Loading... |
12602 } | 12880 } |
12603 } | 12881 } |
12604 unittest.expect(queryMap["active"].first, unittest.equals("$arg_active")
); | 12882 unittest.expect(queryMap["active"].first, unittest.equals("$arg_active")
); |
12605 unittest.expect(queryMap["advertiserId"].first, unittest.equals(arg_adve
rtiserId)); | 12883 unittest.expect(queryMap["advertiserId"].first, unittest.equals(arg_adve
rtiserId)); |
12606 unittest.expect(queryMap["archived"].first, unittest.equals("$arg_archiv
ed")); | 12884 unittest.expect(queryMap["archived"].first, unittest.equals("$arg_archiv
ed")); |
12607 unittest.expect(queryMap["audienceSegmentIds"], unittest.equals(arg_audi
enceSegmentIds)); | 12885 unittest.expect(queryMap["audienceSegmentIds"], unittest.equals(arg_audi
enceSegmentIds)); |
12608 unittest.expect(queryMap["campaignIds"], unittest.equals(arg_campaignIds
)); | 12886 unittest.expect(queryMap["campaignIds"], unittest.equals(arg_campaignIds
)); |
12609 unittest.expect(queryMap["compatibility"].first, unittest.equals(arg_com
patibility)); | 12887 unittest.expect(queryMap["compatibility"].first, unittest.equals(arg_com
patibility)); |
12610 unittest.expect(queryMap["creativeIds"], unittest.equals(arg_creativeIds
)); | 12888 unittest.expect(queryMap["creativeIds"], unittest.equals(arg_creativeIds
)); |
12611 unittest.expect(queryMap["creativeOptimizationConfigurationIds"], unitte
st.equals(arg_creativeOptimizationConfigurationIds)); | 12889 unittest.expect(queryMap["creativeOptimizationConfigurationIds"], unitte
st.equals(arg_creativeOptimizationConfigurationIds)); |
12612 unittest.expect(queryMap["creativeType"].first, unittest.equals(arg_crea
tiveType)); | |
12613 unittest.expect(queryMap["dynamicClickTracker"].first, unittest.equals("
$arg_dynamicClickTracker")); | 12890 unittest.expect(queryMap["dynamicClickTracker"].first, unittest.equals("
$arg_dynamicClickTracker")); |
12614 unittest.expect(queryMap["ids"], unittest.equals(arg_ids)); | 12891 unittest.expect(queryMap["ids"], unittest.equals(arg_ids)); |
12615 unittest.expect(queryMap["landingPageIds"], unittest.equals(arg_landingP
ageIds)); | 12892 unittest.expect(queryMap["landingPageIds"], unittest.equals(arg_landingP
ageIds)); |
12616 unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.e
quals(arg_maxResults)); | 12893 unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.e
quals(arg_maxResults)); |
12617 unittest.expect(queryMap["overriddenEventTagId"].first, unittest.equals(
arg_overriddenEventTagId)); | 12894 unittest.expect(queryMap["overriddenEventTagId"].first, unittest.equals(
arg_overriddenEventTagId)); |
12618 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); | 12895 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); |
12619 unittest.expect(queryMap["placementIds"], unittest.equals(arg_placementI
ds)); | 12896 unittest.expect(queryMap["placementIds"], unittest.equals(arg_placementI
ds)); |
12620 unittest.expect(queryMap["remarketingListIds"], unittest.equals(arg_rema
rketingListIds)); | 12897 unittest.expect(queryMap["remarketingListIds"], unittest.equals(arg_rema
rketingListIds)); |
12621 unittest.expect(queryMap["searchString"].first, unittest.equals(arg_sear
chString)); | 12898 unittest.expect(queryMap["searchString"].first, unittest.equals(arg_sear
chString)); |
12622 unittest.expect(queryMap["sizeIds"], unittest.equals(arg_sizeIds)); | 12899 unittest.expect(queryMap["sizeIds"], unittest.equals(arg_sizeIds)); |
12623 unittest.expect(queryMap["sortField"].first, unittest.equals(arg_sortFie
ld)); | 12900 unittest.expect(queryMap["sortField"].first, unittest.equals(arg_sortFie
ld)); |
12624 unittest.expect(queryMap["sortOrder"].first, unittest.equals(arg_sortOrd
er)); | 12901 unittest.expect(queryMap["sortOrder"].first, unittest.equals(arg_sortOrd
er)); |
12625 unittest.expect(queryMap["sslCompliant"].first, unittest.equals("$arg_ss
lCompliant")); | 12902 unittest.expect(queryMap["sslCompliant"].first, unittest.equals("$arg_ss
lCompliant")); |
12626 unittest.expect(queryMap["sslRequired"].first, unittest.equals("$arg_ssl
Required")); | 12903 unittest.expect(queryMap["sslRequired"].first, unittest.equals("$arg_ssl
Required")); |
12627 unittest.expect(queryMap["type"], unittest.equals(arg_type)); | 12904 unittest.expect(queryMap["type"], unittest.equals(arg_type)); |
12628 | 12905 |
12629 | 12906 |
12630 var h = { | 12907 var h = { |
12631 "content-type" : "application/json; charset=utf-8", | 12908 "content-type" : "application/json; charset=utf-8", |
12632 }; | 12909 }; |
12633 var resp = convert.JSON.encode(buildAdsListResponse()); | 12910 var resp = convert.JSON.encode(buildAdsListResponse()); |
12634 return new async.Future.value(stringResponse(200, h, resp)); | 12911 return new async.Future.value(stringResponse(200, h, resp)); |
12635 }), true); | 12912 }), true); |
12636 res.list(arg_profileId, active: arg_active, advertiserId: arg_advertiserId
, archived: arg_archived, audienceSegmentIds: arg_audienceSegmentIds, campaignId
s: arg_campaignIds, compatibility: arg_compatibility, creativeIds: arg_creativeI
ds, creativeOptimizationConfigurationIds: arg_creativeOptimizationConfigurationI
ds, creativeType: arg_creativeType, dynamicClickTracker: arg_dynamicClickTracker
, ids: arg_ids, landingPageIds: arg_landingPageIds, maxResults: arg_maxResults,
overriddenEventTagId: arg_overriddenEventTagId, pageToken: arg_pageToken, placem
entIds: arg_placementIds, remarketingListIds: arg_remarketingListIds, searchStri
ng: arg_searchString, sizeIds: arg_sizeIds, sortField: arg_sortField, sortOrder:
arg_sortOrder, sslCompliant: arg_sslCompliant, sslRequired: arg_sslRequired, ty
pe: arg_type).then(unittest.expectAsync(((api.AdsListResponse response) { | 12913 res.list(arg_profileId, active: arg_active, advertiserId: arg_advertiserId
, archived: arg_archived, audienceSegmentIds: arg_audienceSegmentIds, campaignId
s: arg_campaignIds, compatibility: arg_compatibility, creativeIds: arg_creativeI
ds, creativeOptimizationConfigurationIds: arg_creativeOptimizationConfigurationI
ds, dynamicClickTracker: arg_dynamicClickTracker, ids: arg_ids, landingPageIds:
arg_landingPageIds, maxResults: arg_maxResults, overriddenEventTagId: arg_overri
ddenEventTagId, pageToken: arg_pageToken, placementIds: arg_placementIds, remark
etingListIds: arg_remarketingListIds, searchString: arg_searchString, sizeIds: a
rg_sizeIds, sortField: arg_sortField, sortOrder: arg_sortOrder, sslCompliant: ar
g_sslCompliant, sslRequired: arg_sslRequired, type: arg_type).then(unittest.expe
ctAsync(((api.AdsListResponse response) { |
12637 checkAdsListResponse(response); | 12914 checkAdsListResponse(response); |
12638 }))); | 12915 }))); |
12639 }); | 12916 }); |
12640 | 12917 |
12641 unittest.test("method--patch", () { | 12918 unittest.test("method--patch", () { |
12642 | 12919 |
12643 var mock = new HttpServerMock(); | 12920 var mock = new HttpServerMock(); |
12644 api.AdsResourceApi res = new api.DfareportingApi(mock).ads; | 12921 api.AdsResourceApi res = new api.DfareportingApi(mock).ads; |
12645 var arg_request = buildAd(); | 12922 var arg_request = buildAd(); |
12646 var arg_profileId = "foo"; | 12923 var arg_profileId = "foo"; |
12647 var arg_id = "foo"; | 12924 var arg_id = "foo"; |
12648 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12925 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
12649 var obj = new api.Ad.fromJson(json); | 12926 var obj = new api.Ad.fromJson(json); |
12650 checkAd(obj); | 12927 checkAd(obj); |
12651 | 12928 |
12652 var path = (req.url).path; | 12929 var path = (req.url).path; |
12653 var pathOffset = 0; | 12930 var pathOffset = 0; |
12654 var index; | 12931 var index; |
12655 var subPart; | 12932 var subPart; |
12656 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12933 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
12657 pathOffset += 1; | 12934 pathOffset += 1; |
12658 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 12935 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
12659 pathOffset += 18; | 12936 pathOffset += 18; |
12660 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12937 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
12661 pathOffset += 13; | 12938 pathOffset += 13; |
12662 index = path.indexOf("/ads", pathOffset); | 12939 index = path.indexOf("/ads", pathOffset); |
12663 unittest.expect(index >= 0, unittest.isTrue); | 12940 unittest.expect(index >= 0, unittest.isTrue); |
12664 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12941 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
12665 pathOffset = index; | 12942 pathOffset = index; |
12666 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 12943 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
12667 unittest.expect(path.substring(pathOffset, pathOffset + 4), unittest.equ
als("/ads")); | 12944 unittest.expect(path.substring(pathOffset, pathOffset + 4), unittest.equ
als("/ads")); |
12668 pathOffset += 4; | 12945 pathOffset += 4; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12706 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 12983 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
12707 var obj = new api.Ad.fromJson(json); | 12984 var obj = new api.Ad.fromJson(json); |
12708 checkAd(obj); | 12985 checkAd(obj); |
12709 | 12986 |
12710 var path = (req.url).path; | 12987 var path = (req.url).path; |
12711 var pathOffset = 0; | 12988 var pathOffset = 0; |
12712 var index; | 12989 var index; |
12713 var subPart; | 12990 var subPart; |
12714 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 12991 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
12715 pathOffset += 1; | 12992 pathOffset += 1; |
12716 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 12993 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
12717 pathOffset += 18; | 12994 pathOffset += 18; |
12718 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 12995 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
12719 pathOffset += 13; | 12996 pathOffset += 13; |
12720 index = path.indexOf("/ads", pathOffset); | 12997 index = path.indexOf("/ads", pathOffset); |
12721 unittest.expect(index >= 0, unittest.isTrue); | 12998 unittest.expect(index >= 0, unittest.isTrue); |
12722 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 12999 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
12723 pathOffset = index; | 13000 pathOffset = index; |
12724 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13001 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
12725 unittest.expect(path.substring(pathOffset, pathOffset + 4), unittest.equ
als("/ads")); | 13002 unittest.expect(path.substring(pathOffset, pathOffset + 4), unittest.equ
als("/ads")); |
12726 pathOffset += 4; | 13003 pathOffset += 4; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12764 api.AdvertiserGroupsResourceApi res = new api.DfareportingApi(mock).advert
iserGroups; | 13041 api.AdvertiserGroupsResourceApi res = new api.DfareportingApi(mock).advert
iserGroups; |
12765 var arg_profileId = "foo"; | 13042 var arg_profileId = "foo"; |
12766 var arg_id = "foo"; | 13043 var arg_id = "foo"; |
12767 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13044 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
12768 var path = (req.url).path; | 13045 var path = (req.url).path; |
12769 var pathOffset = 0; | 13046 var pathOffset = 0; |
12770 var index; | 13047 var index; |
12771 var subPart; | 13048 var subPart; |
12772 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13049 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
12773 pathOffset += 1; | 13050 pathOffset += 1; |
12774 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 13051 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
12775 pathOffset += 18; | 13052 pathOffset += 18; |
12776 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13053 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
12777 pathOffset += 13; | 13054 pathOffset += 13; |
12778 index = path.indexOf("/advertiserGroups/", pathOffset); | 13055 index = path.indexOf("/advertiserGroups/", pathOffset); |
12779 unittest.expect(index >= 0, unittest.isTrue); | 13056 unittest.expect(index >= 0, unittest.isTrue); |
12780 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13057 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
12781 pathOffset = index; | 13058 pathOffset = index; |
12782 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13059 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
12783 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/advertiserGroups/")); | 13060 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/advertiserGroups/")); |
12784 pathOffset += 18; | 13061 pathOffset += 18; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12819 api.AdvertiserGroupsResourceApi res = new api.DfareportingApi(mock).advert
iserGroups; | 13096 api.AdvertiserGroupsResourceApi res = new api.DfareportingApi(mock).advert
iserGroups; |
12820 var arg_profileId = "foo"; | 13097 var arg_profileId = "foo"; |
12821 var arg_id = "foo"; | 13098 var arg_id = "foo"; |
12822 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13099 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
12823 var path = (req.url).path; | 13100 var path = (req.url).path; |
12824 var pathOffset = 0; | 13101 var pathOffset = 0; |
12825 var index; | 13102 var index; |
12826 var subPart; | 13103 var subPart; |
12827 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13104 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
12828 pathOffset += 1; | 13105 pathOffset += 1; |
12829 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 13106 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
12830 pathOffset += 18; | 13107 pathOffset += 18; |
12831 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13108 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
12832 pathOffset += 13; | 13109 pathOffset += 13; |
12833 index = path.indexOf("/advertiserGroups/", pathOffset); | 13110 index = path.indexOf("/advertiserGroups/", pathOffset); |
12834 unittest.expect(index >= 0, unittest.isTrue); | 13111 unittest.expect(index >= 0, unittest.isTrue); |
12835 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13112 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
12836 pathOffset = index; | 13113 pathOffset = index; |
12837 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13114 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
12838 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/advertiserGroups/")); | 13115 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/advertiserGroups/")); |
12839 pathOffset += 18; | 13116 pathOffset += 18; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12879 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13156 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
12880 var obj = new api.AdvertiserGroup.fromJson(json); | 13157 var obj = new api.AdvertiserGroup.fromJson(json); |
12881 checkAdvertiserGroup(obj); | 13158 checkAdvertiserGroup(obj); |
12882 | 13159 |
12883 var path = (req.url).path; | 13160 var path = (req.url).path; |
12884 var pathOffset = 0; | 13161 var pathOffset = 0; |
12885 var index; | 13162 var index; |
12886 var subPart; | 13163 var subPart; |
12887 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13164 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
12888 pathOffset += 1; | 13165 pathOffset += 1; |
12889 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 13166 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
12890 pathOffset += 18; | 13167 pathOffset += 18; |
12891 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13168 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
12892 pathOffset += 13; | 13169 pathOffset += 13; |
12893 index = path.indexOf("/advertiserGroups", pathOffset); | 13170 index = path.indexOf("/advertiserGroups", pathOffset); |
12894 unittest.expect(index >= 0, unittest.isTrue); | 13171 unittest.expect(index >= 0, unittest.isTrue); |
12895 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13172 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
12896 pathOffset = index; | 13173 pathOffset = index; |
12897 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13174 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
12898 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/advertiserGroups")); | 13175 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/advertiserGroups")); |
12899 pathOffset += 17; | 13176 pathOffset += 17; |
(...skipping 25 matching lines...) Expand all Loading... |
12925 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Adv
ertiserGroup response) { | 13202 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Adv
ertiserGroup response) { |
12926 checkAdvertiserGroup(response); | 13203 checkAdvertiserGroup(response); |
12927 }))); | 13204 }))); |
12928 }); | 13205 }); |
12929 | 13206 |
12930 unittest.test("method--list", () { | 13207 unittest.test("method--list", () { |
12931 | 13208 |
12932 var mock = new HttpServerMock(); | 13209 var mock = new HttpServerMock(); |
12933 api.AdvertiserGroupsResourceApi res = new api.DfareportingApi(mock).advert
iserGroups; | 13210 api.AdvertiserGroupsResourceApi res = new api.DfareportingApi(mock).advert
iserGroups; |
12934 var arg_profileId = "foo"; | 13211 var arg_profileId = "foo"; |
12935 var arg_ids = buildUnnamed2842(); | 13212 var arg_ids = buildUnnamed2599(); |
12936 var arg_maxResults = 42; | 13213 var arg_maxResults = 42; |
12937 var arg_pageToken = "foo"; | 13214 var arg_pageToken = "foo"; |
12938 var arg_searchString = "foo"; | 13215 var arg_searchString = "foo"; |
12939 var arg_sortField = "foo"; | 13216 var arg_sortField = "foo"; |
12940 var arg_sortOrder = "foo"; | 13217 var arg_sortOrder = "foo"; |
12941 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13218 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
12942 var path = (req.url).path; | 13219 var path = (req.url).path; |
12943 var pathOffset = 0; | 13220 var pathOffset = 0; |
12944 var index; | 13221 var index; |
12945 var subPart; | 13222 var subPart; |
12946 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13223 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
12947 pathOffset += 1; | 13224 pathOffset += 1; |
12948 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 13225 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
12949 pathOffset += 18; | 13226 pathOffset += 18; |
12950 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13227 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
12951 pathOffset += 13; | 13228 pathOffset += 13; |
12952 index = path.indexOf("/advertiserGroups", pathOffset); | 13229 index = path.indexOf("/advertiserGroups", pathOffset); |
12953 unittest.expect(index >= 0, unittest.isTrue); | 13230 unittest.expect(index >= 0, unittest.isTrue); |
12954 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13231 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
12955 pathOffset = index; | 13232 pathOffset = index; |
12956 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13233 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
12957 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/advertiserGroups")); | 13234 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/advertiserGroups")); |
12958 pathOffset += 17; | 13235 pathOffset += 17; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13002 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13279 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
13003 var obj = new api.AdvertiserGroup.fromJson(json); | 13280 var obj = new api.AdvertiserGroup.fromJson(json); |
13004 checkAdvertiserGroup(obj); | 13281 checkAdvertiserGroup(obj); |
13005 | 13282 |
13006 var path = (req.url).path; | 13283 var path = (req.url).path; |
13007 var pathOffset = 0; | 13284 var pathOffset = 0; |
13008 var index; | 13285 var index; |
13009 var subPart; | 13286 var subPart; |
13010 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13287 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
13011 pathOffset += 1; | 13288 pathOffset += 1; |
13012 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 13289 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
13013 pathOffset += 18; | 13290 pathOffset += 18; |
13014 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13291 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
13015 pathOffset += 13; | 13292 pathOffset += 13; |
13016 index = path.indexOf("/advertiserGroups", pathOffset); | 13293 index = path.indexOf("/advertiserGroups", pathOffset); |
13017 unittest.expect(index >= 0, unittest.isTrue); | 13294 unittest.expect(index >= 0, unittest.isTrue); |
13018 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13295 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
13019 pathOffset = index; | 13296 pathOffset = index; |
13020 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13297 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
13021 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/advertiserGroups")); | 13298 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/advertiserGroups")); |
13022 pathOffset += 17; | 13299 pathOffset += 17; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13060 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13337 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
13061 var obj = new api.AdvertiserGroup.fromJson(json); | 13338 var obj = new api.AdvertiserGroup.fromJson(json); |
13062 checkAdvertiserGroup(obj); | 13339 checkAdvertiserGroup(obj); |
13063 | 13340 |
13064 var path = (req.url).path; | 13341 var path = (req.url).path; |
13065 var pathOffset = 0; | 13342 var pathOffset = 0; |
13066 var index; | 13343 var index; |
13067 var subPart; | 13344 var subPart; |
13068 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13345 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
13069 pathOffset += 1; | 13346 pathOffset += 1; |
13070 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 13347 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
13071 pathOffset += 18; | 13348 pathOffset += 18; |
13072 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13349 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
13073 pathOffset += 13; | 13350 pathOffset += 13; |
13074 index = path.indexOf("/advertiserGroups", pathOffset); | 13351 index = path.indexOf("/advertiserGroups", pathOffset); |
13075 unittest.expect(index >= 0, unittest.isTrue); | 13352 unittest.expect(index >= 0, unittest.isTrue); |
13076 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13353 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
13077 pathOffset = index; | 13354 pathOffset = index; |
13078 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13355 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
13079 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/advertiserGroups")); | 13356 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/advertiserGroups")); |
13080 pathOffset += 17; | 13357 pathOffset += 17; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13118 api.AdvertisersResourceApi res = new api.DfareportingApi(mock).advertisers
; | 13395 api.AdvertisersResourceApi res = new api.DfareportingApi(mock).advertisers
; |
13119 var arg_profileId = "foo"; | 13396 var arg_profileId = "foo"; |
13120 var arg_id = "foo"; | 13397 var arg_id = "foo"; |
13121 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13398 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
13122 var path = (req.url).path; | 13399 var path = (req.url).path; |
13123 var pathOffset = 0; | 13400 var pathOffset = 0; |
13124 var index; | 13401 var index; |
13125 var subPart; | 13402 var subPart; |
13126 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13403 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
13127 pathOffset += 1; | 13404 pathOffset += 1; |
13128 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 13405 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
13129 pathOffset += 18; | 13406 pathOffset += 18; |
13130 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13407 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
13131 pathOffset += 13; | 13408 pathOffset += 13; |
13132 index = path.indexOf("/advertisers/", pathOffset); | 13409 index = path.indexOf("/advertisers/", pathOffset); |
13133 unittest.expect(index >= 0, unittest.isTrue); | 13410 unittest.expect(index >= 0, unittest.isTrue); |
13134 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13411 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
13135 pathOffset = index; | 13412 pathOffset = index; |
13136 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13413 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
13137 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("/advertisers/")); | 13414 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("/advertisers/")); |
13138 pathOffset += 13; | 13415 pathOffset += 13; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13178 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13455 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
13179 var obj = new api.Advertiser.fromJson(json); | 13456 var obj = new api.Advertiser.fromJson(json); |
13180 checkAdvertiser(obj); | 13457 checkAdvertiser(obj); |
13181 | 13458 |
13182 var path = (req.url).path; | 13459 var path = (req.url).path; |
13183 var pathOffset = 0; | 13460 var pathOffset = 0; |
13184 var index; | 13461 var index; |
13185 var subPart; | 13462 var subPart; |
13186 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13463 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
13187 pathOffset += 1; | 13464 pathOffset += 1; |
13188 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 13465 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
13189 pathOffset += 18; | 13466 pathOffset += 18; |
13190 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13467 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
13191 pathOffset += 13; | 13468 pathOffset += 13; |
13192 index = path.indexOf("/advertisers", pathOffset); | 13469 index = path.indexOf("/advertisers", pathOffset); |
13193 unittest.expect(index >= 0, unittest.isTrue); | 13470 unittest.expect(index >= 0, unittest.isTrue); |
13194 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13471 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
13195 pathOffset = index; | 13472 pathOffset = index; |
13196 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13473 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
13197 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/advertisers")); | 13474 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/advertisers")); |
13198 pathOffset += 12; | 13475 pathOffset += 12; |
(...skipping 25 matching lines...) Expand all Loading... |
13224 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Adv
ertiser response) { | 13501 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Adv
ertiser response) { |
13225 checkAdvertiser(response); | 13502 checkAdvertiser(response); |
13226 }))); | 13503 }))); |
13227 }); | 13504 }); |
13228 | 13505 |
13229 unittest.test("method--list", () { | 13506 unittest.test("method--list", () { |
13230 | 13507 |
13231 var mock = new HttpServerMock(); | 13508 var mock = new HttpServerMock(); |
13232 api.AdvertisersResourceApi res = new api.DfareportingApi(mock).advertisers
; | 13509 api.AdvertisersResourceApi res = new api.DfareportingApi(mock).advertisers
; |
13233 var arg_profileId = "foo"; | 13510 var arg_profileId = "foo"; |
13234 var arg_advertiserGroupIds = buildUnnamed2843(); | 13511 var arg_advertiserGroupIds = buildUnnamed2600(); |
13235 var arg_floodlightConfigurationIds = buildUnnamed2844(); | 13512 var arg_floodlightConfigurationIds = buildUnnamed2601(); |
13236 var arg_ids = buildUnnamed2845(); | 13513 var arg_ids = buildUnnamed2602(); |
13237 var arg_includeAdvertisersWithoutGroupsOnly = true; | 13514 var arg_includeAdvertisersWithoutGroupsOnly = true; |
13238 var arg_maxResults = 42; | 13515 var arg_maxResults = 42; |
13239 var arg_onlyParent = true; | 13516 var arg_onlyParent = true; |
13240 var arg_pageToken = "foo"; | 13517 var arg_pageToken = "foo"; |
13241 var arg_searchString = "foo"; | 13518 var arg_searchString = "foo"; |
13242 var arg_sortField = "foo"; | 13519 var arg_sortField = "foo"; |
13243 var arg_sortOrder = "foo"; | 13520 var arg_sortOrder = "foo"; |
13244 var arg_status = "foo"; | 13521 var arg_status = "foo"; |
13245 var arg_subaccountId = "foo"; | 13522 var arg_subaccountId = "foo"; |
13246 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13523 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
13247 var path = (req.url).path; | 13524 var path = (req.url).path; |
13248 var pathOffset = 0; | 13525 var pathOffset = 0; |
13249 var index; | 13526 var index; |
13250 var subPart; | 13527 var subPart; |
13251 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13528 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
13252 pathOffset += 1; | 13529 pathOffset += 1; |
13253 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 13530 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
13254 pathOffset += 18; | 13531 pathOffset += 18; |
13255 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13532 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
13256 pathOffset += 13; | 13533 pathOffset += 13; |
13257 index = path.indexOf("/advertisers", pathOffset); | 13534 index = path.indexOf("/advertisers", pathOffset); |
13258 unittest.expect(index >= 0, unittest.isTrue); | 13535 unittest.expect(index >= 0, unittest.isTrue); |
13259 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13536 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
13260 pathOffset = index; | 13537 pathOffset = index; |
13261 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13538 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
13262 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/advertisers")); | 13539 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/advertisers")); |
13263 pathOffset += 12; | 13540 pathOffset += 12; |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13313 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13590 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
13314 var obj = new api.Advertiser.fromJson(json); | 13591 var obj = new api.Advertiser.fromJson(json); |
13315 checkAdvertiser(obj); | 13592 checkAdvertiser(obj); |
13316 | 13593 |
13317 var path = (req.url).path; | 13594 var path = (req.url).path; |
13318 var pathOffset = 0; | 13595 var pathOffset = 0; |
13319 var index; | 13596 var index; |
13320 var subPart; | 13597 var subPart; |
13321 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13598 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
13322 pathOffset += 1; | 13599 pathOffset += 1; |
13323 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 13600 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
13324 pathOffset += 18; | 13601 pathOffset += 18; |
13325 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13602 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
13326 pathOffset += 13; | 13603 pathOffset += 13; |
13327 index = path.indexOf("/advertisers", pathOffset); | 13604 index = path.indexOf("/advertisers", pathOffset); |
13328 unittest.expect(index >= 0, unittest.isTrue); | 13605 unittest.expect(index >= 0, unittest.isTrue); |
13329 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13606 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
13330 pathOffset = index; | 13607 pathOffset = index; |
13331 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13608 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
13332 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/advertisers")); | 13609 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/advertisers")); |
13333 pathOffset += 12; | 13610 pathOffset += 12; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13371 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13648 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
13372 var obj = new api.Advertiser.fromJson(json); | 13649 var obj = new api.Advertiser.fromJson(json); |
13373 checkAdvertiser(obj); | 13650 checkAdvertiser(obj); |
13374 | 13651 |
13375 var path = (req.url).path; | 13652 var path = (req.url).path; |
13376 var pathOffset = 0; | 13653 var pathOffset = 0; |
13377 var index; | 13654 var index; |
13378 var subPart; | 13655 var subPart; |
13379 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13656 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
13380 pathOffset += 1; | 13657 pathOffset += 1; |
13381 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 13658 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
13382 pathOffset += 18; | 13659 pathOffset += 18; |
13383 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13660 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
13384 pathOffset += 13; | 13661 pathOffset += 13; |
13385 index = path.indexOf("/advertisers", pathOffset); | 13662 index = path.indexOf("/advertisers", pathOffset); |
13386 unittest.expect(index >= 0, unittest.isTrue); | 13663 unittest.expect(index >= 0, unittest.isTrue); |
13387 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13664 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
13388 pathOffset = index; | 13665 pathOffset = index; |
13389 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13666 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
13390 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/advertisers")); | 13667 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/advertisers")); |
13391 pathOffset += 12; | 13668 pathOffset += 12; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13428 var mock = new HttpServerMock(); | 13705 var mock = new HttpServerMock(); |
13429 api.BrowsersResourceApi res = new api.DfareportingApi(mock).browsers; | 13706 api.BrowsersResourceApi res = new api.DfareportingApi(mock).browsers; |
13430 var arg_profileId = "foo"; | 13707 var arg_profileId = "foo"; |
13431 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13708 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
13432 var path = (req.url).path; | 13709 var path = (req.url).path; |
13433 var pathOffset = 0; | 13710 var pathOffset = 0; |
13434 var index; | 13711 var index; |
13435 var subPart; | 13712 var subPart; |
13436 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13713 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
13437 pathOffset += 1; | 13714 pathOffset += 1; |
13438 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 13715 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
13439 pathOffset += 18; | 13716 pathOffset += 18; |
13440 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13717 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
13441 pathOffset += 13; | 13718 pathOffset += 13; |
13442 index = path.indexOf("/browsers", pathOffset); | 13719 index = path.indexOf("/browsers", pathOffset); |
13443 unittest.expect(index >= 0, unittest.isTrue); | 13720 unittest.expect(index >= 0, unittest.isTrue); |
13444 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13721 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
13445 pathOffset = index; | 13722 pathOffset = index; |
13446 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13723 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
13447 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/browsers")); | 13724 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/browsers")); |
13448 pathOffset += 9; | 13725 pathOffset += 9; |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13490 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13767 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
13491 var obj = new api.CampaignCreativeAssociation.fromJson(json); | 13768 var obj = new api.CampaignCreativeAssociation.fromJson(json); |
13492 checkCampaignCreativeAssociation(obj); | 13769 checkCampaignCreativeAssociation(obj); |
13493 | 13770 |
13494 var path = (req.url).path; | 13771 var path = (req.url).path; |
13495 var pathOffset = 0; | 13772 var pathOffset = 0; |
13496 var index; | 13773 var index; |
13497 var subPart; | 13774 var subPart; |
13498 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13775 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
13499 pathOffset += 1; | 13776 pathOffset += 1; |
13500 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 13777 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
13501 pathOffset += 18; | 13778 pathOffset += 18; |
13502 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13779 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
13503 pathOffset += 13; | 13780 pathOffset += 13; |
13504 index = path.indexOf("/campaigns/", pathOffset); | 13781 index = path.indexOf("/campaigns/", pathOffset); |
13505 unittest.expect(index >= 0, unittest.isTrue); | 13782 unittest.expect(index >= 0, unittest.isTrue); |
13506 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13783 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
13507 pathOffset = index; | 13784 pathOffset = index; |
13508 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13785 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
13509 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); | 13786 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); |
13510 pathOffset += 11; | 13787 pathOffset += 11; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13554 var arg_maxResults = 42; | 13831 var arg_maxResults = 42; |
13555 var arg_pageToken = "foo"; | 13832 var arg_pageToken = "foo"; |
13556 var arg_sortOrder = "foo"; | 13833 var arg_sortOrder = "foo"; |
13557 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13834 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
13558 var path = (req.url).path; | 13835 var path = (req.url).path; |
13559 var pathOffset = 0; | 13836 var pathOffset = 0; |
13560 var index; | 13837 var index; |
13561 var subPart; | 13838 var subPart; |
13562 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13839 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
13563 pathOffset += 1; | 13840 pathOffset += 1; |
13564 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 13841 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
13565 pathOffset += 18; | 13842 pathOffset += 18; |
13566 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13843 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
13567 pathOffset += 13; | 13844 pathOffset += 13; |
13568 index = path.indexOf("/campaigns/", pathOffset); | 13845 index = path.indexOf("/campaigns/", pathOffset); |
13569 unittest.expect(index >= 0, unittest.isTrue); | 13846 unittest.expect(index >= 0, unittest.isTrue); |
13570 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13847 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
13571 pathOffset = index; | 13848 pathOffset = index; |
13572 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13849 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
13573 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); | 13850 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); |
13574 pathOffset += 11; | 13851 pathOffset += 11; |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13622 api.CampaignsResourceApi res = new api.DfareportingApi(mock).campaigns; | 13899 api.CampaignsResourceApi res = new api.DfareportingApi(mock).campaigns; |
13623 var arg_profileId = "foo"; | 13900 var arg_profileId = "foo"; |
13624 var arg_id = "foo"; | 13901 var arg_id = "foo"; |
13625 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13902 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
13626 var path = (req.url).path; | 13903 var path = (req.url).path; |
13627 var pathOffset = 0; | 13904 var pathOffset = 0; |
13628 var index; | 13905 var index; |
13629 var subPart; | 13906 var subPart; |
13630 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13907 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
13631 pathOffset += 1; | 13908 pathOffset += 1; |
13632 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 13909 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
13633 pathOffset += 18; | 13910 pathOffset += 18; |
13634 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13911 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
13635 pathOffset += 13; | 13912 pathOffset += 13; |
13636 index = path.indexOf("/campaigns/", pathOffset); | 13913 index = path.indexOf("/campaigns/", pathOffset); |
13637 unittest.expect(index >= 0, unittest.isTrue); | 13914 unittest.expect(index >= 0, unittest.isTrue); |
13638 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13915 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
13639 pathOffset = index; | 13916 pathOffset = index; |
13640 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13917 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
13641 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); | 13918 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); |
13642 pathOffset += 11; | 13919 pathOffset += 11; |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13684 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 13961 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
13685 var obj = new api.Campaign.fromJson(json); | 13962 var obj = new api.Campaign.fromJson(json); |
13686 checkCampaign(obj); | 13963 checkCampaign(obj); |
13687 | 13964 |
13688 var path = (req.url).path; | 13965 var path = (req.url).path; |
13689 var pathOffset = 0; | 13966 var pathOffset = 0; |
13690 var index; | 13967 var index; |
13691 var subPart; | 13968 var subPart; |
13692 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 13969 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
13693 pathOffset += 1; | 13970 pathOffset += 1; |
13694 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 13971 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
13695 pathOffset += 18; | 13972 pathOffset += 18; |
13696 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 13973 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
13697 pathOffset += 13; | 13974 pathOffset += 13; |
13698 index = path.indexOf("/campaigns", pathOffset); | 13975 index = path.indexOf("/campaigns", pathOffset); |
13699 unittest.expect(index >= 0, unittest.isTrue); | 13976 unittest.expect(index >= 0, unittest.isTrue); |
13700 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 13977 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
13701 pathOffset = index; | 13978 pathOffset = index; |
13702 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 13979 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
13703 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/campaigns")); | 13980 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/campaigns")); |
13704 pathOffset += 10; | 13981 pathOffset += 10; |
(...skipping 27 matching lines...) Expand all Loading... |
13732 res.insert(arg_request, arg_profileId, arg_defaultLandingPageName, arg_def
aultLandingPageUrl).then(unittest.expectAsync(((api.Campaign response) { | 14009 res.insert(arg_request, arg_profileId, arg_defaultLandingPageName, arg_def
aultLandingPageUrl).then(unittest.expectAsync(((api.Campaign response) { |
13733 checkCampaign(response); | 14010 checkCampaign(response); |
13734 }))); | 14011 }))); |
13735 }); | 14012 }); |
13736 | 14013 |
13737 unittest.test("method--list", () { | 14014 unittest.test("method--list", () { |
13738 | 14015 |
13739 var mock = new HttpServerMock(); | 14016 var mock = new HttpServerMock(); |
13740 api.CampaignsResourceApi res = new api.DfareportingApi(mock).campaigns; | 14017 api.CampaignsResourceApi res = new api.DfareportingApi(mock).campaigns; |
13741 var arg_profileId = "foo"; | 14018 var arg_profileId = "foo"; |
13742 var arg_advertiserGroupIds = buildUnnamed2846(); | 14019 var arg_advertiserGroupIds = buildUnnamed2603(); |
13743 var arg_advertiserIds = buildUnnamed2847(); | 14020 var arg_advertiserIds = buildUnnamed2604(); |
13744 var arg_archived = true; | 14021 var arg_archived = true; |
13745 var arg_atLeastOneOptimizationActivity = true; | 14022 var arg_atLeastOneOptimizationActivity = true; |
13746 var arg_excludedIds = buildUnnamed2848(); | 14023 var arg_excludedIds = buildUnnamed2605(); |
13747 var arg_ids = buildUnnamed2849(); | 14024 var arg_ids = buildUnnamed2606(); |
13748 var arg_maxResults = 42; | 14025 var arg_maxResults = 42; |
13749 var arg_overriddenEventTagId = "foo"; | 14026 var arg_overriddenEventTagId = "foo"; |
13750 var arg_pageToken = "foo"; | 14027 var arg_pageToken = "foo"; |
13751 var arg_searchString = "foo"; | 14028 var arg_searchString = "foo"; |
13752 var arg_sortField = "foo"; | 14029 var arg_sortField = "foo"; |
13753 var arg_sortOrder = "foo"; | 14030 var arg_sortOrder = "foo"; |
13754 var arg_subaccountId = "foo"; | 14031 var arg_subaccountId = "foo"; |
13755 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14032 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
13756 var path = (req.url).path; | 14033 var path = (req.url).path; |
13757 var pathOffset = 0; | 14034 var pathOffset = 0; |
13758 var index; | 14035 var index; |
13759 var subPart; | 14036 var subPart; |
13760 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14037 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
13761 pathOffset += 1; | 14038 pathOffset += 1; |
13762 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 14039 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
13763 pathOffset += 18; | 14040 pathOffset += 18; |
13764 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14041 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
13765 pathOffset += 13; | 14042 pathOffset += 13; |
13766 index = path.indexOf("/campaigns", pathOffset); | 14043 index = path.indexOf("/campaigns", pathOffset); |
13767 unittest.expect(index >= 0, unittest.isTrue); | 14044 unittest.expect(index >= 0, unittest.isTrue); |
13768 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14045 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
13769 pathOffset = index; | 14046 pathOffset = index; |
13770 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14047 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
13771 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/campaigns")); | 14048 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/campaigns")); |
13772 pathOffset += 10; | 14049 pathOffset += 10; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13823 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14100 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
13824 var obj = new api.Campaign.fromJson(json); | 14101 var obj = new api.Campaign.fromJson(json); |
13825 checkCampaign(obj); | 14102 checkCampaign(obj); |
13826 | 14103 |
13827 var path = (req.url).path; | 14104 var path = (req.url).path; |
13828 var pathOffset = 0; | 14105 var pathOffset = 0; |
13829 var index; | 14106 var index; |
13830 var subPart; | 14107 var subPart; |
13831 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14108 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
13832 pathOffset += 1; | 14109 pathOffset += 1; |
13833 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 14110 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
13834 pathOffset += 18; | 14111 pathOffset += 18; |
13835 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14112 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
13836 pathOffset += 13; | 14113 pathOffset += 13; |
13837 index = path.indexOf("/campaigns", pathOffset); | 14114 index = path.indexOf("/campaigns", pathOffset); |
13838 unittest.expect(index >= 0, unittest.isTrue); | 14115 unittest.expect(index >= 0, unittest.isTrue); |
13839 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14116 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
13840 pathOffset = index; | 14117 pathOffset = index; |
13841 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14118 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
13842 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/campaigns")); | 14119 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/campaigns")); |
13843 pathOffset += 10; | 14120 pathOffset += 10; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13881 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14158 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
13882 var obj = new api.Campaign.fromJson(json); | 14159 var obj = new api.Campaign.fromJson(json); |
13883 checkCampaign(obj); | 14160 checkCampaign(obj); |
13884 | 14161 |
13885 var path = (req.url).path; | 14162 var path = (req.url).path; |
13886 var pathOffset = 0; | 14163 var pathOffset = 0; |
13887 var index; | 14164 var index; |
13888 var subPart; | 14165 var subPart; |
13889 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14166 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
13890 pathOffset += 1; | 14167 pathOffset += 1; |
13891 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 14168 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
13892 pathOffset += 18; | 14169 pathOffset += 18; |
13893 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14170 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
13894 pathOffset += 13; | 14171 pathOffset += 13; |
13895 index = path.indexOf("/campaigns", pathOffset); | 14172 index = path.indexOf("/campaigns", pathOffset); |
13896 unittest.expect(index >= 0, unittest.isTrue); | 14173 unittest.expect(index >= 0, unittest.isTrue); |
13897 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14174 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
13898 pathOffset = index; | 14175 pathOffset = index; |
13899 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14176 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
13900 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/campaigns")); | 14177 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/campaigns")); |
13901 pathOffset += 10; | 14178 pathOffset += 10; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13939 api.ChangeLogsResourceApi res = new api.DfareportingApi(mock).changeLogs; | 14216 api.ChangeLogsResourceApi res = new api.DfareportingApi(mock).changeLogs; |
13940 var arg_profileId = "foo"; | 14217 var arg_profileId = "foo"; |
13941 var arg_id = "foo"; | 14218 var arg_id = "foo"; |
13942 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14219 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
13943 var path = (req.url).path; | 14220 var path = (req.url).path; |
13944 var pathOffset = 0; | 14221 var pathOffset = 0; |
13945 var index; | 14222 var index; |
13946 var subPart; | 14223 var subPart; |
13947 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14224 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
13948 pathOffset += 1; | 14225 pathOffset += 1; |
13949 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 14226 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
13950 pathOffset += 18; | 14227 pathOffset += 18; |
13951 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14228 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
13952 pathOffset += 13; | 14229 pathOffset += 13; |
13953 index = path.indexOf("/changeLogs/", pathOffset); | 14230 index = path.indexOf("/changeLogs/", pathOffset); |
13954 unittest.expect(index >= 0, unittest.isTrue); | 14231 unittest.expect(index >= 0, unittest.isTrue); |
13955 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14232 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
13956 pathOffset = index; | 14233 pathOffset = index; |
13957 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14234 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
13958 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/changeLogs/")); | 14235 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/changeLogs/")); |
13959 pathOffset += 12; | 14236 pathOffset += 12; |
(...skipping 29 matching lines...) Expand all Loading... |
13989 checkChangeLog(response); | 14266 checkChangeLog(response); |
13990 }))); | 14267 }))); |
13991 }); | 14268 }); |
13992 | 14269 |
13993 unittest.test("method--list", () { | 14270 unittest.test("method--list", () { |
13994 | 14271 |
13995 var mock = new HttpServerMock(); | 14272 var mock = new HttpServerMock(); |
13996 api.ChangeLogsResourceApi res = new api.DfareportingApi(mock).changeLogs; | 14273 api.ChangeLogsResourceApi res = new api.DfareportingApi(mock).changeLogs; |
13997 var arg_profileId = "foo"; | 14274 var arg_profileId = "foo"; |
13998 var arg_action = "foo"; | 14275 var arg_action = "foo"; |
13999 var arg_ids = buildUnnamed2850(); | 14276 var arg_ids = buildUnnamed2607(); |
14000 var arg_maxChangeTime = "foo"; | 14277 var arg_maxChangeTime = "foo"; |
14001 var arg_maxResults = 42; | 14278 var arg_maxResults = 42; |
14002 var arg_minChangeTime = "foo"; | 14279 var arg_minChangeTime = "foo"; |
14003 var arg_objectIds = buildUnnamed2851(); | 14280 var arg_objectIds = buildUnnamed2608(); |
14004 var arg_objectType = "foo"; | 14281 var arg_objectType = "foo"; |
14005 var arg_pageToken = "foo"; | 14282 var arg_pageToken = "foo"; |
14006 var arg_searchString = "foo"; | 14283 var arg_searchString = "foo"; |
14007 var arg_userProfileIds = buildUnnamed2852(); | 14284 var arg_userProfileIds = buildUnnamed2609(); |
14008 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14285 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
14009 var path = (req.url).path; | 14286 var path = (req.url).path; |
14010 var pathOffset = 0; | 14287 var pathOffset = 0; |
14011 var index; | 14288 var index; |
14012 var subPart; | 14289 var subPart; |
14013 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14290 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
14014 pathOffset += 1; | 14291 pathOffset += 1; |
14015 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 14292 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
14016 pathOffset += 18; | 14293 pathOffset += 18; |
14017 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14294 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
14018 pathOffset += 13; | 14295 pathOffset += 13; |
14019 index = path.indexOf("/changeLogs", pathOffset); | 14296 index = path.indexOf("/changeLogs", pathOffset); |
14020 unittest.expect(index >= 0, unittest.isTrue); | 14297 unittest.expect(index >= 0, unittest.isTrue); |
14021 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14298 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
14022 pathOffset = index; | 14299 pathOffset = index; |
14023 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14300 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
14024 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/changeLogs")); | 14301 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/changeLogs")); |
14025 pathOffset += 11; | 14302 pathOffset += 11; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14065 | 14342 |
14066 }); | 14343 }); |
14067 | 14344 |
14068 | 14345 |
14069 unittest.group("resource-CitiesResourceApi", () { | 14346 unittest.group("resource-CitiesResourceApi", () { |
14070 unittest.test("method--list", () { | 14347 unittest.test("method--list", () { |
14071 | 14348 |
14072 var mock = new HttpServerMock(); | 14349 var mock = new HttpServerMock(); |
14073 api.CitiesResourceApi res = new api.DfareportingApi(mock).cities; | 14350 api.CitiesResourceApi res = new api.DfareportingApi(mock).cities; |
14074 var arg_profileId = "foo"; | 14351 var arg_profileId = "foo"; |
14075 var arg_countryDartIds = buildUnnamed2853(); | 14352 var arg_countryDartIds = buildUnnamed2610(); |
14076 var arg_dartIds = buildUnnamed2854(); | 14353 var arg_dartIds = buildUnnamed2611(); |
14077 var arg_namePrefix = "foo"; | 14354 var arg_namePrefix = "foo"; |
14078 var arg_regionDartIds = buildUnnamed2855(); | 14355 var arg_regionDartIds = buildUnnamed2612(); |
14079 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14356 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
14080 var path = (req.url).path; | 14357 var path = (req.url).path; |
14081 var pathOffset = 0; | 14358 var pathOffset = 0; |
14082 var index; | 14359 var index; |
14083 var subPart; | 14360 var subPart; |
14084 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14361 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
14085 pathOffset += 1; | 14362 pathOffset += 1; |
14086 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 14363 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
14087 pathOffset += 18; | 14364 pathOffset += 18; |
14088 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14365 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
14089 pathOffset += 13; | 14366 pathOffset += 13; |
14090 index = path.indexOf("/cities", pathOffset); | 14367 index = path.indexOf("/cities", pathOffset); |
14091 unittest.expect(index >= 0, unittest.isTrue); | 14368 unittest.expect(index >= 0, unittest.isTrue); |
14092 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14369 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
14093 pathOffset = index; | 14370 pathOffset = index; |
14094 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14371 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
14095 unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equ
als("/cities")); | 14372 unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equ
als("/cities")); |
14096 pathOffset += 7; | 14373 pathOffset += 7; |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14138 api.ConnectionTypesResourceApi res = new api.DfareportingApi(mock).connect
ionTypes; | 14415 api.ConnectionTypesResourceApi res = new api.DfareportingApi(mock).connect
ionTypes; |
14139 var arg_profileId = "foo"; | 14416 var arg_profileId = "foo"; |
14140 var arg_id = "foo"; | 14417 var arg_id = "foo"; |
14141 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14418 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
14142 var path = (req.url).path; | 14419 var path = (req.url).path; |
14143 var pathOffset = 0; | 14420 var pathOffset = 0; |
14144 var index; | 14421 var index; |
14145 var subPart; | 14422 var subPart; |
14146 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14423 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
14147 pathOffset += 1; | 14424 pathOffset += 1; |
14148 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 14425 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
14149 pathOffset += 18; | 14426 pathOffset += 18; |
14150 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14427 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
14151 pathOffset += 13; | 14428 pathOffset += 13; |
14152 index = path.indexOf("/connectionTypes/", pathOffset); | 14429 index = path.indexOf("/connectionTypes/", pathOffset); |
14153 unittest.expect(index >= 0, unittest.isTrue); | 14430 unittest.expect(index >= 0, unittest.isTrue); |
14154 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14431 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
14155 pathOffset = index; | 14432 pathOffset = index; |
14156 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14433 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
14157 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/connectionTypes/")); | 14434 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/connectionTypes/")); |
14158 pathOffset += 17; | 14435 pathOffset += 17; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14194 var mock = new HttpServerMock(); | 14471 var mock = new HttpServerMock(); |
14195 api.ConnectionTypesResourceApi res = new api.DfareportingApi(mock).connect
ionTypes; | 14472 api.ConnectionTypesResourceApi res = new api.DfareportingApi(mock).connect
ionTypes; |
14196 var arg_profileId = "foo"; | 14473 var arg_profileId = "foo"; |
14197 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14474 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
14198 var path = (req.url).path; | 14475 var path = (req.url).path; |
14199 var pathOffset = 0; | 14476 var pathOffset = 0; |
14200 var index; | 14477 var index; |
14201 var subPart; | 14478 var subPart; |
14202 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14479 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
14203 pathOffset += 1; | 14480 pathOffset += 1; |
14204 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 14481 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
14205 pathOffset += 18; | 14482 pathOffset += 18; |
14206 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14483 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
14207 pathOffset += 13; | 14484 pathOffset += 13; |
14208 index = path.indexOf("/connectionTypes", pathOffset); | 14485 index = path.indexOf("/connectionTypes", pathOffset); |
14209 unittest.expect(index >= 0, unittest.isTrue); | 14486 unittest.expect(index >= 0, unittest.isTrue); |
14210 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14487 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
14211 pathOffset = index; | 14488 pathOffset = index; |
14212 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14489 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
14213 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/connectionTypes")); | 14490 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/connectionTypes")); |
14214 pathOffset += 16; | 14491 pathOffset += 16; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14252 api.ContentCategoriesResourceApi res = new api.DfareportingApi(mock).conte
ntCategories; | 14529 api.ContentCategoriesResourceApi res = new api.DfareportingApi(mock).conte
ntCategories; |
14253 var arg_profileId = "foo"; | 14530 var arg_profileId = "foo"; |
14254 var arg_id = "foo"; | 14531 var arg_id = "foo"; |
14255 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14532 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
14256 var path = (req.url).path; | 14533 var path = (req.url).path; |
14257 var pathOffset = 0; | 14534 var pathOffset = 0; |
14258 var index; | 14535 var index; |
14259 var subPart; | 14536 var subPart; |
14260 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14537 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
14261 pathOffset += 1; | 14538 pathOffset += 1; |
14262 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 14539 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
14263 pathOffset += 18; | 14540 pathOffset += 18; |
14264 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14541 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
14265 pathOffset += 13; | 14542 pathOffset += 13; |
14266 index = path.indexOf("/contentCategories/", pathOffset); | 14543 index = path.indexOf("/contentCategories/", pathOffset); |
14267 unittest.expect(index >= 0, unittest.isTrue); | 14544 unittest.expect(index >= 0, unittest.isTrue); |
14268 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14545 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
14269 pathOffset = index; | 14546 pathOffset = index; |
14270 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14547 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
14271 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("/contentCategories/")); | 14548 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("/contentCategories/")); |
14272 pathOffset += 19; | 14549 pathOffset += 19; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14307 api.ContentCategoriesResourceApi res = new api.DfareportingApi(mock).conte
ntCategories; | 14584 api.ContentCategoriesResourceApi res = new api.DfareportingApi(mock).conte
ntCategories; |
14308 var arg_profileId = "foo"; | 14585 var arg_profileId = "foo"; |
14309 var arg_id = "foo"; | 14586 var arg_id = "foo"; |
14310 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14587 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
14311 var path = (req.url).path; | 14588 var path = (req.url).path; |
14312 var pathOffset = 0; | 14589 var pathOffset = 0; |
14313 var index; | 14590 var index; |
14314 var subPart; | 14591 var subPart; |
14315 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14592 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
14316 pathOffset += 1; | 14593 pathOffset += 1; |
14317 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 14594 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
14318 pathOffset += 18; | 14595 pathOffset += 18; |
14319 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14596 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
14320 pathOffset += 13; | 14597 pathOffset += 13; |
14321 index = path.indexOf("/contentCategories/", pathOffset); | 14598 index = path.indexOf("/contentCategories/", pathOffset); |
14322 unittest.expect(index >= 0, unittest.isTrue); | 14599 unittest.expect(index >= 0, unittest.isTrue); |
14323 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14600 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
14324 pathOffset = index; | 14601 pathOffset = index; |
14325 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14602 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
14326 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("/contentCategories/")); | 14603 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("/contentCategories/")); |
14327 pathOffset += 19; | 14604 pathOffset += 19; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14367 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14644 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
14368 var obj = new api.ContentCategory.fromJson(json); | 14645 var obj = new api.ContentCategory.fromJson(json); |
14369 checkContentCategory(obj); | 14646 checkContentCategory(obj); |
14370 | 14647 |
14371 var path = (req.url).path; | 14648 var path = (req.url).path; |
14372 var pathOffset = 0; | 14649 var pathOffset = 0; |
14373 var index; | 14650 var index; |
14374 var subPart; | 14651 var subPart; |
14375 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14652 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
14376 pathOffset += 1; | 14653 pathOffset += 1; |
14377 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 14654 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
14378 pathOffset += 18; | 14655 pathOffset += 18; |
14379 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14656 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
14380 pathOffset += 13; | 14657 pathOffset += 13; |
14381 index = path.indexOf("/contentCategories", pathOffset); | 14658 index = path.indexOf("/contentCategories", pathOffset); |
14382 unittest.expect(index >= 0, unittest.isTrue); | 14659 unittest.expect(index >= 0, unittest.isTrue); |
14383 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14660 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
14384 pathOffset = index; | 14661 pathOffset = index; |
14385 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14662 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
14386 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/contentCategories")); | 14663 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/contentCategories")); |
14387 pathOffset += 18; | 14664 pathOffset += 18; |
(...skipping 25 matching lines...) Expand all Loading... |
14413 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Con
tentCategory response) { | 14690 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Con
tentCategory response) { |
14414 checkContentCategory(response); | 14691 checkContentCategory(response); |
14415 }))); | 14692 }))); |
14416 }); | 14693 }); |
14417 | 14694 |
14418 unittest.test("method--list", () { | 14695 unittest.test("method--list", () { |
14419 | 14696 |
14420 var mock = new HttpServerMock(); | 14697 var mock = new HttpServerMock(); |
14421 api.ContentCategoriesResourceApi res = new api.DfareportingApi(mock).conte
ntCategories; | 14698 api.ContentCategoriesResourceApi res = new api.DfareportingApi(mock).conte
ntCategories; |
14422 var arg_profileId = "foo"; | 14699 var arg_profileId = "foo"; |
14423 var arg_ids = buildUnnamed2856(); | 14700 var arg_ids = buildUnnamed2613(); |
14424 var arg_maxResults = 42; | 14701 var arg_maxResults = 42; |
14425 var arg_pageToken = "foo"; | 14702 var arg_pageToken = "foo"; |
14426 var arg_searchString = "foo"; | 14703 var arg_searchString = "foo"; |
14427 var arg_sortField = "foo"; | 14704 var arg_sortField = "foo"; |
14428 var arg_sortOrder = "foo"; | 14705 var arg_sortOrder = "foo"; |
14429 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14706 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
14430 var path = (req.url).path; | 14707 var path = (req.url).path; |
14431 var pathOffset = 0; | 14708 var pathOffset = 0; |
14432 var index; | 14709 var index; |
14433 var subPart; | 14710 var subPart; |
14434 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14711 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
14435 pathOffset += 1; | 14712 pathOffset += 1; |
14436 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 14713 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
14437 pathOffset += 18; | 14714 pathOffset += 18; |
14438 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14715 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
14439 pathOffset += 13; | 14716 pathOffset += 13; |
14440 index = path.indexOf("/contentCategories", pathOffset); | 14717 index = path.indexOf("/contentCategories", pathOffset); |
14441 unittest.expect(index >= 0, unittest.isTrue); | 14718 unittest.expect(index >= 0, unittest.isTrue); |
14442 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14719 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
14443 pathOffset = index; | 14720 pathOffset = index; |
14444 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14721 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
14445 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/contentCategories")); | 14722 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/contentCategories")); |
14446 pathOffset += 18; | 14723 pathOffset += 18; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14490 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14767 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
14491 var obj = new api.ContentCategory.fromJson(json); | 14768 var obj = new api.ContentCategory.fromJson(json); |
14492 checkContentCategory(obj); | 14769 checkContentCategory(obj); |
14493 | 14770 |
14494 var path = (req.url).path; | 14771 var path = (req.url).path; |
14495 var pathOffset = 0; | 14772 var pathOffset = 0; |
14496 var index; | 14773 var index; |
14497 var subPart; | 14774 var subPart; |
14498 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14775 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
14499 pathOffset += 1; | 14776 pathOffset += 1; |
14500 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 14777 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
14501 pathOffset += 18; | 14778 pathOffset += 18; |
14502 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14779 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
14503 pathOffset += 13; | 14780 pathOffset += 13; |
14504 index = path.indexOf("/contentCategories", pathOffset); | 14781 index = path.indexOf("/contentCategories", pathOffset); |
14505 unittest.expect(index >= 0, unittest.isTrue); | 14782 unittest.expect(index >= 0, unittest.isTrue); |
14506 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14783 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
14507 pathOffset = index; | 14784 pathOffset = index; |
14508 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14785 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
14509 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/contentCategories")); | 14786 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/contentCategories")); |
14510 pathOffset += 18; | 14787 pathOffset += 18; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14548 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14825 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
14549 var obj = new api.ContentCategory.fromJson(json); | 14826 var obj = new api.ContentCategory.fromJson(json); |
14550 checkContentCategory(obj); | 14827 checkContentCategory(obj); |
14551 | 14828 |
14552 var path = (req.url).path; | 14829 var path = (req.url).path; |
14553 var pathOffset = 0; | 14830 var pathOffset = 0; |
14554 var index; | 14831 var index; |
14555 var subPart; | 14832 var subPart; |
14556 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14833 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
14557 pathOffset += 1; | 14834 pathOffset += 1; |
14558 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 14835 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
14559 pathOffset += 18; | 14836 pathOffset += 18; |
14560 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14837 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
14561 pathOffset += 13; | 14838 pathOffset += 13; |
14562 index = path.indexOf("/contentCategories", pathOffset); | 14839 index = path.indexOf("/contentCategories", pathOffset); |
14563 unittest.expect(index >= 0, unittest.isTrue); | 14840 unittest.expect(index >= 0, unittest.isTrue); |
14564 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14841 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
14565 pathOffset = index; | 14842 pathOffset = index; |
14566 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14843 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
14567 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/contentCategories")); | 14844 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/contentCategories")); |
14568 pathOffset += 18; | 14845 pathOffset += 18; |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14609 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14886 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
14610 var obj = new api.ConversionsBatchInsertRequest.fromJson(json); | 14887 var obj = new api.ConversionsBatchInsertRequest.fromJson(json); |
14611 checkConversionsBatchInsertRequest(obj); | 14888 checkConversionsBatchInsertRequest(obj); |
14612 | 14889 |
14613 var path = (req.url).path; | 14890 var path = (req.url).path; |
14614 var pathOffset = 0; | 14891 var pathOffset = 0; |
14615 var index; | 14892 var index; |
14616 var subPart; | 14893 var subPart; |
14617 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14894 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
14618 pathOffset += 1; | 14895 pathOffset += 1; |
14619 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 14896 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
14620 pathOffset += 18; | 14897 pathOffset += 18; |
14621 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14898 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
14622 pathOffset += 13; | 14899 pathOffset += 13; |
14623 index = path.indexOf("/conversions/batchinsert", pathOffset); | 14900 index = path.indexOf("/conversions/batchinsert", pathOffset); |
14624 unittest.expect(index >= 0, unittest.isTrue); | 14901 unittest.expect(index >= 0, unittest.isTrue); |
14625 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14902 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
14626 pathOffset = index; | 14903 pathOffset = index; |
14627 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14904 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
14628 unittest.expect(path.substring(pathOffset, pathOffset + 24), unittest.eq
uals("/conversions/batchinsert")); | 14905 unittest.expect(path.substring(pathOffset, pathOffset + 24), unittest.eq
uals("/conversions/batchinsert")); |
14629 pathOffset += 24; | 14906 pathOffset += 24; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14667 api.CountriesResourceApi res = new api.DfareportingApi(mock).countries; | 14944 api.CountriesResourceApi res = new api.DfareportingApi(mock).countries; |
14668 var arg_profileId = "foo"; | 14945 var arg_profileId = "foo"; |
14669 var arg_dartId = "foo"; | 14946 var arg_dartId = "foo"; |
14670 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 14947 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
14671 var path = (req.url).path; | 14948 var path = (req.url).path; |
14672 var pathOffset = 0; | 14949 var pathOffset = 0; |
14673 var index; | 14950 var index; |
14674 var subPart; | 14951 var subPart; |
14675 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 14952 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
14676 pathOffset += 1; | 14953 pathOffset += 1; |
14677 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 14954 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
14678 pathOffset += 18; | 14955 pathOffset += 18; |
14679 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 14956 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
14680 pathOffset += 13; | 14957 pathOffset += 13; |
14681 index = path.indexOf("/countries/", pathOffset); | 14958 index = path.indexOf("/countries/", pathOffset); |
14682 unittest.expect(index >= 0, unittest.isTrue); | 14959 unittest.expect(index >= 0, unittest.isTrue); |
14683 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 14960 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
14684 pathOffset = index; | 14961 pathOffset = index; |
14685 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 14962 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
14686 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/countries/")); | 14963 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/countries/")); |
14687 pathOffset += 11; | 14964 pathOffset += 11; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14723 var mock = new HttpServerMock(); | 15000 var mock = new HttpServerMock(); |
14724 api.CountriesResourceApi res = new api.DfareportingApi(mock).countries; | 15001 api.CountriesResourceApi res = new api.DfareportingApi(mock).countries; |
14725 var arg_profileId = "foo"; | 15002 var arg_profileId = "foo"; |
14726 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15003 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
14727 var path = (req.url).path; | 15004 var path = (req.url).path; |
14728 var pathOffset = 0; | 15005 var pathOffset = 0; |
14729 var index; | 15006 var index; |
14730 var subPart; | 15007 var subPart; |
14731 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15008 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
14732 pathOffset += 1; | 15009 pathOffset += 1; |
14733 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 15010 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
14734 pathOffset += 18; | 15011 pathOffset += 18; |
14735 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15012 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
14736 pathOffset += 13; | 15013 pathOffset += 13; |
14737 index = path.indexOf("/countries", pathOffset); | 15014 index = path.indexOf("/countries", pathOffset); |
14738 unittest.expect(index >= 0, unittest.isTrue); | 15015 unittest.expect(index >= 0, unittest.isTrue); |
14739 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15016 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
14740 pathOffset = index; | 15017 pathOffset = index; |
14741 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15018 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
14742 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/countries")); | 15019 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/countries")); |
14743 pathOffset += 10; | 15020 pathOffset += 10; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14787 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15064 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
14788 var obj = new api.CreativeAssetMetadata.fromJson(json); | 15065 var obj = new api.CreativeAssetMetadata.fromJson(json); |
14789 checkCreativeAssetMetadata(obj); | 15066 checkCreativeAssetMetadata(obj); |
14790 | 15067 |
14791 var path = (req.url).path; | 15068 var path = (req.url).path; |
14792 var pathOffset = 0; | 15069 var pathOffset = 0; |
14793 var index; | 15070 var index; |
14794 var subPart; | 15071 var subPart; |
14795 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15072 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
14796 pathOffset += 1; | 15073 pathOffset += 1; |
14797 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 15074 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
14798 pathOffset += 18; | 15075 pathOffset += 18; |
14799 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15076 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
14800 pathOffset += 13; | 15077 pathOffset += 13; |
14801 index = path.indexOf("/creativeAssets/", pathOffset); | 15078 index = path.indexOf("/creativeAssets/", pathOffset); |
14802 unittest.expect(index >= 0, unittest.isTrue); | 15079 unittest.expect(index >= 0, unittest.isTrue); |
14803 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15080 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
14804 pathOffset = index; | 15081 pathOffset = index; |
14805 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15082 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
14806 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeAssets/")); | 15083 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeAssets/")); |
14807 pathOffset += 16; | 15084 pathOffset += 16; |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14853 var arg_profileId = "foo"; | 15130 var arg_profileId = "foo"; |
14854 var arg_creativeFieldId = "foo"; | 15131 var arg_creativeFieldId = "foo"; |
14855 var arg_id = "foo"; | 15132 var arg_id = "foo"; |
14856 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15133 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
14857 var path = (req.url).path; | 15134 var path = (req.url).path; |
14858 var pathOffset = 0; | 15135 var pathOffset = 0; |
14859 var index; | 15136 var index; |
14860 var subPart; | 15137 var subPart; |
14861 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15138 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
14862 pathOffset += 1; | 15139 pathOffset += 1; |
14863 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 15140 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
14864 pathOffset += 18; | 15141 pathOffset += 18; |
14865 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15142 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
14866 pathOffset += 13; | 15143 pathOffset += 13; |
14867 index = path.indexOf("/creativeFields/", pathOffset); | 15144 index = path.indexOf("/creativeFields/", pathOffset); |
14868 unittest.expect(index >= 0, unittest.isTrue); | 15145 unittest.expect(index >= 0, unittest.isTrue); |
14869 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15146 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
14870 pathOffset = index; | 15147 pathOffset = index; |
14871 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15148 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
14872 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); | 15149 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); |
14873 pathOffset += 16; | 15150 pathOffset += 16; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14916 var arg_profileId = "foo"; | 15193 var arg_profileId = "foo"; |
14917 var arg_creativeFieldId = "foo"; | 15194 var arg_creativeFieldId = "foo"; |
14918 var arg_id = "foo"; | 15195 var arg_id = "foo"; |
14919 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15196 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
14920 var path = (req.url).path; | 15197 var path = (req.url).path; |
14921 var pathOffset = 0; | 15198 var pathOffset = 0; |
14922 var index; | 15199 var index; |
14923 var subPart; | 15200 var subPart; |
14924 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15201 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
14925 pathOffset += 1; | 15202 pathOffset += 1; |
14926 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 15203 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
14927 pathOffset += 18; | 15204 pathOffset += 18; |
14928 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15205 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
14929 pathOffset += 13; | 15206 pathOffset += 13; |
14930 index = path.indexOf("/creativeFields/", pathOffset); | 15207 index = path.indexOf("/creativeFields/", pathOffset); |
14931 unittest.expect(index >= 0, unittest.isTrue); | 15208 unittest.expect(index >= 0, unittest.isTrue); |
14932 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15209 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
14933 pathOffset = index; | 15210 pathOffset = index; |
14934 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15211 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
14935 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); | 15212 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); |
14936 pathOffset += 16; | 15213 pathOffset += 16; |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14984 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15261 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
14985 var obj = new api.CreativeFieldValue.fromJson(json); | 15262 var obj = new api.CreativeFieldValue.fromJson(json); |
14986 checkCreativeFieldValue(obj); | 15263 checkCreativeFieldValue(obj); |
14987 | 15264 |
14988 var path = (req.url).path; | 15265 var path = (req.url).path; |
14989 var pathOffset = 0; | 15266 var pathOffset = 0; |
14990 var index; | 15267 var index; |
14991 var subPart; | 15268 var subPart; |
14992 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15269 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
14993 pathOffset += 1; | 15270 pathOffset += 1; |
14994 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 15271 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
14995 pathOffset += 18; | 15272 pathOffset += 18; |
14996 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15273 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
14997 pathOffset += 13; | 15274 pathOffset += 13; |
14998 index = path.indexOf("/creativeFields/", pathOffset); | 15275 index = path.indexOf("/creativeFields/", pathOffset); |
14999 unittest.expect(index >= 0, unittest.isTrue); | 15276 unittest.expect(index >= 0, unittest.isTrue); |
15000 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15277 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
15001 pathOffset = index; | 15278 pathOffset = index; |
15002 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15279 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
15003 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); | 15280 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); |
15004 pathOffset += 16; | 15281 pathOffset += 16; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15038 checkCreativeFieldValue(response); | 15315 checkCreativeFieldValue(response); |
15039 }))); | 15316 }))); |
15040 }); | 15317 }); |
15041 | 15318 |
15042 unittest.test("method--list", () { | 15319 unittest.test("method--list", () { |
15043 | 15320 |
15044 var mock = new HttpServerMock(); | 15321 var mock = new HttpServerMock(); |
15045 api.CreativeFieldValuesResourceApi res = new api.DfareportingApi(mock).cre
ativeFieldValues; | 15322 api.CreativeFieldValuesResourceApi res = new api.DfareportingApi(mock).cre
ativeFieldValues; |
15046 var arg_profileId = "foo"; | 15323 var arg_profileId = "foo"; |
15047 var arg_creativeFieldId = "foo"; | 15324 var arg_creativeFieldId = "foo"; |
15048 var arg_ids = buildUnnamed2857(); | 15325 var arg_ids = buildUnnamed2614(); |
15049 var arg_maxResults = 42; | 15326 var arg_maxResults = 42; |
15050 var arg_pageToken = "foo"; | 15327 var arg_pageToken = "foo"; |
15051 var arg_searchString = "foo"; | 15328 var arg_searchString = "foo"; |
15052 var arg_sortField = "foo"; | 15329 var arg_sortField = "foo"; |
15053 var arg_sortOrder = "foo"; | 15330 var arg_sortOrder = "foo"; |
15054 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15331 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
15055 var path = (req.url).path; | 15332 var path = (req.url).path; |
15056 var pathOffset = 0; | 15333 var pathOffset = 0; |
15057 var index; | 15334 var index; |
15058 var subPart; | 15335 var subPart; |
15059 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15336 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
15060 pathOffset += 1; | 15337 pathOffset += 1; |
15061 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 15338 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
15062 pathOffset += 18; | 15339 pathOffset += 18; |
15063 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15340 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
15064 pathOffset += 13; | 15341 pathOffset += 13; |
15065 index = path.indexOf("/creativeFields/", pathOffset); | 15342 index = path.indexOf("/creativeFields/", pathOffset); |
15066 unittest.expect(index >= 0, unittest.isTrue); | 15343 unittest.expect(index >= 0, unittest.isTrue); |
15067 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15344 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
15068 pathOffset = index; | 15345 pathOffset = index; |
15069 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15346 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
15070 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); | 15347 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); |
15071 pathOffset += 16; | 15348 pathOffset += 16; |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15123 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15400 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
15124 var obj = new api.CreativeFieldValue.fromJson(json); | 15401 var obj = new api.CreativeFieldValue.fromJson(json); |
15125 checkCreativeFieldValue(obj); | 15402 checkCreativeFieldValue(obj); |
15126 | 15403 |
15127 var path = (req.url).path; | 15404 var path = (req.url).path; |
15128 var pathOffset = 0; | 15405 var pathOffset = 0; |
15129 var index; | 15406 var index; |
15130 var subPart; | 15407 var subPart; |
15131 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15408 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
15132 pathOffset += 1; | 15409 pathOffset += 1; |
15133 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 15410 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
15134 pathOffset += 18; | 15411 pathOffset += 18; |
15135 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15412 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
15136 pathOffset += 13; | 15413 pathOffset += 13; |
15137 index = path.indexOf("/creativeFields/", pathOffset); | 15414 index = path.indexOf("/creativeFields/", pathOffset); |
15138 unittest.expect(index >= 0, unittest.isTrue); | 15415 unittest.expect(index >= 0, unittest.isTrue); |
15139 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15416 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
15140 pathOffset = index; | 15417 pathOffset = index; |
15141 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15418 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
15142 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); | 15419 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); |
15143 pathOffset += 16; | 15420 pathOffset += 16; |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15189 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15466 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
15190 var obj = new api.CreativeFieldValue.fromJson(json); | 15467 var obj = new api.CreativeFieldValue.fromJson(json); |
15191 checkCreativeFieldValue(obj); | 15468 checkCreativeFieldValue(obj); |
15192 | 15469 |
15193 var path = (req.url).path; | 15470 var path = (req.url).path; |
15194 var pathOffset = 0; | 15471 var pathOffset = 0; |
15195 var index; | 15472 var index; |
15196 var subPart; | 15473 var subPart; |
15197 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15474 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
15198 pathOffset += 1; | 15475 pathOffset += 1; |
15199 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 15476 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
15200 pathOffset += 18; | 15477 pathOffset += 18; |
15201 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15478 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
15202 pathOffset += 13; | 15479 pathOffset += 13; |
15203 index = path.indexOf("/creativeFields/", pathOffset); | 15480 index = path.indexOf("/creativeFields/", pathOffset); |
15204 unittest.expect(index >= 0, unittest.isTrue); | 15481 unittest.expect(index >= 0, unittest.isTrue); |
15205 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15482 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
15206 pathOffset = index; | 15483 pathOffset = index; |
15207 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15484 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
15208 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); | 15485 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); |
15209 pathOffset += 16; | 15486 pathOffset += 16; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15254 api.CreativeFieldsResourceApi res = new api.DfareportingApi(mock).creative
Fields; | 15531 api.CreativeFieldsResourceApi res = new api.DfareportingApi(mock).creative
Fields; |
15255 var arg_profileId = "foo"; | 15532 var arg_profileId = "foo"; |
15256 var arg_id = "foo"; | 15533 var arg_id = "foo"; |
15257 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15534 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
15258 var path = (req.url).path; | 15535 var path = (req.url).path; |
15259 var pathOffset = 0; | 15536 var pathOffset = 0; |
15260 var index; | 15537 var index; |
15261 var subPart; | 15538 var subPart; |
15262 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15539 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
15263 pathOffset += 1; | 15540 pathOffset += 1; |
15264 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 15541 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
15265 pathOffset += 18; | 15542 pathOffset += 18; |
15266 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15543 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
15267 pathOffset += 13; | 15544 pathOffset += 13; |
15268 index = path.indexOf("/creativeFields/", pathOffset); | 15545 index = path.indexOf("/creativeFields/", pathOffset); |
15269 unittest.expect(index >= 0, unittest.isTrue); | 15546 unittest.expect(index >= 0, unittest.isTrue); |
15270 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15547 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
15271 pathOffset = index; | 15548 pathOffset = index; |
15272 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15549 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
15273 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); | 15550 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); |
15274 pathOffset += 16; | 15551 pathOffset += 16; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15309 api.CreativeFieldsResourceApi res = new api.DfareportingApi(mock).creative
Fields; | 15586 api.CreativeFieldsResourceApi res = new api.DfareportingApi(mock).creative
Fields; |
15310 var arg_profileId = "foo"; | 15587 var arg_profileId = "foo"; |
15311 var arg_id = "foo"; | 15588 var arg_id = "foo"; |
15312 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15589 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
15313 var path = (req.url).path; | 15590 var path = (req.url).path; |
15314 var pathOffset = 0; | 15591 var pathOffset = 0; |
15315 var index; | 15592 var index; |
15316 var subPart; | 15593 var subPart; |
15317 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15594 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
15318 pathOffset += 1; | 15595 pathOffset += 1; |
15319 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 15596 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
15320 pathOffset += 18; | 15597 pathOffset += 18; |
15321 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15598 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
15322 pathOffset += 13; | 15599 pathOffset += 13; |
15323 index = path.indexOf("/creativeFields/", pathOffset); | 15600 index = path.indexOf("/creativeFields/", pathOffset); |
15324 unittest.expect(index >= 0, unittest.isTrue); | 15601 unittest.expect(index >= 0, unittest.isTrue); |
15325 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15602 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
15326 pathOffset = index; | 15603 pathOffset = index; |
15327 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15604 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
15328 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); | 15605 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeFields/")); |
15329 pathOffset += 16; | 15606 pathOffset += 16; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15369 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15646 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
15370 var obj = new api.CreativeField.fromJson(json); | 15647 var obj = new api.CreativeField.fromJson(json); |
15371 checkCreativeField(obj); | 15648 checkCreativeField(obj); |
15372 | 15649 |
15373 var path = (req.url).path; | 15650 var path = (req.url).path; |
15374 var pathOffset = 0; | 15651 var pathOffset = 0; |
15375 var index; | 15652 var index; |
15376 var subPart; | 15653 var subPart; |
15377 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15654 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
15378 pathOffset += 1; | 15655 pathOffset += 1; |
15379 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 15656 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
15380 pathOffset += 18; | 15657 pathOffset += 18; |
15381 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15658 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
15382 pathOffset += 13; | 15659 pathOffset += 13; |
15383 index = path.indexOf("/creativeFields", pathOffset); | 15660 index = path.indexOf("/creativeFields", pathOffset); |
15384 unittest.expect(index >= 0, unittest.isTrue); | 15661 unittest.expect(index >= 0, unittest.isTrue); |
15385 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15662 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
15386 pathOffset = index; | 15663 pathOffset = index; |
15387 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15664 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
15388 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeFields")); | 15665 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeFields")); |
15389 pathOffset += 15; | 15666 pathOffset += 15; |
(...skipping 25 matching lines...) Expand all Loading... |
15415 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Cre
ativeField response) { | 15692 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Cre
ativeField response) { |
15416 checkCreativeField(response); | 15693 checkCreativeField(response); |
15417 }))); | 15694 }))); |
15418 }); | 15695 }); |
15419 | 15696 |
15420 unittest.test("method--list", () { | 15697 unittest.test("method--list", () { |
15421 | 15698 |
15422 var mock = new HttpServerMock(); | 15699 var mock = new HttpServerMock(); |
15423 api.CreativeFieldsResourceApi res = new api.DfareportingApi(mock).creative
Fields; | 15700 api.CreativeFieldsResourceApi res = new api.DfareportingApi(mock).creative
Fields; |
15424 var arg_profileId = "foo"; | 15701 var arg_profileId = "foo"; |
15425 var arg_advertiserIds = buildUnnamed2858(); | 15702 var arg_advertiserIds = buildUnnamed2615(); |
15426 var arg_ids = buildUnnamed2859(); | 15703 var arg_ids = buildUnnamed2616(); |
15427 var arg_maxResults = 42; | 15704 var arg_maxResults = 42; |
15428 var arg_pageToken = "foo"; | 15705 var arg_pageToken = "foo"; |
15429 var arg_searchString = "foo"; | 15706 var arg_searchString = "foo"; |
15430 var arg_sortField = "foo"; | 15707 var arg_sortField = "foo"; |
15431 var arg_sortOrder = "foo"; | 15708 var arg_sortOrder = "foo"; |
15432 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15709 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
15433 var path = (req.url).path; | 15710 var path = (req.url).path; |
15434 var pathOffset = 0; | 15711 var pathOffset = 0; |
15435 var index; | 15712 var index; |
15436 var subPart; | 15713 var subPart; |
15437 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15714 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
15438 pathOffset += 1; | 15715 pathOffset += 1; |
15439 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 15716 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
15440 pathOffset += 18; | 15717 pathOffset += 18; |
15441 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15718 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
15442 pathOffset += 13; | 15719 pathOffset += 13; |
15443 index = path.indexOf("/creativeFields", pathOffset); | 15720 index = path.indexOf("/creativeFields", pathOffset); |
15444 unittest.expect(index >= 0, unittest.isTrue); | 15721 unittest.expect(index >= 0, unittest.isTrue); |
15445 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15722 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
15446 pathOffset = index; | 15723 pathOffset = index; |
15447 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15724 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
15448 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeFields")); | 15725 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeFields")); |
15449 pathOffset += 15; | 15726 pathOffset += 15; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15494 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15771 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
15495 var obj = new api.CreativeField.fromJson(json); | 15772 var obj = new api.CreativeField.fromJson(json); |
15496 checkCreativeField(obj); | 15773 checkCreativeField(obj); |
15497 | 15774 |
15498 var path = (req.url).path; | 15775 var path = (req.url).path; |
15499 var pathOffset = 0; | 15776 var pathOffset = 0; |
15500 var index; | 15777 var index; |
15501 var subPart; | 15778 var subPart; |
15502 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15779 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
15503 pathOffset += 1; | 15780 pathOffset += 1; |
15504 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 15781 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
15505 pathOffset += 18; | 15782 pathOffset += 18; |
15506 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15783 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
15507 pathOffset += 13; | 15784 pathOffset += 13; |
15508 index = path.indexOf("/creativeFields", pathOffset); | 15785 index = path.indexOf("/creativeFields", pathOffset); |
15509 unittest.expect(index >= 0, unittest.isTrue); | 15786 unittest.expect(index >= 0, unittest.isTrue); |
15510 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15787 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
15511 pathOffset = index; | 15788 pathOffset = index; |
15512 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15789 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
15513 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeFields")); | 15790 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeFields")); |
15514 pathOffset += 15; | 15791 pathOffset += 15; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15552 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15829 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
15553 var obj = new api.CreativeField.fromJson(json); | 15830 var obj = new api.CreativeField.fromJson(json); |
15554 checkCreativeField(obj); | 15831 checkCreativeField(obj); |
15555 | 15832 |
15556 var path = (req.url).path; | 15833 var path = (req.url).path; |
15557 var pathOffset = 0; | 15834 var pathOffset = 0; |
15558 var index; | 15835 var index; |
15559 var subPart; | 15836 var subPart; |
15560 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15837 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
15561 pathOffset += 1; | 15838 pathOffset += 1; |
15562 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 15839 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
15563 pathOffset += 18; | 15840 pathOffset += 18; |
15564 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15841 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
15565 pathOffset += 13; | 15842 pathOffset += 13; |
15566 index = path.indexOf("/creativeFields", pathOffset); | 15843 index = path.indexOf("/creativeFields", pathOffset); |
15567 unittest.expect(index >= 0, unittest.isTrue); | 15844 unittest.expect(index >= 0, unittest.isTrue); |
15568 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15845 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
15569 pathOffset = index; | 15846 pathOffset = index; |
15570 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15847 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
15571 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeFields")); | 15848 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeFields")); |
15572 pathOffset += 15; | 15849 pathOffset += 15; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15610 api.CreativeGroupsResourceApi res = new api.DfareportingApi(mock).creative
Groups; | 15887 api.CreativeGroupsResourceApi res = new api.DfareportingApi(mock).creative
Groups; |
15611 var arg_profileId = "foo"; | 15888 var arg_profileId = "foo"; |
15612 var arg_id = "foo"; | 15889 var arg_id = "foo"; |
15613 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15890 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
15614 var path = (req.url).path; | 15891 var path = (req.url).path; |
15615 var pathOffset = 0; | 15892 var pathOffset = 0; |
15616 var index; | 15893 var index; |
15617 var subPart; | 15894 var subPart; |
15618 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15895 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
15619 pathOffset += 1; | 15896 pathOffset += 1; |
15620 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 15897 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
15621 pathOffset += 18; | 15898 pathOffset += 18; |
15622 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15899 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
15623 pathOffset += 13; | 15900 pathOffset += 13; |
15624 index = path.indexOf("/creativeGroups/", pathOffset); | 15901 index = path.indexOf("/creativeGroups/", pathOffset); |
15625 unittest.expect(index >= 0, unittest.isTrue); | 15902 unittest.expect(index >= 0, unittest.isTrue); |
15626 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15903 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
15627 pathOffset = index; | 15904 pathOffset = index; |
15628 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15905 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
15629 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeGroups/")); | 15906 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/creativeGroups/")); |
15630 pathOffset += 16; | 15907 pathOffset += 16; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15670 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 15947 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
15671 var obj = new api.CreativeGroup.fromJson(json); | 15948 var obj = new api.CreativeGroup.fromJson(json); |
15672 checkCreativeGroup(obj); | 15949 checkCreativeGroup(obj); |
15673 | 15950 |
15674 var path = (req.url).path; | 15951 var path = (req.url).path; |
15675 var pathOffset = 0; | 15952 var pathOffset = 0; |
15676 var index; | 15953 var index; |
15677 var subPart; | 15954 var subPart; |
15678 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 15955 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
15679 pathOffset += 1; | 15956 pathOffset += 1; |
15680 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 15957 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
15681 pathOffset += 18; | 15958 pathOffset += 18; |
15682 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 15959 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
15683 pathOffset += 13; | 15960 pathOffset += 13; |
15684 index = path.indexOf("/creativeGroups", pathOffset); | 15961 index = path.indexOf("/creativeGroups", pathOffset); |
15685 unittest.expect(index >= 0, unittest.isTrue); | 15962 unittest.expect(index >= 0, unittest.isTrue); |
15686 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 15963 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
15687 pathOffset = index; | 15964 pathOffset = index; |
15688 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 15965 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
15689 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeGroups")); | 15966 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeGroups")); |
15690 pathOffset += 15; | 15967 pathOffset += 15; |
(...skipping 25 matching lines...) Expand all Loading... |
15716 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Cre
ativeGroup response) { | 15993 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Cre
ativeGroup response) { |
15717 checkCreativeGroup(response); | 15994 checkCreativeGroup(response); |
15718 }))); | 15995 }))); |
15719 }); | 15996 }); |
15720 | 15997 |
15721 unittest.test("method--list", () { | 15998 unittest.test("method--list", () { |
15722 | 15999 |
15723 var mock = new HttpServerMock(); | 16000 var mock = new HttpServerMock(); |
15724 api.CreativeGroupsResourceApi res = new api.DfareportingApi(mock).creative
Groups; | 16001 api.CreativeGroupsResourceApi res = new api.DfareportingApi(mock).creative
Groups; |
15725 var arg_profileId = "foo"; | 16002 var arg_profileId = "foo"; |
15726 var arg_advertiserIds = buildUnnamed2860(); | 16003 var arg_advertiserIds = buildUnnamed2617(); |
15727 var arg_groupNumber = 42; | 16004 var arg_groupNumber = 42; |
15728 var arg_ids = buildUnnamed2861(); | 16005 var arg_ids = buildUnnamed2618(); |
15729 var arg_maxResults = 42; | 16006 var arg_maxResults = 42; |
15730 var arg_pageToken = "foo"; | 16007 var arg_pageToken = "foo"; |
15731 var arg_searchString = "foo"; | 16008 var arg_searchString = "foo"; |
15732 var arg_sortField = "foo"; | 16009 var arg_sortField = "foo"; |
15733 var arg_sortOrder = "foo"; | 16010 var arg_sortOrder = "foo"; |
15734 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16011 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
15735 var path = (req.url).path; | 16012 var path = (req.url).path; |
15736 var pathOffset = 0; | 16013 var pathOffset = 0; |
15737 var index; | 16014 var index; |
15738 var subPart; | 16015 var subPart; |
15739 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16016 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
15740 pathOffset += 1; | 16017 pathOffset += 1; |
15741 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 16018 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
15742 pathOffset += 18; | 16019 pathOffset += 18; |
15743 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16020 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
15744 pathOffset += 13; | 16021 pathOffset += 13; |
15745 index = path.indexOf("/creativeGroups", pathOffset); | 16022 index = path.indexOf("/creativeGroups", pathOffset); |
15746 unittest.expect(index >= 0, unittest.isTrue); | 16023 unittest.expect(index >= 0, unittest.isTrue); |
15747 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16024 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
15748 pathOffset = index; | 16025 pathOffset = index; |
15749 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16026 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
15750 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeGroups")); | 16027 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeGroups")); |
15751 pathOffset += 15; | 16028 pathOffset += 15; |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15797 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16074 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
15798 var obj = new api.CreativeGroup.fromJson(json); | 16075 var obj = new api.CreativeGroup.fromJson(json); |
15799 checkCreativeGroup(obj); | 16076 checkCreativeGroup(obj); |
15800 | 16077 |
15801 var path = (req.url).path; | 16078 var path = (req.url).path; |
15802 var pathOffset = 0; | 16079 var pathOffset = 0; |
15803 var index; | 16080 var index; |
15804 var subPart; | 16081 var subPart; |
15805 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16082 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
15806 pathOffset += 1; | 16083 pathOffset += 1; |
15807 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 16084 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
15808 pathOffset += 18; | 16085 pathOffset += 18; |
15809 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16086 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
15810 pathOffset += 13; | 16087 pathOffset += 13; |
15811 index = path.indexOf("/creativeGroups", pathOffset); | 16088 index = path.indexOf("/creativeGroups", pathOffset); |
15812 unittest.expect(index >= 0, unittest.isTrue); | 16089 unittest.expect(index >= 0, unittest.isTrue); |
15813 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16090 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
15814 pathOffset = index; | 16091 pathOffset = index; |
15815 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16092 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
15816 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeGroups")); | 16093 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeGroups")); |
15817 pathOffset += 15; | 16094 pathOffset += 15; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15855 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16132 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
15856 var obj = new api.CreativeGroup.fromJson(json); | 16133 var obj = new api.CreativeGroup.fromJson(json); |
15857 checkCreativeGroup(obj); | 16134 checkCreativeGroup(obj); |
15858 | 16135 |
15859 var path = (req.url).path; | 16136 var path = (req.url).path; |
15860 var pathOffset = 0; | 16137 var pathOffset = 0; |
15861 var index; | 16138 var index; |
15862 var subPart; | 16139 var subPart; |
15863 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16140 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
15864 pathOffset += 1; | 16141 pathOffset += 1; |
15865 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 16142 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
15866 pathOffset += 18; | 16143 pathOffset += 18; |
15867 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16144 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
15868 pathOffset += 13; | 16145 pathOffset += 13; |
15869 index = path.indexOf("/creativeGroups", pathOffset); | 16146 index = path.indexOf("/creativeGroups", pathOffset); |
15870 unittest.expect(index >= 0, unittest.isTrue); | 16147 unittest.expect(index >= 0, unittest.isTrue); |
15871 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16148 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
15872 pathOffset = index; | 16149 pathOffset = index; |
15873 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16150 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
15874 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeGroups")); | 16151 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/creativeGroups")); |
15875 pathOffset += 15; | 16152 pathOffset += 15; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15913 api.CreativesResourceApi res = new api.DfareportingApi(mock).creatives; | 16190 api.CreativesResourceApi res = new api.DfareportingApi(mock).creatives; |
15914 var arg_profileId = "foo"; | 16191 var arg_profileId = "foo"; |
15915 var arg_id = "foo"; | 16192 var arg_id = "foo"; |
15916 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16193 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
15917 var path = (req.url).path; | 16194 var path = (req.url).path; |
15918 var pathOffset = 0; | 16195 var pathOffset = 0; |
15919 var index; | 16196 var index; |
15920 var subPart; | 16197 var subPart; |
15921 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16198 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
15922 pathOffset += 1; | 16199 pathOffset += 1; |
15923 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 16200 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
15924 pathOffset += 18; | 16201 pathOffset += 18; |
15925 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16202 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
15926 pathOffset += 13; | 16203 pathOffset += 13; |
15927 index = path.indexOf("/creatives/", pathOffset); | 16204 index = path.indexOf("/creatives/", pathOffset); |
15928 unittest.expect(index >= 0, unittest.isTrue); | 16205 unittest.expect(index >= 0, unittest.isTrue); |
15929 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16206 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
15930 pathOffset = index; | 16207 pathOffset = index; |
15931 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16208 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
15932 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/creatives/")); | 16209 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/creatives/")); |
15933 pathOffset += 11; | 16210 pathOffset += 11; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15973 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16250 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
15974 var obj = new api.Creative.fromJson(json); | 16251 var obj = new api.Creative.fromJson(json); |
15975 checkCreative(obj); | 16252 checkCreative(obj); |
15976 | 16253 |
15977 var path = (req.url).path; | 16254 var path = (req.url).path; |
15978 var pathOffset = 0; | 16255 var pathOffset = 0; |
15979 var index; | 16256 var index; |
15980 var subPart; | 16257 var subPart; |
15981 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16258 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
15982 pathOffset += 1; | 16259 pathOffset += 1; |
15983 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 16260 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
15984 pathOffset += 18; | 16261 pathOffset += 18; |
15985 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16262 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
15986 pathOffset += 13; | 16263 pathOffset += 13; |
15987 index = path.indexOf("/creatives", pathOffset); | 16264 index = path.indexOf("/creatives", pathOffset); |
15988 unittest.expect(index >= 0, unittest.isTrue); | 16265 unittest.expect(index >= 0, unittest.isTrue); |
15989 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16266 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
15990 pathOffset = index; | 16267 pathOffset = index; |
15991 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16268 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
15992 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/creatives")); | 16269 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/creatives")); |
15993 pathOffset += 10; | 16270 pathOffset += 10; |
(...skipping 29 matching lines...) Expand all Loading... |
16023 | 16300 |
16024 unittest.test("method--list", () { | 16301 unittest.test("method--list", () { |
16025 | 16302 |
16026 var mock = new HttpServerMock(); | 16303 var mock = new HttpServerMock(); |
16027 api.CreativesResourceApi res = new api.DfareportingApi(mock).creatives; | 16304 api.CreativesResourceApi res = new api.DfareportingApi(mock).creatives; |
16028 var arg_profileId = "foo"; | 16305 var arg_profileId = "foo"; |
16029 var arg_active = true; | 16306 var arg_active = true; |
16030 var arg_advertiserId = "foo"; | 16307 var arg_advertiserId = "foo"; |
16031 var arg_archived = true; | 16308 var arg_archived = true; |
16032 var arg_campaignId = "foo"; | 16309 var arg_campaignId = "foo"; |
16033 var arg_companionCreativeIds = buildUnnamed2862(); | 16310 var arg_companionCreativeIds = buildUnnamed2619(); |
16034 var arg_creativeFieldIds = buildUnnamed2863(); | 16311 var arg_creativeFieldIds = buildUnnamed2620(); |
16035 var arg_ids = buildUnnamed2864(); | 16312 var arg_ids = buildUnnamed2621(); |
16036 var arg_maxResults = 42; | 16313 var arg_maxResults = 42; |
16037 var arg_pageToken = "foo"; | 16314 var arg_pageToken = "foo"; |
16038 var arg_renderingIds = buildUnnamed2865(); | 16315 var arg_renderingIds = buildUnnamed2622(); |
16039 var arg_searchString = "foo"; | 16316 var arg_searchString = "foo"; |
16040 var arg_sizeIds = buildUnnamed2866(); | 16317 var arg_sizeIds = buildUnnamed2623(); |
16041 var arg_sortField = "foo"; | 16318 var arg_sortField = "foo"; |
16042 var arg_sortOrder = "foo"; | 16319 var arg_sortOrder = "foo"; |
16043 var arg_studioCreativeId = "foo"; | 16320 var arg_studioCreativeId = "foo"; |
16044 var arg_types = buildUnnamed2867(); | 16321 var arg_types = buildUnnamed2624(); |
16045 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16322 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
16046 var path = (req.url).path; | 16323 var path = (req.url).path; |
16047 var pathOffset = 0; | 16324 var pathOffset = 0; |
16048 var index; | 16325 var index; |
16049 var subPart; | 16326 var subPart; |
16050 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16327 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
16051 pathOffset += 1; | 16328 pathOffset += 1; |
16052 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 16329 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
16053 pathOffset += 18; | 16330 pathOffset += 18; |
16054 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16331 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
16055 pathOffset += 13; | 16332 pathOffset += 13; |
16056 index = path.indexOf("/creatives", pathOffset); | 16333 index = path.indexOf("/creatives", pathOffset); |
16057 unittest.expect(index >= 0, unittest.isTrue); | 16334 unittest.expect(index >= 0, unittest.isTrue); |
16058 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16335 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
16059 pathOffset = index; | 16336 pathOffset = index; |
16060 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16337 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
16061 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/creatives")); | 16338 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/creatives")); |
16062 pathOffset += 10; | 16339 pathOffset += 10; |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
16116 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16393 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
16117 var obj = new api.Creative.fromJson(json); | 16394 var obj = new api.Creative.fromJson(json); |
16118 checkCreative(obj); | 16395 checkCreative(obj); |
16119 | 16396 |
16120 var path = (req.url).path; | 16397 var path = (req.url).path; |
16121 var pathOffset = 0; | 16398 var pathOffset = 0; |
16122 var index; | 16399 var index; |
16123 var subPart; | 16400 var subPart; |
16124 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16401 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
16125 pathOffset += 1; | 16402 pathOffset += 1; |
16126 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 16403 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
16127 pathOffset += 18; | 16404 pathOffset += 18; |
16128 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16405 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
16129 pathOffset += 13; | 16406 pathOffset += 13; |
16130 index = path.indexOf("/creatives", pathOffset); | 16407 index = path.indexOf("/creatives", pathOffset); |
16131 unittest.expect(index >= 0, unittest.isTrue); | 16408 unittest.expect(index >= 0, unittest.isTrue); |
16132 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16409 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
16133 pathOffset = index; | 16410 pathOffset = index; |
16134 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16411 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
16135 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/creatives")); | 16412 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/creatives")); |
16136 pathOffset += 10; | 16413 pathOffset += 10; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
16174 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16451 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
16175 var obj = new api.Creative.fromJson(json); | 16452 var obj = new api.Creative.fromJson(json); |
16176 checkCreative(obj); | 16453 checkCreative(obj); |
16177 | 16454 |
16178 var path = (req.url).path; | 16455 var path = (req.url).path; |
16179 var pathOffset = 0; | 16456 var pathOffset = 0; |
16180 var index; | 16457 var index; |
16181 var subPart; | 16458 var subPart; |
16182 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16459 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
16183 pathOffset += 1; | 16460 pathOffset += 1; |
16184 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 16461 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
16185 pathOffset += 18; | 16462 pathOffset += 18; |
16186 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16463 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
16187 pathOffset += 13; | 16464 pathOffset += 13; |
16188 index = path.indexOf("/creatives", pathOffset); | 16465 index = path.indexOf("/creatives", pathOffset); |
16189 unittest.expect(index >= 0, unittest.isTrue); | 16466 unittest.expect(index >= 0, unittest.isTrue); |
16190 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16467 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
16191 pathOffset = index; | 16468 pathOffset = index; |
16192 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16469 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
16193 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/creatives")); | 16470 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/creatives")); |
16194 pathOffset += 10; | 16471 pathOffset += 10; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
16237 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16514 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
16238 var obj = new api.DimensionValueRequest.fromJson(json); | 16515 var obj = new api.DimensionValueRequest.fromJson(json); |
16239 checkDimensionValueRequest(obj); | 16516 checkDimensionValueRequest(obj); |
16240 | 16517 |
16241 var path = (req.url).path; | 16518 var path = (req.url).path; |
16242 var pathOffset = 0; | 16519 var pathOffset = 0; |
16243 var index; | 16520 var index; |
16244 var subPart; | 16521 var subPart; |
16245 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16522 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
16246 pathOffset += 1; | 16523 pathOffset += 1; |
16247 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 16524 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
16248 pathOffset += 18; | 16525 pathOffset += 18; |
16249 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16526 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
16250 pathOffset += 13; | 16527 pathOffset += 13; |
16251 index = path.indexOf("/dimensionvalues/query", pathOffset); | 16528 index = path.indexOf("/dimensionvalues/query", pathOffset); |
16252 unittest.expect(index >= 0, unittest.isTrue); | 16529 unittest.expect(index >= 0, unittest.isTrue); |
16253 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16530 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
16254 pathOffset = index; | 16531 pathOffset = index; |
16255 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16532 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
16256 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("/dimensionvalues/query")); | 16533 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("/dimensionvalues/query")); |
16257 pathOffset += 22; | 16534 pathOffset += 22; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
16297 api.DirectorySiteContactsResourceApi res = new api.DfareportingApi(mock).d
irectorySiteContacts; | 16574 api.DirectorySiteContactsResourceApi res = new api.DfareportingApi(mock).d
irectorySiteContacts; |
16298 var arg_profileId = "foo"; | 16575 var arg_profileId = "foo"; |
16299 var arg_id = "foo"; | 16576 var arg_id = "foo"; |
16300 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16577 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
16301 var path = (req.url).path; | 16578 var path = (req.url).path; |
16302 var pathOffset = 0; | 16579 var pathOffset = 0; |
16303 var index; | 16580 var index; |
16304 var subPart; | 16581 var subPart; |
16305 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16582 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
16306 pathOffset += 1; | 16583 pathOffset += 1; |
16307 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 16584 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
16308 pathOffset += 18; | 16585 pathOffset += 18; |
16309 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16586 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
16310 pathOffset += 13; | 16587 pathOffset += 13; |
16311 index = path.indexOf("/directorySiteContacts/", pathOffset); | 16588 index = path.indexOf("/directorySiteContacts/", pathOffset); |
16312 unittest.expect(index >= 0, unittest.isTrue); | 16589 unittest.expect(index >= 0, unittest.isTrue); |
16313 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16590 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
16314 pathOffset = index; | 16591 pathOffset = index; |
16315 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16592 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
16316 unittest.expect(path.substring(pathOffset, pathOffset + 23), unittest.eq
uals("/directorySiteContacts/")); | 16593 unittest.expect(path.substring(pathOffset, pathOffset + 23), unittest.eq
uals("/directorySiteContacts/")); |
16317 pathOffset += 23; | 16594 pathOffset += 23; |
(...skipping 28 matching lines...) Expand all Loading... |
16346 res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.DirectorySi
teContact response) { | 16623 res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.DirectorySi
teContact response) { |
16347 checkDirectorySiteContact(response); | 16624 checkDirectorySiteContact(response); |
16348 }))); | 16625 }))); |
16349 }); | 16626 }); |
16350 | 16627 |
16351 unittest.test("method--list", () { | 16628 unittest.test("method--list", () { |
16352 | 16629 |
16353 var mock = new HttpServerMock(); | 16630 var mock = new HttpServerMock(); |
16354 api.DirectorySiteContactsResourceApi res = new api.DfareportingApi(mock).d
irectorySiteContacts; | 16631 api.DirectorySiteContactsResourceApi res = new api.DfareportingApi(mock).d
irectorySiteContacts; |
16355 var arg_profileId = "foo"; | 16632 var arg_profileId = "foo"; |
16356 var arg_directorySiteIds = buildUnnamed2868(); | 16633 var arg_directorySiteIds = buildUnnamed2625(); |
16357 var arg_ids = buildUnnamed2869(); | 16634 var arg_ids = buildUnnamed2626(); |
16358 var arg_maxResults = 42; | 16635 var arg_maxResults = 42; |
16359 var arg_pageToken = "foo"; | 16636 var arg_pageToken = "foo"; |
16360 var arg_searchString = "foo"; | 16637 var arg_searchString = "foo"; |
16361 var arg_sortField = "foo"; | 16638 var arg_sortField = "foo"; |
16362 var arg_sortOrder = "foo"; | 16639 var arg_sortOrder = "foo"; |
16363 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16640 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
16364 var path = (req.url).path; | 16641 var path = (req.url).path; |
16365 var pathOffset = 0; | 16642 var pathOffset = 0; |
16366 var index; | 16643 var index; |
16367 var subPart; | 16644 var subPart; |
16368 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16645 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
16369 pathOffset += 1; | 16646 pathOffset += 1; |
16370 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 16647 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
16371 pathOffset += 18; | 16648 pathOffset += 18; |
16372 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16649 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
16373 pathOffset += 13; | 16650 pathOffset += 13; |
16374 index = path.indexOf("/directorySiteContacts", pathOffset); | 16651 index = path.indexOf("/directorySiteContacts", pathOffset); |
16375 unittest.expect(index >= 0, unittest.isTrue); | 16652 unittest.expect(index >= 0, unittest.isTrue); |
16376 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16653 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
16377 pathOffset = index; | 16654 pathOffset = index; |
16378 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16655 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
16379 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("/directorySiteContacts")); | 16656 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("/directorySiteContacts")); |
16380 pathOffset += 22; | 16657 pathOffset += 22; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
16425 api.DirectorySitesResourceApi res = new api.DfareportingApi(mock).director
ySites; | 16702 api.DirectorySitesResourceApi res = new api.DfareportingApi(mock).director
ySites; |
16426 var arg_profileId = "foo"; | 16703 var arg_profileId = "foo"; |
16427 var arg_id = "foo"; | 16704 var arg_id = "foo"; |
16428 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16705 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
16429 var path = (req.url).path; | 16706 var path = (req.url).path; |
16430 var pathOffset = 0; | 16707 var pathOffset = 0; |
16431 var index; | 16708 var index; |
16432 var subPart; | 16709 var subPart; |
16433 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16710 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
16434 pathOffset += 1; | 16711 pathOffset += 1; |
16435 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 16712 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
16436 pathOffset += 18; | 16713 pathOffset += 18; |
16437 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16714 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
16438 pathOffset += 13; | 16715 pathOffset += 13; |
16439 index = path.indexOf("/directorySites/", pathOffset); | 16716 index = path.indexOf("/directorySites/", pathOffset); |
16440 unittest.expect(index >= 0, unittest.isTrue); | 16717 unittest.expect(index >= 0, unittest.isTrue); |
16441 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16718 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
16442 pathOffset = index; | 16719 pathOffset = index; |
16443 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16720 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
16444 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/directorySites/")); | 16721 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/directorySites/")); |
16445 pathOffset += 16; | 16722 pathOffset += 16; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
16485 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16762 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
16486 var obj = new api.DirectorySite.fromJson(json); | 16763 var obj = new api.DirectorySite.fromJson(json); |
16487 checkDirectorySite(obj); | 16764 checkDirectorySite(obj); |
16488 | 16765 |
16489 var path = (req.url).path; | 16766 var path = (req.url).path; |
16490 var pathOffset = 0; | 16767 var pathOffset = 0; |
16491 var index; | 16768 var index; |
16492 var subPart; | 16769 var subPart; |
16493 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16770 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
16494 pathOffset += 1; | 16771 pathOffset += 1; |
16495 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 16772 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
16496 pathOffset += 18; | 16773 pathOffset += 18; |
16497 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16774 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
16498 pathOffset += 13; | 16775 pathOffset += 13; |
16499 index = path.indexOf("/directorySites", pathOffset); | 16776 index = path.indexOf("/directorySites", pathOffset); |
16500 unittest.expect(index >= 0, unittest.isTrue); | 16777 unittest.expect(index >= 0, unittest.isTrue); |
16501 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16778 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
16502 pathOffset = index; | 16779 pathOffset = index; |
16503 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16780 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
16504 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/directorySites")); | 16781 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/directorySites")); |
16505 pathOffset += 15; | 16782 pathOffset += 15; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
16537 | 16814 |
16538 var mock = new HttpServerMock(); | 16815 var mock = new HttpServerMock(); |
16539 api.DirectorySitesResourceApi res = new api.DfareportingApi(mock).director
ySites; | 16816 api.DirectorySitesResourceApi res = new api.DfareportingApi(mock).director
ySites; |
16540 var arg_profileId = "foo"; | 16817 var arg_profileId = "foo"; |
16541 var arg_acceptsInStreamVideoPlacements = true; | 16818 var arg_acceptsInStreamVideoPlacements = true; |
16542 var arg_acceptsInterstitialPlacements = true; | 16819 var arg_acceptsInterstitialPlacements = true; |
16543 var arg_acceptsPublisherPaidPlacements = true; | 16820 var arg_acceptsPublisherPaidPlacements = true; |
16544 var arg_active = true; | 16821 var arg_active = true; |
16545 var arg_countryId = "foo"; | 16822 var arg_countryId = "foo"; |
16546 var arg_dfpNetworkCode = "foo"; | 16823 var arg_dfpNetworkCode = "foo"; |
16547 var arg_ids = buildUnnamed2870(); | 16824 var arg_ids = buildUnnamed2627(); |
16548 var arg_maxResults = 42; | 16825 var arg_maxResults = 42; |
16549 var arg_pageToken = "foo"; | 16826 var arg_pageToken = "foo"; |
16550 var arg_parentId = "foo"; | 16827 var arg_parentId = "foo"; |
16551 var arg_searchString = "foo"; | 16828 var arg_searchString = "foo"; |
16552 var arg_sortField = "foo"; | 16829 var arg_sortField = "foo"; |
16553 var arg_sortOrder = "foo"; | 16830 var arg_sortOrder = "foo"; |
16554 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16831 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
16555 var path = (req.url).path; | 16832 var path = (req.url).path; |
16556 var pathOffset = 0; | 16833 var pathOffset = 0; |
16557 var index; | 16834 var index; |
16558 var subPart; | 16835 var subPart; |
16559 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16836 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
16560 pathOffset += 1; | 16837 pathOffset += 1; |
16561 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 16838 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
16562 pathOffset += 18; | 16839 pathOffset += 18; |
16563 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16840 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
16564 pathOffset += 13; | 16841 pathOffset += 13; |
16565 index = path.indexOf("/directorySites", pathOffset); | 16842 index = path.indexOf("/directorySites", pathOffset); |
16566 unittest.expect(index >= 0, unittest.isTrue); | 16843 unittest.expect(index >= 0, unittest.isTrue); |
16567 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16844 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
16568 pathOffset = index; | 16845 pathOffset = index; |
16569 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16846 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
16570 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/directorySites")); | 16847 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/directorySites")); |
16571 pathOffset += 15; | 16848 pathOffset += 15; |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
16624 var arg_objectId = "foo"; | 16901 var arg_objectId = "foo"; |
16625 var arg_name = "foo"; | 16902 var arg_name = "foo"; |
16626 var arg_objectType = "foo"; | 16903 var arg_objectType = "foo"; |
16627 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16904 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
16628 var path = (req.url).path; | 16905 var path = (req.url).path; |
16629 var pathOffset = 0; | 16906 var pathOffset = 0; |
16630 var index; | 16907 var index; |
16631 var subPart; | 16908 var subPart; |
16632 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16909 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
16633 pathOffset += 1; | 16910 pathOffset += 1; |
16634 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 16911 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
16635 pathOffset += 18; | 16912 pathOffset += 18; |
16636 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16913 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
16637 pathOffset += 13; | 16914 pathOffset += 13; |
16638 index = path.indexOf("/dynamicTargetingKeys/", pathOffset); | 16915 index = path.indexOf("/dynamicTargetingKeys/", pathOffset); |
16639 unittest.expect(index >= 0, unittest.isTrue); | 16916 unittest.expect(index >= 0, unittest.isTrue); |
16640 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16917 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
16641 pathOffset = index; | 16918 pathOffset = index; |
16642 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16919 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
16643 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("/dynamicTargetingKeys/")); | 16920 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("/dynamicTargetingKeys/")); |
16644 pathOffset += 22; | 16921 pathOffset += 22; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
16684 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 16961 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
16685 var obj = new api.DynamicTargetingKey.fromJson(json); | 16962 var obj = new api.DynamicTargetingKey.fromJson(json); |
16686 checkDynamicTargetingKey(obj); | 16963 checkDynamicTargetingKey(obj); |
16687 | 16964 |
16688 var path = (req.url).path; | 16965 var path = (req.url).path; |
16689 var pathOffset = 0; | 16966 var pathOffset = 0; |
16690 var index; | 16967 var index; |
16691 var subPart; | 16968 var subPart; |
16692 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 16969 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
16693 pathOffset += 1; | 16970 pathOffset += 1; |
16694 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 16971 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
16695 pathOffset += 18; | 16972 pathOffset += 18; |
16696 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 16973 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
16697 pathOffset += 13; | 16974 pathOffset += 13; |
16698 index = path.indexOf("/dynamicTargetingKeys", pathOffset); | 16975 index = path.indexOf("/dynamicTargetingKeys", pathOffset); |
16699 unittest.expect(index >= 0, unittest.isTrue); | 16976 unittest.expect(index >= 0, unittest.isTrue); |
16700 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 16977 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
16701 pathOffset = index; | 16978 pathOffset = index; |
16702 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 16979 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
16703 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/dynamicTargetingKeys")); | 16980 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/dynamicTargetingKeys")); |
16704 pathOffset += 21; | 16981 pathOffset += 21; |
(...skipping 26 matching lines...) Expand all Loading... |
16731 checkDynamicTargetingKey(response); | 17008 checkDynamicTargetingKey(response); |
16732 }))); | 17009 }))); |
16733 }); | 17010 }); |
16734 | 17011 |
16735 unittest.test("method--list", () { | 17012 unittest.test("method--list", () { |
16736 | 17013 |
16737 var mock = new HttpServerMock(); | 17014 var mock = new HttpServerMock(); |
16738 api.DynamicTargetingKeysResourceApi res = new api.DfareportingApi(mock).dy
namicTargetingKeys; | 17015 api.DynamicTargetingKeysResourceApi res = new api.DfareportingApi(mock).dy
namicTargetingKeys; |
16739 var arg_profileId = "foo"; | 17016 var arg_profileId = "foo"; |
16740 var arg_advertiserId = "foo"; | 17017 var arg_advertiserId = "foo"; |
16741 var arg_names = buildUnnamed2871(); | 17018 var arg_names = buildUnnamed2628(); |
16742 var arg_objectId = "foo"; | 17019 var arg_objectId = "foo"; |
16743 var arg_objectType = "foo"; | 17020 var arg_objectType = "foo"; |
16744 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17021 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
16745 var path = (req.url).path; | 17022 var path = (req.url).path; |
16746 var pathOffset = 0; | 17023 var pathOffset = 0; |
16747 var index; | 17024 var index; |
16748 var subPart; | 17025 var subPart; |
16749 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17026 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
16750 pathOffset += 1; | 17027 pathOffset += 1; |
16751 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 17028 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
16752 pathOffset += 18; | 17029 pathOffset += 18; |
16753 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17030 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
16754 pathOffset += 13; | 17031 pathOffset += 13; |
16755 index = path.indexOf("/dynamicTargetingKeys", pathOffset); | 17032 index = path.indexOf("/dynamicTargetingKeys", pathOffset); |
16756 unittest.expect(index >= 0, unittest.isTrue); | 17033 unittest.expect(index >= 0, unittest.isTrue); |
16757 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17034 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
16758 pathOffset = index; | 17035 pathOffset = index; |
16759 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17036 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
16760 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/dynamicTargetingKeys")); | 17037 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/dynamicTargetingKeys")); |
16761 pathOffset += 21; | 17038 pathOffset += 21; |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
16803 api.EventTagsResourceApi res = new api.DfareportingApi(mock).eventTags; | 17080 api.EventTagsResourceApi res = new api.DfareportingApi(mock).eventTags; |
16804 var arg_profileId = "foo"; | 17081 var arg_profileId = "foo"; |
16805 var arg_id = "foo"; | 17082 var arg_id = "foo"; |
16806 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17083 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
16807 var path = (req.url).path; | 17084 var path = (req.url).path; |
16808 var pathOffset = 0; | 17085 var pathOffset = 0; |
16809 var index; | 17086 var index; |
16810 var subPart; | 17087 var subPart; |
16811 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17088 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
16812 pathOffset += 1; | 17089 pathOffset += 1; |
16813 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 17090 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
16814 pathOffset += 18; | 17091 pathOffset += 18; |
16815 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17092 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
16816 pathOffset += 13; | 17093 pathOffset += 13; |
16817 index = path.indexOf("/eventTags/", pathOffset); | 17094 index = path.indexOf("/eventTags/", pathOffset); |
16818 unittest.expect(index >= 0, unittest.isTrue); | 17095 unittest.expect(index >= 0, unittest.isTrue); |
16819 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17096 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
16820 pathOffset = index; | 17097 pathOffset = index; |
16821 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17098 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
16822 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/eventTags/")); | 17099 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/eventTags/")); |
16823 pathOffset += 11; | 17100 pathOffset += 11; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
16858 api.EventTagsResourceApi res = new api.DfareportingApi(mock).eventTags; | 17135 api.EventTagsResourceApi res = new api.DfareportingApi(mock).eventTags; |
16859 var arg_profileId = "foo"; | 17136 var arg_profileId = "foo"; |
16860 var arg_id = "foo"; | 17137 var arg_id = "foo"; |
16861 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17138 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
16862 var path = (req.url).path; | 17139 var path = (req.url).path; |
16863 var pathOffset = 0; | 17140 var pathOffset = 0; |
16864 var index; | 17141 var index; |
16865 var subPart; | 17142 var subPart; |
16866 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17143 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
16867 pathOffset += 1; | 17144 pathOffset += 1; |
16868 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 17145 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
16869 pathOffset += 18; | 17146 pathOffset += 18; |
16870 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17147 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
16871 pathOffset += 13; | 17148 pathOffset += 13; |
16872 index = path.indexOf("/eventTags/", pathOffset); | 17149 index = path.indexOf("/eventTags/", pathOffset); |
16873 unittest.expect(index >= 0, unittest.isTrue); | 17150 unittest.expect(index >= 0, unittest.isTrue); |
16874 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17151 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
16875 pathOffset = index; | 17152 pathOffset = index; |
16876 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17153 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
16877 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/eventTags/")); | 17154 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/eventTags/")); |
16878 pathOffset += 11; | 17155 pathOffset += 11; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
16918 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17195 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
16919 var obj = new api.EventTag.fromJson(json); | 17196 var obj = new api.EventTag.fromJson(json); |
16920 checkEventTag(obj); | 17197 checkEventTag(obj); |
16921 | 17198 |
16922 var path = (req.url).path; | 17199 var path = (req.url).path; |
16923 var pathOffset = 0; | 17200 var pathOffset = 0; |
16924 var index; | 17201 var index; |
16925 var subPart; | 17202 var subPart; |
16926 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17203 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
16927 pathOffset += 1; | 17204 pathOffset += 1; |
16928 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 17205 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
16929 pathOffset += 18; | 17206 pathOffset += 18; |
16930 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17207 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
16931 pathOffset += 13; | 17208 pathOffset += 13; |
16932 index = path.indexOf("/eventTags", pathOffset); | 17209 index = path.indexOf("/eventTags", pathOffset); |
16933 unittest.expect(index >= 0, unittest.isTrue); | 17210 unittest.expect(index >= 0, unittest.isTrue); |
16934 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17211 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
16935 pathOffset = index; | 17212 pathOffset = index; |
16936 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17213 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
16937 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/eventTags")); | 17214 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/eventTags")); |
16938 pathOffset += 10; | 17215 pathOffset += 10; |
(...skipping 30 matching lines...) Expand all Loading... |
16969 unittest.test("method--list", () { | 17246 unittest.test("method--list", () { |
16970 | 17247 |
16971 var mock = new HttpServerMock(); | 17248 var mock = new HttpServerMock(); |
16972 api.EventTagsResourceApi res = new api.DfareportingApi(mock).eventTags; | 17249 api.EventTagsResourceApi res = new api.DfareportingApi(mock).eventTags; |
16973 var arg_profileId = "foo"; | 17250 var arg_profileId = "foo"; |
16974 var arg_adId = "foo"; | 17251 var arg_adId = "foo"; |
16975 var arg_advertiserId = "foo"; | 17252 var arg_advertiserId = "foo"; |
16976 var arg_campaignId = "foo"; | 17253 var arg_campaignId = "foo"; |
16977 var arg_definitionsOnly = true; | 17254 var arg_definitionsOnly = true; |
16978 var arg_enabled = true; | 17255 var arg_enabled = true; |
16979 var arg_eventTagTypes = buildUnnamed2872(); | 17256 var arg_eventTagTypes = buildUnnamed2629(); |
16980 var arg_ids = buildUnnamed2873(); | 17257 var arg_ids = buildUnnamed2630(); |
16981 var arg_searchString = "foo"; | 17258 var arg_searchString = "foo"; |
16982 var arg_sortField = "foo"; | 17259 var arg_sortField = "foo"; |
16983 var arg_sortOrder = "foo"; | 17260 var arg_sortOrder = "foo"; |
16984 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17261 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
16985 var path = (req.url).path; | 17262 var path = (req.url).path; |
16986 var pathOffset = 0; | 17263 var pathOffset = 0; |
16987 var index; | 17264 var index; |
16988 var subPart; | 17265 var subPart; |
16989 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17266 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
16990 pathOffset += 1; | 17267 pathOffset += 1; |
16991 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 17268 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
16992 pathOffset += 18; | 17269 pathOffset += 18; |
16993 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17270 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
16994 pathOffset += 13; | 17271 pathOffset += 13; |
16995 index = path.indexOf("/eventTags", pathOffset); | 17272 index = path.indexOf("/eventTags", pathOffset); |
16996 unittest.expect(index >= 0, unittest.isTrue); | 17273 unittest.expect(index >= 0, unittest.isTrue); |
16997 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17274 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
16998 pathOffset = index; | 17275 pathOffset = index; |
16999 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17276 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
17000 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/eventTags")); | 17277 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/eventTags")); |
17001 pathOffset += 10; | 17278 pathOffset += 10; |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
17049 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17326 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
17050 var obj = new api.EventTag.fromJson(json); | 17327 var obj = new api.EventTag.fromJson(json); |
17051 checkEventTag(obj); | 17328 checkEventTag(obj); |
17052 | 17329 |
17053 var path = (req.url).path; | 17330 var path = (req.url).path; |
17054 var pathOffset = 0; | 17331 var pathOffset = 0; |
17055 var index; | 17332 var index; |
17056 var subPart; | 17333 var subPart; |
17057 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17334 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
17058 pathOffset += 1; | 17335 pathOffset += 1; |
17059 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 17336 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
17060 pathOffset += 18; | 17337 pathOffset += 18; |
17061 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17338 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
17062 pathOffset += 13; | 17339 pathOffset += 13; |
17063 index = path.indexOf("/eventTags", pathOffset); | 17340 index = path.indexOf("/eventTags", pathOffset); |
17064 unittest.expect(index >= 0, unittest.isTrue); | 17341 unittest.expect(index >= 0, unittest.isTrue); |
17065 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17342 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
17066 pathOffset = index; | 17343 pathOffset = index; |
17067 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17344 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
17068 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/eventTags")); | 17345 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/eventTags")); |
17069 pathOffset += 10; | 17346 pathOffset += 10; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
17107 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17384 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
17108 var obj = new api.EventTag.fromJson(json); | 17385 var obj = new api.EventTag.fromJson(json); |
17109 checkEventTag(obj); | 17386 checkEventTag(obj); |
17110 | 17387 |
17111 var path = (req.url).path; | 17388 var path = (req.url).path; |
17112 var pathOffset = 0; | 17389 var pathOffset = 0; |
17113 var index; | 17390 var index; |
17114 var subPart; | 17391 var subPart; |
17115 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17392 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
17116 pathOffset += 1; | 17393 pathOffset += 1; |
17117 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 17394 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
17118 pathOffset += 18; | 17395 pathOffset += 18; |
17119 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17396 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
17120 pathOffset += 13; | 17397 pathOffset += 13; |
17121 index = path.indexOf("/eventTags", pathOffset); | 17398 index = path.indexOf("/eventTags", pathOffset); |
17122 unittest.expect(index >= 0, unittest.isTrue); | 17399 unittest.expect(index >= 0, unittest.isTrue); |
17123 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17400 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
17124 pathOffset = index; | 17401 pathOffset = index; |
17125 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17402 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
17126 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/eventTags")); | 17403 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/eventTags")); |
17127 pathOffset += 10; | 17404 pathOffset += 10; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
17167 api.FilesResourceApi res = new api.DfareportingApi(mock).files; | 17444 api.FilesResourceApi res = new api.DfareportingApi(mock).files; |
17168 var arg_reportId = "foo"; | 17445 var arg_reportId = "foo"; |
17169 var arg_fileId = "foo"; | 17446 var arg_fileId = "foo"; |
17170 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17447 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
17171 var path = (req.url).path; | 17448 var path = (req.url).path; |
17172 var pathOffset = 0; | 17449 var pathOffset = 0; |
17173 var index; | 17450 var index; |
17174 var subPart; | 17451 var subPart; |
17175 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17452 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
17176 pathOffset += 1; | 17453 pathOffset += 1; |
17177 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 17454 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
17178 pathOffset += 18; | 17455 pathOffset += 18; |
17179 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("reports/")); | 17456 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("reports/")); |
17180 pathOffset += 8; | 17457 pathOffset += 8; |
17181 index = path.indexOf("/files/", pathOffset); | 17458 index = path.indexOf("/files/", pathOffset); |
17182 unittest.expect(index >= 0, unittest.isTrue); | 17459 unittest.expect(index >= 0, unittest.isTrue); |
17183 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17460 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
17184 pathOffset = index; | 17461 pathOffset = index; |
17185 unittest.expect(subPart, unittest.equals("$arg_reportId")); | 17462 unittest.expect(subPart, unittest.equals("$arg_reportId")); |
17186 unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equ
als("/files/")); | 17463 unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equ
als("/files/")); |
17187 pathOffset += 7; | 17464 pathOffset += 7; |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
17228 var arg_scope = "foo"; | 17505 var arg_scope = "foo"; |
17229 var arg_sortField = "foo"; | 17506 var arg_sortField = "foo"; |
17230 var arg_sortOrder = "foo"; | 17507 var arg_sortOrder = "foo"; |
17231 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17508 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
17232 var path = (req.url).path; | 17509 var path = (req.url).path; |
17233 var pathOffset = 0; | 17510 var pathOffset = 0; |
17234 var index; | 17511 var index; |
17235 var subPart; | 17512 var subPart; |
17236 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17513 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
17237 pathOffset += 1; | 17514 pathOffset += 1; |
17238 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 17515 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
17239 pathOffset += 18; | 17516 pathOffset += 18; |
17240 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17517 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
17241 pathOffset += 13; | 17518 pathOffset += 13; |
17242 index = path.indexOf("/files", pathOffset); | 17519 index = path.indexOf("/files", pathOffset); |
17243 unittest.expect(index >= 0, unittest.isTrue); | 17520 unittest.expect(index >= 0, unittest.isTrue); |
17244 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17521 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
17245 pathOffset = index; | 17522 pathOffset = index; |
17246 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17523 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
17247 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/files")); | 17524 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/files")); |
17248 pathOffset += 6; | 17525 pathOffset += 6; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
17291 api.FloodlightActivitiesResourceApi res = new api.DfareportingApi(mock).fl
oodlightActivities; | 17568 api.FloodlightActivitiesResourceApi res = new api.DfareportingApi(mock).fl
oodlightActivities; |
17292 var arg_profileId = "foo"; | 17569 var arg_profileId = "foo"; |
17293 var arg_id = "foo"; | 17570 var arg_id = "foo"; |
17294 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17571 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
17295 var path = (req.url).path; | 17572 var path = (req.url).path; |
17296 var pathOffset = 0; | 17573 var pathOffset = 0; |
17297 var index; | 17574 var index; |
17298 var subPart; | 17575 var subPart; |
17299 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17576 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
17300 pathOffset += 1; | 17577 pathOffset += 1; |
17301 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 17578 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
17302 pathOffset += 18; | 17579 pathOffset += 18; |
17303 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17580 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
17304 pathOffset += 13; | 17581 pathOffset += 13; |
17305 index = path.indexOf("/floodlightActivities/", pathOffset); | 17582 index = path.indexOf("/floodlightActivities/", pathOffset); |
17306 unittest.expect(index >= 0, unittest.isTrue); | 17583 unittest.expect(index >= 0, unittest.isTrue); |
17307 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17584 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
17308 pathOffset = index; | 17585 pathOffset = index; |
17309 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17586 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
17310 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("/floodlightActivities/")); | 17587 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("/floodlightActivities/")); |
17311 pathOffset += 22; | 17588 pathOffset += 22; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
17346 api.FloodlightActivitiesResourceApi res = new api.DfareportingApi(mock).fl
oodlightActivities; | 17623 api.FloodlightActivitiesResourceApi res = new api.DfareportingApi(mock).fl
oodlightActivities; |
17347 var arg_profileId = "foo"; | 17624 var arg_profileId = "foo"; |
17348 var arg_floodlightActivityId = "foo"; | 17625 var arg_floodlightActivityId = "foo"; |
17349 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17626 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
17350 var path = (req.url).path; | 17627 var path = (req.url).path; |
17351 var pathOffset = 0; | 17628 var pathOffset = 0; |
17352 var index; | 17629 var index; |
17353 var subPart; | 17630 var subPart; |
17354 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17631 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
17355 pathOffset += 1; | 17632 pathOffset += 1; |
17356 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 17633 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
17357 pathOffset += 18; | 17634 pathOffset += 18; |
17358 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17635 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
17359 pathOffset += 13; | 17636 pathOffset += 13; |
17360 index = path.indexOf("/floodlightActivities/generatetag", pathOffset); | 17637 index = path.indexOf("/floodlightActivities/generatetag", pathOffset); |
17361 unittest.expect(index >= 0, unittest.isTrue); | 17638 unittest.expect(index >= 0, unittest.isTrue); |
17362 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17639 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
17363 pathOffset = index; | 17640 pathOffset = index; |
17364 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17641 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
17365 unittest.expect(path.substring(pathOffset, pathOffset + 33), unittest.eq
uals("/floodlightActivities/generatetag")); | 17642 unittest.expect(path.substring(pathOffset, pathOffset + 33), unittest.eq
uals("/floodlightActivities/generatetag")); |
17366 pathOffset += 33; | 17643 pathOffset += 33; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
17401 api.FloodlightActivitiesResourceApi res = new api.DfareportingApi(mock).fl
oodlightActivities; | 17678 api.FloodlightActivitiesResourceApi res = new api.DfareportingApi(mock).fl
oodlightActivities; |
17402 var arg_profileId = "foo"; | 17679 var arg_profileId = "foo"; |
17403 var arg_id = "foo"; | 17680 var arg_id = "foo"; |
17404 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17681 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
17405 var path = (req.url).path; | 17682 var path = (req.url).path; |
17406 var pathOffset = 0; | 17683 var pathOffset = 0; |
17407 var index; | 17684 var index; |
17408 var subPart; | 17685 var subPart; |
17409 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17686 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
17410 pathOffset += 1; | 17687 pathOffset += 1; |
17411 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 17688 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
17412 pathOffset += 18; | 17689 pathOffset += 18; |
17413 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17690 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
17414 pathOffset += 13; | 17691 pathOffset += 13; |
17415 index = path.indexOf("/floodlightActivities/", pathOffset); | 17692 index = path.indexOf("/floodlightActivities/", pathOffset); |
17416 unittest.expect(index >= 0, unittest.isTrue); | 17693 unittest.expect(index >= 0, unittest.isTrue); |
17417 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17694 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
17418 pathOffset = index; | 17695 pathOffset = index; |
17419 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17696 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
17420 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("/floodlightActivities/")); | 17697 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("/floodlightActivities/")); |
17421 pathOffset += 22; | 17698 pathOffset += 22; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
17461 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17738 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
17462 var obj = new api.FloodlightActivity.fromJson(json); | 17739 var obj = new api.FloodlightActivity.fromJson(json); |
17463 checkFloodlightActivity(obj); | 17740 checkFloodlightActivity(obj); |
17464 | 17741 |
17465 var path = (req.url).path; | 17742 var path = (req.url).path; |
17466 var pathOffset = 0; | 17743 var pathOffset = 0; |
17467 var index; | 17744 var index; |
17468 var subPart; | 17745 var subPart; |
17469 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17746 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
17470 pathOffset += 1; | 17747 pathOffset += 1; |
17471 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 17748 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
17472 pathOffset += 18; | 17749 pathOffset += 18; |
17473 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17750 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
17474 pathOffset += 13; | 17751 pathOffset += 13; |
17475 index = path.indexOf("/floodlightActivities", pathOffset); | 17752 index = path.indexOf("/floodlightActivities", pathOffset); |
17476 unittest.expect(index >= 0, unittest.isTrue); | 17753 unittest.expect(index >= 0, unittest.isTrue); |
17477 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17754 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
17478 pathOffset = index; | 17755 pathOffset = index; |
17479 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17756 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
17480 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/floodlightActivities")); | 17757 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/floodlightActivities")); |
17481 pathOffset += 21; | 17758 pathOffset += 21; |
(...skipping 26 matching lines...) Expand all Loading... |
17508 checkFloodlightActivity(response); | 17785 checkFloodlightActivity(response); |
17509 }))); | 17786 }))); |
17510 }); | 17787 }); |
17511 | 17788 |
17512 unittest.test("method--list", () { | 17789 unittest.test("method--list", () { |
17513 | 17790 |
17514 var mock = new HttpServerMock(); | 17791 var mock = new HttpServerMock(); |
17515 api.FloodlightActivitiesResourceApi res = new api.DfareportingApi(mock).fl
oodlightActivities; | 17792 api.FloodlightActivitiesResourceApi res = new api.DfareportingApi(mock).fl
oodlightActivities; |
17516 var arg_profileId = "foo"; | 17793 var arg_profileId = "foo"; |
17517 var arg_advertiserId = "foo"; | 17794 var arg_advertiserId = "foo"; |
17518 var arg_floodlightActivityGroupIds = buildUnnamed2874(); | 17795 var arg_floodlightActivityGroupIds = buildUnnamed2631(); |
17519 var arg_floodlightActivityGroupName = "foo"; | 17796 var arg_floodlightActivityGroupName = "foo"; |
17520 var arg_floodlightActivityGroupTagString = "foo"; | 17797 var arg_floodlightActivityGroupTagString = "foo"; |
17521 var arg_floodlightActivityGroupType = "foo"; | 17798 var arg_floodlightActivityGroupType = "foo"; |
17522 var arg_floodlightConfigurationId = "foo"; | 17799 var arg_floodlightConfigurationId = "foo"; |
17523 var arg_ids = buildUnnamed2875(); | 17800 var arg_ids = buildUnnamed2632(); |
17524 var arg_maxResults = 42; | 17801 var arg_maxResults = 42; |
17525 var arg_pageToken = "foo"; | 17802 var arg_pageToken = "foo"; |
17526 var arg_searchString = "foo"; | 17803 var arg_searchString = "foo"; |
17527 var arg_sortField = "foo"; | 17804 var arg_sortField = "foo"; |
17528 var arg_sortOrder = "foo"; | 17805 var arg_sortOrder = "foo"; |
17529 var arg_tagString = "foo"; | 17806 var arg_tagString = "foo"; |
17530 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17807 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
17531 var path = (req.url).path; | 17808 var path = (req.url).path; |
17532 var pathOffset = 0; | 17809 var pathOffset = 0; |
17533 var index; | 17810 var index; |
17534 var subPart; | 17811 var subPart; |
17535 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17812 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
17536 pathOffset += 1; | 17813 pathOffset += 1; |
17537 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 17814 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
17538 pathOffset += 18; | 17815 pathOffset += 18; |
17539 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17816 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
17540 pathOffset += 13; | 17817 pathOffset += 13; |
17541 index = path.indexOf("/floodlightActivities", pathOffset); | 17818 index = path.indexOf("/floodlightActivities", pathOffset); |
17542 unittest.expect(index >= 0, unittest.isTrue); | 17819 unittest.expect(index >= 0, unittest.isTrue); |
17543 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17820 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
17544 pathOffset = index; | 17821 pathOffset = index; |
17545 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17822 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
17546 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/floodlightActivities")); | 17823 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/floodlightActivities")); |
17547 pathOffset += 21; | 17824 pathOffset += 21; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
17598 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17875 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
17599 var obj = new api.FloodlightActivity.fromJson(json); | 17876 var obj = new api.FloodlightActivity.fromJson(json); |
17600 checkFloodlightActivity(obj); | 17877 checkFloodlightActivity(obj); |
17601 | 17878 |
17602 var path = (req.url).path; | 17879 var path = (req.url).path; |
17603 var pathOffset = 0; | 17880 var pathOffset = 0; |
17604 var index; | 17881 var index; |
17605 var subPart; | 17882 var subPart; |
17606 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17883 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
17607 pathOffset += 1; | 17884 pathOffset += 1; |
17608 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 17885 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
17609 pathOffset += 18; | 17886 pathOffset += 18; |
17610 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17887 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
17611 pathOffset += 13; | 17888 pathOffset += 13; |
17612 index = path.indexOf("/floodlightActivities", pathOffset); | 17889 index = path.indexOf("/floodlightActivities", pathOffset); |
17613 unittest.expect(index >= 0, unittest.isTrue); | 17890 unittest.expect(index >= 0, unittest.isTrue); |
17614 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17891 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
17615 pathOffset = index; | 17892 pathOffset = index; |
17616 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17893 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
17617 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/floodlightActivities")); | 17894 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/floodlightActivities")); |
17618 pathOffset += 21; | 17895 pathOffset += 21; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
17656 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17933 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
17657 var obj = new api.FloodlightActivity.fromJson(json); | 17934 var obj = new api.FloodlightActivity.fromJson(json); |
17658 checkFloodlightActivity(obj); | 17935 checkFloodlightActivity(obj); |
17659 | 17936 |
17660 var path = (req.url).path; | 17937 var path = (req.url).path; |
17661 var pathOffset = 0; | 17938 var pathOffset = 0; |
17662 var index; | 17939 var index; |
17663 var subPart; | 17940 var subPart; |
17664 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17941 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
17665 pathOffset += 1; | 17942 pathOffset += 1; |
17666 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 17943 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
17667 pathOffset += 18; | 17944 pathOffset += 18; |
17668 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 17945 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
17669 pathOffset += 13; | 17946 pathOffset += 13; |
17670 index = path.indexOf("/floodlightActivities", pathOffset); | 17947 index = path.indexOf("/floodlightActivities", pathOffset); |
17671 unittest.expect(index >= 0, unittest.isTrue); | 17948 unittest.expect(index >= 0, unittest.isTrue); |
17672 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 17949 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
17673 pathOffset = index; | 17950 pathOffset = index; |
17674 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 17951 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
17675 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/floodlightActivities")); | 17952 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/floodlightActivities")); |
17676 pathOffset += 21; | 17953 pathOffset += 21; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
17714 api.FloodlightActivityGroupsResourceApi res = new api.DfareportingApi(mock
).floodlightActivityGroups; | 17991 api.FloodlightActivityGroupsResourceApi res = new api.DfareportingApi(mock
).floodlightActivityGroups; |
17715 var arg_profileId = "foo"; | 17992 var arg_profileId = "foo"; |
17716 var arg_id = "foo"; | 17993 var arg_id = "foo"; |
17717 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 17994 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
17718 var path = (req.url).path; | 17995 var path = (req.url).path; |
17719 var pathOffset = 0; | 17996 var pathOffset = 0; |
17720 var index; | 17997 var index; |
17721 var subPart; | 17998 var subPart; |
17722 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 17999 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
17723 pathOffset += 1; | 18000 pathOffset += 1; |
17724 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 18001 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
17725 pathOffset += 18; | 18002 pathOffset += 18; |
17726 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18003 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
17727 pathOffset += 13; | 18004 pathOffset += 13; |
17728 index = path.indexOf("/floodlightActivityGroups/", pathOffset); | 18005 index = path.indexOf("/floodlightActivityGroups/", pathOffset); |
17729 unittest.expect(index >= 0, unittest.isTrue); | 18006 unittest.expect(index >= 0, unittest.isTrue); |
17730 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18007 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
17731 pathOffset = index; | 18008 pathOffset = index; |
17732 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18009 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
17733 unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.eq
uals("/floodlightActivityGroups/")); | 18010 unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.eq
uals("/floodlightActivityGroups/")); |
17734 pathOffset += 26; | 18011 pathOffset += 26; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
17774 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18051 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
17775 var obj = new api.FloodlightActivityGroup.fromJson(json); | 18052 var obj = new api.FloodlightActivityGroup.fromJson(json); |
17776 checkFloodlightActivityGroup(obj); | 18053 checkFloodlightActivityGroup(obj); |
17777 | 18054 |
17778 var path = (req.url).path; | 18055 var path = (req.url).path; |
17779 var pathOffset = 0; | 18056 var pathOffset = 0; |
17780 var index; | 18057 var index; |
17781 var subPart; | 18058 var subPart; |
17782 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18059 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
17783 pathOffset += 1; | 18060 pathOffset += 1; |
17784 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 18061 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
17785 pathOffset += 18; | 18062 pathOffset += 18; |
17786 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18063 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
17787 pathOffset += 13; | 18064 pathOffset += 13; |
17788 index = path.indexOf("/floodlightActivityGroups", pathOffset); | 18065 index = path.indexOf("/floodlightActivityGroups", pathOffset); |
17789 unittest.expect(index >= 0, unittest.isTrue); | 18066 unittest.expect(index >= 0, unittest.isTrue); |
17790 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18067 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
17791 pathOffset = index; | 18068 pathOffset = index; |
17792 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18069 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
17793 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightActivityGroups")); | 18070 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightActivityGroups")); |
17794 pathOffset += 25; | 18071 pathOffset += 25; |
(...skipping 27 matching lines...) Expand all Loading... |
17822 }))); | 18099 }))); |
17823 }); | 18100 }); |
17824 | 18101 |
17825 unittest.test("method--list", () { | 18102 unittest.test("method--list", () { |
17826 | 18103 |
17827 var mock = new HttpServerMock(); | 18104 var mock = new HttpServerMock(); |
17828 api.FloodlightActivityGroupsResourceApi res = new api.DfareportingApi(mock
).floodlightActivityGroups; | 18105 api.FloodlightActivityGroupsResourceApi res = new api.DfareportingApi(mock
).floodlightActivityGroups; |
17829 var arg_profileId = "foo"; | 18106 var arg_profileId = "foo"; |
17830 var arg_advertiserId = "foo"; | 18107 var arg_advertiserId = "foo"; |
17831 var arg_floodlightConfigurationId = "foo"; | 18108 var arg_floodlightConfigurationId = "foo"; |
17832 var arg_ids = buildUnnamed2876(); | 18109 var arg_ids = buildUnnamed2633(); |
17833 var arg_maxResults = 42; | 18110 var arg_maxResults = 42; |
17834 var arg_pageToken = "foo"; | 18111 var arg_pageToken = "foo"; |
17835 var arg_searchString = "foo"; | 18112 var arg_searchString = "foo"; |
17836 var arg_sortField = "foo"; | 18113 var arg_sortField = "foo"; |
17837 var arg_sortOrder = "foo"; | 18114 var arg_sortOrder = "foo"; |
17838 var arg_type = "foo"; | 18115 var arg_type = "foo"; |
17839 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18116 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
17840 var path = (req.url).path; | 18117 var path = (req.url).path; |
17841 var pathOffset = 0; | 18118 var pathOffset = 0; |
17842 var index; | 18119 var index; |
17843 var subPart; | 18120 var subPart; |
17844 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18121 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
17845 pathOffset += 1; | 18122 pathOffset += 1; |
17846 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 18123 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
17847 pathOffset += 18; | 18124 pathOffset += 18; |
17848 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18125 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
17849 pathOffset += 13; | 18126 pathOffset += 13; |
17850 index = path.indexOf("/floodlightActivityGroups", pathOffset); | 18127 index = path.indexOf("/floodlightActivityGroups", pathOffset); |
17851 unittest.expect(index >= 0, unittest.isTrue); | 18128 unittest.expect(index >= 0, unittest.isTrue); |
17852 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18129 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
17853 pathOffset = index; | 18130 pathOffset = index; |
17854 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18131 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
17855 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightActivityGroups")); | 18132 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightActivityGroups")); |
17856 pathOffset += 25; | 18133 pathOffset += 25; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
17903 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18180 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
17904 var obj = new api.FloodlightActivityGroup.fromJson(json); | 18181 var obj = new api.FloodlightActivityGroup.fromJson(json); |
17905 checkFloodlightActivityGroup(obj); | 18182 checkFloodlightActivityGroup(obj); |
17906 | 18183 |
17907 var path = (req.url).path; | 18184 var path = (req.url).path; |
17908 var pathOffset = 0; | 18185 var pathOffset = 0; |
17909 var index; | 18186 var index; |
17910 var subPart; | 18187 var subPart; |
17911 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18188 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
17912 pathOffset += 1; | 18189 pathOffset += 1; |
17913 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 18190 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
17914 pathOffset += 18; | 18191 pathOffset += 18; |
17915 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18192 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
17916 pathOffset += 13; | 18193 pathOffset += 13; |
17917 index = path.indexOf("/floodlightActivityGroups", pathOffset); | 18194 index = path.indexOf("/floodlightActivityGroups", pathOffset); |
17918 unittest.expect(index >= 0, unittest.isTrue); | 18195 unittest.expect(index >= 0, unittest.isTrue); |
17919 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18196 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
17920 pathOffset = index; | 18197 pathOffset = index; |
17921 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18198 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
17922 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightActivityGroups")); | 18199 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightActivityGroups")); |
17923 pathOffset += 25; | 18200 pathOffset += 25; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
17961 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18238 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
17962 var obj = new api.FloodlightActivityGroup.fromJson(json); | 18239 var obj = new api.FloodlightActivityGroup.fromJson(json); |
17963 checkFloodlightActivityGroup(obj); | 18240 checkFloodlightActivityGroup(obj); |
17964 | 18241 |
17965 var path = (req.url).path; | 18242 var path = (req.url).path; |
17966 var pathOffset = 0; | 18243 var pathOffset = 0; |
17967 var index; | 18244 var index; |
17968 var subPart; | 18245 var subPart; |
17969 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18246 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
17970 pathOffset += 1; | 18247 pathOffset += 1; |
17971 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 18248 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
17972 pathOffset += 18; | 18249 pathOffset += 18; |
17973 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18250 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
17974 pathOffset += 13; | 18251 pathOffset += 13; |
17975 index = path.indexOf("/floodlightActivityGroups", pathOffset); | 18252 index = path.indexOf("/floodlightActivityGroups", pathOffset); |
17976 unittest.expect(index >= 0, unittest.isTrue); | 18253 unittest.expect(index >= 0, unittest.isTrue); |
17977 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18254 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
17978 pathOffset = index; | 18255 pathOffset = index; |
17979 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18256 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
17980 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightActivityGroups")); | 18257 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightActivityGroups")); |
17981 pathOffset += 25; | 18258 pathOffset += 25; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
18019 api.FloodlightConfigurationsResourceApi res = new api.DfareportingApi(mock
).floodlightConfigurations; | 18296 api.FloodlightConfigurationsResourceApi res = new api.DfareportingApi(mock
).floodlightConfigurations; |
18020 var arg_profileId = "foo"; | 18297 var arg_profileId = "foo"; |
18021 var arg_id = "foo"; | 18298 var arg_id = "foo"; |
18022 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18299 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
18023 var path = (req.url).path; | 18300 var path = (req.url).path; |
18024 var pathOffset = 0; | 18301 var pathOffset = 0; |
18025 var index; | 18302 var index; |
18026 var subPart; | 18303 var subPart; |
18027 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18304 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
18028 pathOffset += 1; | 18305 pathOffset += 1; |
18029 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 18306 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
18030 pathOffset += 18; | 18307 pathOffset += 18; |
18031 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18308 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
18032 pathOffset += 13; | 18309 pathOffset += 13; |
18033 index = path.indexOf("/floodlightConfigurations/", pathOffset); | 18310 index = path.indexOf("/floodlightConfigurations/", pathOffset); |
18034 unittest.expect(index >= 0, unittest.isTrue); | 18311 unittest.expect(index >= 0, unittest.isTrue); |
18035 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18312 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
18036 pathOffset = index; | 18313 pathOffset = index; |
18037 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18314 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
18038 unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.eq
uals("/floodlightConfigurations/")); | 18315 unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.eq
uals("/floodlightConfigurations/")); |
18039 pathOffset += 26; | 18316 pathOffset += 26; |
(...skipping 28 matching lines...) Expand all Loading... |
18068 res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.FloodlightC
onfiguration response) { | 18345 res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.FloodlightC
onfiguration response) { |
18069 checkFloodlightConfiguration(response); | 18346 checkFloodlightConfiguration(response); |
18070 }))); | 18347 }))); |
18071 }); | 18348 }); |
18072 | 18349 |
18073 unittest.test("method--list", () { | 18350 unittest.test("method--list", () { |
18074 | 18351 |
18075 var mock = new HttpServerMock(); | 18352 var mock = new HttpServerMock(); |
18076 api.FloodlightConfigurationsResourceApi res = new api.DfareportingApi(mock
).floodlightConfigurations; | 18353 api.FloodlightConfigurationsResourceApi res = new api.DfareportingApi(mock
).floodlightConfigurations; |
18077 var arg_profileId = "foo"; | 18354 var arg_profileId = "foo"; |
18078 var arg_ids = buildUnnamed2877(); | 18355 var arg_ids = buildUnnamed2634(); |
18079 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18356 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
18080 var path = (req.url).path; | 18357 var path = (req.url).path; |
18081 var pathOffset = 0; | 18358 var pathOffset = 0; |
18082 var index; | 18359 var index; |
18083 var subPart; | 18360 var subPart; |
18084 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18361 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
18085 pathOffset += 1; | 18362 pathOffset += 1; |
18086 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 18363 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
18087 pathOffset += 18; | 18364 pathOffset += 18; |
18088 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18365 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
18089 pathOffset += 13; | 18366 pathOffset += 13; |
18090 index = path.indexOf("/floodlightConfigurations", pathOffset); | 18367 index = path.indexOf("/floodlightConfigurations", pathOffset); |
18091 unittest.expect(index >= 0, unittest.isTrue); | 18368 unittest.expect(index >= 0, unittest.isTrue); |
18092 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18369 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
18093 pathOffset = index; | 18370 pathOffset = index; |
18094 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18371 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
18095 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightConfigurations")); | 18372 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightConfigurations")); |
18096 pathOffset += 25; | 18373 pathOffset += 25; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
18135 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18412 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
18136 var obj = new api.FloodlightConfiguration.fromJson(json); | 18413 var obj = new api.FloodlightConfiguration.fromJson(json); |
18137 checkFloodlightConfiguration(obj); | 18414 checkFloodlightConfiguration(obj); |
18138 | 18415 |
18139 var path = (req.url).path; | 18416 var path = (req.url).path; |
18140 var pathOffset = 0; | 18417 var pathOffset = 0; |
18141 var index; | 18418 var index; |
18142 var subPart; | 18419 var subPart; |
18143 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18420 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
18144 pathOffset += 1; | 18421 pathOffset += 1; |
18145 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 18422 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
18146 pathOffset += 18; | 18423 pathOffset += 18; |
18147 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18424 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
18148 pathOffset += 13; | 18425 pathOffset += 13; |
18149 index = path.indexOf("/floodlightConfigurations", pathOffset); | 18426 index = path.indexOf("/floodlightConfigurations", pathOffset); |
18150 unittest.expect(index >= 0, unittest.isTrue); | 18427 unittest.expect(index >= 0, unittest.isTrue); |
18151 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18428 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
18152 pathOffset = index; | 18429 pathOffset = index; |
18153 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18430 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
18154 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightConfigurations")); | 18431 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightConfigurations")); |
18155 pathOffset += 25; | 18432 pathOffset += 25; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
18193 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18470 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
18194 var obj = new api.FloodlightConfiguration.fromJson(json); | 18471 var obj = new api.FloodlightConfiguration.fromJson(json); |
18195 checkFloodlightConfiguration(obj); | 18472 checkFloodlightConfiguration(obj); |
18196 | 18473 |
18197 var path = (req.url).path; | 18474 var path = (req.url).path; |
18198 var pathOffset = 0; | 18475 var pathOffset = 0; |
18199 var index; | 18476 var index; |
18200 var subPart; | 18477 var subPart; |
18201 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18478 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
18202 pathOffset += 1; | 18479 pathOffset += 1; |
18203 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 18480 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
18204 pathOffset += 18; | 18481 pathOffset += 18; |
18205 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18482 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
18206 pathOffset += 13; | 18483 pathOffset += 13; |
18207 index = path.indexOf("/floodlightConfigurations", pathOffset); | 18484 index = path.indexOf("/floodlightConfigurations", pathOffset); |
18208 unittest.expect(index >= 0, unittest.isTrue); | 18485 unittest.expect(index >= 0, unittest.isTrue); |
18209 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18486 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
18210 pathOffset = index; | 18487 pathOffset = index; |
18211 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18488 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
18212 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightConfigurations")); | 18489 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/floodlightConfigurations")); |
18213 pathOffset += 25; | 18490 pathOffset += 25; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
18252 var arg_profileId = "foo"; | 18529 var arg_profileId = "foo"; |
18253 var arg_projectId = "foo"; | 18530 var arg_projectId = "foo"; |
18254 var arg_id = "foo"; | 18531 var arg_id = "foo"; |
18255 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18532 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
18256 var path = (req.url).path; | 18533 var path = (req.url).path; |
18257 var pathOffset = 0; | 18534 var pathOffset = 0; |
18258 var index; | 18535 var index; |
18259 var subPart; | 18536 var subPart; |
18260 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18537 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
18261 pathOffset += 1; | 18538 pathOffset += 1; |
18262 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 18539 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
18263 pathOffset += 18; | 18540 pathOffset += 18; |
18264 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18541 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
18265 pathOffset += 13; | 18542 pathOffset += 13; |
18266 index = path.indexOf("/projects/", pathOffset); | 18543 index = path.indexOf("/projects/", pathOffset); |
18267 unittest.expect(index >= 0, unittest.isTrue); | 18544 unittest.expect(index >= 0, unittest.isTrue); |
18268 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18545 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
18269 pathOffset = index; | 18546 pathOffset = index; |
18270 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18547 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
18271 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); | 18548 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); |
18272 pathOffset += 10; | 18549 pathOffset += 10; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
18309 checkInventoryItem(response); | 18586 checkInventoryItem(response); |
18310 }))); | 18587 }))); |
18311 }); | 18588 }); |
18312 | 18589 |
18313 unittest.test("method--list", () { | 18590 unittest.test("method--list", () { |
18314 | 18591 |
18315 var mock = new HttpServerMock(); | 18592 var mock = new HttpServerMock(); |
18316 api.InventoryItemsResourceApi res = new api.DfareportingApi(mock).inventor
yItems; | 18593 api.InventoryItemsResourceApi res = new api.DfareportingApi(mock).inventor
yItems; |
18317 var arg_profileId = "foo"; | 18594 var arg_profileId = "foo"; |
18318 var arg_projectId = "foo"; | 18595 var arg_projectId = "foo"; |
18319 var arg_ids = buildUnnamed2878(); | 18596 var arg_ids = buildUnnamed2635(); |
18320 var arg_inPlan = true; | 18597 var arg_inPlan = true; |
18321 var arg_maxResults = 42; | 18598 var arg_maxResults = 42; |
18322 var arg_orderId = buildUnnamed2879(); | 18599 var arg_orderId = buildUnnamed2636(); |
18323 var arg_pageToken = "foo"; | 18600 var arg_pageToken = "foo"; |
18324 var arg_siteId = buildUnnamed2880(); | 18601 var arg_siteId = buildUnnamed2637(); |
18325 var arg_sortField = "foo"; | 18602 var arg_sortField = "foo"; |
18326 var arg_sortOrder = "foo"; | 18603 var arg_sortOrder = "foo"; |
18327 var arg_type = "foo"; | 18604 var arg_type = "foo"; |
18328 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18605 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
18329 var path = (req.url).path; | 18606 var path = (req.url).path; |
18330 var pathOffset = 0; | 18607 var pathOffset = 0; |
18331 var index; | 18608 var index; |
18332 var subPart; | 18609 var subPart; |
18333 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18610 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
18334 pathOffset += 1; | 18611 pathOffset += 1; |
18335 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 18612 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
18336 pathOffset += 18; | 18613 pathOffset += 18; |
18337 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18614 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
18338 pathOffset += 13; | 18615 pathOffset += 13; |
18339 index = path.indexOf("/projects/", pathOffset); | 18616 index = path.indexOf("/projects/", pathOffset); |
18340 unittest.expect(index >= 0, unittest.isTrue); | 18617 unittest.expect(index >= 0, unittest.isTrue); |
18341 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18618 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
18342 pathOffset = index; | 18619 pathOffset = index; |
18343 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18620 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
18344 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); | 18621 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); |
18345 pathOffset += 10; | 18622 pathOffset += 10; |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
18400 var arg_profileId = "foo"; | 18677 var arg_profileId = "foo"; |
18401 var arg_campaignId = "foo"; | 18678 var arg_campaignId = "foo"; |
18402 var arg_id = "foo"; | 18679 var arg_id = "foo"; |
18403 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18680 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
18404 var path = (req.url).path; | 18681 var path = (req.url).path; |
18405 var pathOffset = 0; | 18682 var pathOffset = 0; |
18406 var index; | 18683 var index; |
18407 var subPart; | 18684 var subPart; |
18408 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18685 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
18409 pathOffset += 1; | 18686 pathOffset += 1; |
18410 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 18687 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
18411 pathOffset += 18; | 18688 pathOffset += 18; |
18412 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18689 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
18413 pathOffset += 13; | 18690 pathOffset += 13; |
18414 index = path.indexOf("/campaigns/", pathOffset); | 18691 index = path.indexOf("/campaigns/", pathOffset); |
18415 unittest.expect(index >= 0, unittest.isTrue); | 18692 unittest.expect(index >= 0, unittest.isTrue); |
18416 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18693 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
18417 pathOffset = index; | 18694 pathOffset = index; |
18418 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18695 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
18419 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); | 18696 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); |
18420 pathOffset += 11; | 18697 pathOffset += 11; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
18463 var arg_profileId = "foo"; | 18740 var arg_profileId = "foo"; |
18464 var arg_campaignId = "foo"; | 18741 var arg_campaignId = "foo"; |
18465 var arg_id = "foo"; | 18742 var arg_id = "foo"; |
18466 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18743 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
18467 var path = (req.url).path; | 18744 var path = (req.url).path; |
18468 var pathOffset = 0; | 18745 var pathOffset = 0; |
18469 var index; | 18746 var index; |
18470 var subPart; | 18747 var subPart; |
18471 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18748 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
18472 pathOffset += 1; | 18749 pathOffset += 1; |
18473 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 18750 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
18474 pathOffset += 18; | 18751 pathOffset += 18; |
18475 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18752 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
18476 pathOffset += 13; | 18753 pathOffset += 13; |
18477 index = path.indexOf("/campaigns/", pathOffset); | 18754 index = path.indexOf("/campaigns/", pathOffset); |
18478 unittest.expect(index >= 0, unittest.isTrue); | 18755 unittest.expect(index >= 0, unittest.isTrue); |
18479 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18756 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
18480 pathOffset = index; | 18757 pathOffset = index; |
18481 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18758 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
18482 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); | 18759 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); |
18483 pathOffset += 11; | 18760 pathOffset += 11; |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
18531 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18808 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
18532 var obj = new api.LandingPage.fromJson(json); | 18809 var obj = new api.LandingPage.fromJson(json); |
18533 checkLandingPage(obj); | 18810 checkLandingPage(obj); |
18534 | 18811 |
18535 var path = (req.url).path; | 18812 var path = (req.url).path; |
18536 var pathOffset = 0; | 18813 var pathOffset = 0; |
18537 var index; | 18814 var index; |
18538 var subPart; | 18815 var subPart; |
18539 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18816 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
18540 pathOffset += 1; | 18817 pathOffset += 1; |
18541 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 18818 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
18542 pathOffset += 18; | 18819 pathOffset += 18; |
18543 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18820 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
18544 pathOffset += 13; | 18821 pathOffset += 13; |
18545 index = path.indexOf("/campaigns/", pathOffset); | 18822 index = path.indexOf("/campaigns/", pathOffset); |
18546 unittest.expect(index >= 0, unittest.isTrue); | 18823 unittest.expect(index >= 0, unittest.isTrue); |
18547 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18824 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
18548 pathOffset = index; | 18825 pathOffset = index; |
18549 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18826 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
18550 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); | 18827 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); |
18551 pathOffset += 11; | 18828 pathOffset += 11; |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
18592 api.LandingPagesResourceApi res = new api.DfareportingApi(mock).landingPag
es; | 18869 api.LandingPagesResourceApi res = new api.DfareportingApi(mock).landingPag
es; |
18593 var arg_profileId = "foo"; | 18870 var arg_profileId = "foo"; |
18594 var arg_campaignId = "foo"; | 18871 var arg_campaignId = "foo"; |
18595 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18872 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
18596 var path = (req.url).path; | 18873 var path = (req.url).path; |
18597 var pathOffset = 0; | 18874 var pathOffset = 0; |
18598 var index; | 18875 var index; |
18599 var subPart; | 18876 var subPart; |
18600 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18877 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
18601 pathOffset += 1; | 18878 pathOffset += 1; |
18602 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 18879 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
18603 pathOffset += 18; | 18880 pathOffset += 18; |
18604 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18881 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
18605 pathOffset += 13; | 18882 pathOffset += 13; |
18606 index = path.indexOf("/campaigns/", pathOffset); | 18883 index = path.indexOf("/campaigns/", pathOffset); |
18607 unittest.expect(index >= 0, unittest.isTrue); | 18884 unittest.expect(index >= 0, unittest.isTrue); |
18608 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18885 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
18609 pathOffset = index; | 18886 pathOffset = index; |
18610 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18887 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
18611 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); | 18888 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); |
18612 pathOffset += 11; | 18889 pathOffset += 11; |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
18658 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 18935 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
18659 var obj = new api.LandingPage.fromJson(json); | 18936 var obj = new api.LandingPage.fromJson(json); |
18660 checkLandingPage(obj); | 18937 checkLandingPage(obj); |
18661 | 18938 |
18662 var path = (req.url).path; | 18939 var path = (req.url).path; |
18663 var pathOffset = 0; | 18940 var pathOffset = 0; |
18664 var index; | 18941 var index; |
18665 var subPart; | 18942 var subPart; |
18666 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 18943 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
18667 pathOffset += 1; | 18944 pathOffset += 1; |
18668 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 18945 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
18669 pathOffset += 18; | 18946 pathOffset += 18; |
18670 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 18947 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
18671 pathOffset += 13; | 18948 pathOffset += 13; |
18672 index = path.indexOf("/campaigns/", pathOffset); | 18949 index = path.indexOf("/campaigns/", pathOffset); |
18673 unittest.expect(index >= 0, unittest.isTrue); | 18950 unittest.expect(index >= 0, unittest.isTrue); |
18674 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 18951 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
18675 pathOffset = index; | 18952 pathOffset = index; |
18676 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 18953 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
18677 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); | 18954 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); |
18678 pathOffset += 11; | 18955 pathOffset += 11; |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
18724 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19001 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
18725 var obj = new api.LandingPage.fromJson(json); | 19002 var obj = new api.LandingPage.fromJson(json); |
18726 checkLandingPage(obj); | 19003 checkLandingPage(obj); |
18727 | 19004 |
18728 var path = (req.url).path; | 19005 var path = (req.url).path; |
18729 var pathOffset = 0; | 19006 var pathOffset = 0; |
18730 var index; | 19007 var index; |
18731 var subPart; | 19008 var subPart; |
18732 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19009 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
18733 pathOffset += 1; | 19010 pathOffset += 1; |
18734 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 19011 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
18735 pathOffset += 18; | 19012 pathOffset += 18; |
18736 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19013 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
18737 pathOffset += 13; | 19014 pathOffset += 13; |
18738 index = path.indexOf("/campaigns/", pathOffset); | 19015 index = path.indexOf("/campaigns/", pathOffset); |
18739 unittest.expect(index >= 0, unittest.isTrue); | 19016 unittest.expect(index >= 0, unittest.isTrue); |
18740 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19017 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
18741 pathOffset = index; | 19018 pathOffset = index; |
18742 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19019 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
18743 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); | 19020 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/campaigns/")); |
18744 pathOffset += 11; | 19021 pathOffset += 11; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
18788 var mock = new HttpServerMock(); | 19065 var mock = new HttpServerMock(); |
18789 api.LanguagesResourceApi res = new api.DfareportingApi(mock).languages; | 19066 api.LanguagesResourceApi res = new api.DfareportingApi(mock).languages; |
18790 var arg_profileId = "foo"; | 19067 var arg_profileId = "foo"; |
18791 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19068 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
18792 var path = (req.url).path; | 19069 var path = (req.url).path; |
18793 var pathOffset = 0; | 19070 var pathOffset = 0; |
18794 var index; | 19071 var index; |
18795 var subPart; | 19072 var subPart; |
18796 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19073 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
18797 pathOffset += 1; | 19074 pathOffset += 1; |
18798 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 19075 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
18799 pathOffset += 18; | 19076 pathOffset += 18; |
18800 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19077 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
18801 pathOffset += 13; | 19078 pathOffset += 13; |
18802 index = path.indexOf("/languages", pathOffset); | 19079 index = path.indexOf("/languages", pathOffset); |
18803 unittest.expect(index >= 0, unittest.isTrue); | 19080 unittest.expect(index >= 0, unittest.isTrue); |
18804 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19081 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
18805 pathOffset = index; | 19082 pathOffset = index; |
18806 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19083 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
18807 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/languages")); | 19084 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/languages")); |
18808 pathOffset += 10; | 19085 pathOffset += 10; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
18845 var mock = new HttpServerMock(); | 19122 var mock = new HttpServerMock(); |
18846 api.MetrosResourceApi res = new api.DfareportingApi(mock).metros; | 19123 api.MetrosResourceApi res = new api.DfareportingApi(mock).metros; |
18847 var arg_profileId = "foo"; | 19124 var arg_profileId = "foo"; |
18848 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19125 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
18849 var path = (req.url).path; | 19126 var path = (req.url).path; |
18850 var pathOffset = 0; | 19127 var pathOffset = 0; |
18851 var index; | 19128 var index; |
18852 var subPart; | 19129 var subPart; |
18853 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19130 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
18854 pathOffset += 1; | 19131 pathOffset += 1; |
18855 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 19132 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
18856 pathOffset += 18; | 19133 pathOffset += 18; |
18857 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19134 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
18858 pathOffset += 13; | 19135 pathOffset += 13; |
18859 index = path.indexOf("/metros", pathOffset); | 19136 index = path.indexOf("/metros", pathOffset); |
18860 unittest.expect(index >= 0, unittest.isTrue); | 19137 unittest.expect(index >= 0, unittest.isTrue); |
18861 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19138 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
18862 pathOffset = index; | 19139 pathOffset = index; |
18863 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19140 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
18864 unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equ
als("/metros")); | 19141 unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equ
als("/metros")); |
18865 pathOffset += 7; | 19142 pathOffset += 7; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
18903 api.MobileCarriersResourceApi res = new api.DfareportingApi(mock).mobileCa
rriers; | 19180 api.MobileCarriersResourceApi res = new api.DfareportingApi(mock).mobileCa
rriers; |
18904 var arg_profileId = "foo"; | 19181 var arg_profileId = "foo"; |
18905 var arg_id = "foo"; | 19182 var arg_id = "foo"; |
18906 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19183 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
18907 var path = (req.url).path; | 19184 var path = (req.url).path; |
18908 var pathOffset = 0; | 19185 var pathOffset = 0; |
18909 var index; | 19186 var index; |
18910 var subPart; | 19187 var subPart; |
18911 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19188 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
18912 pathOffset += 1; | 19189 pathOffset += 1; |
18913 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 19190 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
18914 pathOffset += 18; | 19191 pathOffset += 18; |
18915 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19192 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
18916 pathOffset += 13; | 19193 pathOffset += 13; |
18917 index = path.indexOf("/mobileCarriers/", pathOffset); | 19194 index = path.indexOf("/mobileCarriers/", pathOffset); |
18918 unittest.expect(index >= 0, unittest.isTrue); | 19195 unittest.expect(index >= 0, unittest.isTrue); |
18919 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19196 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
18920 pathOffset = index; | 19197 pathOffset = index; |
18921 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19198 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
18922 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/mobileCarriers/")); | 19199 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/mobileCarriers/")); |
18923 pathOffset += 16; | 19200 pathOffset += 16; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
18959 var mock = new HttpServerMock(); | 19236 var mock = new HttpServerMock(); |
18960 api.MobileCarriersResourceApi res = new api.DfareportingApi(mock).mobileCa
rriers; | 19237 api.MobileCarriersResourceApi res = new api.DfareportingApi(mock).mobileCa
rriers; |
18961 var arg_profileId = "foo"; | 19238 var arg_profileId = "foo"; |
18962 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19239 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
18963 var path = (req.url).path; | 19240 var path = (req.url).path; |
18964 var pathOffset = 0; | 19241 var pathOffset = 0; |
18965 var index; | 19242 var index; |
18966 var subPart; | 19243 var subPart; |
18967 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19244 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
18968 pathOffset += 1; | 19245 pathOffset += 1; |
18969 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 19246 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
18970 pathOffset += 18; | 19247 pathOffset += 18; |
18971 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19248 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
18972 pathOffset += 13; | 19249 pathOffset += 13; |
18973 index = path.indexOf("/mobileCarriers", pathOffset); | 19250 index = path.indexOf("/mobileCarriers", pathOffset); |
18974 unittest.expect(index >= 0, unittest.isTrue); | 19251 unittest.expect(index >= 0, unittest.isTrue); |
18975 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19252 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
18976 pathOffset = index; | 19253 pathOffset = index; |
18977 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19254 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
18978 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/mobileCarriers")); | 19255 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/mobileCarriers")); |
18979 pathOffset += 15; | 19256 pathOffset += 15; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
19017 api.OperatingSystemVersionsResourceApi res = new api.DfareportingApi(mock)
.operatingSystemVersions; | 19294 api.OperatingSystemVersionsResourceApi res = new api.DfareportingApi(mock)
.operatingSystemVersions; |
19018 var arg_profileId = "foo"; | 19295 var arg_profileId = "foo"; |
19019 var arg_id = "foo"; | 19296 var arg_id = "foo"; |
19020 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19297 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
19021 var path = (req.url).path; | 19298 var path = (req.url).path; |
19022 var pathOffset = 0; | 19299 var pathOffset = 0; |
19023 var index; | 19300 var index; |
19024 var subPart; | 19301 var subPart; |
19025 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19302 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
19026 pathOffset += 1; | 19303 pathOffset += 1; |
19027 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 19304 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
19028 pathOffset += 18; | 19305 pathOffset += 18; |
19029 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19306 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
19030 pathOffset += 13; | 19307 pathOffset += 13; |
19031 index = path.indexOf("/operatingSystemVersions/", pathOffset); | 19308 index = path.indexOf("/operatingSystemVersions/", pathOffset); |
19032 unittest.expect(index >= 0, unittest.isTrue); | 19309 unittest.expect(index >= 0, unittest.isTrue); |
19033 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19310 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
19034 pathOffset = index; | 19311 pathOffset = index; |
19035 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19312 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
19036 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/operatingSystemVersions/")); | 19313 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/operatingSystemVersions/")); |
19037 pathOffset += 25; | 19314 pathOffset += 25; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
19073 var mock = new HttpServerMock(); | 19350 var mock = new HttpServerMock(); |
19074 api.OperatingSystemVersionsResourceApi res = new api.DfareportingApi(mock)
.operatingSystemVersions; | 19351 api.OperatingSystemVersionsResourceApi res = new api.DfareportingApi(mock)
.operatingSystemVersions; |
19075 var arg_profileId = "foo"; | 19352 var arg_profileId = "foo"; |
19076 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19353 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
19077 var path = (req.url).path; | 19354 var path = (req.url).path; |
19078 var pathOffset = 0; | 19355 var pathOffset = 0; |
19079 var index; | 19356 var index; |
19080 var subPart; | 19357 var subPart; |
19081 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19358 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
19082 pathOffset += 1; | 19359 pathOffset += 1; |
19083 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 19360 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
19084 pathOffset += 18; | 19361 pathOffset += 18; |
19085 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19362 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
19086 pathOffset += 13; | 19363 pathOffset += 13; |
19087 index = path.indexOf("/operatingSystemVersions", pathOffset); | 19364 index = path.indexOf("/operatingSystemVersions", pathOffset); |
19088 unittest.expect(index >= 0, unittest.isTrue); | 19365 unittest.expect(index >= 0, unittest.isTrue); |
19089 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19366 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
19090 pathOffset = index; | 19367 pathOffset = index; |
19091 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19368 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
19092 unittest.expect(path.substring(pathOffset, pathOffset + 24), unittest.eq
uals("/operatingSystemVersions")); | 19369 unittest.expect(path.substring(pathOffset, pathOffset + 24), unittest.eq
uals("/operatingSystemVersions")); |
19093 pathOffset += 24; | 19370 pathOffset += 24; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
19131 api.OperatingSystemsResourceApi res = new api.DfareportingApi(mock).operat
ingSystems; | 19408 api.OperatingSystemsResourceApi res = new api.DfareportingApi(mock).operat
ingSystems; |
19132 var arg_profileId = "foo"; | 19409 var arg_profileId = "foo"; |
19133 var arg_dartId = "foo"; | 19410 var arg_dartId = "foo"; |
19134 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19411 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
19135 var path = (req.url).path; | 19412 var path = (req.url).path; |
19136 var pathOffset = 0; | 19413 var pathOffset = 0; |
19137 var index; | 19414 var index; |
19138 var subPart; | 19415 var subPart; |
19139 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19416 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
19140 pathOffset += 1; | 19417 pathOffset += 1; |
19141 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 19418 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
19142 pathOffset += 18; | 19419 pathOffset += 18; |
19143 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19420 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
19144 pathOffset += 13; | 19421 pathOffset += 13; |
19145 index = path.indexOf("/operatingSystems/", pathOffset); | 19422 index = path.indexOf("/operatingSystems/", pathOffset); |
19146 unittest.expect(index >= 0, unittest.isTrue); | 19423 unittest.expect(index >= 0, unittest.isTrue); |
19147 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19424 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
19148 pathOffset = index; | 19425 pathOffset = index; |
19149 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19426 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
19150 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/operatingSystems/")); | 19427 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/operatingSystems/")); |
19151 pathOffset += 18; | 19428 pathOffset += 18; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
19187 var mock = new HttpServerMock(); | 19464 var mock = new HttpServerMock(); |
19188 api.OperatingSystemsResourceApi res = new api.DfareportingApi(mock).operat
ingSystems; | 19465 api.OperatingSystemsResourceApi res = new api.DfareportingApi(mock).operat
ingSystems; |
19189 var arg_profileId = "foo"; | 19466 var arg_profileId = "foo"; |
19190 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19467 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
19191 var path = (req.url).path; | 19468 var path = (req.url).path; |
19192 var pathOffset = 0; | 19469 var pathOffset = 0; |
19193 var index; | 19470 var index; |
19194 var subPart; | 19471 var subPart; |
19195 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19472 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
19196 pathOffset += 1; | 19473 pathOffset += 1; |
19197 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 19474 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
19198 pathOffset += 18; | 19475 pathOffset += 18; |
19199 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19476 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
19200 pathOffset += 13; | 19477 pathOffset += 13; |
19201 index = path.indexOf("/operatingSystems", pathOffset); | 19478 index = path.indexOf("/operatingSystems", pathOffset); |
19202 unittest.expect(index >= 0, unittest.isTrue); | 19479 unittest.expect(index >= 0, unittest.isTrue); |
19203 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19480 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
19204 pathOffset = index; | 19481 pathOffset = index; |
19205 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19482 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
19206 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/operatingSystems")); | 19483 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/operatingSystems")); |
19207 pathOffset += 17; | 19484 pathOffset += 17; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
19246 var arg_profileId = "foo"; | 19523 var arg_profileId = "foo"; |
19247 var arg_projectId = "foo"; | 19524 var arg_projectId = "foo"; |
19248 var arg_id = "foo"; | 19525 var arg_id = "foo"; |
19249 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19526 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
19250 var path = (req.url).path; | 19527 var path = (req.url).path; |
19251 var pathOffset = 0; | 19528 var pathOffset = 0; |
19252 var index; | 19529 var index; |
19253 var subPart; | 19530 var subPart; |
19254 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19531 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
19255 pathOffset += 1; | 19532 pathOffset += 1; |
19256 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 19533 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
19257 pathOffset += 18; | 19534 pathOffset += 18; |
19258 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19535 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
19259 pathOffset += 13; | 19536 pathOffset += 13; |
19260 index = path.indexOf("/projects/", pathOffset); | 19537 index = path.indexOf("/projects/", pathOffset); |
19261 unittest.expect(index >= 0, unittest.isTrue); | 19538 unittest.expect(index >= 0, unittest.isTrue); |
19262 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19539 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
19263 pathOffset = index; | 19540 pathOffset = index; |
19264 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19541 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
19265 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); | 19542 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); |
19266 pathOffset += 10; | 19543 pathOffset += 10; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
19304 }))); | 19581 }))); |
19305 }); | 19582 }); |
19306 | 19583 |
19307 unittest.test("method--list", () { | 19584 unittest.test("method--list", () { |
19308 | 19585 |
19309 var mock = new HttpServerMock(); | 19586 var mock = new HttpServerMock(); |
19310 api.OrderDocumentsResourceApi res = new api.DfareportingApi(mock).orderDoc
uments; | 19587 api.OrderDocumentsResourceApi res = new api.DfareportingApi(mock).orderDoc
uments; |
19311 var arg_profileId = "foo"; | 19588 var arg_profileId = "foo"; |
19312 var arg_projectId = "foo"; | 19589 var arg_projectId = "foo"; |
19313 var arg_approved = true; | 19590 var arg_approved = true; |
19314 var arg_ids = buildUnnamed2881(); | 19591 var arg_ids = buildUnnamed2638(); |
19315 var arg_maxResults = 42; | 19592 var arg_maxResults = 42; |
19316 var arg_orderId = buildUnnamed2882(); | 19593 var arg_orderId = buildUnnamed2639(); |
19317 var arg_pageToken = "foo"; | 19594 var arg_pageToken = "foo"; |
19318 var arg_searchString = "foo"; | 19595 var arg_searchString = "foo"; |
19319 var arg_siteId = buildUnnamed2883(); | 19596 var arg_siteId = buildUnnamed2640(); |
19320 var arg_sortField = "foo"; | 19597 var arg_sortField = "foo"; |
19321 var arg_sortOrder = "foo"; | 19598 var arg_sortOrder = "foo"; |
19322 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19599 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
19323 var path = (req.url).path; | 19600 var path = (req.url).path; |
19324 var pathOffset = 0; | 19601 var pathOffset = 0; |
19325 var index; | 19602 var index; |
19326 var subPart; | 19603 var subPart; |
19327 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19604 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
19328 pathOffset += 1; | 19605 pathOffset += 1; |
19329 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 19606 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
19330 pathOffset += 18; | 19607 pathOffset += 18; |
19331 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19608 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
19332 pathOffset += 13; | 19609 pathOffset += 13; |
19333 index = path.indexOf("/projects/", pathOffset); | 19610 index = path.indexOf("/projects/", pathOffset); |
19334 unittest.expect(index >= 0, unittest.isTrue); | 19611 unittest.expect(index >= 0, unittest.isTrue); |
19335 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19612 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
19336 pathOffset = index; | 19613 pathOffset = index; |
19337 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19614 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
19338 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); | 19615 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); |
19339 pathOffset += 10; | 19616 pathOffset += 10; |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
19394 var arg_profileId = "foo"; | 19671 var arg_profileId = "foo"; |
19395 var arg_projectId = "foo"; | 19672 var arg_projectId = "foo"; |
19396 var arg_id = "foo"; | 19673 var arg_id = "foo"; |
19397 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19674 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
19398 var path = (req.url).path; | 19675 var path = (req.url).path; |
19399 var pathOffset = 0; | 19676 var pathOffset = 0; |
19400 var index; | 19677 var index; |
19401 var subPart; | 19678 var subPart; |
19402 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19679 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
19403 pathOffset += 1; | 19680 pathOffset += 1; |
19404 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 19681 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
19405 pathOffset += 18; | 19682 pathOffset += 18; |
19406 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19683 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
19407 pathOffset += 13; | 19684 pathOffset += 13; |
19408 index = path.indexOf("/projects/", pathOffset); | 19685 index = path.indexOf("/projects/", pathOffset); |
19409 unittest.expect(index >= 0, unittest.isTrue); | 19686 unittest.expect(index >= 0, unittest.isTrue); |
19410 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19687 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
19411 pathOffset = index; | 19688 pathOffset = index; |
19412 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19689 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
19413 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); | 19690 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); |
19414 pathOffset += 10; | 19691 pathOffset += 10; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
19451 checkOrder(response); | 19728 checkOrder(response); |
19452 }))); | 19729 }))); |
19453 }); | 19730 }); |
19454 | 19731 |
19455 unittest.test("method--list", () { | 19732 unittest.test("method--list", () { |
19456 | 19733 |
19457 var mock = new HttpServerMock(); | 19734 var mock = new HttpServerMock(); |
19458 api.OrdersResourceApi res = new api.DfareportingApi(mock).orders; | 19735 api.OrdersResourceApi res = new api.DfareportingApi(mock).orders; |
19459 var arg_profileId = "foo"; | 19736 var arg_profileId = "foo"; |
19460 var arg_projectId = "foo"; | 19737 var arg_projectId = "foo"; |
19461 var arg_ids = buildUnnamed2884(); | 19738 var arg_ids = buildUnnamed2641(); |
19462 var arg_maxResults = 42; | 19739 var arg_maxResults = 42; |
19463 var arg_pageToken = "foo"; | 19740 var arg_pageToken = "foo"; |
19464 var arg_searchString = "foo"; | 19741 var arg_searchString = "foo"; |
19465 var arg_siteId = buildUnnamed2885(); | 19742 var arg_siteId = buildUnnamed2642(); |
19466 var arg_sortField = "foo"; | 19743 var arg_sortField = "foo"; |
19467 var arg_sortOrder = "foo"; | 19744 var arg_sortOrder = "foo"; |
19468 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19745 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
19469 var path = (req.url).path; | 19746 var path = (req.url).path; |
19470 var pathOffset = 0; | 19747 var pathOffset = 0; |
19471 var index; | 19748 var index; |
19472 var subPart; | 19749 var subPart; |
19473 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19750 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
19474 pathOffset += 1; | 19751 pathOffset += 1; |
19475 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 19752 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
19476 pathOffset += 18; | 19753 pathOffset += 18; |
19477 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19754 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
19478 pathOffset += 13; | 19755 pathOffset += 13; |
19479 index = path.indexOf("/projects/", pathOffset); | 19756 index = path.indexOf("/projects/", pathOffset); |
19480 unittest.expect(index >= 0, unittest.isTrue); | 19757 unittest.expect(index >= 0, unittest.isTrue); |
19481 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19758 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
19482 pathOffset = index; | 19759 pathOffset = index; |
19483 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19760 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
19484 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); | 19761 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); |
19485 pathOffset += 10; | 19762 pathOffset += 10; |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
19537 api.PlacementGroupsResourceApi res = new api.DfareportingApi(mock).placeme
ntGroups; | 19814 api.PlacementGroupsResourceApi res = new api.DfareportingApi(mock).placeme
ntGroups; |
19538 var arg_profileId = "foo"; | 19815 var arg_profileId = "foo"; |
19539 var arg_id = "foo"; | 19816 var arg_id = "foo"; |
19540 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19817 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
19541 var path = (req.url).path; | 19818 var path = (req.url).path; |
19542 var pathOffset = 0; | 19819 var pathOffset = 0; |
19543 var index; | 19820 var index; |
19544 var subPart; | 19821 var subPart; |
19545 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19822 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
19546 pathOffset += 1; | 19823 pathOffset += 1; |
19547 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 19824 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
19548 pathOffset += 18; | 19825 pathOffset += 18; |
19549 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19826 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
19550 pathOffset += 13; | 19827 pathOffset += 13; |
19551 index = path.indexOf("/placementGroups/", pathOffset); | 19828 index = path.indexOf("/placementGroups/", pathOffset); |
19552 unittest.expect(index >= 0, unittest.isTrue); | 19829 unittest.expect(index >= 0, unittest.isTrue); |
19553 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19830 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
19554 pathOffset = index; | 19831 pathOffset = index; |
19555 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19832 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
19556 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/placementGroups/")); | 19833 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/placementGroups/")); |
19557 pathOffset += 17; | 19834 pathOffset += 17; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
19597 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19874 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
19598 var obj = new api.PlacementGroup.fromJson(json); | 19875 var obj = new api.PlacementGroup.fromJson(json); |
19599 checkPlacementGroup(obj); | 19876 checkPlacementGroup(obj); |
19600 | 19877 |
19601 var path = (req.url).path; | 19878 var path = (req.url).path; |
19602 var pathOffset = 0; | 19879 var pathOffset = 0; |
19603 var index; | 19880 var index; |
19604 var subPart; | 19881 var subPart; |
19605 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19882 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
19606 pathOffset += 1; | 19883 pathOffset += 1; |
19607 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 19884 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
19608 pathOffset += 18; | 19885 pathOffset += 18; |
19609 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19886 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
19610 pathOffset += 13; | 19887 pathOffset += 13; |
19611 index = path.indexOf("/placementGroups", pathOffset); | 19888 index = path.indexOf("/placementGroups", pathOffset); |
19612 unittest.expect(index >= 0, unittest.isTrue); | 19889 unittest.expect(index >= 0, unittest.isTrue); |
19613 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19890 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
19614 pathOffset = index; | 19891 pathOffset = index; |
19615 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19892 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
19616 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/placementGroups")); | 19893 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/placementGroups")); |
19617 pathOffset += 16; | 19894 pathOffset += 16; |
(...skipping 25 matching lines...) Expand all Loading... |
19643 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Pla
cementGroup response) { | 19920 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Pla
cementGroup response) { |
19644 checkPlacementGroup(response); | 19921 checkPlacementGroup(response); |
19645 }))); | 19922 }))); |
19646 }); | 19923 }); |
19647 | 19924 |
19648 unittest.test("method--list", () { | 19925 unittest.test("method--list", () { |
19649 | 19926 |
19650 var mock = new HttpServerMock(); | 19927 var mock = new HttpServerMock(); |
19651 api.PlacementGroupsResourceApi res = new api.DfareportingApi(mock).placeme
ntGroups; | 19928 api.PlacementGroupsResourceApi res = new api.DfareportingApi(mock).placeme
ntGroups; |
19652 var arg_profileId = "foo"; | 19929 var arg_profileId = "foo"; |
19653 var arg_advertiserIds = buildUnnamed2886(); | 19930 var arg_advertiserIds = buildUnnamed2643(); |
19654 var arg_archived = true; | 19931 var arg_archived = true; |
19655 var arg_campaignIds = buildUnnamed2887(); | 19932 var arg_campaignIds = buildUnnamed2644(); |
19656 var arg_contentCategoryIds = buildUnnamed2888(); | 19933 var arg_contentCategoryIds = buildUnnamed2645(); |
19657 var arg_directorySiteIds = buildUnnamed2889(); | 19934 var arg_directorySiteIds = buildUnnamed2646(); |
19658 var arg_ids = buildUnnamed2890(); | 19935 var arg_ids = buildUnnamed2647(); |
19659 var arg_maxEndDate = "foo"; | 19936 var arg_maxEndDate = "foo"; |
19660 var arg_maxResults = 42; | 19937 var arg_maxResults = 42; |
19661 var arg_maxStartDate = "foo"; | 19938 var arg_maxStartDate = "foo"; |
19662 var arg_minEndDate = "foo"; | 19939 var arg_minEndDate = "foo"; |
19663 var arg_minStartDate = "foo"; | 19940 var arg_minStartDate = "foo"; |
19664 var arg_pageToken = "foo"; | 19941 var arg_pageToken = "foo"; |
19665 var arg_placementGroupType = "foo"; | 19942 var arg_placementGroupType = "foo"; |
19666 var arg_placementStrategyIds = buildUnnamed2891(); | 19943 var arg_placementStrategyIds = buildUnnamed2648(); |
19667 var arg_pricingTypes = buildUnnamed2892(); | 19944 var arg_pricingTypes = buildUnnamed2649(); |
19668 var arg_searchString = "foo"; | 19945 var arg_searchString = "foo"; |
19669 var arg_siteIds = buildUnnamed2893(); | 19946 var arg_siteIds = buildUnnamed2650(); |
19670 var arg_sortField = "foo"; | 19947 var arg_sortField = "foo"; |
19671 var arg_sortOrder = "foo"; | 19948 var arg_sortOrder = "foo"; |
19672 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 19949 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
19673 var path = (req.url).path; | 19950 var path = (req.url).path; |
19674 var pathOffset = 0; | 19951 var pathOffset = 0; |
19675 var index; | 19952 var index; |
19676 var subPart; | 19953 var subPart; |
19677 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 19954 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
19678 pathOffset += 1; | 19955 pathOffset += 1; |
19679 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 19956 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
19680 pathOffset += 18; | 19957 pathOffset += 18; |
19681 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 19958 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
19682 pathOffset += 13; | 19959 pathOffset += 13; |
19683 index = path.indexOf("/placementGroups", pathOffset); | 19960 index = path.indexOf("/placementGroups", pathOffset); |
19684 unittest.expect(index >= 0, unittest.isTrue); | 19961 unittest.expect(index >= 0, unittest.isTrue); |
19685 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 19962 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
19686 pathOffset = index; | 19963 pathOffset = index; |
19687 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 19964 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
19688 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/placementGroups")); | 19965 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/placementGroups")); |
19689 pathOffset += 16; | 19966 pathOffset += 16; |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
19746 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20023 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
19747 var obj = new api.PlacementGroup.fromJson(json); | 20024 var obj = new api.PlacementGroup.fromJson(json); |
19748 checkPlacementGroup(obj); | 20025 checkPlacementGroup(obj); |
19749 | 20026 |
19750 var path = (req.url).path; | 20027 var path = (req.url).path; |
19751 var pathOffset = 0; | 20028 var pathOffset = 0; |
19752 var index; | 20029 var index; |
19753 var subPart; | 20030 var subPart; |
19754 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20031 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
19755 pathOffset += 1; | 20032 pathOffset += 1; |
19756 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 20033 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
19757 pathOffset += 18; | 20034 pathOffset += 18; |
19758 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20035 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
19759 pathOffset += 13; | 20036 pathOffset += 13; |
19760 index = path.indexOf("/placementGroups", pathOffset); | 20037 index = path.indexOf("/placementGroups", pathOffset); |
19761 unittest.expect(index >= 0, unittest.isTrue); | 20038 unittest.expect(index >= 0, unittest.isTrue); |
19762 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20039 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
19763 pathOffset = index; | 20040 pathOffset = index; |
19764 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20041 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
19765 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/placementGroups")); | 20042 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/placementGroups")); |
19766 pathOffset += 16; | 20043 pathOffset += 16; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
19804 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20081 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
19805 var obj = new api.PlacementGroup.fromJson(json); | 20082 var obj = new api.PlacementGroup.fromJson(json); |
19806 checkPlacementGroup(obj); | 20083 checkPlacementGroup(obj); |
19807 | 20084 |
19808 var path = (req.url).path; | 20085 var path = (req.url).path; |
19809 var pathOffset = 0; | 20086 var pathOffset = 0; |
19810 var index; | 20087 var index; |
19811 var subPart; | 20088 var subPart; |
19812 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20089 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
19813 pathOffset += 1; | 20090 pathOffset += 1; |
19814 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 20091 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
19815 pathOffset += 18; | 20092 pathOffset += 18; |
19816 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20093 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
19817 pathOffset += 13; | 20094 pathOffset += 13; |
19818 index = path.indexOf("/placementGroups", pathOffset); | 20095 index = path.indexOf("/placementGroups", pathOffset); |
19819 unittest.expect(index >= 0, unittest.isTrue); | 20096 unittest.expect(index >= 0, unittest.isTrue); |
19820 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20097 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
19821 pathOffset = index; | 20098 pathOffset = index; |
19822 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20099 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
19823 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/placementGroups")); | 20100 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("/placementGroups")); |
19824 pathOffset += 16; | 20101 pathOffset += 16; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
19862 api.PlacementStrategiesResourceApi res = new api.DfareportingApi(mock).pla
cementStrategies; | 20139 api.PlacementStrategiesResourceApi res = new api.DfareportingApi(mock).pla
cementStrategies; |
19863 var arg_profileId = "foo"; | 20140 var arg_profileId = "foo"; |
19864 var arg_id = "foo"; | 20141 var arg_id = "foo"; |
19865 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20142 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
19866 var path = (req.url).path; | 20143 var path = (req.url).path; |
19867 var pathOffset = 0; | 20144 var pathOffset = 0; |
19868 var index; | 20145 var index; |
19869 var subPart; | 20146 var subPart; |
19870 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20147 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
19871 pathOffset += 1; | 20148 pathOffset += 1; |
19872 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 20149 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
19873 pathOffset += 18; | 20150 pathOffset += 18; |
19874 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20151 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
19875 pathOffset += 13; | 20152 pathOffset += 13; |
19876 index = path.indexOf("/placementStrategies/", pathOffset); | 20153 index = path.indexOf("/placementStrategies/", pathOffset); |
19877 unittest.expect(index >= 0, unittest.isTrue); | 20154 unittest.expect(index >= 0, unittest.isTrue); |
19878 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20155 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
19879 pathOffset = index; | 20156 pathOffset = index; |
19880 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20157 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
19881 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/placementStrategies/")); | 20158 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/placementStrategies/")); |
19882 pathOffset += 21; | 20159 pathOffset += 21; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
19917 api.PlacementStrategiesResourceApi res = new api.DfareportingApi(mock).pla
cementStrategies; | 20194 api.PlacementStrategiesResourceApi res = new api.DfareportingApi(mock).pla
cementStrategies; |
19918 var arg_profileId = "foo"; | 20195 var arg_profileId = "foo"; |
19919 var arg_id = "foo"; | 20196 var arg_id = "foo"; |
19920 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20197 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
19921 var path = (req.url).path; | 20198 var path = (req.url).path; |
19922 var pathOffset = 0; | 20199 var pathOffset = 0; |
19923 var index; | 20200 var index; |
19924 var subPart; | 20201 var subPart; |
19925 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20202 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
19926 pathOffset += 1; | 20203 pathOffset += 1; |
19927 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 20204 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
19928 pathOffset += 18; | 20205 pathOffset += 18; |
19929 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20206 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
19930 pathOffset += 13; | 20207 pathOffset += 13; |
19931 index = path.indexOf("/placementStrategies/", pathOffset); | 20208 index = path.indexOf("/placementStrategies/", pathOffset); |
19932 unittest.expect(index >= 0, unittest.isTrue); | 20209 unittest.expect(index >= 0, unittest.isTrue); |
19933 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20210 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
19934 pathOffset = index; | 20211 pathOffset = index; |
19935 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20212 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
19936 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/placementStrategies/")); | 20213 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/placementStrategies/")); |
19937 pathOffset += 21; | 20214 pathOffset += 21; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
19977 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20254 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
19978 var obj = new api.PlacementStrategy.fromJson(json); | 20255 var obj = new api.PlacementStrategy.fromJson(json); |
19979 checkPlacementStrategy(obj); | 20256 checkPlacementStrategy(obj); |
19980 | 20257 |
19981 var path = (req.url).path; | 20258 var path = (req.url).path; |
19982 var pathOffset = 0; | 20259 var pathOffset = 0; |
19983 var index; | 20260 var index; |
19984 var subPart; | 20261 var subPart; |
19985 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20262 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
19986 pathOffset += 1; | 20263 pathOffset += 1; |
19987 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 20264 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
19988 pathOffset += 18; | 20265 pathOffset += 18; |
19989 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20266 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
19990 pathOffset += 13; | 20267 pathOffset += 13; |
19991 index = path.indexOf("/placementStrategies", pathOffset); | 20268 index = path.indexOf("/placementStrategies", pathOffset); |
19992 unittest.expect(index >= 0, unittest.isTrue); | 20269 unittest.expect(index >= 0, unittest.isTrue); |
19993 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20270 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
19994 pathOffset = index; | 20271 pathOffset = index; |
19995 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20272 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
19996 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/placementStrategies")); | 20273 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/placementStrategies")); |
19997 pathOffset += 20; | 20274 pathOffset += 20; |
(...skipping 25 matching lines...) Expand all Loading... |
20023 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Pla
cementStrategy response) { | 20300 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Pla
cementStrategy response) { |
20024 checkPlacementStrategy(response); | 20301 checkPlacementStrategy(response); |
20025 }))); | 20302 }))); |
20026 }); | 20303 }); |
20027 | 20304 |
20028 unittest.test("method--list", () { | 20305 unittest.test("method--list", () { |
20029 | 20306 |
20030 var mock = new HttpServerMock(); | 20307 var mock = new HttpServerMock(); |
20031 api.PlacementStrategiesResourceApi res = new api.DfareportingApi(mock).pla
cementStrategies; | 20308 api.PlacementStrategiesResourceApi res = new api.DfareportingApi(mock).pla
cementStrategies; |
20032 var arg_profileId = "foo"; | 20309 var arg_profileId = "foo"; |
20033 var arg_ids = buildUnnamed2894(); | 20310 var arg_ids = buildUnnamed2651(); |
20034 var arg_maxResults = 42; | 20311 var arg_maxResults = 42; |
20035 var arg_pageToken = "foo"; | 20312 var arg_pageToken = "foo"; |
20036 var arg_searchString = "foo"; | 20313 var arg_searchString = "foo"; |
20037 var arg_sortField = "foo"; | 20314 var arg_sortField = "foo"; |
20038 var arg_sortOrder = "foo"; | 20315 var arg_sortOrder = "foo"; |
20039 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20316 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
20040 var path = (req.url).path; | 20317 var path = (req.url).path; |
20041 var pathOffset = 0; | 20318 var pathOffset = 0; |
20042 var index; | 20319 var index; |
20043 var subPart; | 20320 var subPart; |
20044 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20321 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
20045 pathOffset += 1; | 20322 pathOffset += 1; |
20046 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 20323 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
20047 pathOffset += 18; | 20324 pathOffset += 18; |
20048 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20325 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
20049 pathOffset += 13; | 20326 pathOffset += 13; |
20050 index = path.indexOf("/placementStrategies", pathOffset); | 20327 index = path.indexOf("/placementStrategies", pathOffset); |
20051 unittest.expect(index >= 0, unittest.isTrue); | 20328 unittest.expect(index >= 0, unittest.isTrue); |
20052 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20329 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
20053 pathOffset = index; | 20330 pathOffset = index; |
20054 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20331 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
20055 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/placementStrategies")); | 20332 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/placementStrategies")); |
20056 pathOffset += 20; | 20333 pathOffset += 20; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
20100 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20377 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
20101 var obj = new api.PlacementStrategy.fromJson(json); | 20378 var obj = new api.PlacementStrategy.fromJson(json); |
20102 checkPlacementStrategy(obj); | 20379 checkPlacementStrategy(obj); |
20103 | 20380 |
20104 var path = (req.url).path; | 20381 var path = (req.url).path; |
20105 var pathOffset = 0; | 20382 var pathOffset = 0; |
20106 var index; | 20383 var index; |
20107 var subPart; | 20384 var subPart; |
20108 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20385 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
20109 pathOffset += 1; | 20386 pathOffset += 1; |
20110 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 20387 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
20111 pathOffset += 18; | 20388 pathOffset += 18; |
20112 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20389 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
20113 pathOffset += 13; | 20390 pathOffset += 13; |
20114 index = path.indexOf("/placementStrategies", pathOffset); | 20391 index = path.indexOf("/placementStrategies", pathOffset); |
20115 unittest.expect(index >= 0, unittest.isTrue); | 20392 unittest.expect(index >= 0, unittest.isTrue); |
20116 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20393 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
20117 pathOffset = index; | 20394 pathOffset = index; |
20118 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20395 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
20119 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/placementStrategies")); | 20396 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/placementStrategies")); |
20120 pathOffset += 20; | 20397 pathOffset += 20; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
20158 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20435 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
20159 var obj = new api.PlacementStrategy.fromJson(json); | 20436 var obj = new api.PlacementStrategy.fromJson(json); |
20160 checkPlacementStrategy(obj); | 20437 checkPlacementStrategy(obj); |
20161 | 20438 |
20162 var path = (req.url).path; | 20439 var path = (req.url).path; |
20163 var pathOffset = 0; | 20440 var pathOffset = 0; |
20164 var index; | 20441 var index; |
20165 var subPart; | 20442 var subPart; |
20166 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20443 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
20167 pathOffset += 1; | 20444 pathOffset += 1; |
20168 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 20445 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
20169 pathOffset += 18; | 20446 pathOffset += 18; |
20170 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20447 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
20171 pathOffset += 13; | 20448 pathOffset += 13; |
20172 index = path.indexOf("/placementStrategies", pathOffset); | 20449 index = path.indexOf("/placementStrategies", pathOffset); |
20173 unittest.expect(index >= 0, unittest.isTrue); | 20450 unittest.expect(index >= 0, unittest.isTrue); |
20174 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20451 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
20175 pathOffset = index; | 20452 pathOffset = index; |
20176 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20453 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
20177 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/placementStrategies")); | 20454 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/placementStrategies")); |
20178 pathOffset += 20; | 20455 pathOffset += 20; |
(...skipping 30 matching lines...) Expand all Loading... |
20209 }); | 20486 }); |
20210 | 20487 |
20211 | 20488 |
20212 unittest.group("resource-PlacementsResourceApi", () { | 20489 unittest.group("resource-PlacementsResourceApi", () { |
20213 unittest.test("method--generatetags", () { | 20490 unittest.test("method--generatetags", () { |
20214 | 20491 |
20215 var mock = new HttpServerMock(); | 20492 var mock = new HttpServerMock(); |
20216 api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements; | 20493 api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements; |
20217 var arg_profileId = "foo"; | 20494 var arg_profileId = "foo"; |
20218 var arg_campaignId = "foo"; | 20495 var arg_campaignId = "foo"; |
20219 var arg_placementIds = buildUnnamed2895(); | 20496 var arg_placementIds = buildUnnamed2652(); |
20220 var arg_tagFormats = buildUnnamed2896(); | 20497 var arg_tagFormats = buildUnnamed2653(); |
20221 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20498 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
20222 var path = (req.url).path; | 20499 var path = (req.url).path; |
20223 var pathOffset = 0; | 20500 var pathOffset = 0; |
20224 var index; | 20501 var index; |
20225 var subPart; | 20502 var subPart; |
20226 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20503 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
20227 pathOffset += 1; | 20504 pathOffset += 1; |
20228 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 20505 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
20229 pathOffset += 18; | 20506 pathOffset += 18; |
20230 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20507 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
20231 pathOffset += 13; | 20508 pathOffset += 13; |
20232 index = path.indexOf("/placements/generatetags", pathOffset); | 20509 index = path.indexOf("/placements/generatetags", pathOffset); |
20233 unittest.expect(index >= 0, unittest.isTrue); | 20510 unittest.expect(index >= 0, unittest.isTrue); |
20234 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20511 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
20235 pathOffset = index; | 20512 pathOffset = index; |
20236 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20513 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
20237 unittest.expect(path.substring(pathOffset, pathOffset + 24), unittest.eq
uals("/placements/generatetags")); | 20514 unittest.expect(path.substring(pathOffset, pathOffset + 24), unittest.eq
uals("/placements/generatetags")); |
20238 pathOffset += 24; | 20515 pathOffset += 24; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
20275 api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements; | 20552 api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements; |
20276 var arg_profileId = "foo"; | 20553 var arg_profileId = "foo"; |
20277 var arg_id = "foo"; | 20554 var arg_id = "foo"; |
20278 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20555 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
20279 var path = (req.url).path; | 20556 var path = (req.url).path; |
20280 var pathOffset = 0; | 20557 var pathOffset = 0; |
20281 var index; | 20558 var index; |
20282 var subPart; | 20559 var subPart; |
20283 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20560 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
20284 pathOffset += 1; | 20561 pathOffset += 1; |
20285 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 20562 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
20286 pathOffset += 18; | 20563 pathOffset += 18; |
20287 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20564 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
20288 pathOffset += 13; | 20565 pathOffset += 13; |
20289 index = path.indexOf("/placements/", pathOffset); | 20566 index = path.indexOf("/placements/", pathOffset); |
20290 unittest.expect(index >= 0, unittest.isTrue); | 20567 unittest.expect(index >= 0, unittest.isTrue); |
20291 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20568 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
20292 pathOffset = index; | 20569 pathOffset = index; |
20293 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20570 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
20294 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/placements/")); | 20571 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/placements/")); |
20295 pathOffset += 12; | 20572 pathOffset += 12; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
20335 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20612 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
20336 var obj = new api.Placement.fromJson(json); | 20613 var obj = new api.Placement.fromJson(json); |
20337 checkPlacement(obj); | 20614 checkPlacement(obj); |
20338 | 20615 |
20339 var path = (req.url).path; | 20616 var path = (req.url).path; |
20340 var pathOffset = 0; | 20617 var pathOffset = 0; |
20341 var index; | 20618 var index; |
20342 var subPart; | 20619 var subPart; |
20343 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20620 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
20344 pathOffset += 1; | 20621 pathOffset += 1; |
20345 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 20622 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
20346 pathOffset += 18; | 20623 pathOffset += 18; |
20347 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20624 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
20348 pathOffset += 13; | 20625 pathOffset += 13; |
20349 index = path.indexOf("/placements", pathOffset); | 20626 index = path.indexOf("/placements", pathOffset); |
20350 unittest.expect(index >= 0, unittest.isTrue); | 20627 unittest.expect(index >= 0, unittest.isTrue); |
20351 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20628 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
20352 pathOffset = index; | 20629 pathOffset = index; |
20353 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20630 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
20354 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/placements")); | 20631 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/placements")); |
20355 pathOffset += 11; | 20632 pathOffset += 11; |
(...skipping 25 matching lines...) Expand all Loading... |
20381 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Pla
cement response) { | 20658 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Pla
cement response) { |
20382 checkPlacement(response); | 20659 checkPlacement(response); |
20383 }))); | 20660 }))); |
20384 }); | 20661 }); |
20385 | 20662 |
20386 unittest.test("method--list", () { | 20663 unittest.test("method--list", () { |
20387 | 20664 |
20388 var mock = new HttpServerMock(); | 20665 var mock = new HttpServerMock(); |
20389 api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements; | 20666 api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements; |
20390 var arg_profileId = "foo"; | 20667 var arg_profileId = "foo"; |
20391 var arg_advertiserIds = buildUnnamed2897(); | 20668 var arg_advertiserIds = buildUnnamed2654(); |
20392 var arg_archived = true; | 20669 var arg_archived = true; |
20393 var arg_campaignIds = buildUnnamed2898(); | 20670 var arg_campaignIds = buildUnnamed2655(); |
20394 var arg_compatibilities = buildUnnamed2899(); | 20671 var arg_compatibilities = buildUnnamed2656(); |
20395 var arg_contentCategoryIds = buildUnnamed2900(); | 20672 var arg_contentCategoryIds = buildUnnamed2657(); |
20396 var arg_directorySiteIds = buildUnnamed2901(); | 20673 var arg_directorySiteIds = buildUnnamed2658(); |
20397 var arg_groupIds = buildUnnamed2902(); | 20674 var arg_groupIds = buildUnnamed2659(); |
20398 var arg_ids = buildUnnamed2903(); | 20675 var arg_ids = buildUnnamed2660(); |
20399 var arg_maxEndDate = "foo"; | 20676 var arg_maxEndDate = "foo"; |
20400 var arg_maxResults = 42; | 20677 var arg_maxResults = 42; |
20401 var arg_maxStartDate = "foo"; | 20678 var arg_maxStartDate = "foo"; |
20402 var arg_minEndDate = "foo"; | 20679 var arg_minEndDate = "foo"; |
20403 var arg_minStartDate = "foo"; | 20680 var arg_minStartDate = "foo"; |
20404 var arg_pageToken = "foo"; | 20681 var arg_pageToken = "foo"; |
20405 var arg_paymentSource = "foo"; | 20682 var arg_paymentSource = "foo"; |
20406 var arg_placementStrategyIds = buildUnnamed2904(); | 20683 var arg_placementStrategyIds = buildUnnamed2661(); |
20407 var arg_pricingTypes = buildUnnamed2905(); | 20684 var arg_pricingTypes = buildUnnamed2662(); |
20408 var arg_searchString = "foo"; | 20685 var arg_searchString = "foo"; |
20409 var arg_siteIds = buildUnnamed2906(); | 20686 var arg_siteIds = buildUnnamed2663(); |
20410 var arg_sizeIds = buildUnnamed2907(); | 20687 var arg_sizeIds = buildUnnamed2664(); |
20411 var arg_sortField = "foo"; | 20688 var arg_sortField = "foo"; |
20412 var arg_sortOrder = "foo"; | 20689 var arg_sortOrder = "foo"; |
20413 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20690 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
20414 var path = (req.url).path; | 20691 var path = (req.url).path; |
20415 var pathOffset = 0; | 20692 var pathOffset = 0; |
20416 var index; | 20693 var index; |
20417 var subPart; | 20694 var subPart; |
20418 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20695 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
20419 pathOffset += 1; | 20696 pathOffset += 1; |
20420 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 20697 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
20421 pathOffset += 18; | 20698 pathOffset += 18; |
20422 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20699 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
20423 pathOffset += 13; | 20700 pathOffset += 13; |
20424 index = path.indexOf("/placements", pathOffset); | 20701 index = path.indexOf("/placements", pathOffset); |
20425 unittest.expect(index >= 0, unittest.isTrue); | 20702 unittest.expect(index >= 0, unittest.isTrue); |
20426 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20703 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
20427 pathOffset = index; | 20704 pathOffset = index; |
20428 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20705 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
20429 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/placements")); | 20706 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/placements")); |
20430 pathOffset += 11; | 20707 pathOffset += 11; |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
20490 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20767 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
20491 var obj = new api.Placement.fromJson(json); | 20768 var obj = new api.Placement.fromJson(json); |
20492 checkPlacement(obj); | 20769 checkPlacement(obj); |
20493 | 20770 |
20494 var path = (req.url).path; | 20771 var path = (req.url).path; |
20495 var pathOffset = 0; | 20772 var pathOffset = 0; |
20496 var index; | 20773 var index; |
20497 var subPart; | 20774 var subPart; |
20498 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20775 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
20499 pathOffset += 1; | 20776 pathOffset += 1; |
20500 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 20777 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
20501 pathOffset += 18; | 20778 pathOffset += 18; |
20502 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20779 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
20503 pathOffset += 13; | 20780 pathOffset += 13; |
20504 index = path.indexOf("/placements", pathOffset); | 20781 index = path.indexOf("/placements", pathOffset); |
20505 unittest.expect(index >= 0, unittest.isTrue); | 20782 unittest.expect(index >= 0, unittest.isTrue); |
20506 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20783 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
20507 pathOffset = index; | 20784 pathOffset = index; |
20508 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20785 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
20509 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/placements")); | 20786 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/placements")); |
20510 pathOffset += 11; | 20787 pathOffset += 11; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
20548 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20825 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
20549 var obj = new api.Placement.fromJson(json); | 20826 var obj = new api.Placement.fromJson(json); |
20550 checkPlacement(obj); | 20827 checkPlacement(obj); |
20551 | 20828 |
20552 var path = (req.url).path; | 20829 var path = (req.url).path; |
20553 var pathOffset = 0; | 20830 var pathOffset = 0; |
20554 var index; | 20831 var index; |
20555 var subPart; | 20832 var subPart; |
20556 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20833 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
20557 pathOffset += 1; | 20834 pathOffset += 1; |
20558 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 20835 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
20559 pathOffset += 18; | 20836 pathOffset += 18; |
20560 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20837 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
20561 pathOffset += 13; | 20838 pathOffset += 13; |
20562 index = path.indexOf("/placements", pathOffset); | 20839 index = path.indexOf("/placements", pathOffset); |
20563 unittest.expect(index >= 0, unittest.isTrue); | 20840 unittest.expect(index >= 0, unittest.isTrue); |
20564 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20841 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
20565 pathOffset = index; | 20842 pathOffset = index; |
20566 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20843 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
20567 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/placements")); | 20844 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/placements")); |
20568 pathOffset += 11; | 20845 pathOffset += 11; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
20606 api.PlatformTypesResourceApi res = new api.DfareportingApi(mock).platformT
ypes; | 20883 api.PlatformTypesResourceApi res = new api.DfareportingApi(mock).platformT
ypes; |
20607 var arg_profileId = "foo"; | 20884 var arg_profileId = "foo"; |
20608 var arg_id = "foo"; | 20885 var arg_id = "foo"; |
20609 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20886 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
20610 var path = (req.url).path; | 20887 var path = (req.url).path; |
20611 var pathOffset = 0; | 20888 var pathOffset = 0; |
20612 var index; | 20889 var index; |
20613 var subPart; | 20890 var subPart; |
20614 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20891 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
20615 pathOffset += 1; | 20892 pathOffset += 1; |
20616 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 20893 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
20617 pathOffset += 18; | 20894 pathOffset += 18; |
20618 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20895 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
20619 pathOffset += 13; | 20896 pathOffset += 13; |
20620 index = path.indexOf("/platformTypes/", pathOffset); | 20897 index = path.indexOf("/platformTypes/", pathOffset); |
20621 unittest.expect(index >= 0, unittest.isTrue); | 20898 unittest.expect(index >= 0, unittest.isTrue); |
20622 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20899 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
20623 pathOffset = index; | 20900 pathOffset = index; |
20624 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20901 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
20625 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/platformTypes/")); | 20902 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("/platformTypes/")); |
20626 pathOffset += 15; | 20903 pathOffset += 15; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
20662 var mock = new HttpServerMock(); | 20939 var mock = new HttpServerMock(); |
20663 api.PlatformTypesResourceApi res = new api.DfareportingApi(mock).platformT
ypes; | 20940 api.PlatformTypesResourceApi res = new api.DfareportingApi(mock).platformT
ypes; |
20664 var arg_profileId = "foo"; | 20941 var arg_profileId = "foo"; |
20665 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 20942 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
20666 var path = (req.url).path; | 20943 var path = (req.url).path; |
20667 var pathOffset = 0; | 20944 var pathOffset = 0; |
20668 var index; | 20945 var index; |
20669 var subPart; | 20946 var subPart; |
20670 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 20947 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
20671 pathOffset += 1; | 20948 pathOffset += 1; |
20672 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 20949 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
20673 pathOffset += 18; | 20950 pathOffset += 18; |
20674 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 20951 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
20675 pathOffset += 13; | 20952 pathOffset += 13; |
20676 index = path.indexOf("/platformTypes", pathOffset); | 20953 index = path.indexOf("/platformTypes", pathOffset); |
20677 unittest.expect(index >= 0, unittest.isTrue); | 20954 unittest.expect(index >= 0, unittest.isTrue); |
20678 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 20955 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
20679 pathOffset = index; | 20956 pathOffset = index; |
20680 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 20957 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
20681 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq
uals("/platformTypes")); | 20958 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq
uals("/platformTypes")); |
20682 pathOffset += 14; | 20959 pathOffset += 14; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
20720 api.PostalCodesResourceApi res = new api.DfareportingApi(mock).postalCodes
; | 20997 api.PostalCodesResourceApi res = new api.DfareportingApi(mock).postalCodes
; |
20721 var arg_profileId = "foo"; | 20998 var arg_profileId = "foo"; |
20722 var arg_code = "foo"; | 20999 var arg_code = "foo"; |
20723 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21000 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
20724 var path = (req.url).path; | 21001 var path = (req.url).path; |
20725 var pathOffset = 0; | 21002 var pathOffset = 0; |
20726 var index; | 21003 var index; |
20727 var subPart; | 21004 var subPart; |
20728 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21005 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
20729 pathOffset += 1; | 21006 pathOffset += 1; |
20730 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 21007 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
20731 pathOffset += 18; | 21008 pathOffset += 18; |
20732 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21009 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
20733 pathOffset += 13; | 21010 pathOffset += 13; |
20734 index = path.indexOf("/postalCodes/", pathOffset); | 21011 index = path.indexOf("/postalCodes/", pathOffset); |
20735 unittest.expect(index >= 0, unittest.isTrue); | 21012 unittest.expect(index >= 0, unittest.isTrue); |
20736 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21013 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
20737 pathOffset = index; | 21014 pathOffset = index; |
20738 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21015 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
20739 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("/postalCodes/")); | 21016 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("/postalCodes/")); |
20740 pathOffset += 13; | 21017 pathOffset += 13; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
20776 var mock = new HttpServerMock(); | 21053 var mock = new HttpServerMock(); |
20777 api.PostalCodesResourceApi res = new api.DfareportingApi(mock).postalCodes
; | 21054 api.PostalCodesResourceApi res = new api.DfareportingApi(mock).postalCodes
; |
20778 var arg_profileId = "foo"; | 21055 var arg_profileId = "foo"; |
20779 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21056 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
20780 var path = (req.url).path; | 21057 var path = (req.url).path; |
20781 var pathOffset = 0; | 21058 var pathOffset = 0; |
20782 var index; | 21059 var index; |
20783 var subPart; | 21060 var subPart; |
20784 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21061 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
20785 pathOffset += 1; | 21062 pathOffset += 1; |
20786 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 21063 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
20787 pathOffset += 18; | 21064 pathOffset += 18; |
20788 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21065 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
20789 pathOffset += 13; | 21066 pathOffset += 13; |
20790 index = path.indexOf("/postalCodes", pathOffset); | 21067 index = path.indexOf("/postalCodes", pathOffset); |
20791 unittest.expect(index >= 0, unittest.isTrue); | 21068 unittest.expect(index >= 0, unittest.isTrue); |
20792 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21069 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
20793 pathOffset = index; | 21070 pathOffset = index; |
20794 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21071 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
20795 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/postalCodes")); | 21072 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/postalCodes")); |
20796 pathOffset += 12; | 21073 pathOffset += 12; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
20834 api.ProjectsResourceApi res = new api.DfareportingApi(mock).projects; | 21111 api.ProjectsResourceApi res = new api.DfareportingApi(mock).projects; |
20835 var arg_profileId = "foo"; | 21112 var arg_profileId = "foo"; |
20836 var arg_id = "foo"; | 21113 var arg_id = "foo"; |
20837 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21114 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
20838 var path = (req.url).path; | 21115 var path = (req.url).path; |
20839 var pathOffset = 0; | 21116 var pathOffset = 0; |
20840 var index; | 21117 var index; |
20841 var subPart; | 21118 var subPart; |
20842 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21119 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
20843 pathOffset += 1; | 21120 pathOffset += 1; |
20844 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 21121 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
20845 pathOffset += 18; | 21122 pathOffset += 18; |
20846 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21123 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
20847 pathOffset += 13; | 21124 pathOffset += 13; |
20848 index = path.indexOf("/projects/", pathOffset); | 21125 index = path.indexOf("/projects/", pathOffset); |
20849 unittest.expect(index >= 0, unittest.isTrue); | 21126 unittest.expect(index >= 0, unittest.isTrue); |
20850 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21127 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
20851 pathOffset = index; | 21128 pathOffset = index; |
20852 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21129 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
20853 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); | 21130 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/projects/")); |
20854 pathOffset += 10; | 21131 pathOffset += 10; |
(...skipping 28 matching lines...) Expand all Loading... |
20883 res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.Project res
ponse) { | 21160 res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.Project res
ponse) { |
20884 checkProject(response); | 21161 checkProject(response); |
20885 }))); | 21162 }))); |
20886 }); | 21163 }); |
20887 | 21164 |
20888 unittest.test("method--list", () { | 21165 unittest.test("method--list", () { |
20889 | 21166 |
20890 var mock = new HttpServerMock(); | 21167 var mock = new HttpServerMock(); |
20891 api.ProjectsResourceApi res = new api.DfareportingApi(mock).projects; | 21168 api.ProjectsResourceApi res = new api.DfareportingApi(mock).projects; |
20892 var arg_profileId = "foo"; | 21169 var arg_profileId = "foo"; |
20893 var arg_advertiserIds = buildUnnamed2908(); | 21170 var arg_advertiserIds = buildUnnamed2665(); |
20894 var arg_ids = buildUnnamed2909(); | 21171 var arg_ids = buildUnnamed2666(); |
20895 var arg_maxResults = 42; | 21172 var arg_maxResults = 42; |
20896 var arg_pageToken = "foo"; | 21173 var arg_pageToken = "foo"; |
20897 var arg_searchString = "foo"; | 21174 var arg_searchString = "foo"; |
20898 var arg_sortField = "foo"; | 21175 var arg_sortField = "foo"; |
20899 var arg_sortOrder = "foo"; | 21176 var arg_sortOrder = "foo"; |
20900 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21177 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
20901 var path = (req.url).path; | 21178 var path = (req.url).path; |
20902 var pathOffset = 0; | 21179 var pathOffset = 0; |
20903 var index; | 21180 var index; |
20904 var subPart; | 21181 var subPart; |
20905 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21182 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
20906 pathOffset += 1; | 21183 pathOffset += 1; |
20907 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 21184 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
20908 pathOffset += 18; | 21185 pathOffset += 18; |
20909 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21186 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
20910 pathOffset += 13; | 21187 pathOffset += 13; |
20911 index = path.indexOf("/projects", pathOffset); | 21188 index = path.indexOf("/projects", pathOffset); |
20912 unittest.expect(index >= 0, unittest.isTrue); | 21189 unittest.expect(index >= 0, unittest.isTrue); |
20913 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21190 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
20914 pathOffset = index; | 21191 pathOffset = index; |
20915 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21192 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
20916 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/projects")); | 21193 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/projects")); |
20917 pathOffset += 9; | 21194 pathOffset += 9; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
20961 var mock = new HttpServerMock(); | 21238 var mock = new HttpServerMock(); |
20962 api.RegionsResourceApi res = new api.DfareportingApi(mock).regions; | 21239 api.RegionsResourceApi res = new api.DfareportingApi(mock).regions; |
20963 var arg_profileId = "foo"; | 21240 var arg_profileId = "foo"; |
20964 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21241 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
20965 var path = (req.url).path; | 21242 var path = (req.url).path; |
20966 var pathOffset = 0; | 21243 var pathOffset = 0; |
20967 var index; | 21244 var index; |
20968 var subPart; | 21245 var subPart; |
20969 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21246 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
20970 pathOffset += 1; | 21247 pathOffset += 1; |
20971 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 21248 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
20972 pathOffset += 18; | 21249 pathOffset += 18; |
20973 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21250 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
20974 pathOffset += 13; | 21251 pathOffset += 13; |
20975 index = path.indexOf("/regions", pathOffset); | 21252 index = path.indexOf("/regions", pathOffset); |
20976 unittest.expect(index >= 0, unittest.isTrue); | 21253 unittest.expect(index >= 0, unittest.isTrue); |
20977 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21254 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
20978 pathOffset = index; | 21255 pathOffset = index; |
20979 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21256 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
20980 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("/regions")); | 21257 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("/regions")); |
20981 pathOffset += 8; | 21258 pathOffset += 8; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
21019 api.RemarketingListSharesResourceApi res = new api.DfareportingApi(mock).r
emarketingListShares; | 21296 api.RemarketingListSharesResourceApi res = new api.DfareportingApi(mock).r
emarketingListShares; |
21020 var arg_profileId = "foo"; | 21297 var arg_profileId = "foo"; |
21021 var arg_remarketingListId = "foo"; | 21298 var arg_remarketingListId = "foo"; |
21022 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21299 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
21023 var path = (req.url).path; | 21300 var path = (req.url).path; |
21024 var pathOffset = 0; | 21301 var pathOffset = 0; |
21025 var index; | 21302 var index; |
21026 var subPart; | 21303 var subPart; |
21027 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21304 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
21028 pathOffset += 1; | 21305 pathOffset += 1; |
21029 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 21306 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
21030 pathOffset += 18; | 21307 pathOffset += 18; |
21031 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21308 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
21032 pathOffset += 13; | 21309 pathOffset += 13; |
21033 index = path.indexOf("/remarketingListShares/", pathOffset); | 21310 index = path.indexOf("/remarketingListShares/", pathOffset); |
21034 unittest.expect(index >= 0, unittest.isTrue); | 21311 unittest.expect(index >= 0, unittest.isTrue); |
21035 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21312 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
21036 pathOffset = index; | 21313 pathOffset = index; |
21037 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21314 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
21038 unittest.expect(path.substring(pathOffset, pathOffset + 23), unittest.eq
uals("/remarketingListShares/")); | 21315 unittest.expect(path.substring(pathOffset, pathOffset + 23), unittest.eq
uals("/remarketingListShares/")); |
21039 pathOffset += 23; | 21316 pathOffset += 23; |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
21080 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21357 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
21081 var obj = new api.RemarketingListShare.fromJson(json); | 21358 var obj = new api.RemarketingListShare.fromJson(json); |
21082 checkRemarketingListShare(obj); | 21359 checkRemarketingListShare(obj); |
21083 | 21360 |
21084 var path = (req.url).path; | 21361 var path = (req.url).path; |
21085 var pathOffset = 0; | 21362 var pathOffset = 0; |
21086 var index; | 21363 var index; |
21087 var subPart; | 21364 var subPart; |
21088 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21365 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
21089 pathOffset += 1; | 21366 pathOffset += 1; |
21090 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 21367 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
21091 pathOffset += 18; | 21368 pathOffset += 18; |
21092 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21369 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
21093 pathOffset += 13; | 21370 pathOffset += 13; |
21094 index = path.indexOf("/remarketingListShares", pathOffset); | 21371 index = path.indexOf("/remarketingListShares", pathOffset); |
21095 unittest.expect(index >= 0, unittest.isTrue); | 21372 unittest.expect(index >= 0, unittest.isTrue); |
21096 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21373 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
21097 pathOffset = index; | 21374 pathOffset = index; |
21098 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21375 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
21099 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("/remarketingListShares")); | 21376 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("/remarketingListShares")); |
21100 pathOffset += 22; | 21377 pathOffset += 22; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
21138 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21415 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
21139 var obj = new api.RemarketingListShare.fromJson(json); | 21416 var obj = new api.RemarketingListShare.fromJson(json); |
21140 checkRemarketingListShare(obj); | 21417 checkRemarketingListShare(obj); |
21141 | 21418 |
21142 var path = (req.url).path; | 21419 var path = (req.url).path; |
21143 var pathOffset = 0; | 21420 var pathOffset = 0; |
21144 var index; | 21421 var index; |
21145 var subPart; | 21422 var subPart; |
21146 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21423 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
21147 pathOffset += 1; | 21424 pathOffset += 1; |
21148 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 21425 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
21149 pathOffset += 18; | 21426 pathOffset += 18; |
21150 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21427 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
21151 pathOffset += 13; | 21428 pathOffset += 13; |
21152 index = path.indexOf("/remarketingListShares", pathOffset); | 21429 index = path.indexOf("/remarketingListShares", pathOffset); |
21153 unittest.expect(index >= 0, unittest.isTrue); | 21430 unittest.expect(index >= 0, unittest.isTrue); |
21154 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21431 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
21155 pathOffset = index; | 21432 pathOffset = index; |
21156 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21433 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
21157 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("/remarketingListShares")); | 21434 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("/remarketingListShares")); |
21158 pathOffset += 22; | 21435 pathOffset += 22; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
21196 api.RemarketingListsResourceApi res = new api.DfareportingApi(mock).remark
etingLists; | 21473 api.RemarketingListsResourceApi res = new api.DfareportingApi(mock).remark
etingLists; |
21197 var arg_profileId = "foo"; | 21474 var arg_profileId = "foo"; |
21198 var arg_id = "foo"; | 21475 var arg_id = "foo"; |
21199 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21476 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
21200 var path = (req.url).path; | 21477 var path = (req.url).path; |
21201 var pathOffset = 0; | 21478 var pathOffset = 0; |
21202 var index; | 21479 var index; |
21203 var subPart; | 21480 var subPart; |
21204 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21481 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
21205 pathOffset += 1; | 21482 pathOffset += 1; |
21206 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 21483 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
21207 pathOffset += 18; | 21484 pathOffset += 18; |
21208 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21485 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
21209 pathOffset += 13; | 21486 pathOffset += 13; |
21210 index = path.indexOf("/remarketingLists/", pathOffset); | 21487 index = path.indexOf("/remarketingLists/", pathOffset); |
21211 unittest.expect(index >= 0, unittest.isTrue); | 21488 unittest.expect(index >= 0, unittest.isTrue); |
21212 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21489 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
21213 pathOffset = index; | 21490 pathOffset = index; |
21214 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21491 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
21215 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/remarketingLists/")); | 21492 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/remarketingLists/")); |
21216 pathOffset += 18; | 21493 pathOffset += 18; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
21256 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21533 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
21257 var obj = new api.RemarketingList.fromJson(json); | 21534 var obj = new api.RemarketingList.fromJson(json); |
21258 checkRemarketingList(obj); | 21535 checkRemarketingList(obj); |
21259 | 21536 |
21260 var path = (req.url).path; | 21537 var path = (req.url).path; |
21261 var pathOffset = 0; | 21538 var pathOffset = 0; |
21262 var index; | 21539 var index; |
21263 var subPart; | 21540 var subPart; |
21264 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21541 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
21265 pathOffset += 1; | 21542 pathOffset += 1; |
21266 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 21543 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
21267 pathOffset += 18; | 21544 pathOffset += 18; |
21268 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21545 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
21269 pathOffset += 13; | 21546 pathOffset += 13; |
21270 index = path.indexOf("/remarketingLists", pathOffset); | 21547 index = path.indexOf("/remarketingLists", pathOffset); |
21271 unittest.expect(index >= 0, unittest.isTrue); | 21548 unittest.expect(index >= 0, unittest.isTrue); |
21272 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21549 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
21273 pathOffset = index; | 21550 pathOffset = index; |
21274 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21551 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
21275 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/remarketingLists")); | 21552 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/remarketingLists")); |
21276 pathOffset += 17; | 21553 pathOffset += 17; |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
21317 var arg_pageToken = "foo"; | 21594 var arg_pageToken = "foo"; |
21318 var arg_sortField = "foo"; | 21595 var arg_sortField = "foo"; |
21319 var arg_sortOrder = "foo"; | 21596 var arg_sortOrder = "foo"; |
21320 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21597 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
21321 var path = (req.url).path; | 21598 var path = (req.url).path; |
21322 var pathOffset = 0; | 21599 var pathOffset = 0; |
21323 var index; | 21600 var index; |
21324 var subPart; | 21601 var subPart; |
21325 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21602 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
21326 pathOffset += 1; | 21603 pathOffset += 1; |
21327 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 21604 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
21328 pathOffset += 18; | 21605 pathOffset += 18; |
21329 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21606 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
21330 pathOffset += 13; | 21607 pathOffset += 13; |
21331 index = path.indexOf("/remarketingLists", pathOffset); | 21608 index = path.indexOf("/remarketingLists", pathOffset); |
21332 unittest.expect(index >= 0, unittest.isTrue); | 21609 unittest.expect(index >= 0, unittest.isTrue); |
21333 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21610 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
21334 pathOffset = index; | 21611 pathOffset = index; |
21335 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21612 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
21336 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/remarketingLists")); | 21613 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/remarketingLists")); |
21337 pathOffset += 17; | 21614 pathOffset += 17; |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
21383 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21660 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
21384 var obj = new api.RemarketingList.fromJson(json); | 21661 var obj = new api.RemarketingList.fromJson(json); |
21385 checkRemarketingList(obj); | 21662 checkRemarketingList(obj); |
21386 | 21663 |
21387 var path = (req.url).path; | 21664 var path = (req.url).path; |
21388 var pathOffset = 0; | 21665 var pathOffset = 0; |
21389 var index; | 21666 var index; |
21390 var subPart; | 21667 var subPart; |
21391 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21668 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
21392 pathOffset += 1; | 21669 pathOffset += 1; |
21393 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 21670 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
21394 pathOffset += 18; | 21671 pathOffset += 18; |
21395 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21672 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
21396 pathOffset += 13; | 21673 pathOffset += 13; |
21397 index = path.indexOf("/remarketingLists", pathOffset); | 21674 index = path.indexOf("/remarketingLists", pathOffset); |
21398 unittest.expect(index >= 0, unittest.isTrue); | 21675 unittest.expect(index >= 0, unittest.isTrue); |
21399 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21676 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
21400 pathOffset = index; | 21677 pathOffset = index; |
21401 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21678 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
21402 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/remarketingLists")); | 21679 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/remarketingLists")); |
21403 pathOffset += 17; | 21680 pathOffset += 17; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
21441 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21718 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
21442 var obj = new api.RemarketingList.fromJson(json); | 21719 var obj = new api.RemarketingList.fromJson(json); |
21443 checkRemarketingList(obj); | 21720 checkRemarketingList(obj); |
21444 | 21721 |
21445 var path = (req.url).path; | 21722 var path = (req.url).path; |
21446 var pathOffset = 0; | 21723 var pathOffset = 0; |
21447 var index; | 21724 var index; |
21448 var subPart; | 21725 var subPart; |
21449 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21726 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
21450 pathOffset += 1; | 21727 pathOffset += 1; |
21451 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 21728 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
21452 pathOffset += 18; | 21729 pathOffset += 18; |
21453 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21730 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
21454 pathOffset += 13; | 21731 pathOffset += 13; |
21455 index = path.indexOf("/remarketingLists", pathOffset); | 21732 index = path.indexOf("/remarketingLists", pathOffset); |
21456 unittest.expect(index >= 0, unittest.isTrue); | 21733 unittest.expect(index >= 0, unittest.isTrue); |
21457 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21734 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
21458 pathOffset = index; | 21735 pathOffset = index; |
21459 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21736 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
21460 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/remarketingLists")); | 21737 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("/remarketingLists")); |
21461 pathOffset += 17; | 21738 pathOffset += 17; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
21499 api.ReportsResourceApi res = new api.DfareportingApi(mock).reports; | 21776 api.ReportsResourceApi res = new api.DfareportingApi(mock).reports; |
21500 var arg_profileId = "foo"; | 21777 var arg_profileId = "foo"; |
21501 var arg_reportId = "foo"; | 21778 var arg_reportId = "foo"; |
21502 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21779 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
21503 var path = (req.url).path; | 21780 var path = (req.url).path; |
21504 var pathOffset = 0; | 21781 var pathOffset = 0; |
21505 var index; | 21782 var index; |
21506 var subPart; | 21783 var subPart; |
21507 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21784 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
21508 pathOffset += 1; | 21785 pathOffset += 1; |
21509 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 21786 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
21510 pathOffset += 18; | 21787 pathOffset += 18; |
21511 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21788 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
21512 pathOffset += 13; | 21789 pathOffset += 13; |
21513 index = path.indexOf("/reports/", pathOffset); | 21790 index = path.indexOf("/reports/", pathOffset); |
21514 unittest.expect(index >= 0, unittest.isTrue); | 21791 unittest.expect(index >= 0, unittest.isTrue); |
21515 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21792 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
21516 pathOffset = index; | 21793 pathOffset = index; |
21517 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21794 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
21518 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); | 21795 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); |
21519 pathOffset += 9; | 21796 pathOffset += 9; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
21554 api.ReportsResourceApi res = new api.DfareportingApi(mock).reports; | 21831 api.ReportsResourceApi res = new api.DfareportingApi(mock).reports; |
21555 var arg_profileId = "foo"; | 21832 var arg_profileId = "foo"; |
21556 var arg_reportId = "foo"; | 21833 var arg_reportId = "foo"; |
21557 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21834 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
21558 var path = (req.url).path; | 21835 var path = (req.url).path; |
21559 var pathOffset = 0; | 21836 var pathOffset = 0; |
21560 var index; | 21837 var index; |
21561 var subPart; | 21838 var subPart; |
21562 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21839 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
21563 pathOffset += 1; | 21840 pathOffset += 1; |
21564 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 21841 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
21565 pathOffset += 18; | 21842 pathOffset += 18; |
21566 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21843 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
21567 pathOffset += 13; | 21844 pathOffset += 13; |
21568 index = path.indexOf("/reports/", pathOffset); | 21845 index = path.indexOf("/reports/", pathOffset); |
21569 unittest.expect(index >= 0, unittest.isTrue); | 21846 unittest.expect(index >= 0, unittest.isTrue); |
21570 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21847 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
21571 pathOffset = index; | 21848 pathOffset = index; |
21572 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21849 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
21573 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); | 21850 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); |
21574 pathOffset += 9; | 21851 pathOffset += 9; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
21614 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21891 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
21615 var obj = new api.Report.fromJson(json); | 21892 var obj = new api.Report.fromJson(json); |
21616 checkReport(obj); | 21893 checkReport(obj); |
21617 | 21894 |
21618 var path = (req.url).path; | 21895 var path = (req.url).path; |
21619 var pathOffset = 0; | 21896 var pathOffset = 0; |
21620 var index; | 21897 var index; |
21621 var subPart; | 21898 var subPart; |
21622 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21899 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
21623 pathOffset += 1; | 21900 pathOffset += 1; |
21624 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 21901 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
21625 pathOffset += 18; | 21902 pathOffset += 18; |
21626 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21903 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
21627 pathOffset += 13; | 21904 pathOffset += 13; |
21628 index = path.indexOf("/reports", pathOffset); | 21905 index = path.indexOf("/reports", pathOffset); |
21629 unittest.expect(index >= 0, unittest.isTrue); | 21906 unittest.expect(index >= 0, unittest.isTrue); |
21630 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21907 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
21631 pathOffset = index; | 21908 pathOffset = index; |
21632 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21909 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
21633 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("/reports")); | 21910 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("/reports")); |
21634 pathOffset += 8; | 21911 pathOffset += 8; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
21672 var arg_scope = "foo"; | 21949 var arg_scope = "foo"; |
21673 var arg_sortField = "foo"; | 21950 var arg_sortField = "foo"; |
21674 var arg_sortOrder = "foo"; | 21951 var arg_sortOrder = "foo"; |
21675 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 21952 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
21676 var path = (req.url).path; | 21953 var path = (req.url).path; |
21677 var pathOffset = 0; | 21954 var pathOffset = 0; |
21678 var index; | 21955 var index; |
21679 var subPart; | 21956 var subPart; |
21680 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 21957 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
21681 pathOffset += 1; | 21958 pathOffset += 1; |
21682 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 21959 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
21683 pathOffset += 18; | 21960 pathOffset += 18; |
21684 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 21961 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
21685 pathOffset += 13; | 21962 pathOffset += 13; |
21686 index = path.indexOf("/reports", pathOffset); | 21963 index = path.indexOf("/reports", pathOffset); |
21687 unittest.expect(index >= 0, unittest.isTrue); | 21964 unittest.expect(index >= 0, unittest.isTrue); |
21688 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 21965 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
21689 pathOffset = index; | 21966 pathOffset = index; |
21690 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 21967 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
21691 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("/reports")); | 21968 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("/reports")); |
21692 pathOffset += 8; | 21969 pathOffset += 8; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
21735 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22012 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
21736 var obj = new api.Report.fromJson(json); | 22013 var obj = new api.Report.fromJson(json); |
21737 checkReport(obj); | 22014 checkReport(obj); |
21738 | 22015 |
21739 var path = (req.url).path; | 22016 var path = (req.url).path; |
21740 var pathOffset = 0; | 22017 var pathOffset = 0; |
21741 var index; | 22018 var index; |
21742 var subPart; | 22019 var subPart; |
21743 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22020 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
21744 pathOffset += 1; | 22021 pathOffset += 1; |
21745 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 22022 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
21746 pathOffset += 18; | 22023 pathOffset += 18; |
21747 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22024 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
21748 pathOffset += 13; | 22025 pathOffset += 13; |
21749 index = path.indexOf("/reports/", pathOffset); | 22026 index = path.indexOf("/reports/", pathOffset); |
21750 unittest.expect(index >= 0, unittest.isTrue); | 22027 unittest.expect(index >= 0, unittest.isTrue); |
21751 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22028 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
21752 pathOffset = index; | 22029 pathOffset = index; |
21753 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22030 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
21754 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); | 22031 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); |
21755 pathOffset += 9; | 22032 pathOffset += 9; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
21793 var arg_profileId = "foo"; | 22070 var arg_profileId = "foo"; |
21794 var arg_reportId = "foo"; | 22071 var arg_reportId = "foo"; |
21795 var arg_synchronous = true; | 22072 var arg_synchronous = true; |
21796 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22073 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
21797 var path = (req.url).path; | 22074 var path = (req.url).path; |
21798 var pathOffset = 0; | 22075 var pathOffset = 0; |
21799 var index; | 22076 var index; |
21800 var subPart; | 22077 var subPart; |
21801 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22078 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
21802 pathOffset += 1; | 22079 pathOffset += 1; |
21803 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 22080 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
21804 pathOffset += 18; | 22081 pathOffset += 18; |
21805 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22082 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
21806 pathOffset += 13; | 22083 pathOffset += 13; |
21807 index = path.indexOf("/reports/", pathOffset); | 22084 index = path.indexOf("/reports/", pathOffset); |
21808 unittest.expect(index >= 0, unittest.isTrue); | 22085 unittest.expect(index >= 0, unittest.isTrue); |
21809 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22086 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
21810 pathOffset = index; | 22087 pathOffset = index; |
21811 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22088 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
21812 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); | 22089 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); |
21813 pathOffset += 9; | 22090 pathOffset += 9; |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
21859 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22136 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
21860 var obj = new api.Report.fromJson(json); | 22137 var obj = new api.Report.fromJson(json); |
21861 checkReport(obj); | 22138 checkReport(obj); |
21862 | 22139 |
21863 var path = (req.url).path; | 22140 var path = (req.url).path; |
21864 var pathOffset = 0; | 22141 var pathOffset = 0; |
21865 var index; | 22142 var index; |
21866 var subPart; | 22143 var subPart; |
21867 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22144 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
21868 pathOffset += 1; | 22145 pathOffset += 1; |
21869 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 22146 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
21870 pathOffset += 18; | 22147 pathOffset += 18; |
21871 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22148 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
21872 pathOffset += 13; | 22149 pathOffset += 13; |
21873 index = path.indexOf("/reports/", pathOffset); | 22150 index = path.indexOf("/reports/", pathOffset); |
21874 unittest.expect(index >= 0, unittest.isTrue); | 22151 unittest.expect(index >= 0, unittest.isTrue); |
21875 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22152 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
21876 pathOffset = index; | 22153 pathOffset = index; |
21877 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22154 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
21878 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); | 22155 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); |
21879 pathOffset += 9; | 22156 pathOffset += 9; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
21923 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22200 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
21924 var obj = new api.Report.fromJson(json); | 22201 var obj = new api.Report.fromJson(json); |
21925 checkReport(obj); | 22202 checkReport(obj); |
21926 | 22203 |
21927 var path = (req.url).path; | 22204 var path = (req.url).path; |
21928 var pathOffset = 0; | 22205 var pathOffset = 0; |
21929 var index; | 22206 var index; |
21930 var subPart; | 22207 var subPart; |
21931 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22208 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
21932 pathOffset += 1; | 22209 pathOffset += 1; |
21933 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 22210 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
21934 pathOffset += 18; | 22211 pathOffset += 18; |
21935 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22212 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
21936 pathOffset += 13; | 22213 pathOffset += 13; |
21937 index = path.indexOf("/reports/compatiblefields/query", pathOffset); | 22214 index = path.indexOf("/reports/compatiblefields/query", pathOffset); |
21938 unittest.expect(index >= 0, unittest.isTrue); | 22215 unittest.expect(index >= 0, unittest.isTrue); |
21939 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22216 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
21940 pathOffset = index; | 22217 pathOffset = index; |
21941 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22218 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
21942 unittest.expect(path.substring(pathOffset, pathOffset + 31), unittest.eq
uals("/reports/compatiblefields/query")); | 22219 unittest.expect(path.substring(pathOffset, pathOffset + 31), unittest.eq
uals("/reports/compatiblefields/query")); |
21943 pathOffset += 31; | 22220 pathOffset += 31; |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
21984 var arg_profileId = "foo"; | 22261 var arg_profileId = "foo"; |
21985 var arg_reportId = "foo"; | 22262 var arg_reportId = "foo"; |
21986 var arg_fileId = "foo"; | 22263 var arg_fileId = "foo"; |
21987 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22264 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
21988 var path = (req.url).path; | 22265 var path = (req.url).path; |
21989 var pathOffset = 0; | 22266 var pathOffset = 0; |
21990 var index; | 22267 var index; |
21991 var subPart; | 22268 var subPart; |
21992 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22269 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
21993 pathOffset += 1; | 22270 pathOffset += 1; |
21994 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 22271 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
21995 pathOffset += 18; | 22272 pathOffset += 18; |
21996 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22273 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
21997 pathOffset += 13; | 22274 pathOffset += 13; |
21998 index = path.indexOf("/reports/", pathOffset); | 22275 index = path.indexOf("/reports/", pathOffset); |
21999 unittest.expect(index >= 0, unittest.isTrue); | 22276 unittest.expect(index >= 0, unittest.isTrue); |
22000 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22277 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
22001 pathOffset = index; | 22278 pathOffset = index; |
22002 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22279 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
22003 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); | 22280 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); |
22004 pathOffset += 9; | 22281 pathOffset += 9; |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
22052 var arg_pageToken = "foo"; | 22329 var arg_pageToken = "foo"; |
22053 var arg_sortField = "foo"; | 22330 var arg_sortField = "foo"; |
22054 var arg_sortOrder = "foo"; | 22331 var arg_sortOrder = "foo"; |
22055 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22332 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
22056 var path = (req.url).path; | 22333 var path = (req.url).path; |
22057 var pathOffset = 0; | 22334 var pathOffset = 0; |
22058 var index; | 22335 var index; |
22059 var subPart; | 22336 var subPart; |
22060 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22337 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
22061 pathOffset += 1; | 22338 pathOffset += 1; |
22062 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 22339 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
22063 pathOffset += 18; | 22340 pathOffset += 18; |
22064 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22341 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
22065 pathOffset += 13; | 22342 pathOffset += 13; |
22066 index = path.indexOf("/reports/", pathOffset); | 22343 index = path.indexOf("/reports/", pathOffset); |
22067 unittest.expect(index >= 0, unittest.isTrue); | 22344 unittest.expect(index >= 0, unittest.isTrue); |
22068 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22345 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
22069 pathOffset = index; | 22346 pathOffset = index; |
22070 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22347 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
22071 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); | 22348 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("/reports/")); |
22072 pathOffset += 9; | 22349 pathOffset += 9; |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
22121 api.SitesResourceApi res = new api.DfareportingApi(mock).sites; | 22398 api.SitesResourceApi res = new api.DfareportingApi(mock).sites; |
22122 var arg_profileId = "foo"; | 22399 var arg_profileId = "foo"; |
22123 var arg_id = "foo"; | 22400 var arg_id = "foo"; |
22124 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22401 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
22125 var path = (req.url).path; | 22402 var path = (req.url).path; |
22126 var pathOffset = 0; | 22403 var pathOffset = 0; |
22127 var index; | 22404 var index; |
22128 var subPart; | 22405 var subPart; |
22129 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22406 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
22130 pathOffset += 1; | 22407 pathOffset += 1; |
22131 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 22408 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
22132 pathOffset += 18; | 22409 pathOffset += 18; |
22133 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22410 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
22134 pathOffset += 13; | 22411 pathOffset += 13; |
22135 index = path.indexOf("/sites/", pathOffset); | 22412 index = path.indexOf("/sites/", pathOffset); |
22136 unittest.expect(index >= 0, unittest.isTrue); | 22413 unittest.expect(index >= 0, unittest.isTrue); |
22137 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22414 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
22138 pathOffset = index; | 22415 pathOffset = index; |
22139 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22416 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
22140 unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equ
als("/sites/")); | 22417 unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equ
als("/sites/")); |
22141 pathOffset += 7; | 22418 pathOffset += 7; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
22181 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22458 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
22182 var obj = new api.Site.fromJson(json); | 22459 var obj = new api.Site.fromJson(json); |
22183 checkSite(obj); | 22460 checkSite(obj); |
22184 | 22461 |
22185 var path = (req.url).path; | 22462 var path = (req.url).path; |
22186 var pathOffset = 0; | 22463 var pathOffset = 0; |
22187 var index; | 22464 var index; |
22188 var subPart; | 22465 var subPart; |
22189 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22466 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
22190 pathOffset += 1; | 22467 pathOffset += 1; |
22191 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 22468 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
22192 pathOffset += 18; | 22469 pathOffset += 18; |
22193 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22470 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
22194 pathOffset += 13; | 22471 pathOffset += 13; |
22195 index = path.indexOf("/sites", pathOffset); | 22472 index = path.indexOf("/sites", pathOffset); |
22196 unittest.expect(index >= 0, unittest.isTrue); | 22473 unittest.expect(index >= 0, unittest.isTrue); |
22197 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22474 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
22198 pathOffset = index; | 22475 pathOffset = index; |
22199 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22476 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
22200 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/sites")); | 22477 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/sites")); |
22201 pathOffset += 6; | 22478 pathOffset += 6; |
(...skipping 30 matching lines...) Expand all Loading... |
22232 unittest.test("method--list", () { | 22509 unittest.test("method--list", () { |
22233 | 22510 |
22234 var mock = new HttpServerMock(); | 22511 var mock = new HttpServerMock(); |
22235 api.SitesResourceApi res = new api.DfareportingApi(mock).sites; | 22512 api.SitesResourceApi res = new api.DfareportingApi(mock).sites; |
22236 var arg_profileId = "foo"; | 22513 var arg_profileId = "foo"; |
22237 var arg_acceptsInStreamVideoPlacements = true; | 22514 var arg_acceptsInStreamVideoPlacements = true; |
22238 var arg_acceptsInterstitialPlacements = true; | 22515 var arg_acceptsInterstitialPlacements = true; |
22239 var arg_acceptsPublisherPaidPlacements = true; | 22516 var arg_acceptsPublisherPaidPlacements = true; |
22240 var arg_adWordsSite = true; | 22517 var arg_adWordsSite = true; |
22241 var arg_approved = true; | 22518 var arg_approved = true; |
22242 var arg_campaignIds = buildUnnamed2910(); | 22519 var arg_campaignIds = buildUnnamed2667(); |
22243 var arg_directorySiteIds = buildUnnamed2911(); | 22520 var arg_directorySiteIds = buildUnnamed2668(); |
22244 var arg_ids = buildUnnamed2912(); | 22521 var arg_ids = buildUnnamed2669(); |
22245 var arg_maxResults = 42; | 22522 var arg_maxResults = 42; |
22246 var arg_pageToken = "foo"; | 22523 var arg_pageToken = "foo"; |
22247 var arg_searchString = "foo"; | 22524 var arg_searchString = "foo"; |
22248 var arg_sortField = "foo"; | 22525 var arg_sortField = "foo"; |
22249 var arg_sortOrder = "foo"; | 22526 var arg_sortOrder = "foo"; |
22250 var arg_subaccountId = "foo"; | 22527 var arg_subaccountId = "foo"; |
22251 var arg_unmappedSite = true; | 22528 var arg_unmappedSite = true; |
22252 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22529 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
22253 var path = (req.url).path; | 22530 var path = (req.url).path; |
22254 var pathOffset = 0; | 22531 var pathOffset = 0; |
22255 var index; | 22532 var index; |
22256 var subPart; | 22533 var subPart; |
22257 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22534 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
22258 pathOffset += 1; | 22535 pathOffset += 1; |
22259 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 22536 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
22260 pathOffset += 18; | 22537 pathOffset += 18; |
22261 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22538 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
22262 pathOffset += 13; | 22539 pathOffset += 13; |
22263 index = path.indexOf("/sites", pathOffset); | 22540 index = path.indexOf("/sites", pathOffset); |
22264 unittest.expect(index >= 0, unittest.isTrue); | 22541 unittest.expect(index >= 0, unittest.isTrue); |
22265 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22542 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
22266 pathOffset = index; | 22543 pathOffset = index; |
22267 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22544 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
22268 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/sites")); | 22545 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/sites")); |
22269 pathOffset += 6; | 22546 pathOffset += 6; |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
22322 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22599 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
22323 var obj = new api.Site.fromJson(json); | 22600 var obj = new api.Site.fromJson(json); |
22324 checkSite(obj); | 22601 checkSite(obj); |
22325 | 22602 |
22326 var path = (req.url).path; | 22603 var path = (req.url).path; |
22327 var pathOffset = 0; | 22604 var pathOffset = 0; |
22328 var index; | 22605 var index; |
22329 var subPart; | 22606 var subPart; |
22330 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22607 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
22331 pathOffset += 1; | 22608 pathOffset += 1; |
22332 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 22609 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
22333 pathOffset += 18; | 22610 pathOffset += 18; |
22334 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22611 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
22335 pathOffset += 13; | 22612 pathOffset += 13; |
22336 index = path.indexOf("/sites", pathOffset); | 22613 index = path.indexOf("/sites", pathOffset); |
22337 unittest.expect(index >= 0, unittest.isTrue); | 22614 unittest.expect(index >= 0, unittest.isTrue); |
22338 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22615 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
22339 pathOffset = index; | 22616 pathOffset = index; |
22340 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22617 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
22341 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/sites")); | 22618 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/sites")); |
22342 pathOffset += 6; | 22619 pathOffset += 6; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
22380 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22657 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
22381 var obj = new api.Site.fromJson(json); | 22658 var obj = new api.Site.fromJson(json); |
22382 checkSite(obj); | 22659 checkSite(obj); |
22383 | 22660 |
22384 var path = (req.url).path; | 22661 var path = (req.url).path; |
22385 var pathOffset = 0; | 22662 var pathOffset = 0; |
22386 var index; | 22663 var index; |
22387 var subPart; | 22664 var subPart; |
22388 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22665 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
22389 pathOffset += 1; | 22666 pathOffset += 1; |
22390 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 22667 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
22391 pathOffset += 18; | 22668 pathOffset += 18; |
22392 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22669 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
22393 pathOffset += 13; | 22670 pathOffset += 13; |
22394 index = path.indexOf("/sites", pathOffset); | 22671 index = path.indexOf("/sites", pathOffset); |
22395 unittest.expect(index >= 0, unittest.isTrue); | 22672 unittest.expect(index >= 0, unittest.isTrue); |
22396 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22673 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
22397 pathOffset = index; | 22674 pathOffset = index; |
22398 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22675 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
22399 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/sites")); | 22676 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/sites")); |
22400 pathOffset += 6; | 22677 pathOffset += 6; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
22438 api.SizesResourceApi res = new api.DfareportingApi(mock).sizes; | 22715 api.SizesResourceApi res = new api.DfareportingApi(mock).sizes; |
22439 var arg_profileId = "foo"; | 22716 var arg_profileId = "foo"; |
22440 var arg_id = "foo"; | 22717 var arg_id = "foo"; |
22441 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22718 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
22442 var path = (req.url).path; | 22719 var path = (req.url).path; |
22443 var pathOffset = 0; | 22720 var pathOffset = 0; |
22444 var index; | 22721 var index; |
22445 var subPart; | 22722 var subPart; |
22446 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22723 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
22447 pathOffset += 1; | 22724 pathOffset += 1; |
22448 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 22725 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
22449 pathOffset += 18; | 22726 pathOffset += 18; |
22450 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22727 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
22451 pathOffset += 13; | 22728 pathOffset += 13; |
22452 index = path.indexOf("/sizes/", pathOffset); | 22729 index = path.indexOf("/sizes/", pathOffset); |
22453 unittest.expect(index >= 0, unittest.isTrue); | 22730 unittest.expect(index >= 0, unittest.isTrue); |
22454 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22731 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
22455 pathOffset = index; | 22732 pathOffset = index; |
22456 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22733 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
22457 unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equ
als("/sizes/")); | 22734 unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equ
als("/sizes/")); |
22458 pathOffset += 7; | 22735 pathOffset += 7; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
22498 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22775 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
22499 var obj = new api.Size.fromJson(json); | 22776 var obj = new api.Size.fromJson(json); |
22500 checkSize(obj); | 22777 checkSize(obj); |
22501 | 22778 |
22502 var path = (req.url).path; | 22779 var path = (req.url).path; |
22503 var pathOffset = 0; | 22780 var pathOffset = 0; |
22504 var index; | 22781 var index; |
22505 var subPart; | 22782 var subPart; |
22506 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22783 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
22507 pathOffset += 1; | 22784 pathOffset += 1; |
22508 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 22785 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
22509 pathOffset += 18; | 22786 pathOffset += 18; |
22510 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22787 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
22511 pathOffset += 13; | 22788 pathOffset += 13; |
22512 index = path.indexOf("/sizes", pathOffset); | 22789 index = path.indexOf("/sizes", pathOffset); |
22513 unittest.expect(index >= 0, unittest.isTrue); | 22790 unittest.expect(index >= 0, unittest.isTrue); |
22514 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22791 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
22515 pathOffset = index; | 22792 pathOffset = index; |
22516 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22793 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
22517 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/sizes")); | 22794 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/sizes")); |
22518 pathOffset += 6; | 22795 pathOffset += 6; |
(...skipping 27 matching lines...) Expand all Loading... |
22546 }))); | 22823 }))); |
22547 }); | 22824 }); |
22548 | 22825 |
22549 unittest.test("method--list", () { | 22826 unittest.test("method--list", () { |
22550 | 22827 |
22551 var mock = new HttpServerMock(); | 22828 var mock = new HttpServerMock(); |
22552 api.SizesResourceApi res = new api.DfareportingApi(mock).sizes; | 22829 api.SizesResourceApi res = new api.DfareportingApi(mock).sizes; |
22553 var arg_profileId = "foo"; | 22830 var arg_profileId = "foo"; |
22554 var arg_height = 42; | 22831 var arg_height = 42; |
22555 var arg_iabStandard = true; | 22832 var arg_iabStandard = true; |
22556 var arg_ids = buildUnnamed2913(); | 22833 var arg_ids = buildUnnamed2670(); |
22557 var arg_width = 42; | 22834 var arg_width = 42; |
22558 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22835 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
22559 var path = (req.url).path; | 22836 var path = (req.url).path; |
22560 var pathOffset = 0; | 22837 var pathOffset = 0; |
22561 var index; | 22838 var index; |
22562 var subPart; | 22839 var subPart; |
22563 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22840 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
22564 pathOffset += 1; | 22841 pathOffset += 1; |
22565 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 22842 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
22566 pathOffset += 18; | 22843 pathOffset += 18; |
22567 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22844 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
22568 pathOffset += 13; | 22845 pathOffset += 13; |
22569 index = path.indexOf("/sizes", pathOffset); | 22846 index = path.indexOf("/sizes", pathOffset); |
22570 unittest.expect(index >= 0, unittest.isTrue); | 22847 unittest.expect(index >= 0, unittest.isTrue); |
22571 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22848 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
22572 pathOffset = index; | 22849 pathOffset = index; |
22573 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22850 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
22574 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/sizes")); | 22851 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als("/sizes")); |
22575 pathOffset += 6; | 22852 pathOffset += 6; |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
22617 api.SubaccountsResourceApi res = new api.DfareportingApi(mock).subaccounts
; | 22894 api.SubaccountsResourceApi res = new api.DfareportingApi(mock).subaccounts
; |
22618 var arg_profileId = "foo"; | 22895 var arg_profileId = "foo"; |
22619 var arg_id = "foo"; | 22896 var arg_id = "foo"; |
22620 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22897 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
22621 var path = (req.url).path; | 22898 var path = (req.url).path; |
22622 var pathOffset = 0; | 22899 var pathOffset = 0; |
22623 var index; | 22900 var index; |
22624 var subPart; | 22901 var subPart; |
22625 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22902 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
22626 pathOffset += 1; | 22903 pathOffset += 1; |
22627 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 22904 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
22628 pathOffset += 18; | 22905 pathOffset += 18; |
22629 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22906 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
22630 pathOffset += 13; | 22907 pathOffset += 13; |
22631 index = path.indexOf("/subaccounts/", pathOffset); | 22908 index = path.indexOf("/subaccounts/", pathOffset); |
22632 unittest.expect(index >= 0, unittest.isTrue); | 22909 unittest.expect(index >= 0, unittest.isTrue); |
22633 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22910 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
22634 pathOffset = index; | 22911 pathOffset = index; |
22635 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22912 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
22636 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("/subaccounts/")); | 22913 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("/subaccounts/")); |
22637 pathOffset += 13; | 22914 pathOffset += 13; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
22677 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 22954 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
22678 var obj = new api.Subaccount.fromJson(json); | 22955 var obj = new api.Subaccount.fromJson(json); |
22679 checkSubaccount(obj); | 22956 checkSubaccount(obj); |
22680 | 22957 |
22681 var path = (req.url).path; | 22958 var path = (req.url).path; |
22682 var pathOffset = 0; | 22959 var pathOffset = 0; |
22683 var index; | 22960 var index; |
22684 var subPart; | 22961 var subPart; |
22685 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 22962 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
22686 pathOffset += 1; | 22963 pathOffset += 1; |
22687 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 22964 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
22688 pathOffset += 18; | 22965 pathOffset += 18; |
22689 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 22966 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
22690 pathOffset += 13; | 22967 pathOffset += 13; |
22691 index = path.indexOf("/subaccounts", pathOffset); | 22968 index = path.indexOf("/subaccounts", pathOffset); |
22692 unittest.expect(index >= 0, unittest.isTrue); | 22969 unittest.expect(index >= 0, unittest.isTrue); |
22693 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 22970 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
22694 pathOffset = index; | 22971 pathOffset = index; |
22695 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 22972 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
22696 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/subaccounts")); | 22973 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/subaccounts")); |
22697 pathOffset += 12; | 22974 pathOffset += 12; |
(...skipping 25 matching lines...) Expand all Loading... |
22723 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Sub
account response) { | 23000 res.insert(arg_request, arg_profileId).then(unittest.expectAsync(((api.Sub
account response) { |
22724 checkSubaccount(response); | 23001 checkSubaccount(response); |
22725 }))); | 23002 }))); |
22726 }); | 23003 }); |
22727 | 23004 |
22728 unittest.test("method--list", () { | 23005 unittest.test("method--list", () { |
22729 | 23006 |
22730 var mock = new HttpServerMock(); | 23007 var mock = new HttpServerMock(); |
22731 api.SubaccountsResourceApi res = new api.DfareportingApi(mock).subaccounts
; | 23008 api.SubaccountsResourceApi res = new api.DfareportingApi(mock).subaccounts
; |
22732 var arg_profileId = "foo"; | 23009 var arg_profileId = "foo"; |
22733 var arg_ids = buildUnnamed2914(); | 23010 var arg_ids = buildUnnamed2671(); |
22734 var arg_maxResults = 42; | 23011 var arg_maxResults = 42; |
22735 var arg_pageToken = "foo"; | 23012 var arg_pageToken = "foo"; |
22736 var arg_searchString = "foo"; | 23013 var arg_searchString = "foo"; |
22737 var arg_sortField = "foo"; | 23014 var arg_sortField = "foo"; |
22738 var arg_sortOrder = "foo"; | 23015 var arg_sortOrder = "foo"; |
22739 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 23016 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
22740 var path = (req.url).path; | 23017 var path = (req.url).path; |
22741 var pathOffset = 0; | 23018 var pathOffset = 0; |
22742 var index; | 23019 var index; |
22743 var subPart; | 23020 var subPart; |
22744 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 23021 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
22745 pathOffset += 1; | 23022 pathOffset += 1; |
22746 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 23023 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
22747 pathOffset += 18; | 23024 pathOffset += 18; |
22748 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 23025 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
22749 pathOffset += 13; | 23026 pathOffset += 13; |
22750 index = path.indexOf("/subaccounts", pathOffset); | 23027 index = path.indexOf("/subaccounts", pathOffset); |
22751 unittest.expect(index >= 0, unittest.isTrue); | 23028 unittest.expect(index >= 0, unittest.isTrue); |
22752 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 23029 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
22753 pathOffset = index; | 23030 pathOffset = index; |
22754 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 23031 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
22755 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/subaccounts")); | 23032 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/subaccounts")); |
22756 pathOffset += 12; | 23033 pathOffset += 12; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
22800 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 23077 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
22801 var obj = new api.Subaccount.fromJson(json); | 23078 var obj = new api.Subaccount.fromJson(json); |
22802 checkSubaccount(obj); | 23079 checkSubaccount(obj); |
22803 | 23080 |
22804 var path = (req.url).path; | 23081 var path = (req.url).path; |
22805 var pathOffset = 0; | 23082 var pathOffset = 0; |
22806 var index; | 23083 var index; |
22807 var subPart; | 23084 var subPart; |
22808 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 23085 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
22809 pathOffset += 1; | 23086 pathOffset += 1; |
22810 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 23087 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
22811 pathOffset += 18; | 23088 pathOffset += 18; |
22812 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 23089 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
22813 pathOffset += 13; | 23090 pathOffset += 13; |
22814 index = path.indexOf("/subaccounts", pathOffset); | 23091 index = path.indexOf("/subaccounts", pathOffset); |
22815 unittest.expect(index >= 0, unittest.isTrue); | 23092 unittest.expect(index >= 0, unittest.isTrue); |
22816 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 23093 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
22817 pathOffset = index; | 23094 pathOffset = index; |
22818 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 23095 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
22819 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/subaccounts")); | 23096 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/subaccounts")); |
22820 pathOffset += 12; | 23097 pathOffset += 12; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
22858 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 23135 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
22859 var obj = new api.Subaccount.fromJson(json); | 23136 var obj = new api.Subaccount.fromJson(json); |
22860 checkSubaccount(obj); | 23137 checkSubaccount(obj); |
22861 | 23138 |
22862 var path = (req.url).path; | 23139 var path = (req.url).path; |
22863 var pathOffset = 0; | 23140 var pathOffset = 0; |
22864 var index; | 23141 var index; |
22865 var subPart; | 23142 var subPart; |
22866 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 23143 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
22867 pathOffset += 1; | 23144 pathOffset += 1; |
22868 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 23145 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
22869 pathOffset += 18; | 23146 pathOffset += 18; |
22870 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 23147 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
22871 pathOffset += 13; | 23148 pathOffset += 13; |
22872 index = path.indexOf("/subaccounts", pathOffset); | 23149 index = path.indexOf("/subaccounts", pathOffset); |
22873 unittest.expect(index >= 0, unittest.isTrue); | 23150 unittest.expect(index >= 0, unittest.isTrue); |
22874 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 23151 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
22875 pathOffset = index; | 23152 pathOffset = index; |
22876 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 23153 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
22877 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/subaccounts")); | 23154 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("/subaccounts")); |
22878 pathOffset += 12; | 23155 pathOffset += 12; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
22916 api.TargetableRemarketingListsResourceApi res = new api.DfareportingApi(mo
ck).targetableRemarketingLists; | 23193 api.TargetableRemarketingListsResourceApi res = new api.DfareportingApi(mo
ck).targetableRemarketingLists; |
22917 var arg_profileId = "foo"; | 23194 var arg_profileId = "foo"; |
22918 var arg_id = "foo"; | 23195 var arg_id = "foo"; |
22919 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 23196 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
22920 var path = (req.url).path; | 23197 var path = (req.url).path; |
22921 var pathOffset = 0; | 23198 var pathOffset = 0; |
22922 var index; | 23199 var index; |
22923 var subPart; | 23200 var subPart; |
22924 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 23201 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
22925 pathOffset += 1; | 23202 pathOffset += 1; |
22926 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 23203 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
22927 pathOffset += 18; | 23204 pathOffset += 18; |
22928 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 23205 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
22929 pathOffset += 13; | 23206 pathOffset += 13; |
22930 index = path.indexOf("/targetableRemarketingLists/", pathOffset); | 23207 index = path.indexOf("/targetableRemarketingLists/", pathOffset); |
22931 unittest.expect(index >= 0, unittest.isTrue); | 23208 unittest.expect(index >= 0, unittest.isTrue); |
22932 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 23209 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
22933 pathOffset = index; | 23210 pathOffset = index; |
22934 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 23211 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
22935 unittest.expect(path.substring(pathOffset, pathOffset + 28), unittest.eq
uals("/targetableRemarketingLists/")); | 23212 unittest.expect(path.substring(pathOffset, pathOffset + 28), unittest.eq
uals("/targetableRemarketingLists/")); |
22936 pathOffset += 28; | 23213 pathOffset += 28; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
22979 var arg_pageToken = "foo"; | 23256 var arg_pageToken = "foo"; |
22980 var arg_sortField = "foo"; | 23257 var arg_sortField = "foo"; |
22981 var arg_sortOrder = "foo"; | 23258 var arg_sortOrder = "foo"; |
22982 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 23259 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
22983 var path = (req.url).path; | 23260 var path = (req.url).path; |
22984 var pathOffset = 0; | 23261 var pathOffset = 0; |
22985 var index; | 23262 var index; |
22986 var subPart; | 23263 var subPart; |
22987 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 23264 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
22988 pathOffset += 1; | 23265 pathOffset += 1; |
22989 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 23266 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
22990 pathOffset += 18; | 23267 pathOffset += 18; |
22991 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 23268 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
22992 pathOffset += 13; | 23269 pathOffset += 13; |
22993 index = path.indexOf("/targetableRemarketingLists", pathOffset); | 23270 index = path.indexOf("/targetableRemarketingLists", pathOffset); |
22994 unittest.expect(index >= 0, unittest.isTrue); | 23271 unittest.expect(index >= 0, unittest.isTrue); |
22995 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 23272 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
22996 pathOffset = index; | 23273 pathOffset = index; |
22997 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 23274 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
22998 unittest.expect(path.substring(pathOffset, pathOffset + 27), unittest.eq
uals("/targetableRemarketingLists")); | 23275 unittest.expect(path.substring(pathOffset, pathOffset + 27), unittest.eq
uals("/targetableRemarketingLists")); |
22999 pathOffset += 27; | 23276 pathOffset += 27; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
23044 api.TargetingTemplatesResourceApi res = new api.DfareportingApi(mock).targ
etingTemplates; | 23321 api.TargetingTemplatesResourceApi res = new api.DfareportingApi(mock).targ
etingTemplates; |
23045 var arg_profileId = "foo"; | 23322 var arg_profileId = "foo"; |
23046 var arg_id = "foo"; | 23323 var arg_id = "foo"; |
23047 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 23324 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
23048 var path = (req.url).path; | 23325 var path = (req.url).path; |
23049 var pathOffset = 0; | 23326 var pathOffset = 0; |
23050 var index; | 23327 var index; |
23051 var subPart; | 23328 var subPart; |
23052 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 23329 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
23053 pathOffset += 1; | 23330 pathOffset += 1; |
23054 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 23331 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
23055 pathOffset += 18; | 23332 pathOffset += 18; |
23056 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 23333 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
23057 pathOffset += 13; | 23334 pathOffset += 13; |
23058 index = path.indexOf("/targetingTemplates/", pathOffset); | 23335 index = path.indexOf("/targetingTemplates/", pathOffset); |
23059 unittest.expect(index >= 0, unittest.isTrue); | 23336 unittest.expect(index >= 0, unittest.isTrue); |
23060 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 23337 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
23061 pathOffset = index; | 23338 pathOffset = index; |
23062 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 23339 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
23063 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/targetingTemplates/")); | 23340 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/targetingTemplates/")); |
23064 pathOffset += 20; | 23341 pathOffset += 20; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
23104 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 23381 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
23105 var obj = new api.TargetingTemplate.fromJson(json); | 23382 var obj = new api.TargetingTemplate.fromJson(json); |
23106 checkTargetingTemplate(obj); | 23383 checkTargetingTemplate(obj); |
23107 | 23384 |
23108 var path = (req.url).path; | 23385 var path = (req.url).path; |
23109 var pathOffset = 0; | 23386 var pathOffset = 0; |
23110 var index; | 23387 var index; |
23111 var subPart; | 23388 var subPart; |
23112 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 23389 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
23113 pathOffset += 1; | 23390 pathOffset += 1; |
23114 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 23391 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
23115 pathOffset += 18; | 23392 pathOffset += 18; |
23116 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 23393 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
23117 pathOffset += 13; | 23394 pathOffset += 13; |
23118 index = path.indexOf("/targetingTemplates", pathOffset); | 23395 index = path.indexOf("/targetingTemplates", pathOffset); |
23119 unittest.expect(index >= 0, unittest.isTrue); | 23396 unittest.expect(index >= 0, unittest.isTrue); |
23120 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 23397 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
23121 pathOffset = index; | 23398 pathOffset = index; |
23122 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 23399 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
23123 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("/targetingTemplates")); | 23400 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("/targetingTemplates")); |
23124 pathOffset += 19; | 23401 pathOffset += 19; |
(...skipping 26 matching lines...) Expand all Loading... |
23151 checkTargetingTemplate(response); | 23428 checkTargetingTemplate(response); |
23152 }))); | 23429 }))); |
23153 }); | 23430 }); |
23154 | 23431 |
23155 unittest.test("method--list", () { | 23432 unittest.test("method--list", () { |
23156 | 23433 |
23157 var mock = new HttpServerMock(); | 23434 var mock = new HttpServerMock(); |
23158 api.TargetingTemplatesResourceApi res = new api.DfareportingApi(mock).targ
etingTemplates; | 23435 api.TargetingTemplatesResourceApi res = new api.DfareportingApi(mock).targ
etingTemplates; |
23159 var arg_profileId = "foo"; | 23436 var arg_profileId = "foo"; |
23160 var arg_advertiserId = "foo"; | 23437 var arg_advertiserId = "foo"; |
23161 var arg_ids = buildUnnamed2915(); | 23438 var arg_ids = buildUnnamed2672(); |
23162 var arg_maxResults = 42; | 23439 var arg_maxResults = 42; |
23163 var arg_pageToken = "foo"; | 23440 var arg_pageToken = "foo"; |
23164 var arg_searchString = "foo"; | 23441 var arg_searchString = "foo"; |
23165 var arg_sortField = "foo"; | 23442 var arg_sortField = "foo"; |
23166 var arg_sortOrder = "foo"; | 23443 var arg_sortOrder = "foo"; |
23167 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 23444 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
23168 var path = (req.url).path; | 23445 var path = (req.url).path; |
23169 var pathOffset = 0; | 23446 var pathOffset = 0; |
23170 var index; | 23447 var index; |
23171 var subPart; | 23448 var subPart; |
23172 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 23449 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
23173 pathOffset += 1; | 23450 pathOffset += 1; |
23174 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 23451 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
23175 pathOffset += 18; | 23452 pathOffset += 18; |
23176 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 23453 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
23177 pathOffset += 13; | 23454 pathOffset += 13; |
23178 index = path.indexOf("/targetingTemplates", pathOffset); | 23455 index = path.indexOf("/targetingTemplates", pathOffset); |
23179 unittest.expect(index >= 0, unittest.isTrue); | 23456 unittest.expect(index >= 0, unittest.isTrue); |
23180 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 23457 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
23181 pathOffset = index; | 23458 pathOffset = index; |
23182 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 23459 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
23183 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("/targetingTemplates")); | 23460 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("/targetingTemplates")); |
23184 pathOffset += 19; | 23461 pathOffset += 19; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
23229 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 23506 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
23230 var obj = new api.TargetingTemplate.fromJson(json); | 23507 var obj = new api.TargetingTemplate.fromJson(json); |
23231 checkTargetingTemplate(obj); | 23508 checkTargetingTemplate(obj); |
23232 | 23509 |
23233 var path = (req.url).path; | 23510 var path = (req.url).path; |
23234 var pathOffset = 0; | 23511 var pathOffset = 0; |
23235 var index; | 23512 var index; |
23236 var subPart; | 23513 var subPart; |
23237 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 23514 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
23238 pathOffset += 1; | 23515 pathOffset += 1; |
23239 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 23516 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
23240 pathOffset += 18; | 23517 pathOffset += 18; |
23241 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 23518 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
23242 pathOffset += 13; | 23519 pathOffset += 13; |
23243 index = path.indexOf("/targetingTemplates", pathOffset); | 23520 index = path.indexOf("/targetingTemplates", pathOffset); |
23244 unittest.expect(index >= 0, unittest.isTrue); | 23521 unittest.expect(index >= 0, unittest.isTrue); |
23245 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 23522 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
23246 pathOffset = index; | 23523 pathOffset = index; |
23247 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 23524 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
23248 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("/targetingTemplates")); | 23525 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("/targetingTemplates")); |
23249 pathOffset += 19; | 23526 pathOffset += 19; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
23287 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 23564 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
23288 var obj = new api.TargetingTemplate.fromJson(json); | 23565 var obj = new api.TargetingTemplate.fromJson(json); |
23289 checkTargetingTemplate(obj); | 23566 checkTargetingTemplate(obj); |
23290 | 23567 |
23291 var path = (req.url).path; | 23568 var path = (req.url).path; |
23292 var pathOffset = 0; | 23569 var pathOffset = 0; |
23293 var index; | 23570 var index; |
23294 var subPart; | 23571 var subPart; |
23295 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 23572 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
23296 pathOffset += 1; | 23573 pathOffset += 1; |
23297 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 23574 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
23298 pathOffset += 18; | 23575 pathOffset += 18; |
23299 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 23576 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
23300 pathOffset += 13; | 23577 pathOffset += 13; |
23301 index = path.indexOf("/targetingTemplates", pathOffset); | 23578 index = path.indexOf("/targetingTemplates", pathOffset); |
23302 unittest.expect(index >= 0, unittest.isTrue); | 23579 unittest.expect(index >= 0, unittest.isTrue); |
23303 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 23580 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
23304 pathOffset = index; | 23581 pathOffset = index; |
23305 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 23582 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
23306 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("/targetingTemplates")); | 23583 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq
uals("/targetingTemplates")); |
23307 pathOffset += 19; | 23584 pathOffset += 19; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
23344 var mock = new HttpServerMock(); | 23621 var mock = new HttpServerMock(); |
23345 api.UserProfilesResourceApi res = new api.DfareportingApi(mock).userProfil
es; | 23622 api.UserProfilesResourceApi res = new api.DfareportingApi(mock).userProfil
es; |
23346 var arg_profileId = "foo"; | 23623 var arg_profileId = "foo"; |
23347 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 23624 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
23348 var path = (req.url).path; | 23625 var path = (req.url).path; |
23349 var pathOffset = 0; | 23626 var pathOffset = 0; |
23350 var index; | 23627 var index; |
23351 var subPart; | 23628 var subPart; |
23352 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 23629 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
23353 pathOffset += 1; | 23630 pathOffset += 1; |
23354 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 23631 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
23355 pathOffset += 18; | 23632 pathOffset += 18; |
23356 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 23633 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
23357 pathOffset += 13; | 23634 pathOffset += 13; |
23358 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); | 23635 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); |
23359 pathOffset = path.length; | 23636 pathOffset = path.length; |
23360 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 23637 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
23361 | 23638 |
23362 var query = (req.url).query; | 23639 var query = (req.url).query; |
23363 var queryOffset = 0; | 23640 var queryOffset = 0; |
23364 var queryMap = {}; | 23641 var queryMap = {}; |
(...skipping 27 matching lines...) Expand all Loading... |
23392 | 23669 |
23393 var mock = new HttpServerMock(); | 23670 var mock = new HttpServerMock(); |
23394 api.UserProfilesResourceApi res = new api.DfareportingApi(mock).userProfil
es; | 23671 api.UserProfilesResourceApi res = new api.DfareportingApi(mock).userProfil
es; |
23395 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 23672 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
23396 var path = (req.url).path; | 23673 var path = (req.url).path; |
23397 var pathOffset = 0; | 23674 var pathOffset = 0; |
23398 var index; | 23675 var index; |
23399 var subPart; | 23676 var subPart; |
23400 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 23677 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
23401 pathOffset += 1; | 23678 pathOffset += 1; |
23402 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 23679 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
23403 pathOffset += 18; | 23680 pathOffset += 18; |
23404 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("userprofiles")); | 23681 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("userprofiles")); |
23405 pathOffset += 12; | 23682 pathOffset += 12; |
23406 | 23683 |
23407 var query = (req.url).query; | 23684 var query = (req.url).query; |
23408 var queryOffset = 0; | 23685 var queryOffset = 0; |
23409 var queryMap = {}; | 23686 var queryMap = {}; |
23410 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); | 23687 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
23411 parseBool(n) { | 23688 parseBool(n) { |
23412 if (n == "true") return true; | 23689 if (n == "true") return true; |
(...skipping 30 matching lines...) Expand all Loading... |
23443 api.UserRolePermissionGroupsResourceApi res = new api.DfareportingApi(mock
).userRolePermissionGroups; | 23720 api.UserRolePermissionGroupsResourceApi res = new api.DfareportingApi(mock
).userRolePermissionGroups; |
23444 var arg_profileId = "foo"; | 23721 var arg_profileId = "foo"; |
23445 var arg_id = "foo"; | 23722 var arg_id = "foo"; |
23446 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 23723 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
23447 var path = (req.url).path; | 23724 var path = (req.url).path; |
23448 var pathOffset = 0; | 23725 var pathOffset = 0; |
23449 var index; | 23726 var index; |
23450 var subPart; | 23727 var subPart; |
23451 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 23728 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
23452 pathOffset += 1; | 23729 pathOffset += 1; |
23453 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 23730 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
23454 pathOffset += 18; | 23731 pathOffset += 18; |
23455 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 23732 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
23456 pathOffset += 13; | 23733 pathOffset += 13; |
23457 index = path.indexOf("/userRolePermissionGroups/", pathOffset); | 23734 index = path.indexOf("/userRolePermissionGroups/", pathOffset); |
23458 unittest.expect(index >= 0, unittest.isTrue); | 23735 unittest.expect(index >= 0, unittest.isTrue); |
23459 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 23736 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
23460 pathOffset = index; | 23737 pathOffset = index; |
23461 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 23738 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
23462 unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.eq
uals("/userRolePermissionGroups/")); | 23739 unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.eq
uals("/userRolePermissionGroups/")); |
23463 pathOffset += 26; | 23740 pathOffset += 26; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
23499 var mock = new HttpServerMock(); | 23776 var mock = new HttpServerMock(); |
23500 api.UserRolePermissionGroupsResourceApi res = new api.DfareportingApi(mock
).userRolePermissionGroups; | 23777 api.UserRolePermissionGroupsResourceApi res = new api.DfareportingApi(mock
).userRolePermissionGroups; |
23501 var arg_profileId = "foo"; | 23778 var arg_profileId = "foo"; |
23502 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 23779 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
23503 var path = (req.url).path; | 23780 var path = (req.url).path; |
23504 var pathOffset = 0; | 23781 var pathOffset = 0; |
23505 var index; | 23782 var index; |
23506 var subPart; | 23783 var subPart; |
23507 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 23784 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
23508 pathOffset += 1; | 23785 pathOffset += 1; |
23509 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 23786 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
23510 pathOffset += 18; | 23787 pathOffset += 18; |
23511 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 23788 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
23512 pathOffset += 13; | 23789 pathOffset += 13; |
23513 index = path.indexOf("/userRolePermissionGroups", pathOffset); | 23790 index = path.indexOf("/userRolePermissionGroups", pathOffset); |
23514 unittest.expect(index >= 0, unittest.isTrue); | 23791 unittest.expect(index >= 0, unittest.isTrue); |
23515 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 23792 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
23516 pathOffset = index; | 23793 pathOffset = index; |
23517 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 23794 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
23518 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/userRolePermissionGroups")); | 23795 unittest.expect(path.substring(pathOffset, pathOffset + 25), unittest.eq
uals("/userRolePermissionGroups")); |
23519 pathOffset += 25; | 23796 pathOffset += 25; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
23557 api.UserRolePermissionsResourceApi res = new api.DfareportingApi(mock).use
rRolePermissions; | 23834 api.UserRolePermissionsResourceApi res = new api.DfareportingApi(mock).use
rRolePermissions; |
23558 var arg_profileId = "foo"; | 23835 var arg_profileId = "foo"; |
23559 var arg_id = "foo"; | 23836 var arg_id = "foo"; |
23560 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 23837 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
23561 var path = (req.url).path; | 23838 var path = (req.url).path; |
23562 var pathOffset = 0; | 23839 var pathOffset = 0; |
23563 var index; | 23840 var index; |
23564 var subPart; | 23841 var subPart; |
23565 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 23842 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
23566 pathOffset += 1; | 23843 pathOffset += 1; |
23567 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 23844 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
23568 pathOffset += 18; | 23845 pathOffset += 18; |
23569 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 23846 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
23570 pathOffset += 13; | 23847 pathOffset += 13; |
23571 index = path.indexOf("/userRolePermissions/", pathOffset); | 23848 index = path.indexOf("/userRolePermissions/", pathOffset); |
23572 unittest.expect(index >= 0, unittest.isTrue); | 23849 unittest.expect(index >= 0, unittest.isTrue); |
23573 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 23850 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
23574 pathOffset = index; | 23851 pathOffset = index; |
23575 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 23852 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
23576 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/userRolePermissions/")); | 23853 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq
uals("/userRolePermissions/")); |
23577 pathOffset += 21; | 23854 pathOffset += 21; |
(...skipping 28 matching lines...) Expand all Loading... |
23606 res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.UserRolePer
mission response) { | 23883 res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.UserRolePer
mission response) { |
23607 checkUserRolePermission(response); | 23884 checkUserRolePermission(response); |
23608 }))); | 23885 }))); |
23609 }); | 23886 }); |
23610 | 23887 |
23611 unittest.test("method--list", () { | 23888 unittest.test("method--list", () { |
23612 | 23889 |
23613 var mock = new HttpServerMock(); | 23890 var mock = new HttpServerMock(); |
23614 api.UserRolePermissionsResourceApi res = new api.DfareportingApi(mock).use
rRolePermissions; | 23891 api.UserRolePermissionsResourceApi res = new api.DfareportingApi(mock).use
rRolePermissions; |
23615 var arg_profileId = "foo"; | 23892 var arg_profileId = "foo"; |
23616 var arg_ids = buildUnnamed2916(); | 23893 var arg_ids = buildUnnamed2673(); |
23617 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 23894 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
23618 var path = (req.url).path; | 23895 var path = (req.url).path; |
23619 var pathOffset = 0; | 23896 var pathOffset = 0; |
23620 var index; | 23897 var index; |
23621 var subPart; | 23898 var subPart; |
23622 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 23899 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
23623 pathOffset += 1; | 23900 pathOffset += 1; |
23624 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 23901 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
23625 pathOffset += 18; | 23902 pathOffset += 18; |
23626 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 23903 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
23627 pathOffset += 13; | 23904 pathOffset += 13; |
23628 index = path.indexOf("/userRolePermissions", pathOffset); | 23905 index = path.indexOf("/userRolePermissions", pathOffset); |
23629 unittest.expect(index >= 0, unittest.isTrue); | 23906 unittest.expect(index >= 0, unittest.isTrue); |
23630 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 23907 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
23631 pathOffset = index; | 23908 pathOffset = index; |
23632 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 23909 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
23633 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/userRolePermissions")); | 23910 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("/userRolePermissions")); |
23634 pathOffset += 20; | 23911 pathOffset += 20; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
23673 api.UserRolesResourceApi res = new api.DfareportingApi(mock).userRoles; | 23950 api.UserRolesResourceApi res = new api.DfareportingApi(mock).userRoles; |
23674 var arg_profileId = "foo"; | 23951 var arg_profileId = "foo"; |
23675 var arg_id = "foo"; | 23952 var arg_id = "foo"; |
23676 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 23953 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
23677 var path = (req.url).path; | 23954 var path = (req.url).path; |
23678 var pathOffset = 0; | 23955 var pathOffset = 0; |
23679 var index; | 23956 var index; |
23680 var subPart; | 23957 var subPart; |
23681 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 23958 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
23682 pathOffset += 1; | 23959 pathOffset += 1; |
23683 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 23960 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
23684 pathOffset += 18; | 23961 pathOffset += 18; |
23685 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 23962 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
23686 pathOffset += 13; | 23963 pathOffset += 13; |
23687 index = path.indexOf("/userRoles/", pathOffset); | 23964 index = path.indexOf("/userRoles/", pathOffset); |
23688 unittest.expect(index >= 0, unittest.isTrue); | 23965 unittest.expect(index >= 0, unittest.isTrue); |
23689 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 23966 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
23690 pathOffset = index; | 23967 pathOffset = index; |
23691 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 23968 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
23692 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/userRoles/")); | 23969 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/userRoles/")); |
23693 pathOffset += 11; | 23970 pathOffset += 11; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
23728 api.UserRolesResourceApi res = new api.DfareportingApi(mock).userRoles; | 24005 api.UserRolesResourceApi res = new api.DfareportingApi(mock).userRoles; |
23729 var arg_profileId = "foo"; | 24006 var arg_profileId = "foo"; |
23730 var arg_id = "foo"; | 24007 var arg_id = "foo"; |
23731 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 24008 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
23732 var path = (req.url).path; | 24009 var path = (req.url).path; |
23733 var pathOffset = 0; | 24010 var pathOffset = 0; |
23734 var index; | 24011 var index; |
23735 var subPart; | 24012 var subPart; |
23736 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 24013 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
23737 pathOffset += 1; | 24014 pathOffset += 1; |
23738 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 24015 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
23739 pathOffset += 18; | 24016 pathOffset += 18; |
23740 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 24017 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
23741 pathOffset += 13; | 24018 pathOffset += 13; |
23742 index = path.indexOf("/userRoles/", pathOffset); | 24019 index = path.indexOf("/userRoles/", pathOffset); |
23743 unittest.expect(index >= 0, unittest.isTrue); | 24020 unittest.expect(index >= 0, unittest.isTrue); |
23744 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 24021 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
23745 pathOffset = index; | 24022 pathOffset = index; |
23746 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 24023 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
23747 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/userRoles/")); | 24024 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("/userRoles/")); |
23748 pathOffset += 11; | 24025 pathOffset += 11; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
23788 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 24065 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
23789 var obj = new api.UserRole.fromJson(json); | 24066 var obj = new api.UserRole.fromJson(json); |
23790 checkUserRole(obj); | 24067 checkUserRole(obj); |
23791 | 24068 |
23792 var path = (req.url).path; | 24069 var path = (req.url).path; |
23793 var pathOffset = 0; | 24070 var pathOffset = 0; |
23794 var index; | 24071 var index; |
23795 var subPart; | 24072 var subPart; |
23796 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 24073 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
23797 pathOffset += 1; | 24074 pathOffset += 1; |
23798 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 24075 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
23799 pathOffset += 18; | 24076 pathOffset += 18; |
23800 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 24077 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
23801 pathOffset += 13; | 24078 pathOffset += 13; |
23802 index = path.indexOf("/userRoles", pathOffset); | 24079 index = path.indexOf("/userRoles", pathOffset); |
23803 unittest.expect(index >= 0, unittest.isTrue); | 24080 unittest.expect(index >= 0, unittest.isTrue); |
23804 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 24081 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
23805 pathOffset = index; | 24082 pathOffset = index; |
23806 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 24083 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
23807 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/userRoles")); | 24084 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/userRoles")); |
23808 pathOffset += 10; | 24085 pathOffset += 10; |
(...skipping 26 matching lines...) Expand all Loading... |
23835 checkUserRole(response); | 24112 checkUserRole(response); |
23836 }))); | 24113 }))); |
23837 }); | 24114 }); |
23838 | 24115 |
23839 unittest.test("method--list", () { | 24116 unittest.test("method--list", () { |
23840 | 24117 |
23841 var mock = new HttpServerMock(); | 24118 var mock = new HttpServerMock(); |
23842 api.UserRolesResourceApi res = new api.DfareportingApi(mock).userRoles; | 24119 api.UserRolesResourceApi res = new api.DfareportingApi(mock).userRoles; |
23843 var arg_profileId = "foo"; | 24120 var arg_profileId = "foo"; |
23844 var arg_accountUserRoleOnly = true; | 24121 var arg_accountUserRoleOnly = true; |
23845 var arg_ids = buildUnnamed2917(); | 24122 var arg_ids = buildUnnamed2674(); |
23846 var arg_maxResults = 42; | 24123 var arg_maxResults = 42; |
23847 var arg_pageToken = "foo"; | 24124 var arg_pageToken = "foo"; |
23848 var arg_searchString = "foo"; | 24125 var arg_searchString = "foo"; |
23849 var arg_sortField = "foo"; | 24126 var arg_sortField = "foo"; |
23850 var arg_sortOrder = "foo"; | 24127 var arg_sortOrder = "foo"; |
23851 var arg_subaccountId = "foo"; | 24128 var arg_subaccountId = "foo"; |
23852 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 24129 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
23853 var path = (req.url).path; | 24130 var path = (req.url).path; |
23854 var pathOffset = 0; | 24131 var pathOffset = 0; |
23855 var index; | 24132 var index; |
23856 var subPart; | 24133 var subPart; |
23857 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 24134 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
23858 pathOffset += 1; | 24135 pathOffset += 1; |
23859 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 24136 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
23860 pathOffset += 18; | 24137 pathOffset += 18; |
23861 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 24138 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
23862 pathOffset += 13; | 24139 pathOffset += 13; |
23863 index = path.indexOf("/userRoles", pathOffset); | 24140 index = path.indexOf("/userRoles", pathOffset); |
23864 unittest.expect(index >= 0, unittest.isTrue); | 24141 unittest.expect(index >= 0, unittest.isTrue); |
23865 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 24142 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
23866 pathOffset = index; | 24143 pathOffset = index; |
23867 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 24144 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
23868 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/userRoles")); | 24145 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/userRoles")); |
23869 pathOffset += 10; | 24146 pathOffset += 10; |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
23915 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 24192 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
23916 var obj = new api.UserRole.fromJson(json); | 24193 var obj = new api.UserRole.fromJson(json); |
23917 checkUserRole(obj); | 24194 checkUserRole(obj); |
23918 | 24195 |
23919 var path = (req.url).path; | 24196 var path = (req.url).path; |
23920 var pathOffset = 0; | 24197 var pathOffset = 0; |
23921 var index; | 24198 var index; |
23922 var subPart; | 24199 var subPart; |
23923 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 24200 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
23924 pathOffset += 1; | 24201 pathOffset += 1; |
23925 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 24202 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
23926 pathOffset += 18; | 24203 pathOffset += 18; |
23927 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 24204 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
23928 pathOffset += 13; | 24205 pathOffset += 13; |
23929 index = path.indexOf("/userRoles", pathOffset); | 24206 index = path.indexOf("/userRoles", pathOffset); |
23930 unittest.expect(index >= 0, unittest.isTrue); | 24207 unittest.expect(index >= 0, unittest.isTrue); |
23931 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 24208 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
23932 pathOffset = index; | 24209 pathOffset = index; |
23933 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 24210 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
23934 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/userRoles")); | 24211 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/userRoles")); |
23935 pathOffset += 10; | 24212 pathOffset += 10; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
23973 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 24250 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
23974 var obj = new api.UserRole.fromJson(json); | 24251 var obj = new api.UserRole.fromJson(json); |
23975 checkUserRole(obj); | 24252 checkUserRole(obj); |
23976 | 24253 |
23977 var path = (req.url).path; | 24254 var path = (req.url).path; |
23978 var pathOffset = 0; | 24255 var pathOffset = 0; |
23979 var index; | 24256 var index; |
23980 var subPart; | 24257 var subPart; |
23981 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 24258 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
23982 pathOffset += 1; | 24259 pathOffset += 1; |
23983 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.6/")); | 24260 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
23984 pathOffset += 18; | 24261 pathOffset += 18; |
23985 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); | 24262 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
23986 pathOffset += 13; | 24263 pathOffset += 13; |
23987 index = path.indexOf("/userRoles", pathOffset); | 24264 index = path.indexOf("/userRoles", pathOffset); |
23988 unittest.expect(index >= 0, unittest.isTrue); | 24265 unittest.expect(index >= 0, unittest.isTrue); |
23989 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); | 24266 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
23990 pathOffset = index; | 24267 pathOffset = index; |
23991 unittest.expect(subPart, unittest.equals("$arg_profileId")); | 24268 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
23992 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/userRoles")); | 24269 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("/userRoles")); |
23993 pathOffset += 10; | 24270 pathOffset += 10; |
(...skipping 23 matching lines...) Expand all Loading... |
24017 return new async.Future.value(stringResponse(200, h, resp)); | 24294 return new async.Future.value(stringResponse(200, h, resp)); |
24018 }), true); | 24295 }), true); |
24019 res.update(arg_request, arg_profileId).then(unittest.expectAsync(((api.Use
rRole response) { | 24296 res.update(arg_request, arg_profileId).then(unittest.expectAsync(((api.Use
rRole response) { |
24020 checkUserRole(response); | 24297 checkUserRole(response); |
24021 }))); | 24298 }))); |
24022 }); | 24299 }); |
24023 | 24300 |
24024 }); | 24301 }); |
24025 | 24302 |
24026 | 24303 |
| 24304 unittest.group("resource-VideoFormatsResourceApi", () { |
| 24305 unittest.test("method--get", () { |
| 24306 |
| 24307 var mock = new HttpServerMock(); |
| 24308 api.VideoFormatsResourceApi res = new api.DfareportingApi(mock).videoForma
ts; |
| 24309 var arg_profileId = "foo"; |
| 24310 var arg_id = 42; |
| 24311 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 24312 var path = (req.url).path; |
| 24313 var pathOffset = 0; |
| 24314 var index; |
| 24315 var subPart; |
| 24316 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 24317 pathOffset += 1; |
| 24318 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
| 24319 pathOffset += 18; |
| 24320 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 24321 pathOffset += 13; |
| 24322 index = path.indexOf("/videoFormats/", pathOffset); |
| 24323 unittest.expect(index >= 0, unittest.isTrue); |
| 24324 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 24325 pathOffset = index; |
| 24326 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 24327 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq
uals("/videoFormats/")); |
| 24328 pathOffset += 14; |
| 24329 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); |
| 24330 pathOffset = path.length; |
| 24331 unittest.expect(subPart, unittest.equals("$arg_id")); |
| 24332 |
| 24333 var query = (req.url).query; |
| 24334 var queryOffset = 0; |
| 24335 var queryMap = {}; |
| 24336 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 24337 parseBool(n) { |
| 24338 if (n == "true") return true; |
| 24339 if (n == "false") return false; |
| 24340 if (n == null) return null; |
| 24341 throw new core.ArgumentError("Invalid boolean: $n"); |
| 24342 } |
| 24343 if (query.length > 0) { |
| 24344 for (var part in query.split("&")) { |
| 24345 var keyvalue = part.split("="); |
| 24346 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 24347 } |
| 24348 } |
| 24349 |
| 24350 |
| 24351 var h = { |
| 24352 "content-type" : "application/json; charset=utf-8", |
| 24353 }; |
| 24354 var resp = convert.JSON.encode(buildVideoFormat()); |
| 24355 return new async.Future.value(stringResponse(200, h, resp)); |
| 24356 }), true); |
| 24357 res.get(arg_profileId, arg_id).then(unittest.expectAsync(((api.VideoFormat
response) { |
| 24358 checkVideoFormat(response); |
| 24359 }))); |
| 24360 }); |
| 24361 |
| 24362 unittest.test("method--list", () { |
| 24363 |
| 24364 var mock = new HttpServerMock(); |
| 24365 api.VideoFormatsResourceApi res = new api.DfareportingApi(mock).videoForma
ts; |
| 24366 var arg_profileId = "foo"; |
| 24367 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 24368 var path = (req.url).path; |
| 24369 var pathOffset = 0; |
| 24370 var index; |
| 24371 var subPart; |
| 24372 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 24373 pathOffset += 1; |
| 24374 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("dfareporting/v2.7/")); |
| 24375 pathOffset += 18; |
| 24376 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("userprofiles/")); |
| 24377 pathOffset += 13; |
| 24378 index = path.indexOf("/videoFormats", pathOffset); |
| 24379 unittest.expect(index >= 0, unittest.isTrue); |
| 24380 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 24381 pathOffset = index; |
| 24382 unittest.expect(subPart, unittest.equals("$arg_profileId")); |
| 24383 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("/videoFormats")); |
| 24384 pathOffset += 13; |
| 24385 |
| 24386 var query = (req.url).query; |
| 24387 var queryOffset = 0; |
| 24388 var queryMap = {}; |
| 24389 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 24390 parseBool(n) { |
| 24391 if (n == "true") return true; |
| 24392 if (n == "false") return false; |
| 24393 if (n == null) return null; |
| 24394 throw new core.ArgumentError("Invalid boolean: $n"); |
| 24395 } |
| 24396 if (query.length > 0) { |
| 24397 for (var part in query.split("&")) { |
| 24398 var keyvalue = part.split("="); |
| 24399 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 24400 } |
| 24401 } |
| 24402 |
| 24403 |
| 24404 var h = { |
| 24405 "content-type" : "application/json; charset=utf-8", |
| 24406 }; |
| 24407 var resp = convert.JSON.encode(buildVideoFormatsListResponse()); |
| 24408 return new async.Future.value(stringResponse(200, h, resp)); |
| 24409 }), true); |
| 24410 res.list(arg_profileId).then(unittest.expectAsync(((api.VideoFormatsListRe
sponse response) { |
| 24411 checkVideoFormatsListResponse(response); |
| 24412 }))); |
| 24413 }); |
| 24414 |
| 24415 }); |
| 24416 |
| 24417 |
24027 } | 24418 } |
24028 | 24419 |
OLD | NEW |