Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1097)

Side by Side Diff: generated/googleapis_beta/test/adexchangebuyer2/v2beta1_test.dart

Issue 2779563003: Api-roll 47: 2017-03-27 (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 library googleapis_beta.adexchangebuyer2.v2beta1.test; 1 library googleapis_beta.adexchangebuyer2.v2beta1.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;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 } 63 }
64 64
65 checkAddDealAssociationRequest(api.AddDealAssociationRequest o) { 65 checkAddDealAssociationRequest(api.AddDealAssociationRequest o) {
66 buildCounterAddDealAssociationRequest++; 66 buildCounterAddDealAssociationRequest++;
67 if (buildCounterAddDealAssociationRequest < 3) { 67 if (buildCounterAddDealAssociationRequest < 3) {
68 checkCreativeDealAssociation(o.association); 68 checkCreativeDealAssociation(o.association);
69 } 69 }
70 buildCounterAddDealAssociationRequest--; 70 buildCounterAddDealAssociationRequest--;
71 } 71 }
72 72
73 buildUnnamed3467() { 73 buildUnnamed3565() {
74 var o = new core.List<core.String>(); 74 var o = new core.List<core.String>();
75 o.add("foo"); 75 o.add("foo");
76 o.add("foo"); 76 o.add("foo");
77 return o; 77 return o;
78 } 78 }
79 79
80 checkUnnamed3467(core.List<core.String> o) { 80 checkUnnamed3565(core.List<core.String> o) {
81 unittest.expect(o, unittest.hasLength(2)); 81 unittest.expect(o, unittest.hasLength(2));
82 unittest.expect(o[0], unittest.equals('foo')); 82 unittest.expect(o[0], unittest.equals('foo'));
83 unittest.expect(o[1], unittest.equals('foo')); 83 unittest.expect(o[1], unittest.equals('foo'));
84 } 84 }
85 85
86 core.int buildCounterAppContext = 0; 86 core.int buildCounterAppContext = 0;
87 buildAppContext() { 87 buildAppContext() {
88 var o = new api.AppContext(); 88 var o = new api.AppContext();
89 buildCounterAppContext++; 89 buildCounterAppContext++;
90 if (buildCounterAppContext < 3) { 90 if (buildCounterAppContext < 3) {
91 o.appTypes = buildUnnamed3467(); 91 o.appTypes = buildUnnamed3565();
92 } 92 }
93 buildCounterAppContext--; 93 buildCounterAppContext--;
94 return o; 94 return o;
95 } 95 }
96 96
97 checkAppContext(api.AppContext o) { 97 checkAppContext(api.AppContext o) {
98 buildCounterAppContext++; 98 buildCounterAppContext++;
99 if (buildCounterAppContext < 3) { 99 if (buildCounterAppContext < 3) {
100 checkUnnamed3467(o.appTypes); 100 checkUnnamed3565(o.appTypes);
101 } 101 }
102 buildCounterAppContext--; 102 buildCounterAppContext--;
103 } 103 }
104 104
105 buildUnnamed3468() { 105 buildUnnamed3566() {
106 var o = new core.List<core.String>(); 106 var o = new core.List<core.String>();
107 o.add("foo"); 107 o.add("foo");
108 o.add("foo"); 108 o.add("foo");
109 return o; 109 return o;
110 } 110 }
111 111
112 checkUnnamed3468(core.List<core.String> o) { 112 checkUnnamed3566(core.List<core.String> o) {
113 unittest.expect(o, unittest.hasLength(2)); 113 unittest.expect(o, unittest.hasLength(2));
114 unittest.expect(o[0], unittest.equals('foo')); 114 unittest.expect(o[0], unittest.equals('foo'));
115 unittest.expect(o[1], unittest.equals('foo')); 115 unittest.expect(o[1], unittest.equals('foo'));
116 } 116 }
117 117
118 core.int buildCounterAuctionContext = 0; 118 core.int buildCounterAuctionContext = 0;
119 buildAuctionContext() { 119 buildAuctionContext() {
120 var o = new api.AuctionContext(); 120 var o = new api.AuctionContext();
121 buildCounterAuctionContext++; 121 buildCounterAuctionContext++;
122 if (buildCounterAuctionContext < 3) { 122 if (buildCounterAuctionContext < 3) {
123 o.auctionTypes = buildUnnamed3468(); 123 o.auctionTypes = buildUnnamed3566();
124 } 124 }
125 buildCounterAuctionContext--; 125 buildCounterAuctionContext--;
126 return o; 126 return o;
127 } 127 }
128 128
129 checkAuctionContext(api.AuctionContext o) { 129 checkAuctionContext(api.AuctionContext o) {
130 buildCounterAuctionContext++; 130 buildCounterAuctionContext++;
131 if (buildCounterAuctionContext < 3) { 131 if (buildCounterAuctionContext < 3) {
132 checkUnnamed3468(o.auctionTypes); 132 checkUnnamed3566(o.auctionTypes);
133 } 133 }
134 buildCounterAuctionContext--; 134 buildCounterAuctionContext--;
135 } 135 }
136 136
137 core.int buildCounterClient = 0; 137 core.int buildCounterClient = 0;
138 buildClient() { 138 buildClient() {
139 var o = new api.Client(); 139 var o = new api.Client();
140 buildCounterClient++; 140 buildCounterClient++;
141 if (buildCounterClient < 3) { 141 if (buildCounterClient < 3) {
142 o.clientAccountId = "foo"; 142 o.clientAccountId = "foo";
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 checkClientUserInvitation(api.ClientUserInvitation o) { 208 checkClientUserInvitation(api.ClientUserInvitation o) {
209 buildCounterClientUserInvitation++; 209 buildCounterClientUserInvitation++;
210 if (buildCounterClientUserInvitation < 3) { 210 if (buildCounterClientUserInvitation < 3) {
211 unittest.expect(o.clientAccountId, unittest.equals('foo')); 211 unittest.expect(o.clientAccountId, unittest.equals('foo'));
212 unittest.expect(o.email, unittest.equals('foo')); 212 unittest.expect(o.email, unittest.equals('foo'));
213 unittest.expect(o.invitationId, unittest.equals('foo')); 213 unittest.expect(o.invitationId, unittest.equals('foo'));
214 } 214 }
215 buildCounterClientUserInvitation--; 215 buildCounterClientUserInvitation--;
216 } 216 }
217 217
218 buildUnnamed3469() { 218 buildUnnamed3567() {
219 var o = new core.List<api.ServingContext>(); 219 var o = new core.List<api.ServingContext>();
220 o.add(buildServingContext()); 220 o.add(buildServingContext());
221 o.add(buildServingContext()); 221 o.add(buildServingContext());
222 return o; 222 return o;
223 } 223 }
224 224
225 checkUnnamed3469(core.List<api.ServingContext> o) { 225 checkUnnamed3567(core.List<api.ServingContext> o) {
226 unittest.expect(o, unittest.hasLength(2)); 226 unittest.expect(o, unittest.hasLength(2));
227 checkServingContext(o[0]); 227 checkServingContext(o[0]);
228 checkServingContext(o[1]); 228 checkServingContext(o[1]);
229 } 229 }
230 230
231 buildUnnamed3470() { 231 buildUnnamed3568() {
232 var o = new core.List<core.String>(); 232 var o = new core.List<core.String>();
233 o.add("foo"); 233 o.add("foo");
234 o.add("foo"); 234 o.add("foo");
235 return o; 235 return o;
236 } 236 }
237 237
238 checkUnnamed3470(core.List<core.String> o) { 238 checkUnnamed3568(core.List<core.String> o) {
239 unittest.expect(o, unittest.hasLength(2)); 239 unittest.expect(o, unittest.hasLength(2));
240 unittest.expect(o[0], unittest.equals('foo')); 240 unittest.expect(o[0], unittest.equals('foo'));
241 unittest.expect(o[1], unittest.equals('foo')); 241 unittest.expect(o[1], unittest.equals('foo'));
242 } 242 }
243 243
244 core.int buildCounterCorrection = 0; 244 core.int buildCounterCorrection = 0;
245 buildCorrection() { 245 buildCorrection() {
246 var o = new api.Correction(); 246 var o = new api.Correction();
247 buildCounterCorrection++; 247 buildCounterCorrection++;
248 if (buildCounterCorrection < 3) { 248 if (buildCounterCorrection < 3) {
249 o.contexts = buildUnnamed3469(); 249 o.contexts = buildUnnamed3567();
250 o.details = buildUnnamed3470(); 250 o.details = buildUnnamed3568();
251 o.type = "foo"; 251 o.type = "foo";
252 } 252 }
253 buildCounterCorrection--; 253 buildCounterCorrection--;
254 return o; 254 return o;
255 } 255 }
256 256
257 checkCorrection(api.Correction o) { 257 checkCorrection(api.Correction o) {
258 buildCounterCorrection++; 258 buildCounterCorrection++;
259 if (buildCounterCorrection < 3) { 259 if (buildCounterCorrection < 3) {
260 checkUnnamed3469(o.contexts); 260 checkUnnamed3567(o.contexts);
261 checkUnnamed3470(o.details); 261 checkUnnamed3568(o.details);
262 unittest.expect(o.type, unittest.equals('foo')); 262 unittest.expect(o.type, unittest.equals('foo'));
263 } 263 }
264 buildCounterCorrection--; 264 buildCounterCorrection--;
265 } 265 }
266 266
267 buildUnnamed3471() { 267 buildUnnamed3569() {
268 var o = new core.List<core.String>(); 268 var o = new core.List<core.String>();
269 o.add("foo"); 269 o.add("foo");
270 o.add("foo"); 270 o.add("foo");
271 return o; 271 return o;
272 } 272 }
273 273
274 checkUnnamed3471(core.List<core.String> o) { 274 checkUnnamed3569(core.List<core.String> o) {
275 unittest.expect(o, unittest.hasLength(2)); 275 unittest.expect(o, unittest.hasLength(2));
276 unittest.expect(o[0], unittest.equals('foo')); 276 unittest.expect(o[0], unittest.equals('foo'));
277 unittest.expect(o[1], unittest.equals('foo')); 277 unittest.expect(o[1], unittest.equals('foo'));
278 } 278 }
279 279
280 buildUnnamed3472() { 280 buildUnnamed3570() {
281 var o = new core.List<core.String>(); 281 var o = new core.List<core.String>();
282 o.add("foo"); 282 o.add("foo");
283 o.add("foo"); 283 o.add("foo");
284 return o; 284 return o;
285 } 285 }
286 286
287 checkUnnamed3472(core.List<core.String> o) { 287 checkUnnamed3570(core.List<core.String> o) {
288 unittest.expect(o, unittest.hasLength(2)); 288 unittest.expect(o, unittest.hasLength(2));
289 unittest.expect(o[0], unittest.equals('foo')); 289 unittest.expect(o[0], unittest.equals('foo'));
290 unittest.expect(o[1], unittest.equals('foo')); 290 unittest.expect(o[1], unittest.equals('foo'));
291 } 291 }
292 292
293 buildUnnamed3473() { 293 buildUnnamed3571() {
294 var o = new core.List<api.Correction>(); 294 var o = new core.List<api.Correction>();
295 o.add(buildCorrection()); 295 o.add(buildCorrection());
296 o.add(buildCorrection()); 296 o.add(buildCorrection());
297 return o; 297 return o;
298 } 298 }
299 299
300 checkUnnamed3473(core.List<api.Correction> o) { 300 checkUnnamed3571(core.List<api.Correction> o) {
301 unittest.expect(o, unittest.hasLength(2)); 301 unittest.expect(o, unittest.hasLength(2));
302 checkCorrection(o[0]); 302 checkCorrection(o[0]);
303 checkCorrection(o[1]); 303 checkCorrection(o[1]);
304 } 304 }
305 305
306 buildUnnamed3474() { 306 buildUnnamed3572() {
307 var o = new core.List<core.String>(); 307 var o = new core.List<core.String>();
308 o.add("foo"); 308 o.add("foo");
309 o.add("foo"); 309 o.add("foo");
310 return o; 310 return o;
311 } 311 }
312 312
313 checkUnnamed3474(core.List<core.String> o) { 313 checkUnnamed3572(core.List<core.String> o) {
314 unittest.expect(o, unittest.hasLength(2)); 314 unittest.expect(o, unittest.hasLength(2));
315 unittest.expect(o[0], unittest.equals('foo')); 315 unittest.expect(o[0], unittest.equals('foo'));
316 unittest.expect(o[1], unittest.equals('foo')); 316 unittest.expect(o[1], unittest.equals('foo'));
317 } 317 }
318 318
319 buildUnnamed3475() { 319 buildUnnamed3573() {
320 var o = new core.List<core.String>(); 320 var o = new core.List<core.String>();
321 o.add("foo"); 321 o.add("foo");
322 o.add("foo"); 322 o.add("foo");
323 return o; 323 return o;
324 } 324 }
325 325
326 checkUnnamed3475(core.List<core.String> o) { 326 checkUnnamed3573(core.List<core.String> o) {
327 unittest.expect(o, unittest.hasLength(2)); 327 unittest.expect(o, unittest.hasLength(2));
328 unittest.expect(o[0], unittest.equals('foo')); 328 unittest.expect(o[0], unittest.equals('foo'));
329 unittest.expect(o[1], unittest.equals('foo')); 329 unittest.expect(o[1], unittest.equals('foo'));
330 } 330 }
331 331
332 buildUnnamed3476() { 332 buildUnnamed3574() {
333 var o = new core.List<core.String>(); 333 var o = new core.List<core.String>();
334 o.add("foo"); 334 o.add("foo");
335 o.add("foo"); 335 o.add("foo");
336 return o; 336 return o;
337 } 337 }
338 338
339 checkUnnamed3476(core.List<core.String> o) { 339 checkUnnamed3574(core.List<core.String> o) {
340 unittest.expect(o, unittest.hasLength(2)); 340 unittest.expect(o, unittest.hasLength(2));
341 unittest.expect(o[0], unittest.equals('foo')); 341 unittest.expect(o[0], unittest.equals('foo'));
342 unittest.expect(o[1], unittest.equals('foo')); 342 unittest.expect(o[1], unittest.equals('foo'));
343 } 343 }
344 344
345 buildUnnamed3477() { 345 buildUnnamed3575() {
346 var o = new core.List<core.int>(); 346 var o = new core.List<core.int>();
347 o.add(42); 347 o.add(42);
348 o.add(42); 348 o.add(42);
349 return o; 349 return o;
350 } 350 }
351 351
352 checkUnnamed3477(core.List<core.int> o) { 352 checkUnnamed3575(core.List<core.int> o) {
353 unittest.expect(o, unittest.hasLength(2)); 353 unittest.expect(o, unittest.hasLength(2));
354 unittest.expect(o[0], unittest.equals(42)); 354 unittest.expect(o[0], unittest.equals(42));
355 unittest.expect(o[1], unittest.equals(42)); 355 unittest.expect(o[1], unittest.equals(42));
356 } 356 }
357 357
358 buildUnnamed3478() { 358 buildUnnamed3576() {
359 var o = new core.List<core.int>(); 359 var o = new core.List<core.int>();
360 o.add(42); 360 o.add(42);
361 o.add(42); 361 o.add(42);
362 return o; 362 return o;
363 } 363 }
364 364
365 checkUnnamed3478(core.List<core.int> o) { 365 checkUnnamed3576(core.List<core.int> o) {
366 unittest.expect(o, unittest.hasLength(2)); 366 unittest.expect(o, unittest.hasLength(2));
367 unittest.expect(o[0], unittest.equals(42)); 367 unittest.expect(o[0], unittest.equals(42));
368 unittest.expect(o[1], unittest.equals(42)); 368 unittest.expect(o[1], unittest.equals(42));
369 } 369 }
370 370
371 buildUnnamed3479() { 371 buildUnnamed3577() {
372 var o = new core.List<core.String>(); 372 var o = new core.List<core.String>();
373 o.add("foo"); 373 o.add("foo");
374 o.add("foo"); 374 o.add("foo");
375 return o; 375 return o;
376 } 376 }
377 377
378 checkUnnamed3479(core.List<core.String> o) { 378 checkUnnamed3577(core.List<core.String> o) {
379 unittest.expect(o, unittest.hasLength(2)); 379 unittest.expect(o, unittest.hasLength(2));
380 unittest.expect(o[0], unittest.equals('foo')); 380 unittest.expect(o[0], unittest.equals('foo'));
381 unittest.expect(o[1], unittest.equals('foo')); 381 unittest.expect(o[1], unittest.equals('foo'));
382 } 382 }
383 383
384 buildUnnamed3480() { 384 buildUnnamed3578() {
385 var o = new core.List<core.String>(); 385 var o = new core.List<core.String>();
386 o.add("foo"); 386 o.add("foo");
387 o.add("foo"); 387 o.add("foo");
388 return o; 388 return o;
389 } 389 }
390 390
391 checkUnnamed3480(core.List<core.String> o) { 391 checkUnnamed3578(core.List<core.String> o) {
392 unittest.expect(o, unittest.hasLength(2)); 392 unittest.expect(o, unittest.hasLength(2));
393 unittest.expect(o[0], unittest.equals('foo')); 393 unittest.expect(o[0], unittest.equals('foo'));
394 unittest.expect(o[1], unittest.equals('foo')); 394 unittest.expect(o[1], unittest.equals('foo'));
395 } 395 }
396 396
397 buildUnnamed3481() { 397 buildUnnamed3579() {
398 var o = new core.List<api.ServingRestriction>(); 398 var o = new core.List<api.ServingRestriction>();
399 o.add(buildServingRestriction()); 399 o.add(buildServingRestriction());
400 o.add(buildServingRestriction()); 400 o.add(buildServingRestriction());
401 return o; 401 return o;
402 } 402 }
403 403
404 checkUnnamed3481(core.List<api.ServingRestriction> o) { 404 checkUnnamed3579(core.List<api.ServingRestriction> o) {
405 unittest.expect(o, unittest.hasLength(2)); 405 unittest.expect(o, unittest.hasLength(2));
406 checkServingRestriction(o[0]); 406 checkServingRestriction(o[0]);
407 checkServingRestriction(o[1]); 407 checkServingRestriction(o[1]);
408 } 408 }
409 409
410 buildUnnamed3482() { 410 buildUnnamed3580() {
411 var o = new core.List<core.int>(); 411 var o = new core.List<core.int>();
412 o.add(42); 412 o.add(42);
413 o.add(42); 413 o.add(42);
414 return o; 414 return o;
415 } 415 }
416 416
417 checkUnnamed3482(core.List<core.int> o) { 417 checkUnnamed3580(core.List<core.int> o) {
418 unittest.expect(o, unittest.hasLength(2)); 418 unittest.expect(o, unittest.hasLength(2));
419 unittest.expect(o[0], unittest.equals(42)); 419 unittest.expect(o[0], unittest.equals(42));
420 unittest.expect(o[1], unittest.equals(42)); 420 unittest.expect(o[1], unittest.equals(42));
421 } 421 }
422 422
423 core.int buildCounterCreative = 0; 423 core.int buildCounterCreative = 0;
424 buildCreative() { 424 buildCreative() {
425 var o = new api.Creative(); 425 var o = new api.Creative();
426 buildCounterCreative++; 426 buildCounterCreative++;
427 if (buildCounterCreative < 3) { 427 if (buildCounterCreative < 3) {
428 o.accountId = "foo"; 428 o.accountId = "foo";
429 o.adChoicesDestinationUrl = "foo"; 429 o.adChoicesDestinationUrl = "foo";
430 o.advertiserName = "foo"; 430 o.advertiserName = "foo";
431 o.agencyId = "foo"; 431 o.agencyId = "foo";
432 o.apiUpdateTime = "foo"; 432 o.apiUpdateTime = "foo";
433 o.attributes = buildUnnamed3471(); 433 o.attributes = buildUnnamed3569();
434 o.clickThroughUrls = buildUnnamed3472(); 434 o.clickThroughUrls = buildUnnamed3570();
435 o.corrections = buildUnnamed3473(); 435 o.corrections = buildUnnamed3571();
436 o.creativeId = "foo"; 436 o.creativeId = "foo";
437 o.dealsStatus = "foo"; 437 o.dealsStatus = "foo";
438 o.detectedAdvertiserIds = buildUnnamed3474(); 438 o.detectedAdvertiserIds = buildUnnamed3572();
439 o.detectedDomains = buildUnnamed3475(); 439 o.detectedDomains = buildUnnamed3573();
440 o.detectedLanguages = buildUnnamed3476(); 440 o.detectedLanguages = buildUnnamed3574();
441 o.detectedProductCategories = buildUnnamed3477(); 441 o.detectedProductCategories = buildUnnamed3575();
442 o.detectedSensitiveCategories = buildUnnamed3478(); 442 o.detectedSensitiveCategories = buildUnnamed3576();
443 o.filteringStats = buildFilteringStats(); 443 o.filteringStats = buildFilteringStats();
444 o.html = buildHtmlContent(); 444 o.html = buildHtmlContent();
445 o.impressionTrackingUrls = buildUnnamed3479(); 445 o.impressionTrackingUrls = buildUnnamed3577();
446 o.native = buildNativeContent(); 446 o.native = buildNativeContent();
447 o.openAuctionStatus = "foo"; 447 o.openAuctionStatus = "foo";
448 o.restrictedCategories = buildUnnamed3480(); 448 o.restrictedCategories = buildUnnamed3578();
449 o.servingRestrictions = buildUnnamed3481(); 449 o.servingRestrictions = buildUnnamed3579();
450 o.vendorIds = buildUnnamed3482(); 450 o.vendorIds = buildUnnamed3580();
451 o.version = 42; 451 o.version = 42;
452 o.video = buildVideoContent(); 452 o.video = buildVideoContent();
453 } 453 }
454 buildCounterCreative--; 454 buildCounterCreative--;
455 return o; 455 return o;
456 } 456 }
457 457
458 checkCreative(api.Creative o) { 458 checkCreative(api.Creative o) {
459 buildCounterCreative++; 459 buildCounterCreative++;
460 if (buildCounterCreative < 3) { 460 if (buildCounterCreative < 3) {
461 unittest.expect(o.accountId, unittest.equals('foo')); 461 unittest.expect(o.accountId, unittest.equals('foo'));
462 unittest.expect(o.adChoicesDestinationUrl, unittest.equals('foo')); 462 unittest.expect(o.adChoicesDestinationUrl, unittest.equals('foo'));
463 unittest.expect(o.advertiserName, unittest.equals('foo')); 463 unittest.expect(o.advertiserName, unittest.equals('foo'));
464 unittest.expect(o.agencyId, unittest.equals('foo')); 464 unittest.expect(o.agencyId, unittest.equals('foo'));
465 unittest.expect(o.apiUpdateTime, unittest.equals('foo')); 465 unittest.expect(o.apiUpdateTime, unittest.equals('foo'));
466 checkUnnamed3471(o.attributes); 466 checkUnnamed3569(o.attributes);
467 checkUnnamed3472(o.clickThroughUrls); 467 checkUnnamed3570(o.clickThroughUrls);
468 checkUnnamed3473(o.corrections); 468 checkUnnamed3571(o.corrections);
469 unittest.expect(o.creativeId, unittest.equals('foo')); 469 unittest.expect(o.creativeId, unittest.equals('foo'));
470 unittest.expect(o.dealsStatus, unittest.equals('foo')); 470 unittest.expect(o.dealsStatus, unittest.equals('foo'));
471 checkUnnamed3474(o.detectedAdvertiserIds); 471 checkUnnamed3572(o.detectedAdvertiserIds);
472 checkUnnamed3475(o.detectedDomains); 472 checkUnnamed3573(o.detectedDomains);
473 checkUnnamed3476(o.detectedLanguages); 473 checkUnnamed3574(o.detectedLanguages);
474 checkUnnamed3477(o.detectedProductCategories); 474 checkUnnamed3575(o.detectedProductCategories);
475 checkUnnamed3478(o.detectedSensitiveCategories); 475 checkUnnamed3576(o.detectedSensitiveCategories);
476 checkFilteringStats(o.filteringStats); 476 checkFilteringStats(o.filteringStats);
477 checkHtmlContent(o.html); 477 checkHtmlContent(o.html);
478 checkUnnamed3479(o.impressionTrackingUrls); 478 checkUnnamed3577(o.impressionTrackingUrls);
479 checkNativeContent(o.native); 479 checkNativeContent(o.native);
480 unittest.expect(o.openAuctionStatus, unittest.equals('foo')); 480 unittest.expect(o.openAuctionStatus, unittest.equals('foo'));
481 checkUnnamed3480(o.restrictedCategories); 481 checkUnnamed3578(o.restrictedCategories);
482 checkUnnamed3481(o.servingRestrictions); 482 checkUnnamed3579(o.servingRestrictions);
483 checkUnnamed3482(o.vendorIds); 483 checkUnnamed3580(o.vendorIds);
484 unittest.expect(o.version, unittest.equals(42)); 484 unittest.expect(o.version, unittest.equals(42));
485 checkVideoContent(o.video); 485 checkVideoContent(o.video);
486 } 486 }
487 buildCounterCreative--; 487 buildCounterCreative--;
488 } 488 }
489 489
490 core.int buildCounterCreativeDealAssociation = 0; 490 core.int buildCounterCreativeDealAssociation = 0;
491 buildCreativeDealAssociation() { 491 buildCreativeDealAssociation() {
492 var o = new api.CreativeDealAssociation(); 492 var o = new api.CreativeDealAssociation();
493 buildCounterCreativeDealAssociation++; 493 buildCounterCreativeDealAssociation++;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
526 checkDate(api.Date o) { 526 checkDate(api.Date o) {
527 buildCounterDate++; 527 buildCounterDate++;
528 if (buildCounterDate < 3) { 528 if (buildCounterDate < 3) {
529 unittest.expect(o.day, unittest.equals(42)); 529 unittest.expect(o.day, unittest.equals(42));
530 unittest.expect(o.month, unittest.equals(42)); 530 unittest.expect(o.month, unittest.equals(42));
531 unittest.expect(o.year, unittest.equals(42)); 531 unittest.expect(o.year, unittest.equals(42));
532 } 532 }
533 buildCounterDate--; 533 buildCounterDate--;
534 } 534 }
535 535
536 buildUnnamed3483() { 536 buildUnnamed3581() {
537 var o = new core.List<core.String>(); 537 var o = new core.List<core.String>();
538 o.add("foo"); 538 o.add("foo");
539 o.add("foo"); 539 o.add("foo");
540 return o; 540 return o;
541 } 541 }
542 542
543 checkUnnamed3483(core.List<core.String> o) { 543 checkUnnamed3581(core.List<core.String> o) {
544 unittest.expect(o, unittest.hasLength(2)); 544 unittest.expect(o, unittest.hasLength(2));
545 unittest.expect(o[0], unittest.equals('foo')); 545 unittest.expect(o[0], unittest.equals('foo'));
546 unittest.expect(o[1], unittest.equals('foo')); 546 unittest.expect(o[1], unittest.equals('foo'));
547 } 547 }
548 548
549 core.int buildCounterDisapproval = 0; 549 core.int buildCounterDisapproval = 0;
550 buildDisapproval() { 550 buildDisapproval() {
551 var o = new api.Disapproval(); 551 var o = new api.Disapproval();
552 buildCounterDisapproval++; 552 buildCounterDisapproval++;
553 if (buildCounterDisapproval < 3) { 553 if (buildCounterDisapproval < 3) {
554 o.details = buildUnnamed3483(); 554 o.details = buildUnnamed3581();
555 o.reason = "foo"; 555 o.reason = "foo";
556 } 556 }
557 buildCounterDisapproval--; 557 buildCounterDisapproval--;
558 return o; 558 return o;
559 } 559 }
560 560
561 checkDisapproval(api.Disapproval o) { 561 checkDisapproval(api.Disapproval o) {
562 buildCounterDisapproval++; 562 buildCounterDisapproval++;
563 if (buildCounterDisapproval < 3) { 563 if (buildCounterDisapproval < 3) {
564 checkUnnamed3483(o.details); 564 checkUnnamed3581(o.details);
565 unittest.expect(o.reason, unittest.equals('foo')); 565 unittest.expect(o.reason, unittest.equals('foo'));
566 } 566 }
567 buildCounterDisapproval--; 567 buildCounterDisapproval--;
568 } 568 }
569 569
570 core.int buildCounterEmpty = 0; 570 core.int buildCounterEmpty = 0;
571 buildEmpty() { 571 buildEmpty() {
572 var o = new api.Empty(); 572 var o = new api.Empty();
573 buildCounterEmpty++; 573 buildCounterEmpty++;
574 if (buildCounterEmpty < 3) { 574 if (buildCounterEmpty < 3) {
575 } 575 }
576 buildCounterEmpty--; 576 buildCounterEmpty--;
577 return o; 577 return o;
578 } 578 }
579 579
580 checkEmpty(api.Empty o) { 580 checkEmpty(api.Empty o) {
581 buildCounterEmpty++; 581 buildCounterEmpty++;
582 if (buildCounterEmpty < 3) { 582 if (buildCounterEmpty < 3) {
583 } 583 }
584 buildCounterEmpty--; 584 buildCounterEmpty--;
585 } 585 }
586 586
587 buildUnnamed3484() { 587 buildUnnamed3582() {
588 var o = new core.List<api.Reason>(); 588 var o = new core.List<api.Reason>();
589 o.add(buildReason()); 589 o.add(buildReason());
590 o.add(buildReason()); 590 o.add(buildReason());
591 return o; 591 return o;
592 } 592 }
593 593
594 checkUnnamed3484(core.List<api.Reason> o) { 594 checkUnnamed3582(core.List<api.Reason> o) {
595 unittest.expect(o, unittest.hasLength(2)); 595 unittest.expect(o, unittest.hasLength(2));
596 checkReason(o[0]); 596 checkReason(o[0]);
597 checkReason(o[1]); 597 checkReason(o[1]);
598 } 598 }
599 599
600 core.int buildCounterFilteringStats = 0; 600 core.int buildCounterFilteringStats = 0;
601 buildFilteringStats() { 601 buildFilteringStats() {
602 var o = new api.FilteringStats(); 602 var o = new api.FilteringStats();
603 buildCounterFilteringStats++; 603 buildCounterFilteringStats++;
604 if (buildCounterFilteringStats < 3) { 604 if (buildCounterFilteringStats < 3) {
605 o.date = buildDate(); 605 o.date = buildDate();
606 o.reasons = buildUnnamed3484(); 606 o.reasons = buildUnnamed3582();
607 } 607 }
608 buildCounterFilteringStats--; 608 buildCounterFilteringStats--;
609 return o; 609 return o;
610 } 610 }
611 611
612 checkFilteringStats(api.FilteringStats o) { 612 checkFilteringStats(api.FilteringStats o) {
613 buildCounterFilteringStats++; 613 buildCounterFilteringStats++;
614 if (buildCounterFilteringStats < 3) { 614 if (buildCounterFilteringStats < 3) {
615 checkDate(o.date); 615 checkDate(o.date);
616 checkUnnamed3484(o.reasons); 616 checkUnnamed3582(o.reasons);
617 } 617 }
618 buildCounterFilteringStats--; 618 buildCounterFilteringStats--;
619 } 619 }
620 620
621 core.int buildCounterHtmlContent = 0; 621 core.int buildCounterHtmlContent = 0;
622 buildHtmlContent() { 622 buildHtmlContent() {
623 var o = new api.HtmlContent(); 623 var o = new api.HtmlContent();
624 buildCounterHtmlContent++; 624 buildCounterHtmlContent++;
625 if (buildCounterHtmlContent < 3) { 625 if (buildCounterHtmlContent < 3) {
626 o.height = 42; 626 o.height = 42;
(...skipping 30 matching lines...) Expand all
657 checkImage(api.Image o) { 657 checkImage(api.Image o) {
658 buildCounterImage++; 658 buildCounterImage++;
659 if (buildCounterImage < 3) { 659 if (buildCounterImage < 3) {
660 unittest.expect(o.height, unittest.equals(42)); 660 unittest.expect(o.height, unittest.equals(42));
661 unittest.expect(o.url, unittest.equals('foo')); 661 unittest.expect(o.url, unittest.equals('foo'));
662 unittest.expect(o.width, unittest.equals(42)); 662 unittest.expect(o.width, unittest.equals(42));
663 } 663 }
664 buildCounterImage--; 664 buildCounterImage--;
665 } 665 }
666 666
667 buildUnnamed3485() { 667 buildUnnamed3583() {
668 var o = new core.List<api.ClientUserInvitation>(); 668 var o = new core.List<api.ClientUserInvitation>();
669 o.add(buildClientUserInvitation()); 669 o.add(buildClientUserInvitation());
670 o.add(buildClientUserInvitation()); 670 o.add(buildClientUserInvitation());
671 return o; 671 return o;
672 } 672 }
673 673
674 checkUnnamed3485(core.List<api.ClientUserInvitation> o) { 674 checkUnnamed3583(core.List<api.ClientUserInvitation> o) {
675 unittest.expect(o, unittest.hasLength(2)); 675 unittest.expect(o, unittest.hasLength(2));
676 checkClientUserInvitation(o[0]); 676 checkClientUserInvitation(o[0]);
677 checkClientUserInvitation(o[1]); 677 checkClientUserInvitation(o[1]);
678 } 678 }
679 679
680 core.int buildCounterListClientUserInvitationsResponse = 0; 680 core.int buildCounterListClientUserInvitationsResponse = 0;
681 buildListClientUserInvitationsResponse() { 681 buildListClientUserInvitationsResponse() {
682 var o = new api.ListClientUserInvitationsResponse(); 682 var o = new api.ListClientUserInvitationsResponse();
683 buildCounterListClientUserInvitationsResponse++; 683 buildCounterListClientUserInvitationsResponse++;
684 if (buildCounterListClientUserInvitationsResponse < 3) { 684 if (buildCounterListClientUserInvitationsResponse < 3) {
685 o.invitations = buildUnnamed3485(); 685 o.invitations = buildUnnamed3583();
686 o.nextPageToken = "foo"; 686 o.nextPageToken = "foo";
687 } 687 }
688 buildCounterListClientUserInvitationsResponse--; 688 buildCounterListClientUserInvitationsResponse--;
689 return o; 689 return o;
690 } 690 }
691 691
692 checkListClientUserInvitationsResponse(api.ListClientUserInvitationsResponse o) { 692 checkListClientUserInvitationsResponse(api.ListClientUserInvitationsResponse o) {
693 buildCounterListClientUserInvitationsResponse++; 693 buildCounterListClientUserInvitationsResponse++;
694 if (buildCounterListClientUserInvitationsResponse < 3) { 694 if (buildCounterListClientUserInvitationsResponse < 3) {
695 checkUnnamed3485(o.invitations); 695 checkUnnamed3583(o.invitations);
696 unittest.expect(o.nextPageToken, unittest.equals('foo')); 696 unittest.expect(o.nextPageToken, unittest.equals('foo'));
697 } 697 }
698 buildCounterListClientUserInvitationsResponse--; 698 buildCounterListClientUserInvitationsResponse--;
699 } 699 }
700 700
701 buildUnnamed3486() { 701 buildUnnamed3584() {
702 var o = new core.List<api.ClientUser>(); 702 var o = new core.List<api.ClientUser>();
703 o.add(buildClientUser()); 703 o.add(buildClientUser());
704 o.add(buildClientUser()); 704 o.add(buildClientUser());
705 return o; 705 return o;
706 } 706 }
707 707
708 checkUnnamed3486(core.List<api.ClientUser> o) { 708 checkUnnamed3584(core.List<api.ClientUser> o) {
709 unittest.expect(o, unittest.hasLength(2)); 709 unittest.expect(o, unittest.hasLength(2));
710 checkClientUser(o[0]); 710 checkClientUser(o[0]);
711 checkClientUser(o[1]); 711 checkClientUser(o[1]);
712 } 712 }
713 713
714 core.int buildCounterListClientUsersResponse = 0; 714 core.int buildCounterListClientUsersResponse = 0;
715 buildListClientUsersResponse() { 715 buildListClientUsersResponse() {
716 var o = new api.ListClientUsersResponse(); 716 var o = new api.ListClientUsersResponse();
717 buildCounterListClientUsersResponse++; 717 buildCounterListClientUsersResponse++;
718 if (buildCounterListClientUsersResponse < 3) { 718 if (buildCounterListClientUsersResponse < 3) {
719 o.nextPageToken = "foo"; 719 o.nextPageToken = "foo";
720 o.users = buildUnnamed3486(); 720 o.users = buildUnnamed3584();
721 } 721 }
722 buildCounterListClientUsersResponse--; 722 buildCounterListClientUsersResponse--;
723 return o; 723 return o;
724 } 724 }
725 725
726 checkListClientUsersResponse(api.ListClientUsersResponse o) { 726 checkListClientUsersResponse(api.ListClientUsersResponse o) {
727 buildCounterListClientUsersResponse++; 727 buildCounterListClientUsersResponse++;
728 if (buildCounterListClientUsersResponse < 3) { 728 if (buildCounterListClientUsersResponse < 3) {
729 unittest.expect(o.nextPageToken, unittest.equals('foo')); 729 unittest.expect(o.nextPageToken, unittest.equals('foo'));
730 checkUnnamed3486(o.users); 730 checkUnnamed3584(o.users);
731 } 731 }
732 buildCounterListClientUsersResponse--; 732 buildCounterListClientUsersResponse--;
733 } 733 }
734 734
735 buildUnnamed3487() { 735 buildUnnamed3585() {
736 var o = new core.List<api.Client>(); 736 var o = new core.List<api.Client>();
737 o.add(buildClient()); 737 o.add(buildClient());
738 o.add(buildClient()); 738 o.add(buildClient());
739 return o; 739 return o;
740 } 740 }
741 741
742 checkUnnamed3487(core.List<api.Client> o) { 742 checkUnnamed3585(core.List<api.Client> o) {
743 unittest.expect(o, unittest.hasLength(2)); 743 unittest.expect(o, unittest.hasLength(2));
744 checkClient(o[0]); 744 checkClient(o[0]);
745 checkClient(o[1]); 745 checkClient(o[1]);
746 } 746 }
747 747
748 core.int buildCounterListClientsResponse = 0; 748 core.int buildCounterListClientsResponse = 0;
749 buildListClientsResponse() { 749 buildListClientsResponse() {
750 var o = new api.ListClientsResponse(); 750 var o = new api.ListClientsResponse();
751 buildCounterListClientsResponse++; 751 buildCounterListClientsResponse++;
752 if (buildCounterListClientsResponse < 3) { 752 if (buildCounterListClientsResponse < 3) {
753 o.clients = buildUnnamed3487(); 753 o.clients = buildUnnamed3585();
754 o.nextPageToken = "foo"; 754 o.nextPageToken = "foo";
755 } 755 }
756 buildCounterListClientsResponse--; 756 buildCounterListClientsResponse--;
757 return o; 757 return o;
758 } 758 }
759 759
760 checkListClientsResponse(api.ListClientsResponse o) { 760 checkListClientsResponse(api.ListClientsResponse o) {
761 buildCounterListClientsResponse++; 761 buildCounterListClientsResponse++;
762 if (buildCounterListClientsResponse < 3) { 762 if (buildCounterListClientsResponse < 3) {
763 checkUnnamed3487(o.clients); 763 checkUnnamed3585(o.clients);
764 unittest.expect(o.nextPageToken, unittest.equals('foo')); 764 unittest.expect(o.nextPageToken, unittest.equals('foo'));
765 } 765 }
766 buildCounterListClientsResponse--; 766 buildCounterListClientsResponse--;
767 } 767 }
768 768
769 buildUnnamed3488() { 769 buildUnnamed3586() {
770 var o = new core.List<api.Creative>(); 770 var o = new core.List<api.Creative>();
771 o.add(buildCreative()); 771 o.add(buildCreative());
772 o.add(buildCreative()); 772 o.add(buildCreative());
773 return o; 773 return o;
774 } 774 }
775 775
776 checkUnnamed3488(core.List<api.Creative> o) { 776 checkUnnamed3586(core.List<api.Creative> o) {
777 unittest.expect(o, unittest.hasLength(2)); 777 unittest.expect(o, unittest.hasLength(2));
778 checkCreative(o[0]); 778 checkCreative(o[0]);
779 checkCreative(o[1]); 779 checkCreative(o[1]);
780 } 780 }
781 781
782 core.int buildCounterListCreativesResponse = 0; 782 core.int buildCounterListCreativesResponse = 0;
783 buildListCreativesResponse() { 783 buildListCreativesResponse() {
784 var o = new api.ListCreativesResponse(); 784 var o = new api.ListCreativesResponse();
785 buildCounterListCreativesResponse++; 785 buildCounterListCreativesResponse++;
786 if (buildCounterListCreativesResponse < 3) { 786 if (buildCounterListCreativesResponse < 3) {
787 o.creatives = buildUnnamed3488(); 787 o.creatives = buildUnnamed3586();
788 o.nextPageToken = "foo"; 788 o.nextPageToken = "foo";
789 } 789 }
790 buildCounterListCreativesResponse--; 790 buildCounterListCreativesResponse--;
791 return o; 791 return o;
792 } 792 }
793 793
794 checkListCreativesResponse(api.ListCreativesResponse o) { 794 checkListCreativesResponse(api.ListCreativesResponse o) {
795 buildCounterListCreativesResponse++; 795 buildCounterListCreativesResponse++;
796 if (buildCounterListCreativesResponse < 3) { 796 if (buildCounterListCreativesResponse < 3) {
797 checkUnnamed3488(o.creatives); 797 checkUnnamed3586(o.creatives);
798 unittest.expect(o.nextPageToken, unittest.equals('foo')); 798 unittest.expect(o.nextPageToken, unittest.equals('foo'));
799 } 799 }
800 buildCounterListCreativesResponse--; 800 buildCounterListCreativesResponse--;
801 } 801 }
802 802
803 buildUnnamed3489() { 803 buildUnnamed3587() {
804 var o = new core.List<api.CreativeDealAssociation>(); 804 var o = new core.List<api.CreativeDealAssociation>();
805 o.add(buildCreativeDealAssociation()); 805 o.add(buildCreativeDealAssociation());
806 o.add(buildCreativeDealAssociation()); 806 o.add(buildCreativeDealAssociation());
807 return o; 807 return o;
808 } 808 }
809 809
810 checkUnnamed3489(core.List<api.CreativeDealAssociation> o) { 810 checkUnnamed3587(core.List<api.CreativeDealAssociation> o) {
811 unittest.expect(o, unittest.hasLength(2)); 811 unittest.expect(o, unittest.hasLength(2));
812 checkCreativeDealAssociation(o[0]); 812 checkCreativeDealAssociation(o[0]);
813 checkCreativeDealAssociation(o[1]); 813 checkCreativeDealAssociation(o[1]);
814 } 814 }
815 815
816 core.int buildCounterListDealAssociationsResponse = 0; 816 core.int buildCounterListDealAssociationsResponse = 0;
817 buildListDealAssociationsResponse() { 817 buildListDealAssociationsResponse() {
818 var o = new api.ListDealAssociationsResponse(); 818 var o = new api.ListDealAssociationsResponse();
819 buildCounterListDealAssociationsResponse++; 819 buildCounterListDealAssociationsResponse++;
820 if (buildCounterListDealAssociationsResponse < 3) { 820 if (buildCounterListDealAssociationsResponse < 3) {
821 o.associations = buildUnnamed3489(); 821 o.associations = buildUnnamed3587();
822 o.nextPageToken = "foo"; 822 o.nextPageToken = "foo";
823 } 823 }
824 buildCounterListDealAssociationsResponse--; 824 buildCounterListDealAssociationsResponse--;
825 return o; 825 return o;
826 } 826 }
827 827
828 checkListDealAssociationsResponse(api.ListDealAssociationsResponse o) { 828 checkListDealAssociationsResponse(api.ListDealAssociationsResponse o) {
829 buildCounterListDealAssociationsResponse++; 829 buildCounterListDealAssociationsResponse++;
830 if (buildCounterListDealAssociationsResponse < 3) { 830 if (buildCounterListDealAssociationsResponse < 3) {
831 checkUnnamed3489(o.associations); 831 checkUnnamed3587(o.associations);
832 unittest.expect(o.nextPageToken, unittest.equals('foo')); 832 unittest.expect(o.nextPageToken, unittest.equals('foo'));
833 } 833 }
834 buildCounterListDealAssociationsResponse--; 834 buildCounterListDealAssociationsResponse--;
835 } 835 }
836 836
837 buildUnnamed3490() { 837 buildUnnamed3588() {
838 var o = new core.List<core.int>(); 838 var o = new core.List<core.int>();
839 o.add(42); 839 o.add(42);
840 o.add(42); 840 o.add(42);
841 return o; 841 return o;
842 } 842 }
843 843
844 checkUnnamed3490(core.List<core.int> o) { 844 checkUnnamed3588(core.List<core.int> o) {
845 unittest.expect(o, unittest.hasLength(2)); 845 unittest.expect(o, unittest.hasLength(2));
846 unittest.expect(o[0], unittest.equals(42)); 846 unittest.expect(o[0], unittest.equals(42));
847 unittest.expect(o[1], unittest.equals(42)); 847 unittest.expect(o[1], unittest.equals(42));
848 } 848 }
849 849
850 core.int buildCounterLocationContext = 0; 850 core.int buildCounterLocationContext = 0;
851 buildLocationContext() { 851 buildLocationContext() {
852 var o = new api.LocationContext(); 852 var o = new api.LocationContext();
853 buildCounterLocationContext++; 853 buildCounterLocationContext++;
854 if (buildCounterLocationContext < 3) { 854 if (buildCounterLocationContext < 3) {
855 o.geoCriteriaIds = buildUnnamed3490(); 855 o.geoCriteriaIds = buildUnnamed3588();
856 } 856 }
857 buildCounterLocationContext--; 857 buildCounterLocationContext--;
858 return o; 858 return o;
859 } 859 }
860 860
861 checkLocationContext(api.LocationContext o) { 861 checkLocationContext(api.LocationContext o) {
862 buildCounterLocationContext++; 862 buildCounterLocationContext++;
863 if (buildCounterLocationContext < 3) { 863 if (buildCounterLocationContext < 3) {
864 checkUnnamed3490(o.geoCriteriaIds); 864 checkUnnamed3588(o.geoCriteriaIds);
865 } 865 }
866 buildCounterLocationContext--; 866 buildCounterLocationContext--;
867 } 867 }
868 868
869 core.int buildCounterNativeContent = 0; 869 core.int buildCounterNativeContent = 0;
870 buildNativeContent() { 870 buildNativeContent() {
871 var o = new api.NativeContent(); 871 var o = new api.NativeContent();
872 buildCounterNativeContent++; 872 buildCounterNativeContent++;
873 if (buildCounterNativeContent < 3) { 873 if (buildCounterNativeContent < 3) {
874 o.advertiserName = "foo"; 874 o.advertiserName = "foo";
(...skipping 27 matching lines...) Expand all
902 checkImage(o.image); 902 checkImage(o.image);
903 checkImage(o.logo); 903 checkImage(o.logo);
904 unittest.expect(o.priceDisplayText, unittest.equals('foo')); 904 unittest.expect(o.priceDisplayText, unittest.equals('foo'));
905 unittest.expect(o.starRating, unittest.equals(42.0)); 905 unittest.expect(o.starRating, unittest.equals(42.0));
906 unittest.expect(o.storeUrl, unittest.equals('foo')); 906 unittest.expect(o.storeUrl, unittest.equals('foo'));
907 unittest.expect(o.videoUrl, unittest.equals('foo')); 907 unittest.expect(o.videoUrl, unittest.equals('foo'));
908 } 908 }
909 buildCounterNativeContent--; 909 buildCounterNativeContent--;
910 } 910 }
911 911
912 buildUnnamed3491() { 912 buildUnnamed3589() {
913 var o = new core.List<core.String>(); 913 var o = new core.List<core.String>();
914 o.add("foo"); 914 o.add("foo");
915 o.add("foo"); 915 o.add("foo");
916 return o; 916 return o;
917 } 917 }
918 918
919 checkUnnamed3491(core.List<core.String> o) { 919 checkUnnamed3589(core.List<core.String> o) {
920 unittest.expect(o, unittest.hasLength(2)); 920 unittest.expect(o, unittest.hasLength(2));
921 unittest.expect(o[0], unittest.equals('foo')); 921 unittest.expect(o[0], unittest.equals('foo'));
922 unittest.expect(o[1], unittest.equals('foo')); 922 unittest.expect(o[1], unittest.equals('foo'));
923 } 923 }
924 924
925 core.int buildCounterPlatformContext = 0; 925 core.int buildCounterPlatformContext = 0;
926 buildPlatformContext() { 926 buildPlatformContext() {
927 var o = new api.PlatformContext(); 927 var o = new api.PlatformContext();
928 buildCounterPlatformContext++; 928 buildCounterPlatformContext++;
929 if (buildCounterPlatformContext < 3) { 929 if (buildCounterPlatformContext < 3) {
930 o.platforms = buildUnnamed3491(); 930 o.platforms = buildUnnamed3589();
931 } 931 }
932 buildCounterPlatformContext--; 932 buildCounterPlatformContext--;
933 return o; 933 return o;
934 } 934 }
935 935
936 checkPlatformContext(api.PlatformContext o) { 936 checkPlatformContext(api.PlatformContext o) {
937 buildCounterPlatformContext++; 937 buildCounterPlatformContext++;
938 if (buildCounterPlatformContext < 3) { 938 if (buildCounterPlatformContext < 3) {
939 checkUnnamed3491(o.platforms); 939 checkUnnamed3589(o.platforms);
940 } 940 }
941 buildCounterPlatformContext--; 941 buildCounterPlatformContext--;
942 } 942 }
943 943
944 core.int buildCounterReason = 0; 944 core.int buildCounterReason = 0;
945 buildReason() { 945 buildReason() {
946 var o = new api.Reason(); 946 var o = new api.Reason();
947 buildCounterReason++; 947 buildCounterReason++;
948 if (buildCounterReason < 3) { 948 if (buildCounterReason < 3) {
949 o.count = "foo"; 949 o.count = "foo";
(...skipping 24 matching lines...) Expand all
974 } 974 }
975 975
976 checkRemoveDealAssociationRequest(api.RemoveDealAssociationRequest o) { 976 checkRemoveDealAssociationRequest(api.RemoveDealAssociationRequest o) {
977 buildCounterRemoveDealAssociationRequest++; 977 buildCounterRemoveDealAssociationRequest++;
978 if (buildCounterRemoveDealAssociationRequest < 3) { 978 if (buildCounterRemoveDealAssociationRequest < 3) {
979 checkCreativeDealAssociation(o.association); 979 checkCreativeDealAssociation(o.association);
980 } 980 }
981 buildCounterRemoveDealAssociationRequest--; 981 buildCounterRemoveDealAssociationRequest--;
982 } 982 }
983 983
984 buildUnnamed3492() { 984 buildUnnamed3590() {
985 var o = new core.List<core.String>(); 985 var o = new core.List<core.String>();
986 o.add("foo"); 986 o.add("foo");
987 o.add("foo"); 987 o.add("foo");
988 return o; 988 return o;
989 } 989 }
990 990
991 checkUnnamed3492(core.List<core.String> o) { 991 checkUnnamed3590(core.List<core.String> o) {
992 unittest.expect(o, unittest.hasLength(2)); 992 unittest.expect(o, unittest.hasLength(2));
993 unittest.expect(o[0], unittest.equals('foo')); 993 unittest.expect(o[0], unittest.equals('foo'));
994 unittest.expect(o[1], unittest.equals('foo')); 994 unittest.expect(o[1], unittest.equals('foo'));
995 } 995 }
996 996
997 core.int buildCounterSecurityContext = 0; 997 core.int buildCounterSecurityContext = 0;
998 buildSecurityContext() { 998 buildSecurityContext() {
999 var o = new api.SecurityContext(); 999 var o = new api.SecurityContext();
1000 buildCounterSecurityContext++; 1000 buildCounterSecurityContext++;
1001 if (buildCounterSecurityContext < 3) { 1001 if (buildCounterSecurityContext < 3) {
1002 o.securities = buildUnnamed3492(); 1002 o.securities = buildUnnamed3590();
1003 } 1003 }
1004 buildCounterSecurityContext--; 1004 buildCounterSecurityContext--;
1005 return o; 1005 return o;
1006 } 1006 }
1007 1007
1008 checkSecurityContext(api.SecurityContext o) { 1008 checkSecurityContext(api.SecurityContext o) {
1009 buildCounterSecurityContext++; 1009 buildCounterSecurityContext++;
1010 if (buildCounterSecurityContext < 3) { 1010 if (buildCounterSecurityContext < 3) {
1011 checkUnnamed3492(o.securities); 1011 checkUnnamed3590(o.securities);
1012 } 1012 }
1013 buildCounterSecurityContext--; 1013 buildCounterSecurityContext--;
1014 } 1014 }
1015 1015
1016 core.int buildCounterServingContext = 0; 1016 core.int buildCounterServingContext = 0;
1017 buildServingContext() { 1017 buildServingContext() {
1018 var o = new api.ServingContext(); 1018 var o = new api.ServingContext();
1019 buildCounterServingContext++; 1019 buildCounterServingContext++;
1020 if (buildCounterServingContext < 3) { 1020 if (buildCounterServingContext < 3) {
1021 o.all = "foo"; 1021 o.all = "foo";
(...skipping 13 matching lines...) Expand all
1035 unittest.expect(o.all, unittest.equals('foo')); 1035 unittest.expect(o.all, unittest.equals('foo'));
1036 checkAppContext(o.appType); 1036 checkAppContext(o.appType);
1037 checkAuctionContext(o.auctionType); 1037 checkAuctionContext(o.auctionType);
1038 checkLocationContext(o.location); 1038 checkLocationContext(o.location);
1039 checkPlatformContext(o.platform); 1039 checkPlatformContext(o.platform);
1040 checkSecurityContext(o.securityType); 1040 checkSecurityContext(o.securityType);
1041 } 1041 }
1042 buildCounterServingContext--; 1042 buildCounterServingContext--;
1043 } 1043 }
1044 1044
1045 buildUnnamed3493() { 1045 buildUnnamed3591() {
1046 var o = new core.List<api.ServingContext>(); 1046 var o = new core.List<api.ServingContext>();
1047 o.add(buildServingContext()); 1047 o.add(buildServingContext());
1048 o.add(buildServingContext()); 1048 o.add(buildServingContext());
1049 return o; 1049 return o;
1050 } 1050 }
1051 1051
1052 checkUnnamed3493(core.List<api.ServingContext> o) { 1052 checkUnnamed3591(core.List<api.ServingContext> o) {
1053 unittest.expect(o, unittest.hasLength(2)); 1053 unittest.expect(o, unittest.hasLength(2));
1054 checkServingContext(o[0]); 1054 checkServingContext(o[0]);
1055 checkServingContext(o[1]); 1055 checkServingContext(o[1]);
1056 } 1056 }
1057 1057
1058 buildUnnamed3494() { 1058 buildUnnamed3592() {
1059 var o = new core.List<api.Disapproval>(); 1059 var o = new core.List<api.Disapproval>();
1060 o.add(buildDisapproval()); 1060 o.add(buildDisapproval());
1061 o.add(buildDisapproval()); 1061 o.add(buildDisapproval());
1062 return o; 1062 return o;
1063 } 1063 }
1064 1064
1065 checkUnnamed3494(core.List<api.Disapproval> o) { 1065 checkUnnamed3592(core.List<api.Disapproval> o) {
1066 unittest.expect(o, unittest.hasLength(2)); 1066 unittest.expect(o, unittest.hasLength(2));
1067 checkDisapproval(o[0]); 1067 checkDisapproval(o[0]);
1068 checkDisapproval(o[1]); 1068 checkDisapproval(o[1]);
1069 } 1069 }
1070 1070
1071 core.int buildCounterServingRestriction = 0; 1071 core.int buildCounterServingRestriction = 0;
1072 buildServingRestriction() { 1072 buildServingRestriction() {
1073 var o = new api.ServingRestriction(); 1073 var o = new api.ServingRestriction();
1074 buildCounterServingRestriction++; 1074 buildCounterServingRestriction++;
1075 if (buildCounterServingRestriction < 3) { 1075 if (buildCounterServingRestriction < 3) {
1076 o.contexts = buildUnnamed3493(); 1076 o.contexts = buildUnnamed3591();
1077 o.disapprovalReasons = buildUnnamed3494(); 1077 o.disapprovalReasons = buildUnnamed3592();
1078 o.status = "foo"; 1078 o.status = "foo";
1079 } 1079 }
1080 buildCounterServingRestriction--; 1080 buildCounterServingRestriction--;
1081 return o; 1081 return o;
1082 } 1082 }
1083 1083
1084 checkServingRestriction(api.ServingRestriction o) { 1084 checkServingRestriction(api.ServingRestriction o) {
1085 buildCounterServingRestriction++; 1085 buildCounterServingRestriction++;
1086 if (buildCounterServingRestriction < 3) { 1086 if (buildCounterServingRestriction < 3) {
1087 checkUnnamed3493(o.contexts); 1087 checkUnnamed3591(o.contexts);
1088 checkUnnamed3494(o.disapprovalReasons); 1088 checkUnnamed3592(o.disapprovalReasons);
1089 unittest.expect(o.status, unittest.equals('foo')); 1089 unittest.expect(o.status, unittest.equals('foo'));
1090 } 1090 }
1091 buildCounterServingRestriction--; 1091 buildCounterServingRestriction--;
1092 } 1092 }
1093 1093
1094 core.int buildCounterStopWatchingCreativeRequest = 0; 1094 core.int buildCounterStopWatchingCreativeRequest = 0;
1095 buildStopWatchingCreativeRequest() { 1095 buildStopWatchingCreativeRequest() {
1096 var o = new api.StopWatchingCreativeRequest(); 1096 var o = new api.StopWatchingCreativeRequest();
1097 buildCounterStopWatchingCreativeRequest++; 1097 buildCounterStopWatchingCreativeRequest++;
1098 if (buildCounterStopWatchingCreativeRequest < 3) { 1098 if (buildCounterStopWatchingCreativeRequest < 3) {
(...skipping 682 matching lines...) Expand 10 before | Expand all | Expand 10 after
1781 checkClientUserInvitation(response); 1781 checkClientUserInvitation(response);
1782 }))); 1782 })));
1783 }); 1783 });
1784 1784
1785 unittest.test("method--list", () { 1785 unittest.test("method--list", () {
1786 1786
1787 var mock = new HttpServerMock(); 1787 var mock = new HttpServerMock();
1788 api.AccountsClientsInvitationsResourceApi res = new api.Adexchangebuyer2Ap i(mock).accounts.clients.invitations; 1788 api.AccountsClientsInvitationsResourceApi res = new api.Adexchangebuyer2Ap i(mock).accounts.clients.invitations;
1789 var arg_accountId = "foo"; 1789 var arg_accountId = "foo";
1790 var arg_clientAccountId = "foo"; 1790 var arg_clientAccountId = "foo";
1791 var arg_pageSize = 42;
1791 var arg_pageToken = "foo"; 1792 var arg_pageToken = "foo";
1792 var arg_pageSize = 42;
1793 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 1793 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
1794 var path = (req.url).path; 1794 var path = (req.url).path;
1795 var pathOffset = 0; 1795 var pathOffset = 0;
1796 var index; 1796 var index;
1797 var subPart; 1797 var subPart;
1798 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 1798 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
1799 pathOffset += 1; 1799 pathOffset += 1;
1800 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq uals("v2beta1/accounts/")); 1800 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq uals("v2beta1/accounts/"));
1801 pathOffset += 17; 1801 pathOffset += 17;
1802 index = path.indexOf("/clients/", pathOffset); 1802 index = path.indexOf("/clients/", pathOffset);
(...skipping 20 matching lines...) Expand all
1823 if (n == "false") return false; 1823 if (n == "false") return false;
1824 if (n == null) return null; 1824 if (n == null) return null;
1825 throw new core.ArgumentError("Invalid boolean: $n"); 1825 throw new core.ArgumentError("Invalid boolean: $n");
1826 } 1826 }
1827 if (query.length > 0) { 1827 if (query.length > 0) {
1828 for (var part in query.split("&")) { 1828 for (var part in query.split("&")) {
1829 var keyvalue = part.split("="); 1829 var keyvalue = part.split("=");
1830 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 1830 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
1831 } 1831 }
1832 } 1832 }
1833 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ als(arg_pageSize));
1833 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok en)); 1834 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok en));
1834 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ als(arg_pageSize));
1835 1835
1836 1836
1837 var h = { 1837 var h = {
1838 "content-type" : "application/json; charset=utf-8", 1838 "content-type" : "application/json; charset=utf-8",
1839 }; 1839 };
1840 var resp = convert.JSON.encode(buildListClientUserInvitationsResponse()) ; 1840 var resp = convert.JSON.encode(buildListClientUserInvitationsResponse()) ;
1841 return new async.Future.value(stringResponse(200, h, resp)); 1841 return new async.Future.value(stringResponse(200, h, resp));
1842 }), true); 1842 }), true);
1843 res.list(arg_accountId, arg_clientAccountId, pageToken: arg_pageToken, pag eSize: arg_pageSize).then(unittest.expectAsync(((api.ListClientUserInvitationsRe sponse response) { 1843 res.list(arg_accountId, arg_clientAccountId, pageSize: arg_pageSize, pageT oken: arg_pageToken).then(unittest.expectAsync(((api.ListClientUserInvitationsRe sponse response) {
1844 checkListClientUserInvitationsResponse(response); 1844 checkListClientUserInvitationsResponse(response);
1845 }))); 1845 })));
1846 }); 1846 });
1847 1847
1848 }); 1848 });
1849 1849
1850 1850
1851 unittest.group("resource-AccountsClientsUsersResourceApi", () { 1851 unittest.group("resource-AccountsClientsUsersResourceApi", () {
1852 unittest.test("method--get", () { 1852 unittest.test("method--get", () {
1853 1853
(...skipping 739 matching lines...) Expand 10 before | Expand all | Expand 10 after
2593 res.remove(arg_request, arg_accountId, arg_creativeId).then(unittest.expec tAsync(((api.Empty response) { 2593 res.remove(arg_request, arg_accountId, arg_creativeId).then(unittest.expec tAsync(((api.Empty response) {
2594 checkEmpty(response); 2594 checkEmpty(response);
2595 }))); 2595 })));
2596 }); 2596 });
2597 2597
2598 }); 2598 });
2599 2599
2600 2600
2601 } 2601 }
2602 2602
OLDNEW
« no previous file with comments | « generated/googleapis_beta/pubspec.yaml ('k') | generated/googleapis_beta/test/appengine/v1beta4_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698