OLD | NEW |
1 library googleapis.cloudresourcemanager.v1.test; | 1 library googleapis.cloudresourcemanager.v1.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:test/test.dart' as unittest; | 10 import 'package:test/test.dart' as unittest; |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 } | 63 } |
64 | 64 |
65 checkAncestor(api.Ancestor o) { | 65 checkAncestor(api.Ancestor o) { |
66 buildCounterAncestor++; | 66 buildCounterAncestor++; |
67 if (buildCounterAncestor < 3) { | 67 if (buildCounterAncestor < 3) { |
68 checkResourceId(o.resourceId); | 68 checkResourceId(o.resourceId); |
69 } | 69 } |
70 buildCounterAncestor--; | 70 buildCounterAncestor--; |
71 } | 71 } |
72 | 72 |
73 buildUnnamed1825() { | 73 buildUnnamed1843() { |
74 var o = new core.List<api.AuditLogConfig>(); | 74 var o = new core.List<api.AuditLogConfig>(); |
75 o.add(buildAuditLogConfig()); | 75 o.add(buildAuditLogConfig()); |
76 o.add(buildAuditLogConfig()); | 76 o.add(buildAuditLogConfig()); |
77 return o; | 77 return o; |
78 } | 78 } |
79 | 79 |
80 checkUnnamed1825(core.List<api.AuditLogConfig> o) { | 80 checkUnnamed1843(core.List<api.AuditLogConfig> o) { |
81 unittest.expect(o, unittest.hasLength(2)); | 81 unittest.expect(o, unittest.hasLength(2)); |
82 checkAuditLogConfig(o[0]); | 82 checkAuditLogConfig(o[0]); |
83 checkAuditLogConfig(o[1]); | 83 checkAuditLogConfig(o[1]); |
84 } | 84 } |
85 | 85 |
86 core.int buildCounterAuditConfig = 0; | 86 core.int buildCounterAuditConfig = 0; |
87 buildAuditConfig() { | 87 buildAuditConfig() { |
88 var o = new api.AuditConfig(); | 88 var o = new api.AuditConfig(); |
89 buildCounterAuditConfig++; | 89 buildCounterAuditConfig++; |
90 if (buildCounterAuditConfig < 3) { | 90 if (buildCounterAuditConfig < 3) { |
91 o.auditLogConfigs = buildUnnamed1825(); | 91 o.auditLogConfigs = buildUnnamed1843(); |
92 o.service = "foo"; | 92 o.service = "foo"; |
93 } | 93 } |
94 buildCounterAuditConfig--; | 94 buildCounterAuditConfig--; |
95 return o; | 95 return o; |
96 } | 96 } |
97 | 97 |
98 checkAuditConfig(api.AuditConfig o) { | 98 checkAuditConfig(api.AuditConfig o) { |
99 buildCounterAuditConfig++; | 99 buildCounterAuditConfig++; |
100 if (buildCounterAuditConfig < 3) { | 100 if (buildCounterAuditConfig < 3) { |
101 checkUnnamed1825(o.auditLogConfigs); | 101 checkUnnamed1843(o.auditLogConfigs); |
102 unittest.expect(o.service, unittest.equals('foo')); | 102 unittest.expect(o.service, unittest.equals('foo')); |
103 } | 103 } |
104 buildCounterAuditConfig--; | 104 buildCounterAuditConfig--; |
105 } | 105 } |
106 | 106 |
107 buildUnnamed1826() { | 107 buildUnnamed1844() { |
108 var o = new core.List<core.String>(); | 108 var o = new core.List<core.String>(); |
109 o.add("foo"); | 109 o.add("foo"); |
110 o.add("foo"); | 110 o.add("foo"); |
111 return o; | 111 return o; |
112 } | 112 } |
113 | 113 |
114 checkUnnamed1826(core.List<core.String> o) { | 114 checkUnnamed1844(core.List<core.String> o) { |
115 unittest.expect(o, unittest.hasLength(2)); | 115 unittest.expect(o, unittest.hasLength(2)); |
116 unittest.expect(o[0], unittest.equals('foo')); | 116 unittest.expect(o[0], unittest.equals('foo')); |
117 unittest.expect(o[1], unittest.equals('foo')); | 117 unittest.expect(o[1], unittest.equals('foo')); |
118 } | 118 } |
119 | 119 |
120 core.int buildCounterAuditLogConfig = 0; | 120 core.int buildCounterAuditLogConfig = 0; |
121 buildAuditLogConfig() { | 121 buildAuditLogConfig() { |
122 var o = new api.AuditLogConfig(); | 122 var o = new api.AuditLogConfig(); |
123 buildCounterAuditLogConfig++; | 123 buildCounterAuditLogConfig++; |
124 if (buildCounterAuditLogConfig < 3) { | 124 if (buildCounterAuditLogConfig < 3) { |
125 o.exemptedMembers = buildUnnamed1826(); | 125 o.exemptedMembers = buildUnnamed1844(); |
126 o.logType = "foo"; | 126 o.logType = "foo"; |
127 } | 127 } |
128 buildCounterAuditLogConfig--; | 128 buildCounterAuditLogConfig--; |
129 return o; | 129 return o; |
130 } | 130 } |
131 | 131 |
132 checkAuditLogConfig(api.AuditLogConfig o) { | 132 checkAuditLogConfig(api.AuditLogConfig o) { |
133 buildCounterAuditLogConfig++; | 133 buildCounterAuditLogConfig++; |
134 if (buildCounterAuditLogConfig < 3) { | 134 if (buildCounterAuditLogConfig < 3) { |
135 checkUnnamed1826(o.exemptedMembers); | 135 checkUnnamed1844(o.exemptedMembers); |
136 unittest.expect(o.logType, unittest.equals('foo')); | 136 unittest.expect(o.logType, unittest.equals('foo')); |
137 } | 137 } |
138 buildCounterAuditLogConfig--; | 138 buildCounterAuditLogConfig--; |
139 } | 139 } |
140 | 140 |
141 buildUnnamed1827() { | 141 buildUnnamed1845() { |
142 var o = new core.List<core.String>(); | 142 var o = new core.List<core.String>(); |
143 o.add("foo"); | 143 o.add("foo"); |
144 o.add("foo"); | 144 o.add("foo"); |
145 return o; | 145 return o; |
146 } | 146 } |
147 | 147 |
148 checkUnnamed1827(core.List<core.String> o) { | 148 checkUnnamed1845(core.List<core.String> o) { |
149 unittest.expect(o, unittest.hasLength(2)); | 149 unittest.expect(o, unittest.hasLength(2)); |
150 unittest.expect(o[0], unittest.equals('foo')); | 150 unittest.expect(o[0], unittest.equals('foo')); |
151 unittest.expect(o[1], unittest.equals('foo')); | 151 unittest.expect(o[1], unittest.equals('foo')); |
152 } | 152 } |
153 | 153 |
154 core.int buildCounterBinding = 0; | 154 core.int buildCounterBinding = 0; |
155 buildBinding() { | 155 buildBinding() { |
156 var o = new api.Binding(); | 156 var o = new api.Binding(); |
157 buildCounterBinding++; | 157 buildCounterBinding++; |
158 if (buildCounterBinding < 3) { | 158 if (buildCounterBinding < 3) { |
159 o.members = buildUnnamed1827(); | 159 o.members = buildUnnamed1845(); |
160 o.role = "foo"; | 160 o.role = "foo"; |
161 } | 161 } |
162 buildCounterBinding--; | 162 buildCounterBinding--; |
163 return o; | 163 return o; |
164 } | 164 } |
165 | 165 |
166 checkBinding(api.Binding o) { | 166 checkBinding(api.Binding o) { |
167 buildCounterBinding++; | 167 buildCounterBinding++; |
168 if (buildCounterBinding < 3) { | 168 if (buildCounterBinding < 3) { |
169 checkUnnamed1827(o.members); | 169 checkUnnamed1845(o.members); |
170 unittest.expect(o.role, unittest.equals('foo')); | 170 unittest.expect(o.role, unittest.equals('foo')); |
171 } | 171 } |
172 buildCounterBinding--; | 172 buildCounterBinding--; |
173 } | 173 } |
174 | 174 |
175 core.int buildCounterBooleanConstraint = 0; | 175 core.int buildCounterBooleanConstraint = 0; |
176 buildBooleanConstraint() { | 176 buildBooleanConstraint() { |
177 var o = new api.BooleanConstraint(); | 177 var o = new api.BooleanConstraint(); |
178 buildCounterBooleanConstraint++; | 178 buildCounterBooleanConstraint++; |
179 if (buildCounterBooleanConstraint < 3) { | 179 if (buildCounterBooleanConstraint < 3) { |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 return o; | 331 return o; |
332 } | 332 } |
333 | 333 |
334 checkGetAncestryRequest(api.GetAncestryRequest o) { | 334 checkGetAncestryRequest(api.GetAncestryRequest o) { |
335 buildCounterGetAncestryRequest++; | 335 buildCounterGetAncestryRequest++; |
336 if (buildCounterGetAncestryRequest < 3) { | 336 if (buildCounterGetAncestryRequest < 3) { |
337 } | 337 } |
338 buildCounterGetAncestryRequest--; | 338 buildCounterGetAncestryRequest--; |
339 } | 339 } |
340 | 340 |
341 buildUnnamed1828() { | 341 buildUnnamed1846() { |
342 var o = new core.List<api.Ancestor>(); | 342 var o = new core.List<api.Ancestor>(); |
343 o.add(buildAncestor()); | 343 o.add(buildAncestor()); |
344 o.add(buildAncestor()); | 344 o.add(buildAncestor()); |
345 return o; | 345 return o; |
346 } | 346 } |
347 | 347 |
348 checkUnnamed1828(core.List<api.Ancestor> o) { | 348 checkUnnamed1846(core.List<api.Ancestor> o) { |
349 unittest.expect(o, unittest.hasLength(2)); | 349 unittest.expect(o, unittest.hasLength(2)); |
350 checkAncestor(o[0]); | 350 checkAncestor(o[0]); |
351 checkAncestor(o[1]); | 351 checkAncestor(o[1]); |
352 } | 352 } |
353 | 353 |
354 core.int buildCounterGetAncestryResponse = 0; | 354 core.int buildCounterGetAncestryResponse = 0; |
355 buildGetAncestryResponse() { | 355 buildGetAncestryResponse() { |
356 var o = new api.GetAncestryResponse(); | 356 var o = new api.GetAncestryResponse(); |
357 buildCounterGetAncestryResponse++; | 357 buildCounterGetAncestryResponse++; |
358 if (buildCounterGetAncestryResponse < 3) { | 358 if (buildCounterGetAncestryResponse < 3) { |
359 o.ancestor = buildUnnamed1828(); | 359 o.ancestor = buildUnnamed1846(); |
360 } | 360 } |
361 buildCounterGetAncestryResponse--; | 361 buildCounterGetAncestryResponse--; |
362 return o; | 362 return o; |
363 } | 363 } |
364 | 364 |
365 checkGetAncestryResponse(api.GetAncestryResponse o) { | 365 checkGetAncestryResponse(api.GetAncestryResponse o) { |
366 buildCounterGetAncestryResponse++; | 366 buildCounterGetAncestryResponse++; |
367 if (buildCounterGetAncestryResponse < 3) { | 367 if (buildCounterGetAncestryResponse < 3) { |
368 checkUnnamed1828(o.ancestor); | 368 checkUnnamed1846(o.ancestor); |
369 } | 369 } |
370 buildCounterGetAncestryResponse--; | 370 buildCounterGetAncestryResponse--; |
371 } | 371 } |
372 | 372 |
373 core.int buildCounterGetEffectiveOrgPolicyRequest = 0; | 373 core.int buildCounterGetEffectiveOrgPolicyRequest = 0; |
374 buildGetEffectiveOrgPolicyRequest() { | 374 buildGetEffectiveOrgPolicyRequest() { |
375 var o = new api.GetEffectiveOrgPolicyRequest(); | 375 var o = new api.GetEffectiveOrgPolicyRequest(); |
376 buildCounterGetEffectiveOrgPolicyRequest++; | 376 buildCounterGetEffectiveOrgPolicyRequest++; |
377 if (buildCounterGetEffectiveOrgPolicyRequest < 3) { | 377 if (buildCounterGetEffectiveOrgPolicyRequest < 3) { |
378 o.constraint = "foo"; | 378 o.constraint = "foo"; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 } | 418 } |
419 | 419 |
420 checkGetOrgPolicyRequest(api.GetOrgPolicyRequest o) { | 420 checkGetOrgPolicyRequest(api.GetOrgPolicyRequest o) { |
421 buildCounterGetOrgPolicyRequest++; | 421 buildCounterGetOrgPolicyRequest++; |
422 if (buildCounterGetOrgPolicyRequest < 3) { | 422 if (buildCounterGetOrgPolicyRequest < 3) { |
423 unittest.expect(o.constraint, unittest.equals('foo')); | 423 unittest.expect(o.constraint, unittest.equals('foo')); |
424 } | 424 } |
425 buildCounterGetOrgPolicyRequest--; | 425 buildCounterGetOrgPolicyRequest--; |
426 } | 426 } |
427 | 427 |
428 buildUnnamed1829() { | 428 buildUnnamed1847() { |
429 var o = new core.List<core.String>(); | 429 var o = new core.List<core.String>(); |
430 o.add("foo"); | 430 o.add("foo"); |
431 o.add("foo"); | 431 o.add("foo"); |
432 return o; | 432 return o; |
433 } | 433 } |
434 | 434 |
435 checkUnnamed1829(core.List<core.String> o) { | 435 checkUnnamed1847(core.List<core.String> o) { |
436 unittest.expect(o, unittest.hasLength(2)); | 436 unittest.expect(o, unittest.hasLength(2)); |
437 unittest.expect(o[0], unittest.equals('foo')); | 437 unittest.expect(o[0], unittest.equals('foo')); |
438 unittest.expect(o[1], unittest.equals('foo')); | 438 unittest.expect(o[1], unittest.equals('foo')); |
439 } | 439 } |
440 | 440 |
441 core.int buildCounterLien = 0; | 441 core.int buildCounterLien = 0; |
442 buildLien() { | 442 buildLien() { |
443 var o = new api.Lien(); | 443 var o = new api.Lien(); |
444 buildCounterLien++; | 444 buildCounterLien++; |
445 if (buildCounterLien < 3) { | 445 if (buildCounterLien < 3) { |
446 o.createTime = "foo"; | 446 o.createTime = "foo"; |
447 o.name = "foo"; | 447 o.name = "foo"; |
448 o.origin = "foo"; | 448 o.origin = "foo"; |
449 o.parent = "foo"; | 449 o.parent = "foo"; |
450 o.reason = "foo"; | 450 o.reason = "foo"; |
451 o.restrictions = buildUnnamed1829(); | 451 o.restrictions = buildUnnamed1847(); |
452 } | 452 } |
453 buildCounterLien--; | 453 buildCounterLien--; |
454 return o; | 454 return o; |
455 } | 455 } |
456 | 456 |
457 checkLien(api.Lien o) { | 457 checkLien(api.Lien o) { |
458 buildCounterLien++; | 458 buildCounterLien++; |
459 if (buildCounterLien < 3) { | 459 if (buildCounterLien < 3) { |
460 unittest.expect(o.createTime, unittest.equals('foo')); | 460 unittest.expect(o.createTime, unittest.equals('foo')); |
461 unittest.expect(o.name, unittest.equals('foo')); | 461 unittest.expect(o.name, unittest.equals('foo')); |
462 unittest.expect(o.origin, unittest.equals('foo')); | 462 unittest.expect(o.origin, unittest.equals('foo')); |
463 unittest.expect(o.parent, unittest.equals('foo')); | 463 unittest.expect(o.parent, unittest.equals('foo')); |
464 unittest.expect(o.reason, unittest.equals('foo')); | 464 unittest.expect(o.reason, unittest.equals('foo')); |
465 checkUnnamed1829(o.restrictions); | 465 checkUnnamed1847(o.restrictions); |
466 } | 466 } |
467 buildCounterLien--; | 467 buildCounterLien--; |
468 } | 468 } |
469 | 469 |
470 core.int buildCounterListAvailableOrgPolicyConstraintsRequest = 0; | 470 core.int buildCounterListAvailableOrgPolicyConstraintsRequest = 0; |
471 buildListAvailableOrgPolicyConstraintsRequest() { | 471 buildListAvailableOrgPolicyConstraintsRequest() { |
472 var o = new api.ListAvailableOrgPolicyConstraintsRequest(); | 472 var o = new api.ListAvailableOrgPolicyConstraintsRequest(); |
473 buildCounterListAvailableOrgPolicyConstraintsRequest++; | 473 buildCounterListAvailableOrgPolicyConstraintsRequest++; |
474 if (buildCounterListAvailableOrgPolicyConstraintsRequest < 3) { | 474 if (buildCounterListAvailableOrgPolicyConstraintsRequest < 3) { |
475 o.pageSize = 42; | 475 o.pageSize = 42; |
476 o.pageToken = "foo"; | 476 o.pageToken = "foo"; |
477 } | 477 } |
478 buildCounterListAvailableOrgPolicyConstraintsRequest--; | 478 buildCounterListAvailableOrgPolicyConstraintsRequest--; |
479 return o; | 479 return o; |
480 } | 480 } |
481 | 481 |
482 checkListAvailableOrgPolicyConstraintsRequest(api.ListAvailableOrgPolicyConstrai
ntsRequest o) { | 482 checkListAvailableOrgPolicyConstraintsRequest(api.ListAvailableOrgPolicyConstrai
ntsRequest o) { |
483 buildCounterListAvailableOrgPolicyConstraintsRequest++; | 483 buildCounterListAvailableOrgPolicyConstraintsRequest++; |
484 if (buildCounterListAvailableOrgPolicyConstraintsRequest < 3) { | 484 if (buildCounterListAvailableOrgPolicyConstraintsRequest < 3) { |
485 unittest.expect(o.pageSize, unittest.equals(42)); | 485 unittest.expect(o.pageSize, unittest.equals(42)); |
486 unittest.expect(o.pageToken, unittest.equals('foo')); | 486 unittest.expect(o.pageToken, unittest.equals('foo')); |
487 } | 487 } |
488 buildCounterListAvailableOrgPolicyConstraintsRequest--; | 488 buildCounterListAvailableOrgPolicyConstraintsRequest--; |
489 } | 489 } |
490 | 490 |
491 buildUnnamed1830() { | 491 buildUnnamed1848() { |
492 var o = new core.List<api.Constraint>(); | 492 var o = new core.List<api.Constraint>(); |
493 o.add(buildConstraint()); | 493 o.add(buildConstraint()); |
494 o.add(buildConstraint()); | 494 o.add(buildConstraint()); |
495 return o; | 495 return o; |
496 } | 496 } |
497 | 497 |
498 checkUnnamed1830(core.List<api.Constraint> o) { | 498 checkUnnamed1848(core.List<api.Constraint> o) { |
499 unittest.expect(o, unittest.hasLength(2)); | 499 unittest.expect(o, unittest.hasLength(2)); |
500 checkConstraint(o[0]); | 500 checkConstraint(o[0]); |
501 checkConstraint(o[1]); | 501 checkConstraint(o[1]); |
502 } | 502 } |
503 | 503 |
504 core.int buildCounterListAvailableOrgPolicyConstraintsResponse = 0; | 504 core.int buildCounterListAvailableOrgPolicyConstraintsResponse = 0; |
505 buildListAvailableOrgPolicyConstraintsResponse() { | 505 buildListAvailableOrgPolicyConstraintsResponse() { |
506 var o = new api.ListAvailableOrgPolicyConstraintsResponse(); | 506 var o = new api.ListAvailableOrgPolicyConstraintsResponse(); |
507 buildCounterListAvailableOrgPolicyConstraintsResponse++; | 507 buildCounterListAvailableOrgPolicyConstraintsResponse++; |
508 if (buildCounterListAvailableOrgPolicyConstraintsResponse < 3) { | 508 if (buildCounterListAvailableOrgPolicyConstraintsResponse < 3) { |
509 o.constraints = buildUnnamed1830(); | 509 o.constraints = buildUnnamed1848(); |
510 o.nextPageToken = "foo"; | 510 o.nextPageToken = "foo"; |
511 } | 511 } |
512 buildCounterListAvailableOrgPolicyConstraintsResponse--; | 512 buildCounterListAvailableOrgPolicyConstraintsResponse--; |
513 return o; | 513 return o; |
514 } | 514 } |
515 | 515 |
516 checkListAvailableOrgPolicyConstraintsResponse(api.ListAvailableOrgPolicyConstra
intsResponse o) { | 516 checkListAvailableOrgPolicyConstraintsResponse(api.ListAvailableOrgPolicyConstra
intsResponse o) { |
517 buildCounterListAvailableOrgPolicyConstraintsResponse++; | 517 buildCounterListAvailableOrgPolicyConstraintsResponse++; |
518 if (buildCounterListAvailableOrgPolicyConstraintsResponse < 3) { | 518 if (buildCounterListAvailableOrgPolicyConstraintsResponse < 3) { |
519 checkUnnamed1830(o.constraints); | 519 checkUnnamed1848(o.constraints); |
520 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 520 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
521 } | 521 } |
522 buildCounterListAvailableOrgPolicyConstraintsResponse--; | 522 buildCounterListAvailableOrgPolicyConstraintsResponse--; |
523 } | 523 } |
524 | 524 |
525 core.int buildCounterListConstraint = 0; | 525 core.int buildCounterListConstraint = 0; |
526 buildListConstraint() { | 526 buildListConstraint() { |
527 var o = new api.ListConstraint(); | 527 var o = new api.ListConstraint(); |
528 buildCounterListConstraint++; | 528 buildCounterListConstraint++; |
529 if (buildCounterListConstraint < 3) { | 529 if (buildCounterListConstraint < 3) { |
530 o.suggestedValue = "foo"; | 530 o.suggestedValue = "foo"; |
531 } | 531 } |
532 buildCounterListConstraint--; | 532 buildCounterListConstraint--; |
533 return o; | 533 return o; |
534 } | 534 } |
535 | 535 |
536 checkListConstraint(api.ListConstraint o) { | 536 checkListConstraint(api.ListConstraint o) { |
537 buildCounterListConstraint++; | 537 buildCounterListConstraint++; |
538 if (buildCounterListConstraint < 3) { | 538 if (buildCounterListConstraint < 3) { |
539 unittest.expect(o.suggestedValue, unittest.equals('foo')); | 539 unittest.expect(o.suggestedValue, unittest.equals('foo')); |
540 } | 540 } |
541 buildCounterListConstraint--; | 541 buildCounterListConstraint--; |
542 } | 542 } |
543 | 543 |
544 buildUnnamed1831() { | 544 buildUnnamed1849() { |
545 var o = new core.List<api.Lien>(); | 545 var o = new core.List<api.Lien>(); |
546 o.add(buildLien()); | 546 o.add(buildLien()); |
547 o.add(buildLien()); | 547 o.add(buildLien()); |
548 return o; | 548 return o; |
549 } | 549 } |
550 | 550 |
551 checkUnnamed1831(core.List<api.Lien> o) { | 551 checkUnnamed1849(core.List<api.Lien> o) { |
552 unittest.expect(o, unittest.hasLength(2)); | 552 unittest.expect(o, unittest.hasLength(2)); |
553 checkLien(o[0]); | 553 checkLien(o[0]); |
554 checkLien(o[1]); | 554 checkLien(o[1]); |
555 } | 555 } |
556 | 556 |
557 core.int buildCounterListLiensResponse = 0; | 557 core.int buildCounterListLiensResponse = 0; |
558 buildListLiensResponse() { | 558 buildListLiensResponse() { |
559 var o = new api.ListLiensResponse(); | 559 var o = new api.ListLiensResponse(); |
560 buildCounterListLiensResponse++; | 560 buildCounterListLiensResponse++; |
561 if (buildCounterListLiensResponse < 3) { | 561 if (buildCounterListLiensResponse < 3) { |
562 o.liens = buildUnnamed1831(); | 562 o.liens = buildUnnamed1849(); |
563 o.nextPageToken = "foo"; | 563 o.nextPageToken = "foo"; |
564 } | 564 } |
565 buildCounterListLiensResponse--; | 565 buildCounterListLiensResponse--; |
566 return o; | 566 return o; |
567 } | 567 } |
568 | 568 |
569 checkListLiensResponse(api.ListLiensResponse o) { | 569 checkListLiensResponse(api.ListLiensResponse o) { |
570 buildCounterListLiensResponse++; | 570 buildCounterListLiensResponse++; |
571 if (buildCounterListLiensResponse < 3) { | 571 if (buildCounterListLiensResponse < 3) { |
572 checkUnnamed1831(o.liens); | 572 checkUnnamed1849(o.liens); |
573 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 573 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
574 } | 574 } |
575 buildCounterListLiensResponse--; | 575 buildCounterListLiensResponse--; |
576 } | 576 } |
577 | 577 |
578 core.int buildCounterListOrgPoliciesRequest = 0; | 578 core.int buildCounterListOrgPoliciesRequest = 0; |
579 buildListOrgPoliciesRequest() { | 579 buildListOrgPoliciesRequest() { |
580 var o = new api.ListOrgPoliciesRequest(); | 580 var o = new api.ListOrgPoliciesRequest(); |
581 buildCounterListOrgPoliciesRequest++; | 581 buildCounterListOrgPoliciesRequest++; |
582 if (buildCounterListOrgPoliciesRequest < 3) { | 582 if (buildCounterListOrgPoliciesRequest < 3) { |
583 o.pageSize = 42; | 583 o.pageSize = 42; |
584 o.pageToken = "foo"; | 584 o.pageToken = "foo"; |
585 } | 585 } |
586 buildCounterListOrgPoliciesRequest--; | 586 buildCounterListOrgPoliciesRequest--; |
587 return o; | 587 return o; |
588 } | 588 } |
589 | 589 |
590 checkListOrgPoliciesRequest(api.ListOrgPoliciesRequest o) { | 590 checkListOrgPoliciesRequest(api.ListOrgPoliciesRequest o) { |
591 buildCounterListOrgPoliciesRequest++; | 591 buildCounterListOrgPoliciesRequest++; |
592 if (buildCounterListOrgPoliciesRequest < 3) { | 592 if (buildCounterListOrgPoliciesRequest < 3) { |
593 unittest.expect(o.pageSize, unittest.equals(42)); | 593 unittest.expect(o.pageSize, unittest.equals(42)); |
594 unittest.expect(o.pageToken, unittest.equals('foo')); | 594 unittest.expect(o.pageToken, unittest.equals('foo')); |
595 } | 595 } |
596 buildCounterListOrgPoliciesRequest--; | 596 buildCounterListOrgPoliciesRequest--; |
597 } | 597 } |
598 | 598 |
599 buildUnnamed1832() { | 599 buildUnnamed1850() { |
600 var o = new core.List<api.OrgPolicy>(); | 600 var o = new core.List<api.OrgPolicy>(); |
601 o.add(buildOrgPolicy()); | 601 o.add(buildOrgPolicy()); |
602 o.add(buildOrgPolicy()); | 602 o.add(buildOrgPolicy()); |
603 return o; | 603 return o; |
604 } | 604 } |
605 | 605 |
606 checkUnnamed1832(core.List<api.OrgPolicy> o) { | 606 checkUnnamed1850(core.List<api.OrgPolicy> o) { |
607 unittest.expect(o, unittest.hasLength(2)); | 607 unittest.expect(o, unittest.hasLength(2)); |
608 checkOrgPolicy(o[0]); | 608 checkOrgPolicy(o[0]); |
609 checkOrgPolicy(o[1]); | 609 checkOrgPolicy(o[1]); |
610 } | 610 } |
611 | 611 |
612 core.int buildCounterListOrgPoliciesResponse = 0; | 612 core.int buildCounterListOrgPoliciesResponse = 0; |
613 buildListOrgPoliciesResponse() { | 613 buildListOrgPoliciesResponse() { |
614 var o = new api.ListOrgPoliciesResponse(); | 614 var o = new api.ListOrgPoliciesResponse(); |
615 buildCounterListOrgPoliciesResponse++; | 615 buildCounterListOrgPoliciesResponse++; |
616 if (buildCounterListOrgPoliciesResponse < 3) { | 616 if (buildCounterListOrgPoliciesResponse < 3) { |
617 o.nextPageToken = "foo"; | 617 o.nextPageToken = "foo"; |
618 o.policies = buildUnnamed1832(); | 618 o.policies = buildUnnamed1850(); |
619 } | 619 } |
620 buildCounterListOrgPoliciesResponse--; | 620 buildCounterListOrgPoliciesResponse--; |
621 return o; | 621 return o; |
622 } | 622 } |
623 | 623 |
624 checkListOrgPoliciesResponse(api.ListOrgPoliciesResponse o) { | 624 checkListOrgPoliciesResponse(api.ListOrgPoliciesResponse o) { |
625 buildCounterListOrgPoliciesResponse++; | 625 buildCounterListOrgPoliciesResponse++; |
626 if (buildCounterListOrgPoliciesResponse < 3) { | 626 if (buildCounterListOrgPoliciesResponse < 3) { |
627 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 627 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
628 checkUnnamed1832(o.policies); | 628 checkUnnamed1850(o.policies); |
629 } | 629 } |
630 buildCounterListOrgPoliciesResponse--; | 630 buildCounterListOrgPoliciesResponse--; |
631 } | 631 } |
632 | 632 |
633 buildUnnamed1833() { | 633 buildUnnamed1851() { |
634 var o = new core.List<core.String>(); | 634 var o = new core.List<core.String>(); |
635 o.add("foo"); | 635 o.add("foo"); |
636 o.add("foo"); | 636 o.add("foo"); |
637 return o; | 637 return o; |
638 } | 638 } |
639 | 639 |
640 checkUnnamed1833(core.List<core.String> o) { | 640 checkUnnamed1851(core.List<core.String> o) { |
641 unittest.expect(o, unittest.hasLength(2)); | 641 unittest.expect(o, unittest.hasLength(2)); |
642 unittest.expect(o[0], unittest.equals('foo')); | 642 unittest.expect(o[0], unittest.equals('foo')); |
643 unittest.expect(o[1], unittest.equals('foo')); | 643 unittest.expect(o[1], unittest.equals('foo')); |
644 } | 644 } |
645 | 645 |
646 buildUnnamed1834() { | 646 buildUnnamed1852() { |
647 var o = new core.List<core.String>(); | 647 var o = new core.List<core.String>(); |
648 o.add("foo"); | 648 o.add("foo"); |
649 o.add("foo"); | 649 o.add("foo"); |
650 return o; | 650 return o; |
651 } | 651 } |
652 | 652 |
653 checkUnnamed1834(core.List<core.String> o) { | 653 checkUnnamed1852(core.List<core.String> o) { |
654 unittest.expect(o, unittest.hasLength(2)); | 654 unittest.expect(o, unittest.hasLength(2)); |
655 unittest.expect(o[0], unittest.equals('foo')); | 655 unittest.expect(o[0], unittest.equals('foo')); |
656 unittest.expect(o[1], unittest.equals('foo')); | 656 unittest.expect(o[1], unittest.equals('foo')); |
657 } | 657 } |
658 | 658 |
659 core.int buildCounterListPolicy = 0; | 659 core.int buildCounterListPolicy = 0; |
660 buildListPolicy() { | 660 buildListPolicy() { |
661 var o = new api.ListPolicy(); | 661 var o = new api.ListPolicy(); |
662 buildCounterListPolicy++; | 662 buildCounterListPolicy++; |
663 if (buildCounterListPolicy < 3) { | 663 if (buildCounterListPolicy < 3) { |
664 o.allValues = "foo"; | 664 o.allValues = "foo"; |
665 o.allowedValues = buildUnnamed1833(); | 665 o.allowedValues = buildUnnamed1851(); |
666 o.deniedValues = buildUnnamed1834(); | 666 o.deniedValues = buildUnnamed1852(); |
667 o.inheritFromParent = true; | 667 o.inheritFromParent = true; |
668 o.suggestedValue = "foo"; | 668 o.suggestedValue = "foo"; |
669 } | 669 } |
670 buildCounterListPolicy--; | 670 buildCounterListPolicy--; |
671 return o; | 671 return o; |
672 } | 672 } |
673 | 673 |
674 checkListPolicy(api.ListPolicy o) { | 674 checkListPolicy(api.ListPolicy o) { |
675 buildCounterListPolicy++; | 675 buildCounterListPolicy++; |
676 if (buildCounterListPolicy < 3) { | 676 if (buildCounterListPolicy < 3) { |
677 unittest.expect(o.allValues, unittest.equals('foo')); | 677 unittest.expect(o.allValues, unittest.equals('foo')); |
678 checkUnnamed1833(o.allowedValues); | 678 checkUnnamed1851(o.allowedValues); |
679 checkUnnamed1834(o.deniedValues); | 679 checkUnnamed1852(o.deniedValues); |
680 unittest.expect(o.inheritFromParent, unittest.isTrue); | 680 unittest.expect(o.inheritFromParent, unittest.isTrue); |
681 unittest.expect(o.suggestedValue, unittest.equals('foo')); | 681 unittest.expect(o.suggestedValue, unittest.equals('foo')); |
682 } | 682 } |
683 buildCounterListPolicy--; | 683 buildCounterListPolicy--; |
684 } | 684 } |
685 | 685 |
686 buildUnnamed1835() { | 686 buildUnnamed1853() { |
687 var o = new core.List<api.Project>(); | 687 var o = new core.List<api.Project>(); |
688 o.add(buildProject()); | 688 o.add(buildProject()); |
689 o.add(buildProject()); | 689 o.add(buildProject()); |
690 return o; | 690 return o; |
691 } | 691 } |
692 | 692 |
693 checkUnnamed1835(core.List<api.Project> o) { | 693 checkUnnamed1853(core.List<api.Project> o) { |
694 unittest.expect(o, unittest.hasLength(2)); | 694 unittest.expect(o, unittest.hasLength(2)); |
695 checkProject(o[0]); | 695 checkProject(o[0]); |
696 checkProject(o[1]); | 696 checkProject(o[1]); |
697 } | 697 } |
698 | 698 |
699 core.int buildCounterListProjectsResponse = 0; | 699 core.int buildCounterListProjectsResponse = 0; |
700 buildListProjectsResponse() { | 700 buildListProjectsResponse() { |
701 var o = new api.ListProjectsResponse(); | 701 var o = new api.ListProjectsResponse(); |
702 buildCounterListProjectsResponse++; | 702 buildCounterListProjectsResponse++; |
703 if (buildCounterListProjectsResponse < 3) { | 703 if (buildCounterListProjectsResponse < 3) { |
704 o.nextPageToken = "foo"; | 704 o.nextPageToken = "foo"; |
705 o.projects = buildUnnamed1835(); | 705 o.projects = buildUnnamed1853(); |
706 } | 706 } |
707 buildCounterListProjectsResponse--; | 707 buildCounterListProjectsResponse--; |
708 return o; | 708 return o; |
709 } | 709 } |
710 | 710 |
711 checkListProjectsResponse(api.ListProjectsResponse o) { | 711 checkListProjectsResponse(api.ListProjectsResponse o) { |
712 buildCounterListProjectsResponse++; | 712 buildCounterListProjectsResponse++; |
713 if (buildCounterListProjectsResponse < 3) { | 713 if (buildCounterListProjectsResponse < 3) { |
714 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 714 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
715 checkUnnamed1835(o.projects); | 715 checkUnnamed1853(o.projects); |
716 } | 716 } |
717 buildCounterListProjectsResponse--; | 717 buildCounterListProjectsResponse--; |
718 } | 718 } |
719 | 719 |
720 buildUnnamed1836() { | 720 buildUnnamed1854() { |
721 var o = new core.Map<core.String, core.Object>(); | 721 var o = new core.Map<core.String, core.Object>(); |
722 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 722 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
723 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 723 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
724 return o; | 724 return o; |
725 } | 725 } |
726 | 726 |
727 checkUnnamed1836(core.Map<core.String, core.Object> o) { | 727 checkUnnamed1854(core.Map<core.String, core.Object> o) { |
728 unittest.expect(o, unittest.hasLength(2)); | 728 unittest.expect(o, unittest.hasLength(2)); |
729 var casted1 = (o["x"]) as core.Map; unittest.expect(casted1, unittest.hasLengt
h(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"],
unittest.equals('foo')); | 729 var casted1 = (o["x"]) as core.Map; unittest.expect(casted1, unittest.hasLengt
h(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"],
unittest.equals('foo')); |
730 var casted2 = (o["y"]) as core.Map; unittest.expect(casted2, unittest.hasLengt
h(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"],
unittest.equals('foo')); | 730 var casted2 = (o["y"]) as core.Map; unittest.expect(casted2, unittest.hasLengt
h(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"],
unittest.equals('foo')); |
731 } | 731 } |
732 | 732 |
733 buildUnnamed1837() { | 733 buildUnnamed1855() { |
734 var o = new core.Map<core.String, core.Object>(); | 734 var o = new core.Map<core.String, core.Object>(); |
735 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 735 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
736 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 736 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
737 return o; | 737 return o; |
738 } | 738 } |
739 | 739 |
740 checkUnnamed1837(core.Map<core.String, core.Object> o) { | 740 checkUnnamed1855(core.Map<core.String, core.Object> o) { |
741 unittest.expect(o, unittest.hasLength(2)); | 741 unittest.expect(o, unittest.hasLength(2)); |
742 var casted3 = (o["x"]) as core.Map; unittest.expect(casted3, unittest.hasLengt
h(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"],
unittest.equals('foo')); | 742 var casted3 = (o["x"]) as core.Map; unittest.expect(casted3, unittest.hasLengt
h(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"],
unittest.equals('foo')); |
743 var casted4 = (o["y"]) as core.Map; unittest.expect(casted4, unittest.hasLengt
h(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"],
unittest.equals('foo')); | 743 var casted4 = (o["y"]) as core.Map; unittest.expect(casted4, unittest.hasLengt
h(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"],
unittest.equals('foo')); |
744 } | 744 } |
745 | 745 |
746 core.int buildCounterOperation = 0; | 746 core.int buildCounterOperation = 0; |
747 buildOperation() { | 747 buildOperation() { |
748 var o = new api.Operation(); | 748 var o = new api.Operation(); |
749 buildCounterOperation++; | 749 buildCounterOperation++; |
750 if (buildCounterOperation < 3) { | 750 if (buildCounterOperation < 3) { |
751 o.done = true; | 751 o.done = true; |
752 o.error = buildStatus(); | 752 o.error = buildStatus(); |
753 o.metadata = buildUnnamed1836(); | 753 o.metadata = buildUnnamed1854(); |
754 o.name = "foo"; | 754 o.name = "foo"; |
755 o.response = buildUnnamed1837(); | 755 o.response = buildUnnamed1855(); |
756 } | 756 } |
757 buildCounterOperation--; | 757 buildCounterOperation--; |
758 return o; | 758 return o; |
759 } | 759 } |
760 | 760 |
761 checkOperation(api.Operation o) { | 761 checkOperation(api.Operation o) { |
762 buildCounterOperation++; | 762 buildCounterOperation++; |
763 if (buildCounterOperation < 3) { | 763 if (buildCounterOperation < 3) { |
764 unittest.expect(o.done, unittest.isTrue); | 764 unittest.expect(o.done, unittest.isTrue); |
765 checkStatus(o.error); | 765 checkStatus(o.error); |
766 checkUnnamed1836(o.metadata); | 766 checkUnnamed1854(o.metadata); |
767 unittest.expect(o.name, unittest.equals('foo')); | 767 unittest.expect(o.name, unittest.equals('foo')); |
768 checkUnnamed1837(o.response); | 768 checkUnnamed1855(o.response); |
769 } | 769 } |
770 buildCounterOperation--; | 770 buildCounterOperation--; |
771 } | 771 } |
772 | 772 |
773 core.int buildCounterOrgPolicy = 0; | 773 core.int buildCounterOrgPolicy = 0; |
774 buildOrgPolicy() { | 774 buildOrgPolicy() { |
775 var o = new api.OrgPolicy(); | 775 var o = new api.OrgPolicy(); |
776 buildCounterOrgPolicy++; | 776 buildCounterOrgPolicy++; |
777 if (buildCounterOrgPolicy < 3) { | 777 if (buildCounterOrgPolicy < 3) { |
778 o.booleanPolicy = buildBooleanPolicy(); | 778 o.booleanPolicy = buildBooleanPolicy(); |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
840 } | 840 } |
841 | 841 |
842 checkOrganizationOwner(api.OrganizationOwner o) { | 842 checkOrganizationOwner(api.OrganizationOwner o) { |
843 buildCounterOrganizationOwner++; | 843 buildCounterOrganizationOwner++; |
844 if (buildCounterOrganizationOwner < 3) { | 844 if (buildCounterOrganizationOwner < 3) { |
845 unittest.expect(o.directoryCustomerId, unittest.equals('foo')); | 845 unittest.expect(o.directoryCustomerId, unittest.equals('foo')); |
846 } | 846 } |
847 buildCounterOrganizationOwner--; | 847 buildCounterOrganizationOwner--; |
848 } | 848 } |
849 | 849 |
850 buildUnnamed1838() { | 850 buildUnnamed1856() { |
851 var o = new core.List<api.AuditConfig>(); | 851 var o = new core.List<api.AuditConfig>(); |
852 o.add(buildAuditConfig()); | 852 o.add(buildAuditConfig()); |
853 o.add(buildAuditConfig()); | 853 o.add(buildAuditConfig()); |
854 return o; | 854 return o; |
855 } | 855 } |
856 | 856 |
857 checkUnnamed1838(core.List<api.AuditConfig> o) { | 857 checkUnnamed1856(core.List<api.AuditConfig> o) { |
858 unittest.expect(o, unittest.hasLength(2)); | 858 unittest.expect(o, unittest.hasLength(2)); |
859 checkAuditConfig(o[0]); | 859 checkAuditConfig(o[0]); |
860 checkAuditConfig(o[1]); | 860 checkAuditConfig(o[1]); |
861 } | 861 } |
862 | 862 |
863 buildUnnamed1839() { | 863 buildUnnamed1857() { |
864 var o = new core.List<api.Binding>(); | 864 var o = new core.List<api.Binding>(); |
865 o.add(buildBinding()); | 865 o.add(buildBinding()); |
866 o.add(buildBinding()); | 866 o.add(buildBinding()); |
867 return o; | 867 return o; |
868 } | 868 } |
869 | 869 |
870 checkUnnamed1839(core.List<api.Binding> o) { | 870 checkUnnamed1857(core.List<api.Binding> o) { |
871 unittest.expect(o, unittest.hasLength(2)); | 871 unittest.expect(o, unittest.hasLength(2)); |
872 checkBinding(o[0]); | 872 checkBinding(o[0]); |
873 checkBinding(o[1]); | 873 checkBinding(o[1]); |
874 } | 874 } |
875 | 875 |
876 core.int buildCounterPolicy = 0; | 876 core.int buildCounterPolicy = 0; |
877 buildPolicy() { | 877 buildPolicy() { |
878 var o = new api.Policy(); | 878 var o = new api.Policy(); |
879 buildCounterPolicy++; | 879 buildCounterPolicy++; |
880 if (buildCounterPolicy < 3) { | 880 if (buildCounterPolicy < 3) { |
881 o.auditConfigs = buildUnnamed1838(); | 881 o.auditConfigs = buildUnnamed1856(); |
882 o.bindings = buildUnnamed1839(); | 882 o.bindings = buildUnnamed1857(); |
883 o.etag = "foo"; | 883 o.etag = "foo"; |
884 o.version = 42; | 884 o.version = 42; |
885 } | 885 } |
886 buildCounterPolicy--; | 886 buildCounterPolicy--; |
887 return o; | 887 return o; |
888 } | 888 } |
889 | 889 |
890 checkPolicy(api.Policy o) { | 890 checkPolicy(api.Policy o) { |
891 buildCounterPolicy++; | 891 buildCounterPolicy++; |
892 if (buildCounterPolicy < 3) { | 892 if (buildCounterPolicy < 3) { |
893 checkUnnamed1838(o.auditConfigs); | 893 checkUnnamed1856(o.auditConfigs); |
894 checkUnnamed1839(o.bindings); | 894 checkUnnamed1857(o.bindings); |
895 unittest.expect(o.etag, unittest.equals('foo')); | 895 unittest.expect(o.etag, unittest.equals('foo')); |
896 unittest.expect(o.version, unittest.equals(42)); | 896 unittest.expect(o.version, unittest.equals(42)); |
897 } | 897 } |
898 buildCounterPolicy--; | 898 buildCounterPolicy--; |
899 } | 899 } |
900 | 900 |
901 buildUnnamed1840() { | 901 buildUnnamed1858() { |
902 var o = new core.Map<core.String, core.String>(); | 902 var o = new core.Map<core.String, core.String>(); |
903 o["x"] = "foo"; | 903 o["x"] = "foo"; |
904 o["y"] = "foo"; | 904 o["y"] = "foo"; |
905 return o; | 905 return o; |
906 } | 906 } |
907 | 907 |
908 checkUnnamed1840(core.Map<core.String, core.String> o) { | 908 checkUnnamed1858(core.Map<core.String, core.String> o) { |
909 unittest.expect(o, unittest.hasLength(2)); | 909 unittest.expect(o, unittest.hasLength(2)); |
910 unittest.expect(o["x"], unittest.equals('foo')); | 910 unittest.expect(o["x"], unittest.equals('foo')); |
911 unittest.expect(o["y"], unittest.equals('foo')); | 911 unittest.expect(o["y"], unittest.equals('foo')); |
912 } | 912 } |
913 | 913 |
914 core.int buildCounterProject = 0; | 914 core.int buildCounterProject = 0; |
915 buildProject() { | 915 buildProject() { |
916 var o = new api.Project(); | 916 var o = new api.Project(); |
917 buildCounterProject++; | 917 buildCounterProject++; |
918 if (buildCounterProject < 3) { | 918 if (buildCounterProject < 3) { |
919 o.createTime = "foo"; | 919 o.createTime = "foo"; |
920 o.labels = buildUnnamed1840(); | 920 o.labels = buildUnnamed1858(); |
921 o.lifecycleState = "foo"; | 921 o.lifecycleState = "foo"; |
922 o.name = "foo"; | 922 o.name = "foo"; |
923 o.parent = buildResourceId(); | 923 o.parent = buildResourceId(); |
924 o.projectId = "foo"; | 924 o.projectId = "foo"; |
925 o.projectNumber = "foo"; | 925 o.projectNumber = "foo"; |
926 } | 926 } |
927 buildCounterProject--; | 927 buildCounterProject--; |
928 return o; | 928 return o; |
929 } | 929 } |
930 | 930 |
931 checkProject(api.Project o) { | 931 checkProject(api.Project o) { |
932 buildCounterProject++; | 932 buildCounterProject++; |
933 if (buildCounterProject < 3) { | 933 if (buildCounterProject < 3) { |
934 unittest.expect(o.createTime, unittest.equals('foo')); | 934 unittest.expect(o.createTime, unittest.equals('foo')); |
935 checkUnnamed1840(o.labels); | 935 checkUnnamed1858(o.labels); |
936 unittest.expect(o.lifecycleState, unittest.equals('foo')); | 936 unittest.expect(o.lifecycleState, unittest.equals('foo')); |
937 unittest.expect(o.name, unittest.equals('foo')); | 937 unittest.expect(o.name, unittest.equals('foo')); |
938 checkResourceId(o.parent); | 938 checkResourceId(o.parent); |
939 unittest.expect(o.projectId, unittest.equals('foo')); | 939 unittest.expect(o.projectId, unittest.equals('foo')); |
940 unittest.expect(o.projectNumber, unittest.equals('foo')); | 940 unittest.expect(o.projectNumber, unittest.equals('foo')); |
941 } | 941 } |
942 buildCounterProject--; | 942 buildCounterProject--; |
943 } | 943 } |
944 | 944 |
945 core.int buildCounterProjectCreationStatus = 0; | 945 core.int buildCounterProjectCreationStatus = 0; |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1019 checkSearchOrganizationsRequest(api.SearchOrganizationsRequest o) { | 1019 checkSearchOrganizationsRequest(api.SearchOrganizationsRequest o) { |
1020 buildCounterSearchOrganizationsRequest++; | 1020 buildCounterSearchOrganizationsRequest++; |
1021 if (buildCounterSearchOrganizationsRequest < 3) { | 1021 if (buildCounterSearchOrganizationsRequest < 3) { |
1022 unittest.expect(o.filter, unittest.equals('foo')); | 1022 unittest.expect(o.filter, unittest.equals('foo')); |
1023 unittest.expect(o.pageSize, unittest.equals(42)); | 1023 unittest.expect(o.pageSize, unittest.equals(42)); |
1024 unittest.expect(o.pageToken, unittest.equals('foo')); | 1024 unittest.expect(o.pageToken, unittest.equals('foo')); |
1025 } | 1025 } |
1026 buildCounterSearchOrganizationsRequest--; | 1026 buildCounterSearchOrganizationsRequest--; |
1027 } | 1027 } |
1028 | 1028 |
1029 buildUnnamed1841() { | 1029 buildUnnamed1859() { |
1030 var o = new core.List<api.Organization>(); | 1030 var o = new core.List<api.Organization>(); |
1031 o.add(buildOrganization()); | 1031 o.add(buildOrganization()); |
1032 o.add(buildOrganization()); | 1032 o.add(buildOrganization()); |
1033 return o; | 1033 return o; |
1034 } | 1034 } |
1035 | 1035 |
1036 checkUnnamed1841(core.List<api.Organization> o) { | 1036 checkUnnamed1859(core.List<api.Organization> o) { |
1037 unittest.expect(o, unittest.hasLength(2)); | 1037 unittest.expect(o, unittest.hasLength(2)); |
1038 checkOrganization(o[0]); | 1038 checkOrganization(o[0]); |
1039 checkOrganization(o[1]); | 1039 checkOrganization(o[1]); |
1040 } | 1040 } |
1041 | 1041 |
1042 core.int buildCounterSearchOrganizationsResponse = 0; | 1042 core.int buildCounterSearchOrganizationsResponse = 0; |
1043 buildSearchOrganizationsResponse() { | 1043 buildSearchOrganizationsResponse() { |
1044 var o = new api.SearchOrganizationsResponse(); | 1044 var o = new api.SearchOrganizationsResponse(); |
1045 buildCounterSearchOrganizationsResponse++; | 1045 buildCounterSearchOrganizationsResponse++; |
1046 if (buildCounterSearchOrganizationsResponse < 3) { | 1046 if (buildCounterSearchOrganizationsResponse < 3) { |
1047 o.nextPageToken = "foo"; | 1047 o.nextPageToken = "foo"; |
1048 o.organizations = buildUnnamed1841(); | 1048 o.organizations = buildUnnamed1859(); |
1049 } | 1049 } |
1050 buildCounterSearchOrganizationsResponse--; | 1050 buildCounterSearchOrganizationsResponse--; |
1051 return o; | 1051 return o; |
1052 } | 1052 } |
1053 | 1053 |
1054 checkSearchOrganizationsResponse(api.SearchOrganizationsResponse o) { | 1054 checkSearchOrganizationsResponse(api.SearchOrganizationsResponse o) { |
1055 buildCounterSearchOrganizationsResponse++; | 1055 buildCounterSearchOrganizationsResponse++; |
1056 if (buildCounterSearchOrganizationsResponse < 3) { | 1056 if (buildCounterSearchOrganizationsResponse < 3) { |
1057 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1057 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1058 checkUnnamed1841(o.organizations); | 1058 checkUnnamed1859(o.organizations); |
1059 } | 1059 } |
1060 buildCounterSearchOrganizationsResponse--; | 1060 buildCounterSearchOrganizationsResponse--; |
1061 } | 1061 } |
1062 | 1062 |
1063 core.int buildCounterSetIamPolicyRequest = 0; | 1063 core.int buildCounterSetIamPolicyRequest = 0; |
1064 buildSetIamPolicyRequest() { | 1064 buildSetIamPolicyRequest() { |
1065 var o = new api.SetIamPolicyRequest(); | 1065 var o = new api.SetIamPolicyRequest(); |
1066 buildCounterSetIamPolicyRequest++; | 1066 buildCounterSetIamPolicyRequest++; |
1067 if (buildCounterSetIamPolicyRequest < 3) { | 1067 if (buildCounterSetIamPolicyRequest < 3) { |
1068 o.policy = buildPolicy(); | 1068 o.policy = buildPolicy(); |
(...skipping 24 matching lines...) Expand all Loading... |
1093 } | 1093 } |
1094 | 1094 |
1095 checkSetOrgPolicyRequest(api.SetOrgPolicyRequest o) { | 1095 checkSetOrgPolicyRequest(api.SetOrgPolicyRequest o) { |
1096 buildCounterSetOrgPolicyRequest++; | 1096 buildCounterSetOrgPolicyRequest++; |
1097 if (buildCounterSetOrgPolicyRequest < 3) { | 1097 if (buildCounterSetOrgPolicyRequest < 3) { |
1098 checkOrgPolicy(o.policy); | 1098 checkOrgPolicy(o.policy); |
1099 } | 1099 } |
1100 buildCounterSetOrgPolicyRequest--; | 1100 buildCounterSetOrgPolicyRequest--; |
1101 } | 1101 } |
1102 | 1102 |
1103 buildUnnamed1842() { | 1103 buildUnnamed1860() { |
1104 var o = new core.Map<core.String, core.Object>(); | 1104 var o = new core.Map<core.String, core.Object>(); |
1105 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1105 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1106 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1106 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1107 return o; | 1107 return o; |
1108 } | 1108 } |
1109 | 1109 |
1110 checkUnnamed1842(core.Map<core.String, core.Object> o) { | 1110 checkUnnamed1860(core.Map<core.String, core.Object> o) { |
1111 unittest.expect(o, unittest.hasLength(2)); | 1111 unittest.expect(o, unittest.hasLength(2)); |
1112 var casted5 = (o["x"]) as core.Map; unittest.expect(casted5, unittest.hasLengt
h(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"],
unittest.equals('foo')); | 1112 var casted5 = (o["x"]) as core.Map; unittest.expect(casted5, unittest.hasLengt
h(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"],
unittest.equals('foo')); |
1113 var casted6 = (o["y"]) as core.Map; unittest.expect(casted6, unittest.hasLengt
h(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"],
unittest.equals('foo')); | 1113 var casted6 = (o["y"]) as core.Map; unittest.expect(casted6, unittest.hasLengt
h(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"],
unittest.equals('foo')); |
1114 } | 1114 } |
1115 | 1115 |
1116 buildUnnamed1843() { | 1116 buildUnnamed1861() { |
1117 var o = new core.List<core.Map<core.String, core.Object>>(); | 1117 var o = new core.List<core.Map<core.String, core.Object>>(); |
1118 o.add(buildUnnamed1842()); | 1118 o.add(buildUnnamed1860()); |
1119 o.add(buildUnnamed1842()); | 1119 o.add(buildUnnamed1860()); |
1120 return o; | 1120 return o; |
1121 } | 1121 } |
1122 | 1122 |
1123 checkUnnamed1843(core.List<core.Map<core.String, core.Object>> o) { | 1123 checkUnnamed1861(core.List<core.Map<core.String, core.Object>> o) { |
1124 unittest.expect(o, unittest.hasLength(2)); | 1124 unittest.expect(o, unittest.hasLength(2)); |
1125 checkUnnamed1842(o[0]); | 1125 checkUnnamed1860(o[0]); |
1126 checkUnnamed1842(o[1]); | 1126 checkUnnamed1860(o[1]); |
1127 } | 1127 } |
1128 | 1128 |
1129 core.int buildCounterStatus = 0; | 1129 core.int buildCounterStatus = 0; |
1130 buildStatus() { | 1130 buildStatus() { |
1131 var o = new api.Status(); | 1131 var o = new api.Status(); |
1132 buildCounterStatus++; | 1132 buildCounterStatus++; |
1133 if (buildCounterStatus < 3) { | 1133 if (buildCounterStatus < 3) { |
1134 o.code = 42; | 1134 o.code = 42; |
1135 o.details = buildUnnamed1843(); | 1135 o.details = buildUnnamed1861(); |
1136 o.message = "foo"; | 1136 o.message = "foo"; |
1137 } | 1137 } |
1138 buildCounterStatus--; | 1138 buildCounterStatus--; |
1139 return o; | 1139 return o; |
1140 } | 1140 } |
1141 | 1141 |
1142 checkStatus(api.Status o) { | 1142 checkStatus(api.Status o) { |
1143 buildCounterStatus++; | 1143 buildCounterStatus++; |
1144 if (buildCounterStatus < 3) { | 1144 if (buildCounterStatus < 3) { |
1145 unittest.expect(o.code, unittest.equals(42)); | 1145 unittest.expect(o.code, unittest.equals(42)); |
1146 checkUnnamed1843(o.details); | 1146 checkUnnamed1861(o.details); |
1147 unittest.expect(o.message, unittest.equals('foo')); | 1147 unittest.expect(o.message, unittest.equals('foo')); |
1148 } | 1148 } |
1149 buildCounterStatus--; | 1149 buildCounterStatus--; |
1150 } | 1150 } |
1151 | 1151 |
1152 buildUnnamed1844() { | 1152 buildUnnamed1862() { |
1153 var o = new core.List<core.String>(); | 1153 var o = new core.List<core.String>(); |
1154 o.add("foo"); | 1154 o.add("foo"); |
1155 o.add("foo"); | 1155 o.add("foo"); |
1156 return o; | 1156 return o; |
1157 } | 1157 } |
1158 | 1158 |
1159 checkUnnamed1844(core.List<core.String> o) { | 1159 checkUnnamed1862(core.List<core.String> o) { |
1160 unittest.expect(o, unittest.hasLength(2)); | 1160 unittest.expect(o, unittest.hasLength(2)); |
1161 unittest.expect(o[0], unittest.equals('foo')); | 1161 unittest.expect(o[0], unittest.equals('foo')); |
1162 unittest.expect(o[1], unittest.equals('foo')); | 1162 unittest.expect(o[1], unittest.equals('foo')); |
1163 } | 1163 } |
1164 | 1164 |
1165 core.int buildCounterTestIamPermissionsRequest = 0; | 1165 core.int buildCounterTestIamPermissionsRequest = 0; |
1166 buildTestIamPermissionsRequest() { | 1166 buildTestIamPermissionsRequest() { |
1167 var o = new api.TestIamPermissionsRequest(); | 1167 var o = new api.TestIamPermissionsRequest(); |
1168 buildCounterTestIamPermissionsRequest++; | 1168 buildCounterTestIamPermissionsRequest++; |
1169 if (buildCounterTestIamPermissionsRequest < 3) { | 1169 if (buildCounterTestIamPermissionsRequest < 3) { |
1170 o.permissions = buildUnnamed1844(); | 1170 o.permissions = buildUnnamed1862(); |
1171 } | 1171 } |
1172 buildCounterTestIamPermissionsRequest--; | 1172 buildCounterTestIamPermissionsRequest--; |
1173 return o; | 1173 return o; |
1174 } | 1174 } |
1175 | 1175 |
1176 checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { | 1176 checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { |
1177 buildCounterTestIamPermissionsRequest++; | 1177 buildCounterTestIamPermissionsRequest++; |
1178 if (buildCounterTestIamPermissionsRequest < 3) { | 1178 if (buildCounterTestIamPermissionsRequest < 3) { |
1179 checkUnnamed1844(o.permissions); | 1179 checkUnnamed1862(o.permissions); |
1180 } | 1180 } |
1181 buildCounterTestIamPermissionsRequest--; | 1181 buildCounterTestIamPermissionsRequest--; |
1182 } | 1182 } |
1183 | 1183 |
1184 buildUnnamed1845() { | 1184 buildUnnamed1863() { |
1185 var o = new core.List<core.String>(); | 1185 var o = new core.List<core.String>(); |
1186 o.add("foo"); | 1186 o.add("foo"); |
1187 o.add("foo"); | 1187 o.add("foo"); |
1188 return o; | 1188 return o; |
1189 } | 1189 } |
1190 | 1190 |
1191 checkUnnamed1845(core.List<core.String> o) { | 1191 checkUnnamed1863(core.List<core.String> o) { |
1192 unittest.expect(o, unittest.hasLength(2)); | 1192 unittest.expect(o, unittest.hasLength(2)); |
1193 unittest.expect(o[0], unittest.equals('foo')); | 1193 unittest.expect(o[0], unittest.equals('foo')); |
1194 unittest.expect(o[1], unittest.equals('foo')); | 1194 unittest.expect(o[1], unittest.equals('foo')); |
1195 } | 1195 } |
1196 | 1196 |
1197 core.int buildCounterTestIamPermissionsResponse = 0; | 1197 core.int buildCounterTestIamPermissionsResponse = 0; |
1198 buildTestIamPermissionsResponse() { | 1198 buildTestIamPermissionsResponse() { |
1199 var o = new api.TestIamPermissionsResponse(); | 1199 var o = new api.TestIamPermissionsResponse(); |
1200 buildCounterTestIamPermissionsResponse++; | 1200 buildCounterTestIamPermissionsResponse++; |
1201 if (buildCounterTestIamPermissionsResponse < 3) { | 1201 if (buildCounterTestIamPermissionsResponse < 3) { |
1202 o.permissions = buildUnnamed1845(); | 1202 o.permissions = buildUnnamed1863(); |
1203 } | 1203 } |
1204 buildCounterTestIamPermissionsResponse--; | 1204 buildCounterTestIamPermissionsResponse--; |
1205 return o; | 1205 return o; |
1206 } | 1206 } |
1207 | 1207 |
1208 checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { | 1208 checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { |
1209 buildCounterTestIamPermissionsResponse++; | 1209 buildCounterTestIamPermissionsResponse++; |
1210 if (buildCounterTestIamPermissionsResponse < 3) { | 1210 if (buildCounterTestIamPermissionsResponse < 3) { |
1211 checkUnnamed1845(o.permissions); | 1211 checkUnnamed1863(o.permissions); |
1212 } | 1212 } |
1213 buildCounterTestIamPermissionsResponse--; | 1213 buildCounterTestIamPermissionsResponse--; |
1214 } | 1214 } |
1215 | 1215 |
1216 core.int buildCounterUndeleteProjectRequest = 0; | 1216 core.int buildCounterUndeleteProjectRequest = 0; |
1217 buildUndeleteProjectRequest() { | 1217 buildUndeleteProjectRequest() { |
1218 var o = new api.UndeleteProjectRequest(); | 1218 var o = new api.UndeleteProjectRequest(); |
1219 buildCounterUndeleteProjectRequest++; | 1219 buildCounterUndeleteProjectRequest++; |
1220 if (buildCounterUndeleteProjectRequest < 3) { | 1220 if (buildCounterUndeleteProjectRequest < 3) { |
1221 } | 1221 } |
(...skipping 1813 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3035 }), true); | 3035 }), true); |
3036 res.getOrgPolicy(arg_request, arg_resource).then(unittest.expectAsync1(((a
pi.OrgPolicy response) { | 3036 res.getOrgPolicy(arg_request, arg_resource).then(unittest.expectAsync1(((a
pi.OrgPolicy response) { |
3037 checkOrgPolicy(response); | 3037 checkOrgPolicy(response); |
3038 }))); | 3038 }))); |
3039 }); | 3039 }); |
3040 | 3040 |
3041 unittest.test("method--list", () { | 3041 unittest.test("method--list", () { |
3042 | 3042 |
3043 var mock = new HttpServerMock(); | 3043 var mock = new HttpServerMock(); |
3044 api.ProjectsResourceApi res = new api.CloudresourcemanagerApi(mock).projec
ts; | 3044 api.ProjectsResourceApi res = new api.CloudresourcemanagerApi(mock).projec
ts; |
| 3045 var arg_pageSize = 42; |
3045 var arg_filter = "foo"; | 3046 var arg_filter = "foo"; |
3046 var arg_pageToken = "foo"; | 3047 var arg_pageToken = "foo"; |
3047 var arg_pageSize = 42; | |
3048 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { | 3048 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { |
3049 var path = (req.url).path; | 3049 var path = (req.url).path; |
3050 var pathOffset = 0; | 3050 var pathOffset = 0; |
3051 var index; | 3051 var index; |
3052 var subPart; | 3052 var subPart; |
3053 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 3053 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
3054 pathOffset += 1; | 3054 pathOffset += 1; |
3055 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("v1/projects")); | 3055 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("v1/projects")); |
3056 pathOffset += 11; | 3056 pathOffset += 11; |
3057 | 3057 |
3058 var query = (req.url).query; | 3058 var query = (req.url).query; |
3059 var queryOffset = 0; | 3059 var queryOffset = 0; |
3060 var queryMap = {}; | 3060 var queryMap = {}; |
3061 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); | 3061 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
3062 parseBool(n) { | 3062 parseBool(n) { |
3063 if (n == "true") return true; | 3063 if (n == "true") return true; |
3064 if (n == "false") return false; | 3064 if (n == "false") return false; |
3065 if (n == null) return null; | 3065 if (n == null) return null; |
3066 throw new core.ArgumentError("Invalid boolean: $n"); | 3066 throw new core.ArgumentError("Invalid boolean: $n"); |
3067 } | 3067 } |
3068 if (query.length > 0) { | 3068 if (query.length > 0) { |
3069 for (var part in query.split("&")) { | 3069 for (var part in query.split("&")) { |
3070 var keyvalue = part.split("="); | 3070 var keyvalue = part.split("="); |
3071 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 3071 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
3072 } | 3072 } |
3073 } | 3073 } |
| 3074 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ
als(arg_pageSize)); |
3074 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); | 3075 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); |
3075 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); | 3076 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); |
3076 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ
als(arg_pageSize)); | |
3077 | 3077 |
3078 | 3078 |
3079 var h = { | 3079 var h = { |
3080 "content-type" : "application/json; charset=utf-8", | 3080 "content-type" : "application/json; charset=utf-8", |
3081 }; | 3081 }; |
3082 var resp = convert.JSON.encode(buildListProjectsResponse()); | 3082 var resp = convert.JSON.encode(buildListProjectsResponse()); |
3083 return new async.Future.value(stringResponse(200, h, resp)); | 3083 return new async.Future.value(stringResponse(200, h, resp)); |
3084 }), true); | 3084 }), true); |
3085 res.list(filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageS
ize).then(unittest.expectAsync1(((api.ListProjectsResponse response) { | 3085 res.list(pageSize: arg_pageSize, filter: arg_filter, pageToken: arg_pageTo
ken).then(unittest.expectAsync1(((api.ListProjectsResponse response) { |
3086 checkListProjectsResponse(response); | 3086 checkListProjectsResponse(response); |
3087 }))); | 3087 }))); |
3088 }); | 3088 }); |
3089 | 3089 |
3090 unittest.test("method--listAvailableOrgPolicyConstraints", () { | 3090 unittest.test("method--listAvailableOrgPolicyConstraints", () { |
3091 | 3091 |
3092 var mock = new HttpServerMock(); | 3092 var mock = new HttpServerMock(); |
3093 api.ProjectsResourceApi res = new api.CloudresourcemanagerApi(mock).projec
ts; | 3093 api.ProjectsResourceApi res = new api.CloudresourcemanagerApi(mock).projec
ts; |
3094 var arg_request = buildListAvailableOrgPolicyConstraintsRequest(); | 3094 var arg_request = buildListAvailableOrgPolicyConstraintsRequest(); |
3095 var arg_resource = "foo"; | 3095 var arg_resource = "foo"; |
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3448 res.update(arg_request, arg_projectId).then(unittest.expectAsync1(((api.Pr
oject response) { | 3448 res.update(arg_request, arg_projectId).then(unittest.expectAsync1(((api.Pr
oject response) { |
3449 checkProject(response); | 3449 checkProject(response); |
3450 }))); | 3450 }))); |
3451 }); | 3451 }); |
3452 | 3452 |
3453 }); | 3453 }); |
3454 | 3454 |
3455 | 3455 |
3456 } | 3456 } |
3457 | 3457 |
OLD | NEW |