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

Side by Side Diff: generated/googleapis/test/servicemanagement/v1_test.dart

Issue 2281923002: Api-roll 41: 2016-08-26 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 4 years, 3 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.servicemanagement.v1.test; 1 library googleapis.servicemanagement.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: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 checkAdvice(api.Advice o) { 65 checkAdvice(api.Advice o) {
66 buildCounterAdvice++; 66 buildCounterAdvice++;
67 if (buildCounterAdvice < 3) { 67 if (buildCounterAdvice < 3) {
68 unittest.expect(o.description, unittest.equals('foo')); 68 unittest.expect(o.description, unittest.equals('foo'));
69 } 69 }
70 buildCounterAdvice--; 70 buildCounterAdvice--;
71 } 71 }
72 72
73 buildUnnamed3077() { 73 buildUnnamed1220() {
74 var o = new core.List<api.Method>(); 74 var o = new core.List<api.Method>();
75 o.add(buildMethod()); 75 o.add(buildMethod());
76 o.add(buildMethod()); 76 o.add(buildMethod());
77 return o; 77 return o;
78 } 78 }
79 79
80 checkUnnamed3077(core.List<api.Method> o) { 80 checkUnnamed1220(core.List<api.Method> o) {
81 unittest.expect(o, unittest.hasLength(2)); 81 unittest.expect(o, unittest.hasLength(2));
82 checkMethod(o[0]); 82 checkMethod(o[0]);
83 checkMethod(o[1]); 83 checkMethod(o[1]);
84 } 84 }
85 85
86 buildUnnamed3078() { 86 buildUnnamed1221() {
87 var o = new core.List<api.Mixin>(); 87 var o = new core.List<api.Mixin>();
88 o.add(buildMixin()); 88 o.add(buildMixin());
89 o.add(buildMixin()); 89 o.add(buildMixin());
90 return o; 90 return o;
91 } 91 }
92 92
93 checkUnnamed3078(core.List<api.Mixin> o) { 93 checkUnnamed1221(core.List<api.Mixin> o) {
94 unittest.expect(o, unittest.hasLength(2)); 94 unittest.expect(o, unittest.hasLength(2));
95 checkMixin(o[0]); 95 checkMixin(o[0]);
96 checkMixin(o[1]); 96 checkMixin(o[1]);
97 } 97 }
98 98
99 buildUnnamed3079() { 99 buildUnnamed1222() {
100 var o = new core.List<api.Option>(); 100 var o = new core.List<api.Option>();
101 o.add(buildOption()); 101 o.add(buildOption());
102 o.add(buildOption()); 102 o.add(buildOption());
103 return o; 103 return o;
104 } 104 }
105 105
106 checkUnnamed3079(core.List<api.Option> o) { 106 checkUnnamed1222(core.List<api.Option> o) {
107 unittest.expect(o, unittest.hasLength(2)); 107 unittest.expect(o, unittest.hasLength(2));
108 checkOption(o[0]); 108 checkOption(o[0]);
109 checkOption(o[1]); 109 checkOption(o[1]);
110 } 110 }
111 111
112 core.int buildCounterApi = 0; 112 core.int buildCounterApi = 0;
113 buildApi() { 113 buildApi() {
114 var o = new api.Api(); 114 var o = new api.Api();
115 buildCounterApi++; 115 buildCounterApi++;
116 if (buildCounterApi < 3) { 116 if (buildCounterApi < 3) {
117 o.methods = buildUnnamed3077(); 117 o.methods = buildUnnamed1220();
118 o.mixins = buildUnnamed3078(); 118 o.mixins = buildUnnamed1221();
119 o.name = "foo"; 119 o.name = "foo";
120 o.options = buildUnnamed3079(); 120 o.options = buildUnnamed1222();
121 o.sourceContext = buildSourceContext(); 121 o.sourceContext = buildSourceContext();
122 o.syntax = "foo"; 122 o.syntax = "foo";
123 o.version = "foo"; 123 o.version = "foo";
124 } 124 }
125 buildCounterApi--; 125 buildCounterApi--;
126 return o; 126 return o;
127 } 127 }
128 128
129 checkApi(api.Api o) { 129 checkApi(api.Api o) {
130 buildCounterApi++; 130 buildCounterApi++;
131 if (buildCounterApi < 3) { 131 if (buildCounterApi < 3) {
132 checkUnnamed3077(o.methods); 132 checkUnnamed1220(o.methods);
133 checkUnnamed3078(o.mixins); 133 checkUnnamed1221(o.mixins);
134 unittest.expect(o.name, unittest.equals('foo')); 134 unittest.expect(o.name, unittest.equals('foo'));
135 checkUnnamed3079(o.options); 135 checkUnnamed1222(o.options);
136 checkSourceContext(o.sourceContext); 136 checkSourceContext(o.sourceContext);
137 unittest.expect(o.syntax, unittest.equals('foo')); 137 unittest.expect(o.syntax, unittest.equals('foo'));
138 unittest.expect(o.version, unittest.equals('foo')); 138 unittest.expect(o.version, unittest.equals('foo'));
139 } 139 }
140 buildCounterApi--; 140 buildCounterApi--;
141 } 141 }
142 142
143 buildUnnamed3080() { 143 buildUnnamed1223() {
144 var o = new core.List<core.String>(); 144 var o = new core.List<core.String>();
145 o.add("foo"); 145 o.add("foo");
146 o.add("foo"); 146 o.add("foo");
147 return o; 147 return o;
148 } 148 }
149 149
150 checkUnnamed3080(core.List<core.String> o) { 150 checkUnnamed1223(core.List<core.String> o) {
151 unittest.expect(o, unittest.hasLength(2)); 151 unittest.expect(o, unittest.hasLength(2));
152 unittest.expect(o[0], unittest.equals('foo')); 152 unittest.expect(o[0], unittest.equals('foo'));
153 unittest.expect(o[1], unittest.equals('foo')); 153 unittest.expect(o[1], unittest.equals('foo'));
154 } 154 }
155 155
156 core.int buildCounterAuditConfig = 0; 156 core.int buildCounterAuditConfig = 0;
157 buildAuditConfig() { 157 buildAuditConfig() {
158 var o = new api.AuditConfig(); 158 var o = new api.AuditConfig();
159 buildCounterAuditConfig++; 159 buildCounterAuditConfig++;
160 if (buildCounterAuditConfig < 3) { 160 if (buildCounterAuditConfig < 3) {
161 o.exemptedMembers = buildUnnamed3080(); 161 o.exemptedMembers = buildUnnamed1223();
162 o.service = "foo"; 162 o.service = "foo";
163 } 163 }
164 buildCounterAuditConfig--; 164 buildCounterAuditConfig--;
165 return o; 165 return o;
166 } 166 }
167 167
168 checkAuditConfig(api.AuditConfig o) { 168 checkAuditConfig(api.AuditConfig o) {
169 buildCounterAuditConfig++; 169 buildCounterAuditConfig++;
170 if (buildCounterAuditConfig < 3) { 170 if (buildCounterAuditConfig < 3) {
171 checkUnnamed3080(o.exemptedMembers); 171 checkUnnamed1223(o.exemptedMembers);
172 unittest.expect(o.service, unittest.equals('foo')); 172 unittest.expect(o.service, unittest.equals('foo'));
173 } 173 }
174 buildCounterAuditConfig--; 174 buildCounterAuditConfig--;
175 } 175 }
176 176
177 core.int buildCounterAuthProvider = 0; 177 core.int buildCounterAuthProvider = 0;
178 buildAuthProvider() { 178 buildAuthProvider() {
179 var o = new api.AuthProvider(); 179 var o = new api.AuthProvider();
180 buildCounterAuthProvider++; 180 buildCounterAuthProvider++;
181 if (buildCounterAuthProvider < 3) { 181 if (buildCounterAuthProvider < 3) {
(...skipping 29 matching lines...) Expand all
211 211
212 checkAuthRequirement(api.AuthRequirement o) { 212 checkAuthRequirement(api.AuthRequirement o) {
213 buildCounterAuthRequirement++; 213 buildCounterAuthRequirement++;
214 if (buildCounterAuthRequirement < 3) { 214 if (buildCounterAuthRequirement < 3) {
215 unittest.expect(o.audiences, unittest.equals('foo')); 215 unittest.expect(o.audiences, unittest.equals('foo'));
216 unittest.expect(o.providerId, unittest.equals('foo')); 216 unittest.expect(o.providerId, unittest.equals('foo'));
217 } 217 }
218 buildCounterAuthRequirement--; 218 buildCounterAuthRequirement--;
219 } 219 }
220 220
221 buildUnnamed3081() { 221 buildUnnamed1224() {
222 var o = new core.List<api.AuthProvider>(); 222 var o = new core.List<api.AuthProvider>();
223 o.add(buildAuthProvider()); 223 o.add(buildAuthProvider());
224 o.add(buildAuthProvider()); 224 o.add(buildAuthProvider());
225 return o; 225 return o;
226 } 226 }
227 227
228 checkUnnamed3081(core.List<api.AuthProvider> o) { 228 checkUnnamed1224(core.List<api.AuthProvider> o) {
229 unittest.expect(o, unittest.hasLength(2)); 229 unittest.expect(o, unittest.hasLength(2));
230 checkAuthProvider(o[0]); 230 checkAuthProvider(o[0]);
231 checkAuthProvider(o[1]); 231 checkAuthProvider(o[1]);
232 } 232 }
233 233
234 buildUnnamed3082() { 234 buildUnnamed1225() {
235 var o = new core.List<api.AuthenticationRule>(); 235 var o = new core.List<api.AuthenticationRule>();
236 o.add(buildAuthenticationRule()); 236 o.add(buildAuthenticationRule());
237 o.add(buildAuthenticationRule()); 237 o.add(buildAuthenticationRule());
238 return o; 238 return o;
239 } 239 }
240 240
241 checkUnnamed3082(core.List<api.AuthenticationRule> o) { 241 checkUnnamed1225(core.List<api.AuthenticationRule> o) {
242 unittest.expect(o, unittest.hasLength(2)); 242 unittest.expect(o, unittest.hasLength(2));
243 checkAuthenticationRule(o[0]); 243 checkAuthenticationRule(o[0]);
244 checkAuthenticationRule(o[1]); 244 checkAuthenticationRule(o[1]);
245 } 245 }
246 246
247 core.int buildCounterAuthentication = 0; 247 core.int buildCounterAuthentication = 0;
248 buildAuthentication() { 248 buildAuthentication() {
249 var o = new api.Authentication(); 249 var o = new api.Authentication();
250 buildCounterAuthentication++; 250 buildCounterAuthentication++;
251 if (buildCounterAuthentication < 3) { 251 if (buildCounterAuthentication < 3) {
252 o.providers = buildUnnamed3081(); 252 o.providers = buildUnnamed1224();
253 o.rules = buildUnnamed3082(); 253 o.rules = buildUnnamed1225();
254 } 254 }
255 buildCounterAuthentication--; 255 buildCounterAuthentication--;
256 return o; 256 return o;
257 } 257 }
258 258
259 checkAuthentication(api.Authentication o) { 259 checkAuthentication(api.Authentication o) {
260 buildCounterAuthentication++; 260 buildCounterAuthentication++;
261 if (buildCounterAuthentication < 3) { 261 if (buildCounterAuthentication < 3) {
262 checkUnnamed3081(o.providers); 262 checkUnnamed1224(o.providers);
263 checkUnnamed3082(o.rules); 263 checkUnnamed1225(o.rules);
264 } 264 }
265 buildCounterAuthentication--; 265 buildCounterAuthentication--;
266 } 266 }
267 267
268 buildUnnamed3083() { 268 buildUnnamed1226() {
269 var o = new core.List<api.AuthRequirement>(); 269 var o = new core.List<api.AuthRequirement>();
270 o.add(buildAuthRequirement()); 270 o.add(buildAuthRequirement());
271 o.add(buildAuthRequirement()); 271 o.add(buildAuthRequirement());
272 return o; 272 return o;
273 } 273 }
274 274
275 checkUnnamed3083(core.List<api.AuthRequirement> o) { 275 checkUnnamed1226(core.List<api.AuthRequirement> o) {
276 unittest.expect(o, unittest.hasLength(2)); 276 unittest.expect(o, unittest.hasLength(2));
277 checkAuthRequirement(o[0]); 277 checkAuthRequirement(o[0]);
278 checkAuthRequirement(o[1]); 278 checkAuthRequirement(o[1]);
279 } 279 }
280 280
281 core.int buildCounterAuthenticationRule = 0; 281 core.int buildCounterAuthenticationRule = 0;
282 buildAuthenticationRule() { 282 buildAuthenticationRule() {
283 var o = new api.AuthenticationRule(); 283 var o = new api.AuthenticationRule();
284 buildCounterAuthenticationRule++; 284 buildCounterAuthenticationRule++;
285 if (buildCounterAuthenticationRule < 3) { 285 if (buildCounterAuthenticationRule < 3) {
286 o.allowWithoutCredential = true; 286 o.allowWithoutCredential = true;
287 o.oauth = buildOAuthRequirements(); 287 o.oauth = buildOAuthRequirements();
288 o.requirements = buildUnnamed3083(); 288 o.requirements = buildUnnamed1226();
289 o.selector = "foo"; 289 o.selector = "foo";
290 } 290 }
291 buildCounterAuthenticationRule--; 291 buildCounterAuthenticationRule--;
292 return o; 292 return o;
293 } 293 }
294 294
295 checkAuthenticationRule(api.AuthenticationRule o) { 295 checkAuthenticationRule(api.AuthenticationRule o) {
296 buildCounterAuthenticationRule++; 296 buildCounterAuthenticationRule++;
297 if (buildCounterAuthenticationRule < 3) { 297 if (buildCounterAuthenticationRule < 3) {
298 unittest.expect(o.allowWithoutCredential, unittest.isTrue); 298 unittest.expect(o.allowWithoutCredential, unittest.isTrue);
299 checkOAuthRequirements(o.oauth); 299 checkOAuthRequirements(o.oauth);
300 checkUnnamed3083(o.requirements); 300 checkUnnamed1226(o.requirements);
301 unittest.expect(o.selector, unittest.equals('foo')); 301 unittest.expect(o.selector, unittest.equals('foo'));
302 } 302 }
303 buildCounterAuthenticationRule--; 303 buildCounterAuthenticationRule--;
304 } 304 }
305 305
306 buildUnnamed3084() { 306 buildUnnamed1227() {
307 var o = new core.List<api.BackendRule>(); 307 var o = new core.List<api.BackendRule>();
308 o.add(buildBackendRule()); 308 o.add(buildBackendRule());
309 o.add(buildBackendRule()); 309 o.add(buildBackendRule());
310 return o; 310 return o;
311 } 311 }
312 312
313 checkUnnamed3084(core.List<api.BackendRule> o) { 313 checkUnnamed1227(core.List<api.BackendRule> o) {
314 unittest.expect(o, unittest.hasLength(2)); 314 unittest.expect(o, unittest.hasLength(2));
315 checkBackendRule(o[0]); 315 checkBackendRule(o[0]);
316 checkBackendRule(o[1]); 316 checkBackendRule(o[1]);
317 } 317 }
318 318
319 core.int buildCounterBackend = 0; 319 core.int buildCounterBackend = 0;
320 buildBackend() { 320 buildBackend() {
321 var o = new api.Backend(); 321 var o = new api.Backend();
322 buildCounterBackend++; 322 buildCounterBackend++;
323 if (buildCounterBackend < 3) { 323 if (buildCounterBackend < 3) {
324 o.rules = buildUnnamed3084(); 324 o.rules = buildUnnamed1227();
325 } 325 }
326 buildCounterBackend--; 326 buildCounterBackend--;
327 return o; 327 return o;
328 } 328 }
329 329
330 checkBackend(api.Backend o) { 330 checkBackend(api.Backend o) {
331 buildCounterBackend++; 331 buildCounterBackend++;
332 if (buildCounterBackend < 3) { 332 if (buildCounterBackend < 3) {
333 checkUnnamed3084(o.rules); 333 checkUnnamed1227(o.rules);
334 } 334 }
335 buildCounterBackend--; 335 buildCounterBackend--;
336 } 336 }
337 337
338 core.int buildCounterBackendRule = 0; 338 core.int buildCounterBackendRule = 0;
339 buildBackendRule() { 339 buildBackendRule() {
340 var o = new api.BackendRule(); 340 var o = new api.BackendRule();
341 buildCounterBackendRule++; 341 buildCounterBackendRule++;
342 if (buildCounterBackendRule < 3) { 342 if (buildCounterBackendRule < 3) {
343 o.address = "foo"; 343 o.address = "foo";
344 o.deadline = 42.0; 344 o.deadline = 42.0;
345 o.selector = "foo"; 345 o.selector = "foo";
346 } 346 }
347 buildCounterBackendRule--; 347 buildCounterBackendRule--;
348 return o; 348 return o;
349 } 349 }
350 350
351 checkBackendRule(api.BackendRule o) { 351 checkBackendRule(api.BackendRule o) {
352 buildCounterBackendRule++; 352 buildCounterBackendRule++;
353 if (buildCounterBackendRule < 3) { 353 if (buildCounterBackendRule < 3) {
354 unittest.expect(o.address, unittest.equals('foo')); 354 unittest.expect(o.address, unittest.equals('foo'));
355 unittest.expect(o.deadline, unittest.equals(42.0)); 355 unittest.expect(o.deadline, unittest.equals(42.0));
356 unittest.expect(o.selector, unittest.equals('foo')); 356 unittest.expect(o.selector, unittest.equals('foo'));
357 } 357 }
358 buildCounterBackendRule--; 358 buildCounterBackendRule--;
359 } 359 }
360 360
361 buildUnnamed3085() { 361 buildUnnamed1228() {
362 var o = new core.List<core.String>(); 362 var o = new core.List<core.String>();
363 o.add("foo"); 363 o.add("foo");
364 o.add("foo"); 364 o.add("foo");
365 return o; 365 return o;
366 } 366 }
367 367
368 checkUnnamed3085(core.List<core.String> o) { 368 checkUnnamed1228(core.List<core.String> o) {
369 unittest.expect(o, unittest.hasLength(2)); 369 unittest.expect(o, unittest.hasLength(2));
370 unittest.expect(o[0], unittest.equals('foo')); 370 unittest.expect(o[0], unittest.equals('foo'));
371 unittest.expect(o[1], unittest.equals('foo')); 371 unittest.expect(o[1], unittest.equals('foo'));
372 } 372 }
373 373
374 core.int buildCounterBinding = 0; 374 core.int buildCounterBinding = 0;
375 buildBinding() { 375 buildBinding() {
376 var o = new api.Binding(); 376 var o = new api.Binding();
377 buildCounterBinding++; 377 buildCounterBinding++;
378 if (buildCounterBinding < 3) { 378 if (buildCounterBinding < 3) {
379 o.members = buildUnnamed3085(); 379 o.members = buildUnnamed1228();
380 o.role = "foo"; 380 o.role = "foo";
381 } 381 }
382 buildCounterBinding--; 382 buildCounterBinding--;
383 return o; 383 return o;
384 } 384 }
385 385
386 checkBinding(api.Binding o) { 386 checkBinding(api.Binding o) {
387 buildCounterBinding++; 387 buildCounterBinding++;
388 if (buildCounterBinding < 3) { 388 if (buildCounterBinding < 3) {
389 checkUnnamed3085(o.members); 389 checkUnnamed1228(o.members);
390 unittest.expect(o.role, unittest.equals('foo')); 390 unittest.expect(o.role, unittest.equals('foo'));
391 } 391 }
392 buildCounterBinding--; 392 buildCounterBinding--;
393 } 393 }
394 394
395 buildUnnamed3086() { 395 buildUnnamed1229() {
396 var o = new core.List<api.ConfigChange>(); 396 var o = new core.List<api.ConfigChange>();
397 o.add(buildConfigChange()); 397 o.add(buildConfigChange());
398 o.add(buildConfigChange()); 398 o.add(buildConfigChange());
399 return o; 399 return o;
400 } 400 }
401 401
402 checkUnnamed3086(core.List<api.ConfigChange> o) { 402 checkUnnamed1229(core.List<api.ConfigChange> o) {
403 unittest.expect(o, unittest.hasLength(2)); 403 unittest.expect(o, unittest.hasLength(2));
404 checkConfigChange(o[0]); 404 checkConfigChange(o[0]);
405 checkConfigChange(o[1]); 405 checkConfigChange(o[1]);
406 } 406 }
407 407
408 core.int buildCounterChangeReport = 0; 408 core.int buildCounterChangeReport = 0;
409 buildChangeReport() { 409 buildChangeReport() {
410 var o = new api.ChangeReport(); 410 var o = new api.ChangeReport();
411 buildCounterChangeReport++; 411 buildCounterChangeReport++;
412 if (buildCounterChangeReport < 3) { 412 if (buildCounterChangeReport < 3) {
413 o.configChanges = buildUnnamed3086(); 413 o.configChanges = buildUnnamed1229();
414 } 414 }
415 buildCounterChangeReport--; 415 buildCounterChangeReport--;
416 return o; 416 return o;
417 } 417 }
418 418
419 checkChangeReport(api.ChangeReport o) { 419 checkChangeReport(api.ChangeReport o) {
420 buildCounterChangeReport++; 420 buildCounterChangeReport++;
421 if (buildCounterChangeReport < 3) { 421 if (buildCounterChangeReport < 3) {
422 checkUnnamed3086(o.configChanges); 422 checkUnnamed1229(o.configChanges);
423 } 423 }
424 buildCounterChangeReport--; 424 buildCounterChangeReport--;
425 } 425 }
426 426
427 core.int buildCounterCloudAuditOptions = 0; 427 core.int buildCounterCloudAuditOptions = 0;
428 buildCloudAuditOptions() { 428 buildCloudAuditOptions() {
429 var o = new api.CloudAuditOptions(); 429 var o = new api.CloudAuditOptions();
430 buildCounterCloudAuditOptions++; 430 buildCounterCloudAuditOptions++;
431 if (buildCounterCloudAuditOptions < 3) { 431 if (buildCounterCloudAuditOptions < 3) {
432 } 432 }
433 buildCounterCloudAuditOptions--; 433 buildCounterCloudAuditOptions--;
434 return o; 434 return o;
435 } 435 }
436 436
437 checkCloudAuditOptions(api.CloudAuditOptions o) { 437 checkCloudAuditOptions(api.CloudAuditOptions o) {
438 buildCounterCloudAuditOptions++; 438 buildCounterCloudAuditOptions++;
439 if (buildCounterCloudAuditOptions < 3) { 439 if (buildCounterCloudAuditOptions < 3) {
440 } 440 }
441 buildCounterCloudAuditOptions--; 441 buildCounterCloudAuditOptions--;
442 } 442 }
443 443
444 buildUnnamed3087() { 444 buildUnnamed1230() {
445 var o = new core.List<core.String>(); 445 var o = new core.List<core.String>();
446 o.add("foo"); 446 o.add("foo");
447 o.add("foo"); 447 o.add("foo");
448 return o; 448 return o;
449 } 449 }
450 450
451 checkUnnamed3087(core.List<core.String> o) { 451 checkUnnamed1230(core.List<core.String> o) {
452 unittest.expect(o, unittest.hasLength(2)); 452 unittest.expect(o, unittest.hasLength(2));
453 unittest.expect(o[0], unittest.equals('foo')); 453 unittest.expect(o[0], unittest.equals('foo'));
454 unittest.expect(o[1], unittest.equals('foo')); 454 unittest.expect(o[1], unittest.equals('foo'));
455 } 455 }
456 456
457 core.int buildCounterCondition = 0; 457 core.int buildCounterCondition = 0;
458 buildCondition() { 458 buildCondition() {
459 var o = new api.Condition(); 459 var o = new api.Condition();
460 buildCounterCondition++; 460 buildCounterCondition++;
461 if (buildCounterCondition < 3) { 461 if (buildCounterCondition < 3) {
462 o.iam = "foo"; 462 o.iam = "foo";
463 o.op = "foo"; 463 o.op = "foo";
464 o.svc = "foo"; 464 o.svc = "foo";
465 o.sys = "foo"; 465 o.sys = "foo";
466 o.value = "foo"; 466 o.value = "foo";
467 o.values = buildUnnamed3087(); 467 o.values = buildUnnamed1230();
468 } 468 }
469 buildCounterCondition--; 469 buildCounterCondition--;
470 return o; 470 return o;
471 } 471 }
472 472
473 checkCondition(api.Condition o) { 473 checkCondition(api.Condition o) {
474 buildCounterCondition++; 474 buildCounterCondition++;
475 if (buildCounterCondition < 3) { 475 if (buildCounterCondition < 3) {
476 unittest.expect(o.iam, unittest.equals('foo')); 476 unittest.expect(o.iam, unittest.equals('foo'));
477 unittest.expect(o.op, unittest.equals('foo')); 477 unittest.expect(o.op, unittest.equals('foo'));
478 unittest.expect(o.svc, unittest.equals('foo')); 478 unittest.expect(o.svc, unittest.equals('foo'));
479 unittest.expect(o.sys, unittest.equals('foo')); 479 unittest.expect(o.sys, unittest.equals('foo'));
480 unittest.expect(o.value, unittest.equals('foo')); 480 unittest.expect(o.value, unittest.equals('foo'));
481 checkUnnamed3087(o.values); 481 checkUnnamed1230(o.values);
482 } 482 }
483 buildCounterCondition--; 483 buildCounterCondition--;
484 } 484 }
485 485
486 buildUnnamed3088() { 486 buildUnnamed1231() {
487 var o = new core.List<api.Advice>(); 487 var o = new core.List<api.Advice>();
488 o.add(buildAdvice()); 488 o.add(buildAdvice());
489 o.add(buildAdvice()); 489 o.add(buildAdvice());
490 return o; 490 return o;
491 } 491 }
492 492
493 checkUnnamed3088(core.List<api.Advice> o) { 493 checkUnnamed1231(core.List<api.Advice> o) {
494 unittest.expect(o, unittest.hasLength(2)); 494 unittest.expect(o, unittest.hasLength(2));
495 checkAdvice(o[0]); 495 checkAdvice(o[0]);
496 checkAdvice(o[1]); 496 checkAdvice(o[1]);
497 } 497 }
498 498
499 core.int buildCounterConfigChange = 0; 499 core.int buildCounterConfigChange = 0;
500 buildConfigChange() { 500 buildConfigChange() {
501 var o = new api.ConfigChange(); 501 var o = new api.ConfigChange();
502 buildCounterConfigChange++; 502 buildCounterConfigChange++;
503 if (buildCounterConfigChange < 3) { 503 if (buildCounterConfigChange < 3) {
504 o.advices = buildUnnamed3088(); 504 o.advices = buildUnnamed1231();
505 o.changeType = "foo"; 505 o.changeType = "foo";
506 o.element = "foo"; 506 o.element = "foo";
507 o.newValue = "foo"; 507 o.newValue = "foo";
508 o.oldValue = "foo"; 508 o.oldValue = "foo";
509 } 509 }
510 buildCounterConfigChange--; 510 buildCounterConfigChange--;
511 return o; 511 return o;
512 } 512 }
513 513
514 checkConfigChange(api.ConfigChange o) { 514 checkConfigChange(api.ConfigChange o) {
515 buildCounterConfigChange++; 515 buildCounterConfigChange++;
516 if (buildCounterConfigChange < 3) { 516 if (buildCounterConfigChange < 3) {
517 checkUnnamed3088(o.advices); 517 checkUnnamed1231(o.advices);
518 unittest.expect(o.changeType, unittest.equals('foo')); 518 unittest.expect(o.changeType, unittest.equals('foo'));
519 unittest.expect(o.element, unittest.equals('foo')); 519 unittest.expect(o.element, unittest.equals('foo'));
520 unittest.expect(o.newValue, unittest.equals('foo')); 520 unittest.expect(o.newValue, unittest.equals('foo'));
521 unittest.expect(o.oldValue, unittest.equals('foo')); 521 unittest.expect(o.oldValue, unittest.equals('foo'));
522 } 522 }
523 buildCounterConfigChange--; 523 buildCounterConfigChange--;
524 } 524 }
525 525
526 core.int buildCounterConfigFile = 0; 526 core.int buildCounterConfigFile = 0;
527 buildConfigFile() { 527 buildConfigFile() {
(...skipping 11 matching lines...) Expand all
539 checkConfigFile(api.ConfigFile o) { 539 checkConfigFile(api.ConfigFile o) {
540 buildCounterConfigFile++; 540 buildCounterConfigFile++;
541 if (buildCounterConfigFile < 3) { 541 if (buildCounterConfigFile < 3) {
542 unittest.expect(o.fileContents, unittest.equals('foo')); 542 unittest.expect(o.fileContents, unittest.equals('foo'));
543 unittest.expect(o.filePath, unittest.equals('foo')); 543 unittest.expect(o.filePath, unittest.equals('foo'));
544 unittest.expect(o.fileType, unittest.equals('foo')); 544 unittest.expect(o.fileType, unittest.equals('foo'));
545 } 545 }
546 buildCounterConfigFile--; 546 buildCounterConfigFile--;
547 } 547 }
548 548
549 core.int buildCounterConfigOptions = 0;
550 buildConfigOptions() {
551 var o = new api.ConfigOptions();
552 buildCounterConfigOptions++;
553 if (buildCounterConfigOptions < 3) {
554 }
555 buildCounterConfigOptions--;
556 return o;
557 }
558
559 checkConfigOptions(api.ConfigOptions o) {
560 buildCounterConfigOptions++;
561 if (buildCounterConfigOptions < 3) {
562 }
563 buildCounterConfigOptions--;
564 }
565
566 core.int buildCounterConfigRef = 0; 549 core.int buildCounterConfigRef = 0;
567 buildConfigRef() { 550 buildConfigRef() {
568 var o = new api.ConfigRef(); 551 var o = new api.ConfigRef();
569 buildCounterConfigRef++; 552 buildCounterConfigRef++;
570 if (buildCounterConfigRef < 3) { 553 if (buildCounterConfigRef < 3) {
571 o.name = "foo"; 554 o.name = "foo";
572 } 555 }
573 buildCounterConfigRef--; 556 buildCounterConfigRef--;
574 return o; 557 return o;
575 } 558 }
576 559
577 checkConfigRef(api.ConfigRef o) { 560 checkConfigRef(api.ConfigRef o) {
578 buildCounterConfigRef++; 561 buildCounterConfigRef++;
579 if (buildCounterConfigRef < 3) { 562 if (buildCounterConfigRef < 3) {
580 unittest.expect(o.name, unittest.equals('foo')); 563 unittest.expect(o.name, unittest.equals('foo'));
581 } 564 }
582 buildCounterConfigRef--; 565 buildCounterConfigRef--;
583 } 566 }
584 567
585 buildUnnamed3089() { 568 buildUnnamed1232() {
586 var o = new core.List<api.ConfigFile>(); 569 var o = new core.List<api.ConfigFile>();
587 o.add(buildConfigFile()); 570 o.add(buildConfigFile());
588 o.add(buildConfigFile()); 571 o.add(buildConfigFile());
589 return o; 572 return o;
590 } 573 }
591 574
592 checkUnnamed3089(core.List<api.ConfigFile> o) { 575 checkUnnamed1232(core.List<api.ConfigFile> o) {
593 unittest.expect(o, unittest.hasLength(2)); 576 unittest.expect(o, unittest.hasLength(2));
594 checkConfigFile(o[0]); 577 checkConfigFile(o[0]);
595 checkConfigFile(o[1]); 578 checkConfigFile(o[1]);
596 } 579 }
597 580
598 core.int buildCounterConfigSource = 0; 581 core.int buildCounterConfigSource = 0;
599 buildConfigSource() { 582 buildConfigSource() {
600 var o = new api.ConfigSource(); 583 var o = new api.ConfigSource();
601 buildCounterConfigSource++; 584 buildCounterConfigSource++;
602 if (buildCounterConfigSource < 3) { 585 if (buildCounterConfigSource < 3) {
603 o.files = buildUnnamed3089(); 586 o.files = buildUnnamed1232();
604 o.id = "foo"; 587 o.id = "foo";
605 o.options = buildConfigOptions();
606 } 588 }
607 buildCounterConfigSource--; 589 buildCounterConfigSource--;
608 return o; 590 return o;
609 } 591 }
610 592
611 checkConfigSource(api.ConfigSource o) { 593 checkConfigSource(api.ConfigSource o) {
612 buildCounterConfigSource++; 594 buildCounterConfigSource++;
613 if (buildCounterConfigSource < 3) { 595 if (buildCounterConfigSource < 3) {
614 checkUnnamed3089(o.files); 596 checkUnnamed1232(o.files);
615 unittest.expect(o.id, unittest.equals('foo')); 597 unittest.expect(o.id, unittest.equals('foo'));
616 checkConfigOptions(o.options);
617 } 598 }
618 buildCounterConfigSource--; 599 buildCounterConfigSource--;
619 } 600 }
620 601
621 buildUnnamed3090() { 602 buildUnnamed1233() {
622 var o = new core.List<api.ContextRule>(); 603 var o = new core.List<api.ContextRule>();
623 o.add(buildContextRule()); 604 o.add(buildContextRule());
624 o.add(buildContextRule()); 605 o.add(buildContextRule());
625 return o; 606 return o;
626 } 607 }
627 608
628 checkUnnamed3090(core.List<api.ContextRule> o) { 609 checkUnnamed1233(core.List<api.ContextRule> o) {
629 unittest.expect(o, unittest.hasLength(2)); 610 unittest.expect(o, unittest.hasLength(2));
630 checkContextRule(o[0]); 611 checkContextRule(o[0]);
631 checkContextRule(o[1]); 612 checkContextRule(o[1]);
632 } 613 }
633 614
634 core.int buildCounterContext = 0; 615 core.int buildCounterContext = 0;
635 buildContext() { 616 buildContext() {
636 var o = new api.Context(); 617 var o = new api.Context();
637 buildCounterContext++; 618 buildCounterContext++;
638 if (buildCounterContext < 3) { 619 if (buildCounterContext < 3) {
639 o.rules = buildUnnamed3090(); 620 o.rules = buildUnnamed1233();
640 } 621 }
641 buildCounterContext--; 622 buildCounterContext--;
642 return o; 623 return o;
643 } 624 }
644 625
645 checkContext(api.Context o) { 626 checkContext(api.Context o) {
646 buildCounterContext++; 627 buildCounterContext++;
647 if (buildCounterContext < 3) { 628 if (buildCounterContext < 3) {
648 checkUnnamed3090(o.rules); 629 checkUnnamed1233(o.rules);
649 } 630 }
650 buildCounterContext--; 631 buildCounterContext--;
651 } 632 }
652 633
653 buildUnnamed3091() { 634 buildUnnamed1234() {
654 var o = new core.List<core.String>(); 635 var o = new core.List<core.String>();
655 o.add("foo"); 636 o.add("foo");
656 o.add("foo"); 637 o.add("foo");
657 return o; 638 return o;
658 } 639 }
659 640
660 checkUnnamed3091(core.List<core.String> o) { 641 checkUnnamed1234(core.List<core.String> o) {
661 unittest.expect(o, unittest.hasLength(2)); 642 unittest.expect(o, unittest.hasLength(2));
662 unittest.expect(o[0], unittest.equals('foo')); 643 unittest.expect(o[0], unittest.equals('foo'));
663 unittest.expect(o[1], unittest.equals('foo')); 644 unittest.expect(o[1], unittest.equals('foo'));
664 } 645 }
665 646
666 buildUnnamed3092() { 647 buildUnnamed1235() {
667 var o = new core.List<core.String>(); 648 var o = new core.List<core.String>();
668 o.add("foo"); 649 o.add("foo");
669 o.add("foo"); 650 o.add("foo");
670 return o; 651 return o;
671 } 652 }
672 653
673 checkUnnamed3092(core.List<core.String> o) { 654 checkUnnamed1235(core.List<core.String> o) {
674 unittest.expect(o, unittest.hasLength(2)); 655 unittest.expect(o, unittest.hasLength(2));
675 unittest.expect(o[0], unittest.equals('foo')); 656 unittest.expect(o[0], unittest.equals('foo'));
676 unittest.expect(o[1], unittest.equals('foo')); 657 unittest.expect(o[1], unittest.equals('foo'));
677 } 658 }
678 659
679 core.int buildCounterContextRule = 0; 660 core.int buildCounterContextRule = 0;
680 buildContextRule() { 661 buildContextRule() {
681 var o = new api.ContextRule(); 662 var o = new api.ContextRule();
682 buildCounterContextRule++; 663 buildCounterContextRule++;
683 if (buildCounterContextRule < 3) { 664 if (buildCounterContextRule < 3) {
684 o.provided = buildUnnamed3091(); 665 o.provided = buildUnnamed1234();
685 o.requested = buildUnnamed3092(); 666 o.requested = buildUnnamed1235();
686 o.selector = "foo"; 667 o.selector = "foo";
687 } 668 }
688 buildCounterContextRule--; 669 buildCounterContextRule--;
689 return o; 670 return o;
690 } 671 }
691 672
692 checkContextRule(api.ContextRule o) { 673 checkContextRule(api.ContextRule o) {
693 buildCounterContextRule++; 674 buildCounterContextRule++;
694 if (buildCounterContextRule < 3) { 675 if (buildCounterContextRule < 3) {
695 checkUnnamed3091(o.provided); 676 checkUnnamed1234(o.provided);
696 checkUnnamed3092(o.requested); 677 checkUnnamed1235(o.requested);
697 unittest.expect(o.selector, unittest.equals('foo')); 678 unittest.expect(o.selector, unittest.equals('foo'));
698 } 679 }
699 buildCounterContextRule--; 680 buildCounterContextRule--;
700 } 681 }
701 682
702 core.int buildCounterControl = 0; 683 core.int buildCounterControl = 0;
703 buildControl() { 684 buildControl() {
704 var o = new api.Control(); 685 var o = new api.Control();
705 buildCounterControl++; 686 buildCounterControl++;
706 if (buildCounterControl < 3) { 687 if (buildCounterControl < 3) {
(...skipping 25 matching lines...) Expand all
732 713
733 checkCounterOptions(api.CounterOptions o) { 714 checkCounterOptions(api.CounterOptions o) {
734 buildCounterCounterOptions++; 715 buildCounterCounterOptions++;
735 if (buildCounterCounterOptions < 3) { 716 if (buildCounterCounterOptions < 3) {
736 unittest.expect(o.field, unittest.equals('foo')); 717 unittest.expect(o.field, unittest.equals('foo'));
737 unittest.expect(o.metric, unittest.equals('foo')); 718 unittest.expect(o.metric, unittest.equals('foo'));
738 } 719 }
739 buildCounterCounterOptions--; 720 buildCounterCounterOptions--;
740 } 721 }
741 722
742 buildUnnamed3093() { 723 buildUnnamed1236() {
743 var o = new core.List<api.CustomErrorRule>(); 724 var o = new core.List<api.CustomErrorRule>();
744 o.add(buildCustomErrorRule()); 725 o.add(buildCustomErrorRule());
745 o.add(buildCustomErrorRule()); 726 o.add(buildCustomErrorRule());
746 return o; 727 return o;
747 } 728 }
748 729
749 checkUnnamed3093(core.List<api.CustomErrorRule> o) { 730 checkUnnamed1236(core.List<api.CustomErrorRule> o) {
750 unittest.expect(o, unittest.hasLength(2)); 731 unittest.expect(o, unittest.hasLength(2));
751 checkCustomErrorRule(o[0]); 732 checkCustomErrorRule(o[0]);
752 checkCustomErrorRule(o[1]); 733 checkCustomErrorRule(o[1]);
753 } 734 }
754 735
755 buildUnnamed3094() { 736 buildUnnamed1237() {
756 var o = new core.List<core.String>(); 737 var o = new core.List<core.String>();
757 o.add("foo"); 738 o.add("foo");
758 o.add("foo"); 739 o.add("foo");
759 return o; 740 return o;
760 } 741 }
761 742
762 checkUnnamed3094(core.List<core.String> o) { 743 checkUnnamed1237(core.List<core.String> o) {
763 unittest.expect(o, unittest.hasLength(2)); 744 unittest.expect(o, unittest.hasLength(2));
764 unittest.expect(o[0], unittest.equals('foo')); 745 unittest.expect(o[0], unittest.equals('foo'));
765 unittest.expect(o[1], unittest.equals('foo')); 746 unittest.expect(o[1], unittest.equals('foo'));
766 } 747 }
767 748
768 core.int buildCounterCustomError = 0; 749 core.int buildCounterCustomError = 0;
769 buildCustomError() { 750 buildCustomError() {
770 var o = new api.CustomError(); 751 var o = new api.CustomError();
771 buildCounterCustomError++; 752 buildCounterCustomError++;
772 if (buildCounterCustomError < 3) { 753 if (buildCounterCustomError < 3) {
773 o.rules = buildUnnamed3093(); 754 o.rules = buildUnnamed1236();
774 o.types = buildUnnamed3094(); 755 o.types = buildUnnamed1237();
775 } 756 }
776 buildCounterCustomError--; 757 buildCounterCustomError--;
777 return o; 758 return o;
778 } 759 }
779 760
780 checkCustomError(api.CustomError o) { 761 checkCustomError(api.CustomError o) {
781 buildCounterCustomError++; 762 buildCounterCustomError++;
782 if (buildCounterCustomError < 3) { 763 if (buildCounterCustomError < 3) {
783 checkUnnamed3093(o.rules); 764 checkUnnamed1236(o.rules);
784 checkUnnamed3094(o.types); 765 checkUnnamed1237(o.types);
785 } 766 }
786 buildCounterCustomError--; 767 buildCounterCustomError--;
787 } 768 }
788 769
789 core.int buildCounterCustomErrorRule = 0; 770 core.int buildCounterCustomErrorRule = 0;
790 buildCustomErrorRule() { 771 buildCustomErrorRule() {
791 var o = new api.CustomErrorRule(); 772 var o = new api.CustomErrorRule();
792 buildCounterCustomErrorRule++; 773 buildCounterCustomErrorRule++;
793 if (buildCounterCustomErrorRule < 3) { 774 if (buildCounterCustomErrorRule < 3) {
794 o.isErrorType = true; 775 o.isErrorType = true;
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
897 } 878 }
898 879
899 checkDisableServiceRequest(api.DisableServiceRequest o) { 880 checkDisableServiceRequest(api.DisableServiceRequest o) {
900 buildCounterDisableServiceRequest++; 881 buildCounterDisableServiceRequest++;
901 if (buildCounterDisableServiceRequest < 3) { 882 if (buildCounterDisableServiceRequest < 3) {
902 unittest.expect(o.consumerId, unittest.equals('foo')); 883 unittest.expect(o.consumerId, unittest.equals('foo'));
903 } 884 }
904 buildCounterDisableServiceRequest--; 885 buildCounterDisableServiceRequest--;
905 } 886 }
906 887
907 buildUnnamed3095() { 888 buildUnnamed1238() {
908 var o = new core.List<api.Page>(); 889 var o = new core.List<api.Page>();
909 o.add(buildPage()); 890 o.add(buildPage());
910 o.add(buildPage()); 891 o.add(buildPage());
911 return o; 892 return o;
912 } 893 }
913 894
914 checkUnnamed3095(core.List<api.Page> o) { 895 checkUnnamed1238(core.List<api.Page> o) {
915 unittest.expect(o, unittest.hasLength(2)); 896 unittest.expect(o, unittest.hasLength(2));
916 checkPage(o[0]); 897 checkPage(o[0]);
917 checkPage(o[1]); 898 checkPage(o[1]);
918 } 899 }
919 900
920 buildUnnamed3096() { 901 buildUnnamed1239() {
921 var o = new core.List<api.DocumentationRule>(); 902 var o = new core.List<api.DocumentationRule>();
922 o.add(buildDocumentationRule()); 903 o.add(buildDocumentationRule());
923 o.add(buildDocumentationRule()); 904 o.add(buildDocumentationRule());
924 return o; 905 return o;
925 } 906 }
926 907
927 checkUnnamed3096(core.List<api.DocumentationRule> o) { 908 checkUnnamed1239(core.List<api.DocumentationRule> o) {
928 unittest.expect(o, unittest.hasLength(2)); 909 unittest.expect(o, unittest.hasLength(2));
929 checkDocumentationRule(o[0]); 910 checkDocumentationRule(o[0]);
930 checkDocumentationRule(o[1]); 911 checkDocumentationRule(o[1]);
931 } 912 }
932 913
933 core.int buildCounterDocumentation = 0; 914 core.int buildCounterDocumentation = 0;
934 buildDocumentation() { 915 buildDocumentation() {
935 var o = new api.Documentation(); 916 var o = new api.Documentation();
936 buildCounterDocumentation++; 917 buildCounterDocumentation++;
937 if (buildCounterDocumentation < 3) { 918 if (buildCounterDocumentation < 3) {
938 o.documentationRootUrl = "foo"; 919 o.documentationRootUrl = "foo";
939 o.overview = "foo"; 920 o.overview = "foo";
940 o.pages = buildUnnamed3095(); 921 o.pages = buildUnnamed1238();
941 o.rules = buildUnnamed3096(); 922 o.rules = buildUnnamed1239();
942 o.summary = "foo"; 923 o.summary = "foo";
943 } 924 }
944 buildCounterDocumentation--; 925 buildCounterDocumentation--;
945 return o; 926 return o;
946 } 927 }
947 928
948 checkDocumentation(api.Documentation o) { 929 checkDocumentation(api.Documentation o) {
949 buildCounterDocumentation++; 930 buildCounterDocumentation++;
950 if (buildCounterDocumentation < 3) { 931 if (buildCounterDocumentation < 3) {
951 unittest.expect(o.documentationRootUrl, unittest.equals('foo')); 932 unittest.expect(o.documentationRootUrl, unittest.equals('foo'));
952 unittest.expect(o.overview, unittest.equals('foo')); 933 unittest.expect(o.overview, unittest.equals('foo'));
953 checkUnnamed3095(o.pages); 934 checkUnnamed1238(o.pages);
954 checkUnnamed3096(o.rules); 935 checkUnnamed1239(o.rules);
955 unittest.expect(o.summary, unittest.equals('foo')); 936 unittest.expect(o.summary, unittest.equals('foo'));
956 } 937 }
957 buildCounterDocumentation--; 938 buildCounterDocumentation--;
958 } 939 }
959 940
960 core.int buildCounterDocumentationRule = 0; 941 core.int buildCounterDocumentationRule = 0;
961 buildDocumentationRule() { 942 buildDocumentationRule() {
962 var o = new api.DocumentationRule(); 943 var o = new api.DocumentationRule();
963 buildCounterDocumentationRule++; 944 buildCounterDocumentationRule++;
964 if (buildCounterDocumentationRule < 3) { 945 if (buildCounterDocumentationRule < 3) {
(...skipping 27 matching lines...) Expand all
992 } 973 }
993 974
994 checkEnableServiceRequest(api.EnableServiceRequest o) { 975 checkEnableServiceRequest(api.EnableServiceRequest o) {
995 buildCounterEnableServiceRequest++; 976 buildCounterEnableServiceRequest++;
996 if (buildCounterEnableServiceRequest < 3) { 977 if (buildCounterEnableServiceRequest < 3) {
997 unittest.expect(o.consumerId, unittest.equals('foo')); 978 unittest.expect(o.consumerId, unittest.equals('foo'));
998 } 979 }
999 buildCounterEnableServiceRequest--; 980 buildCounterEnableServiceRequest--;
1000 } 981 }
1001 982
1002 buildUnnamed3097() { 983 buildUnnamed1240() {
984 var o = new core.List<core.String>();
985 o.add("foo");
986 o.add("foo");
987 return o;
988 }
989
990 checkUnnamed1240(core.List<core.String> o) {
991 unittest.expect(o, unittest.hasLength(2));
992 unittest.expect(o[0], unittest.equals('foo'));
993 unittest.expect(o[1], unittest.equals('foo'));
994 }
995
996 buildUnnamed1241() {
997 var o = new core.List<core.String>();
998 o.add("foo");
999 o.add("foo");
1000 return o;
1001 }
1002
1003 checkUnnamed1241(core.List<core.String> o) {
1004 unittest.expect(o, unittest.hasLength(2));
1005 unittest.expect(o[0], unittest.equals('foo'));
1006 unittest.expect(o[1], unittest.equals('foo'));
1007 }
1008
1009 buildUnnamed1242() {
1010 var o = new core.List<core.String>();
1011 o.add("foo");
1012 o.add("foo");
1013 return o;
1014 }
1015
1016 checkUnnamed1242(core.List<core.String> o) {
1017 unittest.expect(o, unittest.hasLength(2));
1018 unittest.expect(o[0], unittest.equals('foo'));
1019 unittest.expect(o[1], unittest.equals('foo'));
1020 }
1021
1022 core.int buildCounterEndpoint = 0;
1023 buildEndpoint() {
1024 var o = new api.Endpoint();
1025 buildCounterEndpoint++;
1026 if (buildCounterEndpoint < 3) {
1027 o.aliases = buildUnnamed1240();
1028 o.allowCors = true;
1029 o.apis = buildUnnamed1241();
1030 o.features = buildUnnamed1242();
1031 o.name = "foo";
1032 }
1033 buildCounterEndpoint--;
1034 return o;
1035 }
1036
1037 checkEndpoint(api.Endpoint o) {
1038 buildCounterEndpoint++;
1039 if (buildCounterEndpoint < 3) {
1040 checkUnnamed1240(o.aliases);
1041 unittest.expect(o.allowCors, unittest.isTrue);
1042 checkUnnamed1241(o.apis);
1043 checkUnnamed1242(o.features);
1044 unittest.expect(o.name, unittest.equals('foo'));
1045 }
1046 buildCounterEndpoint--;
1047 }
1048
1049 buildUnnamed1243() {
1003 var o = new core.List<api.EnumValue>(); 1050 var o = new core.List<api.EnumValue>();
1004 o.add(buildEnumValue()); 1051 o.add(buildEnumValue());
1005 o.add(buildEnumValue()); 1052 o.add(buildEnumValue());
1006 return o; 1053 return o;
1007 } 1054 }
1008 1055
1009 checkUnnamed3097(core.List<api.EnumValue> o) { 1056 checkUnnamed1243(core.List<api.EnumValue> o) {
1010 unittest.expect(o, unittest.hasLength(2)); 1057 unittest.expect(o, unittest.hasLength(2));
1011 checkEnumValue(o[0]); 1058 checkEnumValue(o[0]);
1012 checkEnumValue(o[1]); 1059 checkEnumValue(o[1]);
1013 } 1060 }
1014 1061
1015 buildUnnamed3098() { 1062 buildUnnamed1244() {
1016 var o = new core.List<api.Option>(); 1063 var o = new core.List<api.Option>();
1017 o.add(buildOption()); 1064 o.add(buildOption());
1018 o.add(buildOption()); 1065 o.add(buildOption());
1019 return o; 1066 return o;
1020 } 1067 }
1021 1068
1022 checkUnnamed3098(core.List<api.Option> o) { 1069 checkUnnamed1244(core.List<api.Option> o) {
1023 unittest.expect(o, unittest.hasLength(2)); 1070 unittest.expect(o, unittest.hasLength(2));
1024 checkOption(o[0]); 1071 checkOption(o[0]);
1025 checkOption(o[1]); 1072 checkOption(o[1]);
1026 } 1073 }
1027 1074
1028 core.int buildCounterEnum = 0; 1075 core.int buildCounterEnum = 0;
1029 buildEnum() { 1076 buildEnum() {
1030 var o = new api.Enum(); 1077 var o = new api.Enum();
1031 buildCounterEnum++; 1078 buildCounterEnum++;
1032 if (buildCounterEnum < 3) { 1079 if (buildCounterEnum < 3) {
1033 o.enumvalue = buildUnnamed3097(); 1080 o.enumvalue = buildUnnamed1243();
1034 o.name = "foo"; 1081 o.name = "foo";
1035 o.options = buildUnnamed3098(); 1082 o.options = buildUnnamed1244();
1036 o.sourceContext = buildSourceContext(); 1083 o.sourceContext = buildSourceContext();
1037 o.syntax = "foo"; 1084 o.syntax = "foo";
1038 } 1085 }
1039 buildCounterEnum--; 1086 buildCounterEnum--;
1040 return o; 1087 return o;
1041 } 1088 }
1042 1089
1043 checkEnum(api.Enum o) { 1090 checkEnum(api.Enum o) {
1044 buildCounterEnum++; 1091 buildCounterEnum++;
1045 if (buildCounterEnum < 3) { 1092 if (buildCounterEnum < 3) {
1046 checkUnnamed3097(o.enumvalue); 1093 checkUnnamed1243(o.enumvalue);
1047 unittest.expect(o.name, unittest.equals('foo')); 1094 unittest.expect(o.name, unittest.equals('foo'));
1048 checkUnnamed3098(o.options); 1095 checkUnnamed1244(o.options);
1049 checkSourceContext(o.sourceContext); 1096 checkSourceContext(o.sourceContext);
1050 unittest.expect(o.syntax, unittest.equals('foo')); 1097 unittest.expect(o.syntax, unittest.equals('foo'));
1051 } 1098 }
1052 buildCounterEnum--; 1099 buildCounterEnum--;
1053 } 1100 }
1054 1101
1055 buildUnnamed3099() { 1102 buildUnnamed1245() {
1056 var o = new core.List<api.Option>(); 1103 var o = new core.List<api.Option>();
1057 o.add(buildOption()); 1104 o.add(buildOption());
1058 o.add(buildOption()); 1105 o.add(buildOption());
1059 return o; 1106 return o;
1060 } 1107 }
1061 1108
1062 checkUnnamed3099(core.List<api.Option> o) { 1109 checkUnnamed1245(core.List<api.Option> o) {
1063 unittest.expect(o, unittest.hasLength(2)); 1110 unittest.expect(o, unittest.hasLength(2));
1064 checkOption(o[0]); 1111 checkOption(o[0]);
1065 checkOption(o[1]); 1112 checkOption(o[1]);
1066 } 1113 }
1067 1114
1068 core.int buildCounterEnumValue = 0; 1115 core.int buildCounterEnumValue = 0;
1069 buildEnumValue() { 1116 buildEnumValue() {
1070 var o = new api.EnumValue(); 1117 var o = new api.EnumValue();
1071 buildCounterEnumValue++; 1118 buildCounterEnumValue++;
1072 if (buildCounterEnumValue < 3) { 1119 if (buildCounterEnumValue < 3) {
1073 o.name = "foo"; 1120 o.name = "foo";
1074 o.number = 42; 1121 o.number = 42;
1075 o.options = buildUnnamed3099(); 1122 o.options = buildUnnamed1245();
1076 } 1123 }
1077 buildCounterEnumValue--; 1124 buildCounterEnumValue--;
1078 return o; 1125 return o;
1079 } 1126 }
1080 1127
1081 checkEnumValue(api.EnumValue o) { 1128 checkEnumValue(api.EnumValue o) {
1082 buildCounterEnumValue++; 1129 buildCounterEnumValue++;
1083 if (buildCounterEnumValue < 3) { 1130 if (buildCounterEnumValue < 3) {
1084 unittest.expect(o.name, unittest.equals('foo')); 1131 unittest.expect(o.name, unittest.equals('foo'));
1085 unittest.expect(o.number, unittest.equals(42)); 1132 unittest.expect(o.number, unittest.equals(42));
1086 checkUnnamed3099(o.options); 1133 checkUnnamed1245(o.options);
1087 } 1134 }
1088 buildCounterEnumValue--; 1135 buildCounterEnumValue--;
1089 } 1136 }
1090 1137
1091 buildUnnamed3100() { 1138 buildUnnamed1246() {
1092 var o = new core.List<api.Option>(); 1139 var o = new core.List<api.Option>();
1093 o.add(buildOption()); 1140 o.add(buildOption());
1094 o.add(buildOption()); 1141 o.add(buildOption());
1095 return o; 1142 return o;
1096 } 1143 }
1097 1144
1098 checkUnnamed3100(core.List<api.Option> o) { 1145 checkUnnamed1246(core.List<api.Option> o) {
1099 unittest.expect(o, unittest.hasLength(2)); 1146 unittest.expect(o, unittest.hasLength(2));
1100 checkOption(o[0]); 1147 checkOption(o[0]);
1101 checkOption(o[1]); 1148 checkOption(o[1]);
1102 } 1149 }
1103 1150
1104 core.int buildCounterField = 0; 1151 core.int buildCounterField = 0;
1105 buildField() { 1152 buildField() {
1106 var o = new api.Field(); 1153 var o = new api.Field();
1107 buildCounterField++; 1154 buildCounterField++;
1108 if (buildCounterField < 3) { 1155 if (buildCounterField < 3) {
1109 o.cardinality = "foo"; 1156 o.cardinality = "foo";
1110 o.defaultValue = "foo"; 1157 o.defaultValue = "foo";
1111 o.jsonName = "foo"; 1158 o.jsonName = "foo";
1112 o.kind = "foo"; 1159 o.kind = "foo";
1113 o.name = "foo"; 1160 o.name = "foo";
1114 o.number = 42; 1161 o.number = 42;
1115 o.oneofIndex = 42; 1162 o.oneofIndex = 42;
1116 o.options = buildUnnamed3100(); 1163 o.options = buildUnnamed1246();
1117 o.packed = true; 1164 o.packed = true;
1118 o.typeUrl = "foo"; 1165 o.typeUrl = "foo";
1119 } 1166 }
1120 buildCounterField--; 1167 buildCounterField--;
1121 return o; 1168 return o;
1122 } 1169 }
1123 1170
1124 checkField(api.Field o) { 1171 checkField(api.Field o) {
1125 buildCounterField++; 1172 buildCounterField++;
1126 if (buildCounterField < 3) { 1173 if (buildCounterField < 3) {
1127 unittest.expect(o.cardinality, unittest.equals('foo')); 1174 unittest.expect(o.cardinality, unittest.equals('foo'));
1128 unittest.expect(o.defaultValue, unittest.equals('foo')); 1175 unittest.expect(o.defaultValue, unittest.equals('foo'));
1129 unittest.expect(o.jsonName, unittest.equals('foo')); 1176 unittest.expect(o.jsonName, unittest.equals('foo'));
1130 unittest.expect(o.kind, unittest.equals('foo')); 1177 unittest.expect(o.kind, unittest.equals('foo'));
1131 unittest.expect(o.name, unittest.equals('foo')); 1178 unittest.expect(o.name, unittest.equals('foo'));
1132 unittest.expect(o.number, unittest.equals(42)); 1179 unittest.expect(o.number, unittest.equals(42));
1133 unittest.expect(o.oneofIndex, unittest.equals(42)); 1180 unittest.expect(o.oneofIndex, unittest.equals(42));
1134 checkUnnamed3100(o.options); 1181 checkUnnamed1246(o.options);
1135 unittest.expect(o.packed, unittest.isTrue); 1182 unittest.expect(o.packed, unittest.isTrue);
1136 unittest.expect(o.typeUrl, unittest.equals('foo')); 1183 unittest.expect(o.typeUrl, unittest.equals('foo'));
1137 } 1184 }
1138 buildCounterField--; 1185 buildCounterField--;
1139 } 1186 }
1140 1187
1141 buildUnnamed3101() { 1188 buildUnnamed1247() {
1142 var o = new core.Map<core.String, core.Object>(); 1189 var o = new core.Map<core.String, core.Object>();
1143 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1190 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1144 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1191 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1145 return o; 1192 return o;
1146 } 1193 }
1147 1194
1148 checkUnnamed3101(core.Map<core.String, core.Object> o) { 1195 checkUnnamed1247(core.Map<core.String, core.Object> o) {
1149 unittest.expect(o, unittest.hasLength(2)); 1196 unittest.expect(o, unittest.hasLength(2));
1150 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')); 1197 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'));
1151 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')); 1198 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'));
1152 } 1199 }
1153 1200
1154 buildUnnamed3102() { 1201 buildUnnamed1248() {
1155 var o = new core.Map<core.String, core.Object>(); 1202 var o = new core.Map<core.String, core.Object>();
1156 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1203 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1157 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1204 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1158 return o; 1205 return o;
1159 } 1206 }
1160 1207
1161 checkUnnamed3102(core.Map<core.String, core.Object> o) { 1208 checkUnnamed1248(core.Map<core.String, core.Object> o) {
1162 unittest.expect(o, unittest.hasLength(2)); 1209 unittest.expect(o, unittest.hasLength(2));
1163 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')); 1210 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'));
1164 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')); 1211 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'));
1165 } 1212 }
1166 1213
1167 core.int buildCounterGenerateConfigReportRequest = 0; 1214 core.int buildCounterGenerateConfigReportRequest = 0;
1168 buildGenerateConfigReportRequest() { 1215 buildGenerateConfigReportRequest() {
1169 var o = new api.GenerateConfigReportRequest(); 1216 var o = new api.GenerateConfigReportRequest();
1170 buildCounterGenerateConfigReportRequest++; 1217 buildCounterGenerateConfigReportRequest++;
1171 if (buildCounterGenerateConfigReportRequest < 3) { 1218 if (buildCounterGenerateConfigReportRequest < 3) {
1172 o.newConfig = buildUnnamed3101(); 1219 o.newConfig = buildUnnamed1247();
1173 o.oldConfig = buildUnnamed3102(); 1220 o.oldConfig = buildUnnamed1248();
1174 } 1221 }
1175 buildCounterGenerateConfigReportRequest--; 1222 buildCounterGenerateConfigReportRequest--;
1176 return o; 1223 return o;
1177 } 1224 }
1178 1225
1179 checkGenerateConfigReportRequest(api.GenerateConfigReportRequest o) { 1226 checkGenerateConfigReportRequest(api.GenerateConfigReportRequest o) {
1180 buildCounterGenerateConfigReportRequest++; 1227 buildCounterGenerateConfigReportRequest++;
1181 if (buildCounterGenerateConfigReportRequest < 3) { 1228 if (buildCounterGenerateConfigReportRequest < 3) {
1182 checkUnnamed3101(o.newConfig); 1229 checkUnnamed1247(o.newConfig);
1183 checkUnnamed3102(o.oldConfig); 1230 checkUnnamed1248(o.oldConfig);
1184 } 1231 }
1185 buildCounterGenerateConfigReportRequest--; 1232 buildCounterGenerateConfigReportRequest--;
1186 } 1233 }
1187 1234
1188 buildUnnamed3103() { 1235 buildUnnamed1249() {
1189 var o = new core.List<api.ChangeReport>(); 1236 var o = new core.List<api.ChangeReport>();
1190 o.add(buildChangeReport()); 1237 o.add(buildChangeReport());
1191 o.add(buildChangeReport()); 1238 o.add(buildChangeReport());
1192 return o; 1239 return o;
1193 } 1240 }
1194 1241
1195 checkUnnamed3103(core.List<api.ChangeReport> o) { 1242 checkUnnamed1249(core.List<api.ChangeReport> o) {
1196 unittest.expect(o, unittest.hasLength(2)); 1243 unittest.expect(o, unittest.hasLength(2));
1197 checkChangeReport(o[0]); 1244 checkChangeReport(o[0]);
1198 checkChangeReport(o[1]); 1245 checkChangeReport(o[1]);
1199 } 1246 }
1200 1247
1201 buildUnnamed3104() { 1248 buildUnnamed1250() {
1202 var o = new core.List<api.Diagnostic>(); 1249 var o = new core.List<api.Diagnostic>();
1203 o.add(buildDiagnostic()); 1250 o.add(buildDiagnostic());
1204 o.add(buildDiagnostic()); 1251 o.add(buildDiagnostic());
1205 return o; 1252 return o;
1206 } 1253 }
1207 1254
1208 checkUnnamed3104(core.List<api.Diagnostic> o) { 1255 checkUnnamed1250(core.List<api.Diagnostic> o) {
1209 unittest.expect(o, unittest.hasLength(2)); 1256 unittest.expect(o, unittest.hasLength(2));
1210 checkDiagnostic(o[0]); 1257 checkDiagnostic(o[0]);
1211 checkDiagnostic(o[1]); 1258 checkDiagnostic(o[1]);
1212 } 1259 }
1213 1260
1214 core.int buildCounterGenerateConfigReportResponse = 0; 1261 core.int buildCounterGenerateConfigReportResponse = 0;
1215 buildGenerateConfigReportResponse() { 1262 buildGenerateConfigReportResponse() {
1216 var o = new api.GenerateConfigReportResponse(); 1263 var o = new api.GenerateConfigReportResponse();
1217 buildCounterGenerateConfigReportResponse++; 1264 buildCounterGenerateConfigReportResponse++;
1218 if (buildCounterGenerateConfigReportResponse < 3) { 1265 if (buildCounterGenerateConfigReportResponse < 3) {
1219 o.changeReports = buildUnnamed3103(); 1266 o.changeReports = buildUnnamed1249();
1220 o.diagnostics = buildUnnamed3104(); 1267 o.diagnostics = buildUnnamed1250();
1221 o.id = "foo"; 1268 o.id = "foo";
1222 o.serviceName = "foo"; 1269 o.serviceName = "foo";
1223 } 1270 }
1224 buildCounterGenerateConfigReportResponse--; 1271 buildCounterGenerateConfigReportResponse--;
1225 return o; 1272 return o;
1226 } 1273 }
1227 1274
1228 checkGenerateConfigReportResponse(api.GenerateConfigReportResponse o) { 1275 checkGenerateConfigReportResponse(api.GenerateConfigReportResponse o) {
1229 buildCounterGenerateConfigReportResponse++; 1276 buildCounterGenerateConfigReportResponse++;
1230 if (buildCounterGenerateConfigReportResponse < 3) { 1277 if (buildCounterGenerateConfigReportResponse < 3) {
1231 checkUnnamed3103(o.changeReports); 1278 checkUnnamed1249(o.changeReports);
1232 checkUnnamed3104(o.diagnostics); 1279 checkUnnamed1250(o.diagnostics);
1233 unittest.expect(o.id, unittest.equals('foo')); 1280 unittest.expect(o.id, unittest.equals('foo'));
1234 unittest.expect(o.serviceName, unittest.equals('foo')); 1281 unittest.expect(o.serviceName, unittest.equals('foo'));
1235 } 1282 }
1236 buildCounterGenerateConfigReportResponse--; 1283 buildCounterGenerateConfigReportResponse--;
1237 } 1284 }
1238 1285
1239 core.int buildCounterGetIamPolicyRequest = 0; 1286 core.int buildCounterGetIamPolicyRequest = 0;
1240 buildGetIamPolicyRequest() { 1287 buildGetIamPolicyRequest() {
1241 var o = new api.GetIamPolicyRequest(); 1288 var o = new api.GetIamPolicyRequest();
1242 buildCounterGetIamPolicyRequest++; 1289 buildCounterGetIamPolicyRequest++;
1243 if (buildCounterGetIamPolicyRequest < 3) { 1290 if (buildCounterGetIamPolicyRequest < 3) {
1244 } 1291 }
1245 buildCounterGetIamPolicyRequest--; 1292 buildCounterGetIamPolicyRequest--;
1246 return o; 1293 return o;
1247 } 1294 }
1248 1295
1249 checkGetIamPolicyRequest(api.GetIamPolicyRequest o) { 1296 checkGetIamPolicyRequest(api.GetIamPolicyRequest o) {
1250 buildCounterGetIamPolicyRequest++; 1297 buildCounterGetIamPolicyRequest++;
1251 if (buildCounterGetIamPolicyRequest < 3) { 1298 if (buildCounterGetIamPolicyRequest < 3) {
1252 } 1299 }
1253 buildCounterGetIamPolicyRequest--; 1300 buildCounterGetIamPolicyRequest--;
1254 } 1301 }
1255 1302
1256 buildUnnamed3105() { 1303 buildUnnamed1251() {
1257 var o = new core.List<api.HttpRule>(); 1304 var o = new core.List<api.HttpRule>();
1258 o.add(buildHttpRule()); 1305 o.add(buildHttpRule());
1259 o.add(buildHttpRule()); 1306 o.add(buildHttpRule());
1260 return o; 1307 return o;
1261 } 1308 }
1262 1309
1263 checkUnnamed3105(core.List<api.HttpRule> o) { 1310 checkUnnamed1251(core.List<api.HttpRule> o) {
1264 unittest.expect(o, unittest.hasLength(2)); 1311 unittest.expect(o, unittest.hasLength(2));
1265 checkHttpRule(o[0]); 1312 checkHttpRule(o[0]);
1266 checkHttpRule(o[1]); 1313 checkHttpRule(o[1]);
1267 } 1314 }
1268 1315
1269 core.int buildCounterHttp = 0; 1316 core.int buildCounterHttp = 0;
1270 buildHttp() { 1317 buildHttp() {
1271 var o = new api.Http(); 1318 var o = new api.Http();
1272 buildCounterHttp++; 1319 buildCounterHttp++;
1273 if (buildCounterHttp < 3) { 1320 if (buildCounterHttp < 3) {
1274 o.rules = buildUnnamed3105(); 1321 o.rules = buildUnnamed1251();
1275 } 1322 }
1276 buildCounterHttp--; 1323 buildCounterHttp--;
1277 return o; 1324 return o;
1278 } 1325 }
1279 1326
1280 checkHttp(api.Http o) { 1327 checkHttp(api.Http o) {
1281 buildCounterHttp++; 1328 buildCounterHttp++;
1282 if (buildCounterHttp < 3) { 1329 if (buildCounterHttp < 3) {
1283 checkUnnamed3105(o.rules); 1330 checkUnnamed1251(o.rules);
1284 } 1331 }
1285 buildCounterHttp--; 1332 buildCounterHttp--;
1286 } 1333 }
1287 1334
1288 buildUnnamed3106() { 1335 buildUnnamed1252() {
1289 var o = new core.List<api.HttpRule>(); 1336 var o = new core.List<api.HttpRule>();
1290 o.add(buildHttpRule()); 1337 o.add(buildHttpRule());
1291 o.add(buildHttpRule()); 1338 o.add(buildHttpRule());
1292 return o; 1339 return o;
1293 } 1340 }
1294 1341
1295 checkUnnamed3106(core.List<api.HttpRule> o) { 1342 checkUnnamed1252(core.List<api.HttpRule> o) {
1296 unittest.expect(o, unittest.hasLength(2)); 1343 unittest.expect(o, unittest.hasLength(2));
1297 checkHttpRule(o[0]); 1344 checkHttpRule(o[0]);
1298 checkHttpRule(o[1]); 1345 checkHttpRule(o[1]);
1299 } 1346 }
1300 1347
1301 core.int buildCounterHttpRule = 0; 1348 core.int buildCounterHttpRule = 0;
1302 buildHttpRule() { 1349 buildHttpRule() {
1303 var o = new api.HttpRule(); 1350 var o = new api.HttpRule();
1304 buildCounterHttpRule++; 1351 buildCounterHttpRule++;
1305 if (buildCounterHttpRule < 3) { 1352 if (buildCounterHttpRule < 3) {
1306 o.additionalBindings = buildUnnamed3106(); 1353 o.additionalBindings = buildUnnamed1252();
1307 o.body = "foo"; 1354 o.body = "foo";
1308 o.custom = buildCustomHttpPattern(); 1355 o.custom = buildCustomHttpPattern();
1309 o.delete = "foo"; 1356 o.delete = "foo";
1310 o.get = "foo"; 1357 o.get = "foo";
1311 o.mediaDownload = buildMediaDownload(); 1358 o.mediaDownload = buildMediaDownload();
1312 o.mediaUpload = buildMediaUpload(); 1359 o.mediaUpload = buildMediaUpload();
1313 o.patch = "foo"; 1360 o.patch = "foo";
1314 o.post = "foo"; 1361 o.post = "foo";
1315 o.put = "foo"; 1362 o.put = "foo";
1316 o.responseBody = "foo"; 1363 o.responseBody = "foo";
1317 o.selector = "foo"; 1364 o.selector = "foo";
1318 } 1365 }
1319 buildCounterHttpRule--; 1366 buildCounterHttpRule--;
1320 return o; 1367 return o;
1321 } 1368 }
1322 1369
1323 checkHttpRule(api.HttpRule o) { 1370 checkHttpRule(api.HttpRule o) {
1324 buildCounterHttpRule++; 1371 buildCounterHttpRule++;
1325 if (buildCounterHttpRule < 3) { 1372 if (buildCounterHttpRule < 3) {
1326 checkUnnamed3106(o.additionalBindings); 1373 checkUnnamed1252(o.additionalBindings);
1327 unittest.expect(o.body, unittest.equals('foo')); 1374 unittest.expect(o.body, unittest.equals('foo'));
1328 checkCustomHttpPattern(o.custom); 1375 checkCustomHttpPattern(o.custom);
1329 unittest.expect(o.delete, unittest.equals('foo')); 1376 unittest.expect(o.delete, unittest.equals('foo'));
1330 unittest.expect(o.get, unittest.equals('foo')); 1377 unittest.expect(o.get, unittest.equals('foo'));
1331 checkMediaDownload(o.mediaDownload); 1378 checkMediaDownload(o.mediaDownload);
1332 checkMediaUpload(o.mediaUpload); 1379 checkMediaUpload(o.mediaUpload);
1333 unittest.expect(o.patch, unittest.equals('foo')); 1380 unittest.expect(o.patch, unittest.equals('foo'));
1334 unittest.expect(o.post, unittest.equals('foo')); 1381 unittest.expect(o.post, unittest.equals('foo'));
1335 unittest.expect(o.put, unittest.equals('foo')); 1382 unittest.expect(o.put, unittest.equals('foo'));
1336 unittest.expect(o.responseBody, unittest.equals('foo')); 1383 unittest.expect(o.responseBody, unittest.equals('foo'));
(...skipping 18 matching lines...) Expand all
1355 checkLabelDescriptor(api.LabelDescriptor o) { 1402 checkLabelDescriptor(api.LabelDescriptor o) {
1356 buildCounterLabelDescriptor++; 1403 buildCounterLabelDescriptor++;
1357 if (buildCounterLabelDescriptor < 3) { 1404 if (buildCounterLabelDescriptor < 3) {
1358 unittest.expect(o.description, unittest.equals('foo')); 1405 unittest.expect(o.description, unittest.equals('foo'));
1359 unittest.expect(o.key, unittest.equals('foo')); 1406 unittest.expect(o.key, unittest.equals('foo'));
1360 unittest.expect(o.valueType, unittest.equals('foo')); 1407 unittest.expect(o.valueType, unittest.equals('foo'));
1361 } 1408 }
1362 buildCounterLabelDescriptor--; 1409 buildCounterLabelDescriptor--;
1363 } 1410 }
1364 1411
1365 buildUnnamed3107() { 1412 buildUnnamed1253() {
1366 var o = new core.List<api.Service>(); 1413 var o = new core.List<api.Service>();
1367 o.add(buildService()); 1414 o.add(buildService());
1368 o.add(buildService()); 1415 o.add(buildService());
1369 return o; 1416 return o;
1370 } 1417 }
1371 1418
1372 checkUnnamed3107(core.List<api.Service> o) { 1419 checkUnnamed1253(core.List<api.Service> o) {
1373 unittest.expect(o, unittest.hasLength(2)); 1420 unittest.expect(o, unittest.hasLength(2));
1374 checkService(o[0]); 1421 checkService(o[0]);
1375 checkService(o[1]); 1422 checkService(o[1]);
1376 } 1423 }
1377 1424
1378 core.int buildCounterListServiceConfigsResponse = 0; 1425 core.int buildCounterListServiceConfigsResponse = 0;
1379 buildListServiceConfigsResponse() { 1426 buildListServiceConfigsResponse() {
1380 var o = new api.ListServiceConfigsResponse(); 1427 var o = new api.ListServiceConfigsResponse();
1381 buildCounterListServiceConfigsResponse++; 1428 buildCounterListServiceConfigsResponse++;
1382 if (buildCounterListServiceConfigsResponse < 3) { 1429 if (buildCounterListServiceConfigsResponse < 3) {
1383 o.nextPageToken = "foo"; 1430 o.nextPageToken = "foo";
1384 o.serviceConfigs = buildUnnamed3107(); 1431 o.serviceConfigs = buildUnnamed1253();
1385 } 1432 }
1386 buildCounterListServiceConfigsResponse--; 1433 buildCounterListServiceConfigsResponse--;
1387 return o; 1434 return o;
1388 } 1435 }
1389 1436
1390 checkListServiceConfigsResponse(api.ListServiceConfigsResponse o) { 1437 checkListServiceConfigsResponse(api.ListServiceConfigsResponse o) {
1391 buildCounterListServiceConfigsResponse++; 1438 buildCounterListServiceConfigsResponse++;
1392 if (buildCounterListServiceConfigsResponse < 3) { 1439 if (buildCounterListServiceConfigsResponse < 3) {
1393 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1440 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1394 checkUnnamed3107(o.serviceConfigs); 1441 checkUnnamed1253(o.serviceConfigs);
1395 } 1442 }
1396 buildCounterListServiceConfigsResponse--; 1443 buildCounterListServiceConfigsResponse--;
1397 } 1444 }
1398 1445
1399 buildUnnamed3108() { 1446 buildUnnamed1254() {
1400 var o = new core.List<api.Rollout>(); 1447 var o = new core.List<api.Rollout>();
1401 o.add(buildRollout()); 1448 o.add(buildRollout());
1402 o.add(buildRollout()); 1449 o.add(buildRollout());
1403 return o; 1450 return o;
1404 } 1451 }
1405 1452
1406 checkUnnamed3108(core.List<api.Rollout> o) { 1453 checkUnnamed1254(core.List<api.Rollout> o) {
1407 unittest.expect(o, unittest.hasLength(2)); 1454 unittest.expect(o, unittest.hasLength(2));
1408 checkRollout(o[0]); 1455 checkRollout(o[0]);
1409 checkRollout(o[1]); 1456 checkRollout(o[1]);
1410 } 1457 }
1411 1458
1412 core.int buildCounterListServiceRolloutsResponse = 0; 1459 core.int buildCounterListServiceRolloutsResponse = 0;
1413 buildListServiceRolloutsResponse() { 1460 buildListServiceRolloutsResponse() {
1414 var o = new api.ListServiceRolloutsResponse(); 1461 var o = new api.ListServiceRolloutsResponse();
1415 buildCounterListServiceRolloutsResponse++; 1462 buildCounterListServiceRolloutsResponse++;
1416 if (buildCounterListServiceRolloutsResponse < 3) { 1463 if (buildCounterListServiceRolloutsResponse < 3) {
1417 o.nextPageToken = "foo"; 1464 o.nextPageToken = "foo";
1418 o.rollouts = buildUnnamed3108(); 1465 o.rollouts = buildUnnamed1254();
1419 } 1466 }
1420 buildCounterListServiceRolloutsResponse--; 1467 buildCounterListServiceRolloutsResponse--;
1421 return o; 1468 return o;
1422 } 1469 }
1423 1470
1424 checkListServiceRolloutsResponse(api.ListServiceRolloutsResponse o) { 1471 checkListServiceRolloutsResponse(api.ListServiceRolloutsResponse o) {
1425 buildCounterListServiceRolloutsResponse++; 1472 buildCounterListServiceRolloutsResponse++;
1426 if (buildCounterListServiceRolloutsResponse < 3) { 1473 if (buildCounterListServiceRolloutsResponse < 3) {
1427 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1474 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1428 checkUnnamed3108(o.rollouts); 1475 checkUnnamed1254(o.rollouts);
1429 } 1476 }
1430 buildCounterListServiceRolloutsResponse--; 1477 buildCounterListServiceRolloutsResponse--;
1431 } 1478 }
1432 1479
1433 buildUnnamed3109() { 1480 buildUnnamed1255() {
1434 var o = new core.List<api.ManagedService>(); 1481 var o = new core.List<api.ManagedService>();
1435 o.add(buildManagedService()); 1482 o.add(buildManagedService());
1436 o.add(buildManagedService()); 1483 o.add(buildManagedService());
1437 return o; 1484 return o;
1438 } 1485 }
1439 1486
1440 checkUnnamed3109(core.List<api.ManagedService> o) { 1487 checkUnnamed1255(core.List<api.ManagedService> o) {
1441 unittest.expect(o, unittest.hasLength(2)); 1488 unittest.expect(o, unittest.hasLength(2));
1442 checkManagedService(o[0]); 1489 checkManagedService(o[0]);
1443 checkManagedService(o[1]); 1490 checkManagedService(o[1]);
1444 } 1491 }
1445 1492
1446 core.int buildCounterListServicesResponse = 0; 1493 core.int buildCounterListServicesResponse = 0;
1447 buildListServicesResponse() { 1494 buildListServicesResponse() {
1448 var o = new api.ListServicesResponse(); 1495 var o = new api.ListServicesResponse();
1449 buildCounterListServicesResponse++; 1496 buildCounterListServicesResponse++;
1450 if (buildCounterListServicesResponse < 3) { 1497 if (buildCounterListServicesResponse < 3) {
1451 o.nextPageToken = "foo"; 1498 o.nextPageToken = "foo";
1452 o.services = buildUnnamed3109(); 1499 o.services = buildUnnamed1255();
1453 } 1500 }
1454 buildCounterListServicesResponse--; 1501 buildCounterListServicesResponse--;
1455 return o; 1502 return o;
1456 } 1503 }
1457 1504
1458 checkListServicesResponse(api.ListServicesResponse o) { 1505 checkListServicesResponse(api.ListServicesResponse o) {
1459 buildCounterListServicesResponse++; 1506 buildCounterListServicesResponse++;
1460 if (buildCounterListServicesResponse < 3) { 1507 if (buildCounterListServicesResponse < 3) {
1461 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1508 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1462 checkUnnamed3109(o.services); 1509 checkUnnamed1255(o.services);
1463 } 1510 }
1464 buildCounterListServicesResponse--; 1511 buildCounterListServicesResponse--;
1465 } 1512 }
1466 1513
1467 core.int buildCounterLogConfig = 0; 1514 core.int buildCounterLogConfig = 0;
1468 buildLogConfig() { 1515 buildLogConfig() {
1469 var o = new api.LogConfig(); 1516 var o = new api.LogConfig();
1470 buildCounterLogConfig++; 1517 buildCounterLogConfig++;
1471 if (buildCounterLogConfig < 3) { 1518 if (buildCounterLogConfig < 3) {
1472 o.cloudAudit = buildCloudAuditOptions(); 1519 o.cloudAudit = buildCloudAuditOptions();
1473 o.counter = buildCounterOptions(); 1520 o.counter = buildCounterOptions();
1474 o.dataAccess = buildDataAccessOptions(); 1521 o.dataAccess = buildDataAccessOptions();
1475 } 1522 }
1476 buildCounterLogConfig--; 1523 buildCounterLogConfig--;
1477 return o; 1524 return o;
1478 } 1525 }
1479 1526
1480 checkLogConfig(api.LogConfig o) { 1527 checkLogConfig(api.LogConfig o) {
1481 buildCounterLogConfig++; 1528 buildCounterLogConfig++;
1482 if (buildCounterLogConfig < 3) { 1529 if (buildCounterLogConfig < 3) {
1483 checkCloudAuditOptions(o.cloudAudit); 1530 checkCloudAuditOptions(o.cloudAudit);
1484 checkCounterOptions(o.counter); 1531 checkCounterOptions(o.counter);
1485 checkDataAccessOptions(o.dataAccess); 1532 checkDataAccessOptions(o.dataAccess);
1486 } 1533 }
1487 buildCounterLogConfig--; 1534 buildCounterLogConfig--;
1488 } 1535 }
1489 1536
1490 buildUnnamed3110() { 1537 buildUnnamed1256() {
1491 var o = new core.List<api.LabelDescriptor>(); 1538 var o = new core.List<api.LabelDescriptor>();
1492 o.add(buildLabelDescriptor()); 1539 o.add(buildLabelDescriptor());
1493 o.add(buildLabelDescriptor()); 1540 o.add(buildLabelDescriptor());
1494 return o; 1541 return o;
1495 } 1542 }
1496 1543
1497 checkUnnamed3110(core.List<api.LabelDescriptor> o) { 1544 checkUnnamed1256(core.List<api.LabelDescriptor> o) {
1498 unittest.expect(o, unittest.hasLength(2)); 1545 unittest.expect(o, unittest.hasLength(2));
1499 checkLabelDescriptor(o[0]); 1546 checkLabelDescriptor(o[0]);
1500 checkLabelDescriptor(o[1]); 1547 checkLabelDescriptor(o[1]);
1501 } 1548 }
1502 1549
1503 core.int buildCounterLogDescriptor = 0; 1550 core.int buildCounterLogDescriptor = 0;
1504 buildLogDescriptor() { 1551 buildLogDescriptor() {
1505 var o = new api.LogDescriptor(); 1552 var o = new api.LogDescriptor();
1506 buildCounterLogDescriptor++; 1553 buildCounterLogDescriptor++;
1507 if (buildCounterLogDescriptor < 3) { 1554 if (buildCounterLogDescriptor < 3) {
1508 o.description = "foo"; 1555 o.description = "foo";
1509 o.displayName = "foo"; 1556 o.displayName = "foo";
1510 o.labels = buildUnnamed3110(); 1557 o.labels = buildUnnamed1256();
1511 o.name = "foo"; 1558 o.name = "foo";
1512 } 1559 }
1513 buildCounterLogDescriptor--; 1560 buildCounterLogDescriptor--;
1514 return o; 1561 return o;
1515 } 1562 }
1516 1563
1517 checkLogDescriptor(api.LogDescriptor o) { 1564 checkLogDescriptor(api.LogDescriptor o) {
1518 buildCounterLogDescriptor++; 1565 buildCounterLogDescriptor++;
1519 if (buildCounterLogDescriptor < 3) { 1566 if (buildCounterLogDescriptor < 3) {
1520 unittest.expect(o.description, unittest.equals('foo')); 1567 unittest.expect(o.description, unittest.equals('foo'));
1521 unittest.expect(o.displayName, unittest.equals('foo')); 1568 unittest.expect(o.displayName, unittest.equals('foo'));
1522 checkUnnamed3110(o.labels); 1569 checkUnnamed1256(o.labels);
1523 unittest.expect(o.name, unittest.equals('foo')); 1570 unittest.expect(o.name, unittest.equals('foo'));
1524 } 1571 }
1525 buildCounterLogDescriptor--; 1572 buildCounterLogDescriptor--;
1526 } 1573 }
1527 1574
1528 buildUnnamed3111() { 1575 buildUnnamed1257() {
1529 var o = new core.List<api.LoggingDestination>(); 1576 var o = new core.List<api.LoggingDestination>();
1530 o.add(buildLoggingDestination()); 1577 o.add(buildLoggingDestination());
1531 o.add(buildLoggingDestination()); 1578 o.add(buildLoggingDestination());
1532 return o; 1579 return o;
1533 } 1580 }
1534 1581
1535 checkUnnamed3111(core.List<api.LoggingDestination> o) { 1582 checkUnnamed1257(core.List<api.LoggingDestination> o) {
1536 unittest.expect(o, unittest.hasLength(2)); 1583 unittest.expect(o, unittest.hasLength(2));
1537 checkLoggingDestination(o[0]); 1584 checkLoggingDestination(o[0]);
1538 checkLoggingDestination(o[1]); 1585 checkLoggingDestination(o[1]);
1539 } 1586 }
1540 1587
1541 buildUnnamed3112() { 1588 buildUnnamed1258() {
1542 var o = new core.List<api.LoggingDestination>(); 1589 var o = new core.List<api.LoggingDestination>();
1543 o.add(buildLoggingDestination()); 1590 o.add(buildLoggingDestination());
1544 o.add(buildLoggingDestination()); 1591 o.add(buildLoggingDestination());
1545 return o; 1592 return o;
1546 } 1593 }
1547 1594
1548 checkUnnamed3112(core.List<api.LoggingDestination> o) { 1595 checkUnnamed1258(core.List<api.LoggingDestination> o) {
1549 unittest.expect(o, unittest.hasLength(2)); 1596 unittest.expect(o, unittest.hasLength(2));
1550 checkLoggingDestination(o[0]); 1597 checkLoggingDestination(o[0]);
1551 checkLoggingDestination(o[1]); 1598 checkLoggingDestination(o[1]);
1552 } 1599 }
1553 1600
1554 core.int buildCounterLogging = 0; 1601 core.int buildCounterLogging = 0;
1555 buildLogging() { 1602 buildLogging() {
1556 var o = new api.Logging(); 1603 var o = new api.Logging();
1557 buildCounterLogging++; 1604 buildCounterLogging++;
1558 if (buildCounterLogging < 3) { 1605 if (buildCounterLogging < 3) {
1559 o.consumerDestinations = buildUnnamed3111(); 1606 o.consumerDestinations = buildUnnamed1257();
1560 o.producerDestinations = buildUnnamed3112(); 1607 o.producerDestinations = buildUnnamed1258();
1561 } 1608 }
1562 buildCounterLogging--; 1609 buildCounterLogging--;
1563 return o; 1610 return o;
1564 } 1611 }
1565 1612
1566 checkLogging(api.Logging o) { 1613 checkLogging(api.Logging o) {
1567 buildCounterLogging++; 1614 buildCounterLogging++;
1568 if (buildCounterLogging < 3) { 1615 if (buildCounterLogging < 3) {
1569 checkUnnamed3111(o.consumerDestinations); 1616 checkUnnamed1257(o.consumerDestinations);
1570 checkUnnamed3112(o.producerDestinations); 1617 checkUnnamed1258(o.producerDestinations);
1571 } 1618 }
1572 buildCounterLogging--; 1619 buildCounterLogging--;
1573 } 1620 }
1574 1621
1575 buildUnnamed3113() { 1622 buildUnnamed1259() {
1576 var o = new core.List<core.String>(); 1623 var o = new core.List<core.String>();
1577 o.add("foo"); 1624 o.add("foo");
1578 o.add("foo"); 1625 o.add("foo");
1579 return o; 1626 return o;
1580 } 1627 }
1581 1628
1582 checkUnnamed3113(core.List<core.String> o) { 1629 checkUnnamed1259(core.List<core.String> o) {
1583 unittest.expect(o, unittest.hasLength(2)); 1630 unittest.expect(o, unittest.hasLength(2));
1584 unittest.expect(o[0], unittest.equals('foo')); 1631 unittest.expect(o[0], unittest.equals('foo'));
1585 unittest.expect(o[1], unittest.equals('foo')); 1632 unittest.expect(o[1], unittest.equals('foo'));
1586 } 1633 }
1587 1634
1588 core.int buildCounterLoggingDestination = 0; 1635 core.int buildCounterLoggingDestination = 0;
1589 buildLoggingDestination() { 1636 buildLoggingDestination() {
1590 var o = new api.LoggingDestination(); 1637 var o = new api.LoggingDestination();
1591 buildCounterLoggingDestination++; 1638 buildCounterLoggingDestination++;
1592 if (buildCounterLoggingDestination < 3) { 1639 if (buildCounterLoggingDestination < 3) {
1593 o.logs = buildUnnamed3113(); 1640 o.logs = buildUnnamed1259();
1594 o.monitoredResource = "foo"; 1641 o.monitoredResource = "foo";
1595 } 1642 }
1596 buildCounterLoggingDestination--; 1643 buildCounterLoggingDestination--;
1597 return o; 1644 return o;
1598 } 1645 }
1599 1646
1600 checkLoggingDestination(api.LoggingDestination o) { 1647 checkLoggingDestination(api.LoggingDestination o) {
1601 buildCounterLoggingDestination++; 1648 buildCounterLoggingDestination++;
1602 if (buildCounterLoggingDestination < 3) { 1649 if (buildCounterLoggingDestination < 3) {
1603 checkUnnamed3113(o.logs); 1650 checkUnnamed1259(o.logs);
1604 unittest.expect(o.monitoredResource, unittest.equals('foo')); 1651 unittest.expect(o.monitoredResource, unittest.equals('foo'));
1605 } 1652 }
1606 buildCounterLoggingDestination--; 1653 buildCounterLoggingDestination--;
1607 } 1654 }
1608 1655
1609 core.int buildCounterManagedService = 0; 1656 core.int buildCounterManagedService = 0;
1610 buildManagedService() { 1657 buildManagedService() {
1611 var o = new api.ManagedService(); 1658 var o = new api.ManagedService();
1612 buildCounterManagedService++; 1659 buildCounterManagedService++;
1613 if (buildCounterManagedService < 3) { 1660 if (buildCounterManagedService < 3) {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
1658 } 1705 }
1659 1706
1660 checkMediaUpload(api.MediaUpload o) { 1707 checkMediaUpload(api.MediaUpload o) {
1661 buildCounterMediaUpload++; 1708 buildCounterMediaUpload++;
1662 if (buildCounterMediaUpload < 3) { 1709 if (buildCounterMediaUpload < 3) {
1663 unittest.expect(o.enabled, unittest.isTrue); 1710 unittest.expect(o.enabled, unittest.isTrue);
1664 } 1711 }
1665 buildCounterMediaUpload--; 1712 buildCounterMediaUpload--;
1666 } 1713 }
1667 1714
1668 buildUnnamed3114() { 1715 buildUnnamed1260() {
1669 var o = new core.List<api.Option>(); 1716 var o = new core.List<api.Option>();
1670 o.add(buildOption()); 1717 o.add(buildOption());
1671 o.add(buildOption()); 1718 o.add(buildOption());
1672 return o; 1719 return o;
1673 } 1720 }
1674 1721
1675 checkUnnamed3114(core.List<api.Option> o) { 1722 checkUnnamed1260(core.List<api.Option> o) {
1676 unittest.expect(o, unittest.hasLength(2)); 1723 unittest.expect(o, unittest.hasLength(2));
1677 checkOption(o[0]); 1724 checkOption(o[0]);
1678 checkOption(o[1]); 1725 checkOption(o[1]);
1679 } 1726 }
1680 1727
1681 core.int buildCounterMethod = 0; 1728 core.int buildCounterMethod = 0;
1682 buildMethod() { 1729 buildMethod() {
1683 var o = new api.Method(); 1730 var o = new api.Method();
1684 buildCounterMethod++; 1731 buildCounterMethod++;
1685 if (buildCounterMethod < 3) { 1732 if (buildCounterMethod < 3) {
1686 o.name = "foo"; 1733 o.name = "foo";
1687 o.options = buildUnnamed3114(); 1734 o.options = buildUnnamed1260();
1688 o.requestStreaming = true; 1735 o.requestStreaming = true;
1689 o.requestTypeUrl = "foo"; 1736 o.requestTypeUrl = "foo";
1690 o.responseStreaming = true; 1737 o.responseStreaming = true;
1691 o.responseTypeUrl = "foo"; 1738 o.responseTypeUrl = "foo";
1692 o.syntax = "foo"; 1739 o.syntax = "foo";
1693 } 1740 }
1694 buildCounterMethod--; 1741 buildCounterMethod--;
1695 return o; 1742 return o;
1696 } 1743 }
1697 1744
1698 checkMethod(api.Method o) { 1745 checkMethod(api.Method o) {
1699 buildCounterMethod++; 1746 buildCounterMethod++;
1700 if (buildCounterMethod < 3) { 1747 if (buildCounterMethod < 3) {
1701 unittest.expect(o.name, unittest.equals('foo')); 1748 unittest.expect(o.name, unittest.equals('foo'));
1702 checkUnnamed3114(o.options); 1749 checkUnnamed1260(o.options);
1703 unittest.expect(o.requestStreaming, unittest.isTrue); 1750 unittest.expect(o.requestStreaming, unittest.isTrue);
1704 unittest.expect(o.requestTypeUrl, unittest.equals('foo')); 1751 unittest.expect(o.requestTypeUrl, unittest.equals('foo'));
1705 unittest.expect(o.responseStreaming, unittest.isTrue); 1752 unittest.expect(o.responseStreaming, unittest.isTrue);
1706 unittest.expect(o.responseTypeUrl, unittest.equals('foo')); 1753 unittest.expect(o.responseTypeUrl, unittest.equals('foo'));
1707 unittest.expect(o.syntax, unittest.equals('foo')); 1754 unittest.expect(o.syntax, unittest.equals('foo'));
1708 } 1755 }
1709 buildCounterMethod--; 1756 buildCounterMethod--;
1710 } 1757 }
1711 1758
1712 buildUnnamed3115() { 1759 buildUnnamed1261() {
1713 var o = new core.List<api.LabelDescriptor>(); 1760 var o = new core.List<api.LabelDescriptor>();
1714 o.add(buildLabelDescriptor()); 1761 o.add(buildLabelDescriptor());
1715 o.add(buildLabelDescriptor()); 1762 o.add(buildLabelDescriptor());
1716 return o; 1763 return o;
1717 } 1764 }
1718 1765
1719 checkUnnamed3115(core.List<api.LabelDescriptor> o) { 1766 checkUnnamed1261(core.List<api.LabelDescriptor> o) {
1720 unittest.expect(o, unittest.hasLength(2)); 1767 unittest.expect(o, unittest.hasLength(2));
1721 checkLabelDescriptor(o[0]); 1768 checkLabelDescriptor(o[0]);
1722 checkLabelDescriptor(o[1]); 1769 checkLabelDescriptor(o[1]);
1723 } 1770 }
1724 1771
1725 core.int buildCounterMetricDescriptor = 0; 1772 core.int buildCounterMetricDescriptor = 0;
1726 buildMetricDescriptor() { 1773 buildMetricDescriptor() {
1727 var o = new api.MetricDescriptor(); 1774 var o = new api.MetricDescriptor();
1728 buildCounterMetricDescriptor++; 1775 buildCounterMetricDescriptor++;
1729 if (buildCounterMetricDescriptor < 3) { 1776 if (buildCounterMetricDescriptor < 3) {
1730 o.description = "foo"; 1777 o.description = "foo";
1731 o.displayName = "foo"; 1778 o.displayName = "foo";
1732 o.labels = buildUnnamed3115(); 1779 o.labels = buildUnnamed1261();
1733 o.metricKind = "foo"; 1780 o.metricKind = "foo";
1734 o.name = "foo"; 1781 o.name = "foo";
1735 o.type = "foo"; 1782 o.type = "foo";
1736 o.unit = "foo"; 1783 o.unit = "foo";
1737 o.valueType = "foo"; 1784 o.valueType = "foo";
1738 } 1785 }
1739 buildCounterMetricDescriptor--; 1786 buildCounterMetricDescriptor--;
1740 return o; 1787 return o;
1741 } 1788 }
1742 1789
1743 checkMetricDescriptor(api.MetricDescriptor o) { 1790 checkMetricDescriptor(api.MetricDescriptor o) {
1744 buildCounterMetricDescriptor++; 1791 buildCounterMetricDescriptor++;
1745 if (buildCounterMetricDescriptor < 3) { 1792 if (buildCounterMetricDescriptor < 3) {
1746 unittest.expect(o.description, unittest.equals('foo')); 1793 unittest.expect(o.description, unittest.equals('foo'));
1747 unittest.expect(o.displayName, unittest.equals('foo')); 1794 unittest.expect(o.displayName, unittest.equals('foo'));
1748 checkUnnamed3115(o.labels); 1795 checkUnnamed1261(o.labels);
1749 unittest.expect(o.metricKind, unittest.equals('foo')); 1796 unittest.expect(o.metricKind, unittest.equals('foo'));
1750 unittest.expect(o.name, unittest.equals('foo')); 1797 unittest.expect(o.name, unittest.equals('foo'));
1751 unittest.expect(o.type, unittest.equals('foo')); 1798 unittest.expect(o.type, unittest.equals('foo'));
1752 unittest.expect(o.unit, unittest.equals('foo')); 1799 unittest.expect(o.unit, unittest.equals('foo'));
1753 unittest.expect(o.valueType, unittest.equals('foo')); 1800 unittest.expect(o.valueType, unittest.equals('foo'));
1754 } 1801 }
1755 buildCounterMetricDescriptor--; 1802 buildCounterMetricDescriptor--;
1756 } 1803 }
1757 1804
1758 core.int buildCounterMixin = 0; 1805 core.int buildCounterMixin = 0;
(...skipping 10 matching lines...) Expand all
1769 1816
1770 checkMixin(api.Mixin o) { 1817 checkMixin(api.Mixin o) {
1771 buildCounterMixin++; 1818 buildCounterMixin++;
1772 if (buildCounterMixin < 3) { 1819 if (buildCounterMixin < 3) {
1773 unittest.expect(o.name, unittest.equals('foo')); 1820 unittest.expect(o.name, unittest.equals('foo'));
1774 unittest.expect(o.root, unittest.equals('foo')); 1821 unittest.expect(o.root, unittest.equals('foo'));
1775 } 1822 }
1776 buildCounterMixin--; 1823 buildCounterMixin--;
1777 } 1824 }
1778 1825
1779 buildUnnamed3116() { 1826 buildUnnamed1262() {
1780 var o = new core.List<api.LabelDescriptor>(); 1827 var o = new core.List<api.LabelDescriptor>();
1781 o.add(buildLabelDescriptor()); 1828 o.add(buildLabelDescriptor());
1782 o.add(buildLabelDescriptor()); 1829 o.add(buildLabelDescriptor());
1783 return o; 1830 return o;
1784 } 1831 }
1785 1832
1786 checkUnnamed3116(core.List<api.LabelDescriptor> o) { 1833 checkUnnamed1262(core.List<api.LabelDescriptor> o) {
1787 unittest.expect(o, unittest.hasLength(2)); 1834 unittest.expect(o, unittest.hasLength(2));
1788 checkLabelDescriptor(o[0]); 1835 checkLabelDescriptor(o[0]);
1789 checkLabelDescriptor(o[1]); 1836 checkLabelDescriptor(o[1]);
1790 } 1837 }
1791 1838
1792 core.int buildCounterMonitoredResourceDescriptor = 0; 1839 core.int buildCounterMonitoredResourceDescriptor = 0;
1793 buildMonitoredResourceDescriptor() { 1840 buildMonitoredResourceDescriptor() {
1794 var o = new api.MonitoredResourceDescriptor(); 1841 var o = new api.MonitoredResourceDescriptor();
1795 buildCounterMonitoredResourceDescriptor++; 1842 buildCounterMonitoredResourceDescriptor++;
1796 if (buildCounterMonitoredResourceDescriptor < 3) { 1843 if (buildCounterMonitoredResourceDescriptor < 3) {
1797 o.description = "foo"; 1844 o.description = "foo";
1798 o.displayName = "foo"; 1845 o.displayName = "foo";
1799 o.labels = buildUnnamed3116(); 1846 o.labels = buildUnnamed1262();
1800 o.name = "foo"; 1847 o.name = "foo";
1801 o.type = "foo"; 1848 o.type = "foo";
1802 } 1849 }
1803 buildCounterMonitoredResourceDescriptor--; 1850 buildCounterMonitoredResourceDescriptor--;
1804 return o; 1851 return o;
1805 } 1852 }
1806 1853
1807 checkMonitoredResourceDescriptor(api.MonitoredResourceDescriptor o) { 1854 checkMonitoredResourceDescriptor(api.MonitoredResourceDescriptor o) {
1808 buildCounterMonitoredResourceDescriptor++; 1855 buildCounterMonitoredResourceDescriptor++;
1809 if (buildCounterMonitoredResourceDescriptor < 3) { 1856 if (buildCounterMonitoredResourceDescriptor < 3) {
1810 unittest.expect(o.description, unittest.equals('foo')); 1857 unittest.expect(o.description, unittest.equals('foo'));
1811 unittest.expect(o.displayName, unittest.equals('foo')); 1858 unittest.expect(o.displayName, unittest.equals('foo'));
1812 checkUnnamed3116(o.labels); 1859 checkUnnamed1262(o.labels);
1813 unittest.expect(o.name, unittest.equals('foo')); 1860 unittest.expect(o.name, unittest.equals('foo'));
1814 unittest.expect(o.type, unittest.equals('foo')); 1861 unittest.expect(o.type, unittest.equals('foo'));
1815 } 1862 }
1816 buildCounterMonitoredResourceDescriptor--; 1863 buildCounterMonitoredResourceDescriptor--;
1817 } 1864 }
1818 1865
1819 buildUnnamed3117() { 1866 buildUnnamed1263() {
1820 var o = new core.List<api.MonitoringDestination>(); 1867 var o = new core.List<api.MonitoringDestination>();
1821 o.add(buildMonitoringDestination()); 1868 o.add(buildMonitoringDestination());
1822 o.add(buildMonitoringDestination()); 1869 o.add(buildMonitoringDestination());
1823 return o; 1870 return o;
1824 } 1871 }
1825 1872
1826 checkUnnamed3117(core.List<api.MonitoringDestination> o) { 1873 checkUnnamed1263(core.List<api.MonitoringDestination> o) {
1827 unittest.expect(o, unittest.hasLength(2)); 1874 unittest.expect(o, unittest.hasLength(2));
1828 checkMonitoringDestination(o[0]); 1875 checkMonitoringDestination(o[0]);
1829 checkMonitoringDestination(o[1]); 1876 checkMonitoringDestination(o[1]);
1830 } 1877 }
1831 1878
1832 buildUnnamed3118() { 1879 buildUnnamed1264() {
1833 var o = new core.List<api.MonitoringDestination>(); 1880 var o = new core.List<api.MonitoringDestination>();
1834 o.add(buildMonitoringDestination()); 1881 o.add(buildMonitoringDestination());
1835 o.add(buildMonitoringDestination()); 1882 o.add(buildMonitoringDestination());
1836 return o; 1883 return o;
1837 } 1884 }
1838 1885
1839 checkUnnamed3118(core.List<api.MonitoringDestination> o) { 1886 checkUnnamed1264(core.List<api.MonitoringDestination> o) {
1840 unittest.expect(o, unittest.hasLength(2)); 1887 unittest.expect(o, unittest.hasLength(2));
1841 checkMonitoringDestination(o[0]); 1888 checkMonitoringDestination(o[0]);
1842 checkMonitoringDestination(o[1]); 1889 checkMonitoringDestination(o[1]);
1843 } 1890 }
1844 1891
1845 core.int buildCounterMonitoring = 0; 1892 core.int buildCounterMonitoring = 0;
1846 buildMonitoring() { 1893 buildMonitoring() {
1847 var o = new api.Monitoring(); 1894 var o = new api.Monitoring();
1848 buildCounterMonitoring++; 1895 buildCounterMonitoring++;
1849 if (buildCounterMonitoring < 3) { 1896 if (buildCounterMonitoring < 3) {
1850 o.consumerDestinations = buildUnnamed3117(); 1897 o.consumerDestinations = buildUnnamed1263();
1851 o.producerDestinations = buildUnnamed3118(); 1898 o.producerDestinations = buildUnnamed1264();
1852 } 1899 }
1853 buildCounterMonitoring--; 1900 buildCounterMonitoring--;
1854 return o; 1901 return o;
1855 } 1902 }
1856 1903
1857 checkMonitoring(api.Monitoring o) { 1904 checkMonitoring(api.Monitoring o) {
1858 buildCounterMonitoring++; 1905 buildCounterMonitoring++;
1859 if (buildCounterMonitoring < 3) { 1906 if (buildCounterMonitoring < 3) {
1860 checkUnnamed3117(o.consumerDestinations); 1907 checkUnnamed1263(o.consumerDestinations);
1861 checkUnnamed3118(o.producerDestinations); 1908 checkUnnamed1264(o.producerDestinations);
1862 } 1909 }
1863 buildCounterMonitoring--; 1910 buildCounterMonitoring--;
1864 } 1911 }
1865 1912
1866 buildUnnamed3119() { 1913 buildUnnamed1265() {
1867 var o = new core.List<core.String>(); 1914 var o = new core.List<core.String>();
1868 o.add("foo"); 1915 o.add("foo");
1869 o.add("foo"); 1916 o.add("foo");
1870 return o; 1917 return o;
1871 } 1918 }
1872 1919
1873 checkUnnamed3119(core.List<core.String> o) { 1920 checkUnnamed1265(core.List<core.String> o) {
1874 unittest.expect(o, unittest.hasLength(2)); 1921 unittest.expect(o, unittest.hasLength(2));
1875 unittest.expect(o[0], unittest.equals('foo')); 1922 unittest.expect(o[0], unittest.equals('foo'));
1876 unittest.expect(o[1], unittest.equals('foo')); 1923 unittest.expect(o[1], unittest.equals('foo'));
1877 } 1924 }
1878 1925
1879 core.int buildCounterMonitoringDestination = 0; 1926 core.int buildCounterMonitoringDestination = 0;
1880 buildMonitoringDestination() { 1927 buildMonitoringDestination() {
1881 var o = new api.MonitoringDestination(); 1928 var o = new api.MonitoringDestination();
1882 buildCounterMonitoringDestination++; 1929 buildCounterMonitoringDestination++;
1883 if (buildCounterMonitoringDestination < 3) { 1930 if (buildCounterMonitoringDestination < 3) {
1884 o.metrics = buildUnnamed3119(); 1931 o.metrics = buildUnnamed1265();
1885 o.monitoredResource = "foo"; 1932 o.monitoredResource = "foo";
1886 } 1933 }
1887 buildCounterMonitoringDestination--; 1934 buildCounterMonitoringDestination--;
1888 return o; 1935 return o;
1889 } 1936 }
1890 1937
1891 checkMonitoringDestination(api.MonitoringDestination o) { 1938 checkMonitoringDestination(api.MonitoringDestination o) {
1892 buildCounterMonitoringDestination++; 1939 buildCounterMonitoringDestination++;
1893 if (buildCounterMonitoringDestination < 3) { 1940 if (buildCounterMonitoringDestination < 3) {
1894 checkUnnamed3119(o.metrics); 1941 checkUnnamed1265(o.metrics);
1895 unittest.expect(o.monitoredResource, unittest.equals('foo')); 1942 unittest.expect(o.monitoredResource, unittest.equals('foo'));
1896 } 1943 }
1897 buildCounterMonitoringDestination--; 1944 buildCounterMonitoringDestination--;
1898 } 1945 }
1899 1946
1900 core.int buildCounterOAuthRequirements = 0; 1947 core.int buildCounterOAuthRequirements = 0;
1901 buildOAuthRequirements() { 1948 buildOAuthRequirements() {
1902 var o = new api.OAuthRequirements(); 1949 var o = new api.OAuthRequirements();
1903 buildCounterOAuthRequirements++; 1950 buildCounterOAuthRequirements++;
1904 if (buildCounterOAuthRequirements < 3) { 1951 if (buildCounterOAuthRequirements < 3) {
1905 o.canonicalScopes = "foo"; 1952 o.canonicalScopes = "foo";
1906 } 1953 }
1907 buildCounterOAuthRequirements--; 1954 buildCounterOAuthRequirements--;
1908 return o; 1955 return o;
1909 } 1956 }
1910 1957
1911 checkOAuthRequirements(api.OAuthRequirements o) { 1958 checkOAuthRequirements(api.OAuthRequirements o) {
1912 buildCounterOAuthRequirements++; 1959 buildCounterOAuthRequirements++;
1913 if (buildCounterOAuthRequirements < 3) { 1960 if (buildCounterOAuthRequirements < 3) {
1914 unittest.expect(o.canonicalScopes, unittest.equals('foo')); 1961 unittest.expect(o.canonicalScopes, unittest.equals('foo'));
1915 } 1962 }
1916 buildCounterOAuthRequirements--; 1963 buildCounterOAuthRequirements--;
1917 } 1964 }
1918 1965
1919 buildUnnamed3120() { 1966 buildUnnamed1266() {
1920 var o = new core.Map<core.String, core.Object>(); 1967 var o = new core.Map<core.String, core.Object>();
1921 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1968 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1922 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1969 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1923 return o; 1970 return o;
1924 } 1971 }
1925 1972
1926 checkUnnamed3120(core.Map<core.String, core.Object> o) { 1973 checkUnnamed1266(core.Map<core.String, core.Object> o) {
1927 unittest.expect(o, unittest.hasLength(2)); 1974 unittest.expect(o, unittest.hasLength(2));
1928 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')); 1975 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'));
1929 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')); 1976 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'));
1930 } 1977 }
1931 1978
1932 buildUnnamed3121() { 1979 buildUnnamed1267() {
1933 var o = new core.Map<core.String, core.Object>(); 1980 var o = new core.Map<core.String, core.Object>();
1934 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1981 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1935 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1982 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1936 return o; 1983 return o;
1937 } 1984 }
1938 1985
1939 checkUnnamed3121(core.Map<core.String, core.Object> o) { 1986 checkUnnamed1267(core.Map<core.String, core.Object> o) {
1940 unittest.expect(o, unittest.hasLength(2)); 1987 unittest.expect(o, unittest.hasLength(2));
1941 var casted7 = (o["x"]) as core.Map; unittest.expect(casted7, unittest.hasLengt h(3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string"], unittest.equals('foo')); 1988 var casted7 = (o["x"]) as core.Map; unittest.expect(casted7, unittest.hasLengt h(3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string"], unittest.equals('foo'));
1942 var casted8 = (o["y"]) as core.Map; unittest.expect(casted8, unittest.hasLengt h(3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"], unittest.equals('foo')); 1989 var casted8 = (o["y"]) as core.Map; unittest.expect(casted8, unittest.hasLengt h(3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"], unittest.equals('foo'));
1943 } 1990 }
1944 1991
1945 core.int buildCounterOperation = 0; 1992 core.int buildCounterOperation = 0;
1946 buildOperation() { 1993 buildOperation() {
1947 var o = new api.Operation(); 1994 var o = new api.Operation();
1948 buildCounterOperation++; 1995 buildCounterOperation++;
1949 if (buildCounterOperation < 3) { 1996 if (buildCounterOperation < 3) {
1950 o.done = true; 1997 o.done = true;
1951 o.error = buildStatus(); 1998 o.error = buildStatus();
1952 o.metadata = buildUnnamed3120(); 1999 o.metadata = buildUnnamed1266();
1953 o.name = "foo"; 2000 o.name = "foo";
1954 o.response = buildUnnamed3121(); 2001 o.response = buildUnnamed1267();
1955 } 2002 }
1956 buildCounterOperation--; 2003 buildCounterOperation--;
1957 return o; 2004 return o;
1958 } 2005 }
1959 2006
1960 checkOperation(api.Operation o) { 2007 checkOperation(api.Operation o) {
1961 buildCounterOperation++; 2008 buildCounterOperation++;
1962 if (buildCounterOperation < 3) { 2009 if (buildCounterOperation < 3) {
1963 unittest.expect(o.done, unittest.isTrue); 2010 unittest.expect(o.done, unittest.isTrue);
1964 checkStatus(o.error); 2011 checkStatus(o.error);
1965 checkUnnamed3120(o.metadata); 2012 checkUnnamed1266(o.metadata);
1966 unittest.expect(o.name, unittest.equals('foo')); 2013 unittest.expect(o.name, unittest.equals('foo'));
1967 checkUnnamed3121(o.response); 2014 checkUnnamed1267(o.response);
1968 } 2015 }
1969 buildCounterOperation--; 2016 buildCounterOperation--;
1970 } 2017 }
1971 2018
1972 buildUnnamed3122() { 2019 buildUnnamed1268() {
1973 var o = new core.List<core.String>(); 2020 var o = new core.List<core.String>();
1974 o.add("foo"); 2021 o.add("foo");
1975 o.add("foo"); 2022 o.add("foo");
1976 return o; 2023 return o;
1977 } 2024 }
1978 2025
1979 checkUnnamed3122(core.List<core.String> o) { 2026 checkUnnamed1268(core.List<core.String> o) {
1980 unittest.expect(o, unittest.hasLength(2)); 2027 unittest.expect(o, unittest.hasLength(2));
1981 unittest.expect(o[0], unittest.equals('foo')); 2028 unittest.expect(o[0], unittest.equals('foo'));
1982 unittest.expect(o[1], unittest.equals('foo')); 2029 unittest.expect(o[1], unittest.equals('foo'));
1983 } 2030 }
1984 2031
1985 buildUnnamed3123() { 2032 buildUnnamed1269() {
1986 var o = new core.List<api.Step>(); 2033 var o = new core.List<api.Step>();
1987 o.add(buildStep()); 2034 o.add(buildStep());
1988 o.add(buildStep()); 2035 o.add(buildStep());
1989 return o; 2036 return o;
1990 } 2037 }
1991 2038
1992 checkUnnamed3123(core.List<api.Step> o) { 2039 checkUnnamed1269(core.List<api.Step> o) {
1993 unittest.expect(o, unittest.hasLength(2)); 2040 unittest.expect(o, unittest.hasLength(2));
1994 checkStep(o[0]); 2041 checkStep(o[0]);
1995 checkStep(o[1]); 2042 checkStep(o[1]);
1996 } 2043 }
1997 2044
1998 core.int buildCounterOperationMetadata = 0; 2045 core.int buildCounterOperationMetadata = 0;
1999 buildOperationMetadata() { 2046 buildOperationMetadata() {
2000 var o = new api.OperationMetadata(); 2047 var o = new api.OperationMetadata();
2001 buildCounterOperationMetadata++; 2048 buildCounterOperationMetadata++;
2002 if (buildCounterOperationMetadata < 3) { 2049 if (buildCounterOperationMetadata < 3) {
2003 o.progressPercentage = 42; 2050 o.progressPercentage = 42;
2004 o.resourceNames = buildUnnamed3122(); 2051 o.resourceNames = buildUnnamed1268();
2005 o.startTime = "foo"; 2052 o.startTime = "foo";
2006 o.steps = buildUnnamed3123(); 2053 o.steps = buildUnnamed1269();
2007 } 2054 }
2008 buildCounterOperationMetadata--; 2055 buildCounterOperationMetadata--;
2009 return o; 2056 return o;
2010 } 2057 }
2011 2058
2012 checkOperationMetadata(api.OperationMetadata o) { 2059 checkOperationMetadata(api.OperationMetadata o) {
2013 buildCounterOperationMetadata++; 2060 buildCounterOperationMetadata++;
2014 if (buildCounterOperationMetadata < 3) { 2061 if (buildCounterOperationMetadata < 3) {
2015 unittest.expect(o.progressPercentage, unittest.equals(42)); 2062 unittest.expect(o.progressPercentage, unittest.equals(42));
2016 checkUnnamed3122(o.resourceNames); 2063 checkUnnamed1268(o.resourceNames);
2017 unittest.expect(o.startTime, unittest.equals('foo')); 2064 unittest.expect(o.startTime, unittest.equals('foo'));
2018 checkUnnamed3123(o.steps); 2065 checkUnnamed1269(o.steps);
2019 } 2066 }
2020 buildCounterOperationMetadata--; 2067 buildCounterOperationMetadata--;
2021 } 2068 }
2022 2069
2023 buildUnnamed3124() { 2070 buildUnnamed1270() {
2024 var o = new core.Map<core.String, core.Object>(); 2071 var o = new core.Map<core.String, core.Object>();
2025 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2072 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2026 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2073 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2027 return o; 2074 return o;
2028 } 2075 }
2029 2076
2030 checkUnnamed3124(core.Map<core.String, core.Object> o) { 2077 checkUnnamed1270(core.Map<core.String, core.Object> o) {
2031 unittest.expect(o, unittest.hasLength(2)); 2078 unittest.expect(o, unittest.hasLength(2));
2032 var casted9 = (o["x"]) as core.Map; unittest.expect(casted9, unittest.hasLengt h(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"], unittest.equals('foo')); 2079 var casted9 = (o["x"]) as core.Map; unittest.expect(casted9, unittest.hasLengt h(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"], unittest.equals('foo'));
2033 var casted10 = (o["y"]) as core.Map; unittest.expect(casted10, unittest.hasLen gth(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unittest .expect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["stri ng"], unittest.equals('foo')); 2080 var casted10 = (o["y"]) as core.Map; unittest.expect(casted10, unittest.hasLen gth(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unittest .expect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["stri ng"], unittest.equals('foo'));
2034 } 2081 }
2035 2082
2036 core.int buildCounterOption = 0; 2083 core.int buildCounterOption = 0;
2037 buildOption() { 2084 buildOption() {
2038 var o = new api.Option(); 2085 var o = new api.Option();
2039 buildCounterOption++; 2086 buildCounterOption++;
2040 if (buildCounterOption < 3) { 2087 if (buildCounterOption < 3) {
2041 o.name = "foo"; 2088 o.name = "foo";
2042 o.value = buildUnnamed3124(); 2089 o.value = buildUnnamed1270();
2043 } 2090 }
2044 buildCounterOption--; 2091 buildCounterOption--;
2045 return o; 2092 return o;
2046 } 2093 }
2047 2094
2048 checkOption(api.Option o) { 2095 checkOption(api.Option o) {
2049 buildCounterOption++; 2096 buildCounterOption++;
2050 if (buildCounterOption < 3) { 2097 if (buildCounterOption < 3) {
2051 unittest.expect(o.name, unittest.equals('foo')); 2098 unittest.expect(o.name, unittest.equals('foo'));
2052 checkUnnamed3124(o.value); 2099 checkUnnamed1270(o.value);
2053 } 2100 }
2054 buildCounterOption--; 2101 buildCounterOption--;
2055 } 2102 }
2056 2103
2057 buildUnnamed3125() { 2104 buildUnnamed1271() {
2058 var o = new core.List<api.Page>(); 2105 var o = new core.List<api.Page>();
2059 o.add(buildPage()); 2106 o.add(buildPage());
2060 o.add(buildPage()); 2107 o.add(buildPage());
2061 return o; 2108 return o;
2062 } 2109 }
2063 2110
2064 checkUnnamed3125(core.List<api.Page> o) { 2111 checkUnnamed1271(core.List<api.Page> o) {
2065 unittest.expect(o, unittest.hasLength(2)); 2112 unittest.expect(o, unittest.hasLength(2));
2066 checkPage(o[0]); 2113 checkPage(o[0]);
2067 checkPage(o[1]); 2114 checkPage(o[1]);
2068 } 2115 }
2069 2116
2070 core.int buildCounterPage = 0; 2117 core.int buildCounterPage = 0;
2071 buildPage() { 2118 buildPage() {
2072 var o = new api.Page(); 2119 var o = new api.Page();
2073 buildCounterPage++; 2120 buildCounterPage++;
2074 if (buildCounterPage < 3) { 2121 if (buildCounterPage < 3) {
2075 o.content = "foo"; 2122 o.content = "foo";
2076 o.name = "foo"; 2123 o.name = "foo";
2077 o.subpages = buildUnnamed3125(); 2124 o.subpages = buildUnnamed1271();
2078 } 2125 }
2079 buildCounterPage--; 2126 buildCounterPage--;
2080 return o; 2127 return o;
2081 } 2128 }
2082 2129
2083 checkPage(api.Page o) { 2130 checkPage(api.Page o) {
2084 buildCounterPage++; 2131 buildCounterPage++;
2085 if (buildCounterPage < 3) { 2132 if (buildCounterPage < 3) {
2086 unittest.expect(o.content, unittest.equals('foo')); 2133 unittest.expect(o.content, unittest.equals('foo'));
2087 unittest.expect(o.name, unittest.equals('foo')); 2134 unittest.expect(o.name, unittest.equals('foo'));
2088 checkUnnamed3125(o.subpages); 2135 checkUnnamed1271(o.subpages);
2089 } 2136 }
2090 buildCounterPage--; 2137 buildCounterPage--;
2091 } 2138 }
2092 2139
2093 buildUnnamed3126() { 2140 buildUnnamed1272() {
2094 var o = new core.List<api.AuditConfig>(); 2141 var o = new core.List<api.AuditConfig>();
2095 o.add(buildAuditConfig()); 2142 o.add(buildAuditConfig());
2096 o.add(buildAuditConfig()); 2143 o.add(buildAuditConfig());
2097 return o; 2144 return o;
2098 } 2145 }
2099 2146
2100 checkUnnamed3126(core.List<api.AuditConfig> o) { 2147 checkUnnamed1272(core.List<api.AuditConfig> o) {
2101 unittest.expect(o, unittest.hasLength(2)); 2148 unittest.expect(o, unittest.hasLength(2));
2102 checkAuditConfig(o[0]); 2149 checkAuditConfig(o[0]);
2103 checkAuditConfig(o[1]); 2150 checkAuditConfig(o[1]);
2104 } 2151 }
2105 2152
2106 buildUnnamed3127() { 2153 buildUnnamed1273() {
2107 var o = new core.List<api.Binding>(); 2154 var o = new core.List<api.Binding>();
2108 o.add(buildBinding()); 2155 o.add(buildBinding());
2109 o.add(buildBinding()); 2156 o.add(buildBinding());
2110 return o; 2157 return o;
2111 } 2158 }
2112 2159
2113 checkUnnamed3127(core.List<api.Binding> o) { 2160 checkUnnamed1273(core.List<api.Binding> o) {
2114 unittest.expect(o, unittest.hasLength(2)); 2161 unittest.expect(o, unittest.hasLength(2));
2115 checkBinding(o[0]); 2162 checkBinding(o[0]);
2116 checkBinding(o[1]); 2163 checkBinding(o[1]);
2117 } 2164 }
2118 2165
2119 buildUnnamed3128() { 2166 buildUnnamed1274() {
2120 var o = new core.List<api.Rule>(); 2167 var o = new core.List<api.Rule>();
2121 o.add(buildRule()); 2168 o.add(buildRule());
2122 o.add(buildRule()); 2169 o.add(buildRule());
2123 return o; 2170 return o;
2124 } 2171 }
2125 2172
2126 checkUnnamed3128(core.List<api.Rule> o) { 2173 checkUnnamed1274(core.List<api.Rule> o) {
2127 unittest.expect(o, unittest.hasLength(2)); 2174 unittest.expect(o, unittest.hasLength(2));
2128 checkRule(o[0]); 2175 checkRule(o[0]);
2129 checkRule(o[1]); 2176 checkRule(o[1]);
2130 } 2177 }
2131 2178
2132 core.int buildCounterPolicy = 0; 2179 core.int buildCounterPolicy = 0;
2133 buildPolicy() { 2180 buildPolicy() {
2134 var o = new api.Policy(); 2181 var o = new api.Policy();
2135 buildCounterPolicy++; 2182 buildCounterPolicy++;
2136 if (buildCounterPolicy < 3) { 2183 if (buildCounterPolicy < 3) {
2137 o.auditConfigs = buildUnnamed3126(); 2184 o.auditConfigs = buildUnnamed1272();
2138 o.bindings = buildUnnamed3127(); 2185 o.bindings = buildUnnamed1273();
2139 o.etag = "foo"; 2186 o.etag = "foo";
2140 o.iamOwned = true; 2187 o.iamOwned = true;
2141 o.rules = buildUnnamed3128(); 2188 o.rules = buildUnnamed1274();
2142 o.version = 42; 2189 o.version = 42;
2143 } 2190 }
2144 buildCounterPolicy--; 2191 buildCounterPolicy--;
2145 return o; 2192 return o;
2146 } 2193 }
2147 2194
2148 checkPolicy(api.Policy o) { 2195 checkPolicy(api.Policy o) {
2149 buildCounterPolicy++; 2196 buildCounterPolicy++;
2150 if (buildCounterPolicy < 3) { 2197 if (buildCounterPolicy < 3) {
2151 checkUnnamed3126(o.auditConfigs); 2198 checkUnnamed1272(o.auditConfigs);
2152 checkUnnamed3127(o.bindings); 2199 checkUnnamed1273(o.bindings);
2153 unittest.expect(o.etag, unittest.equals('foo')); 2200 unittest.expect(o.etag, unittest.equals('foo'));
2154 unittest.expect(o.iamOwned, unittest.isTrue); 2201 unittest.expect(o.iamOwned, unittest.isTrue);
2155 checkUnnamed3128(o.rules); 2202 checkUnnamed1274(o.rules);
2156 unittest.expect(o.version, unittest.equals(42)); 2203 unittest.expect(o.version, unittest.equals(42));
2157 } 2204 }
2158 buildCounterPolicy--; 2205 buildCounterPolicy--;
2159 } 2206 }
2160 2207
2161 core.int buildCounterRollout = 0; 2208 core.int buildCounterRollout = 0;
2162 buildRollout() { 2209 buildRollout() {
2163 var o = new api.Rollout(); 2210 var o = new api.Rollout();
2164 buildCounterRollout++; 2211 buildCounterRollout++;
2165 if (buildCounterRollout < 3) { 2212 if (buildCounterRollout < 3) {
(...skipping 16 matching lines...) Expand all
2182 unittest.expect(o.createdBy, unittest.equals('foo')); 2229 unittest.expect(o.createdBy, unittest.equals('foo'));
2183 checkDeleteServiceStrategy(o.deleteServiceStrategy); 2230 checkDeleteServiceStrategy(o.deleteServiceStrategy);
2184 unittest.expect(o.rolloutId, unittest.equals('foo')); 2231 unittest.expect(o.rolloutId, unittest.equals('foo'));
2185 unittest.expect(o.serviceName, unittest.equals('foo')); 2232 unittest.expect(o.serviceName, unittest.equals('foo'));
2186 unittest.expect(o.status, unittest.equals('foo')); 2233 unittest.expect(o.status, unittest.equals('foo'));
2187 checkTrafficPercentStrategy(o.trafficPercentStrategy); 2234 checkTrafficPercentStrategy(o.trafficPercentStrategy);
2188 } 2235 }
2189 buildCounterRollout--; 2236 buildCounterRollout--;
2190 } 2237 }
2191 2238
2192 buildUnnamed3129() { 2239 buildUnnamed1275() {
2193 var o = new core.List<api.Condition>(); 2240 var o = new core.List<api.Condition>();
2194 o.add(buildCondition()); 2241 o.add(buildCondition());
2195 o.add(buildCondition()); 2242 o.add(buildCondition());
2196 return o; 2243 return o;
2197 } 2244 }
2198 2245
2199 checkUnnamed3129(core.List<api.Condition> o) { 2246 checkUnnamed1275(core.List<api.Condition> o) {
2200 unittest.expect(o, unittest.hasLength(2)); 2247 unittest.expect(o, unittest.hasLength(2));
2201 checkCondition(o[0]); 2248 checkCondition(o[0]);
2202 checkCondition(o[1]); 2249 checkCondition(o[1]);
2203 } 2250 }
2204 2251
2205 buildUnnamed3130() { 2252 buildUnnamed1276() {
2206 var o = new core.List<core.String>(); 2253 var o = new core.List<core.String>();
2207 o.add("foo"); 2254 o.add("foo");
2208 o.add("foo"); 2255 o.add("foo");
2209 return o; 2256 return o;
2210 } 2257 }
2211 2258
2212 checkUnnamed3130(core.List<core.String> o) { 2259 checkUnnamed1276(core.List<core.String> o) {
2213 unittest.expect(o, unittest.hasLength(2)); 2260 unittest.expect(o, unittest.hasLength(2));
2214 unittest.expect(o[0], unittest.equals('foo')); 2261 unittest.expect(o[0], unittest.equals('foo'));
2215 unittest.expect(o[1], unittest.equals('foo')); 2262 unittest.expect(o[1], unittest.equals('foo'));
2216 } 2263 }
2217 2264
2218 buildUnnamed3131() { 2265 buildUnnamed1277() {
2219 var o = new core.List<api.LogConfig>(); 2266 var o = new core.List<api.LogConfig>();
2220 o.add(buildLogConfig()); 2267 o.add(buildLogConfig());
2221 o.add(buildLogConfig()); 2268 o.add(buildLogConfig());
2222 return o; 2269 return o;
2223 } 2270 }
2224 2271
2225 checkUnnamed3131(core.List<api.LogConfig> o) { 2272 checkUnnamed1277(core.List<api.LogConfig> o) {
2226 unittest.expect(o, unittest.hasLength(2)); 2273 unittest.expect(o, unittest.hasLength(2));
2227 checkLogConfig(o[0]); 2274 checkLogConfig(o[0]);
2228 checkLogConfig(o[1]); 2275 checkLogConfig(o[1]);
2229 } 2276 }
2230 2277
2231 buildUnnamed3132() { 2278 buildUnnamed1278() {
2232 var o = new core.List<core.String>(); 2279 var o = new core.List<core.String>();
2233 o.add("foo"); 2280 o.add("foo");
2234 o.add("foo"); 2281 o.add("foo");
2235 return o; 2282 return o;
2236 } 2283 }
2237 2284
2238 checkUnnamed3132(core.List<core.String> o) { 2285 checkUnnamed1278(core.List<core.String> o) {
2239 unittest.expect(o, unittest.hasLength(2)); 2286 unittest.expect(o, unittest.hasLength(2));
2240 unittest.expect(o[0], unittest.equals('foo')); 2287 unittest.expect(o[0], unittest.equals('foo'));
2241 unittest.expect(o[1], unittest.equals('foo')); 2288 unittest.expect(o[1], unittest.equals('foo'));
2242 } 2289 }
2243 2290
2244 buildUnnamed3133() { 2291 buildUnnamed1279() {
2245 var o = new core.List<core.String>(); 2292 var o = new core.List<core.String>();
2246 o.add("foo"); 2293 o.add("foo");
2247 o.add("foo"); 2294 o.add("foo");
2248 return o; 2295 return o;
2249 } 2296 }
2250 2297
2251 checkUnnamed3133(core.List<core.String> o) { 2298 checkUnnamed1279(core.List<core.String> o) {
2252 unittest.expect(o, unittest.hasLength(2)); 2299 unittest.expect(o, unittest.hasLength(2));
2253 unittest.expect(o[0], unittest.equals('foo')); 2300 unittest.expect(o[0], unittest.equals('foo'));
2254 unittest.expect(o[1], unittest.equals('foo')); 2301 unittest.expect(o[1], unittest.equals('foo'));
2255 } 2302 }
2256 2303
2257 core.int buildCounterRule = 0; 2304 core.int buildCounterRule = 0;
2258 buildRule() { 2305 buildRule() {
2259 var o = new api.Rule(); 2306 var o = new api.Rule();
2260 buildCounterRule++; 2307 buildCounterRule++;
2261 if (buildCounterRule < 3) { 2308 if (buildCounterRule < 3) {
2262 o.action = "foo"; 2309 o.action = "foo";
2263 o.conditions = buildUnnamed3129(); 2310 o.conditions = buildUnnamed1275();
2264 o.description = "foo"; 2311 o.description = "foo";
2265 o.in_ = buildUnnamed3130(); 2312 o.in_ = buildUnnamed1276();
2266 o.logConfig = buildUnnamed3131(); 2313 o.logConfig = buildUnnamed1277();
2267 o.notIn = buildUnnamed3132(); 2314 o.notIn = buildUnnamed1278();
2268 o.permissions = buildUnnamed3133(); 2315 o.permissions = buildUnnamed1279();
2269 } 2316 }
2270 buildCounterRule--; 2317 buildCounterRule--;
2271 return o; 2318 return o;
2272 } 2319 }
2273 2320
2274 checkRule(api.Rule o) { 2321 checkRule(api.Rule o) {
2275 buildCounterRule++; 2322 buildCounterRule++;
2276 if (buildCounterRule < 3) { 2323 if (buildCounterRule < 3) {
2277 unittest.expect(o.action, unittest.equals('foo')); 2324 unittest.expect(o.action, unittest.equals('foo'));
2278 checkUnnamed3129(o.conditions); 2325 checkUnnamed1275(o.conditions);
2279 unittest.expect(o.description, unittest.equals('foo')); 2326 unittest.expect(o.description, unittest.equals('foo'));
2280 checkUnnamed3130(o.in_); 2327 checkUnnamed1276(o.in_);
2281 checkUnnamed3131(o.logConfig); 2328 checkUnnamed1277(o.logConfig);
2282 checkUnnamed3132(o.notIn); 2329 checkUnnamed1278(o.notIn);
2283 checkUnnamed3133(o.permissions); 2330 checkUnnamed1279(o.permissions);
2284 } 2331 }
2285 buildCounterRule--; 2332 buildCounterRule--;
2286 } 2333 }
2287 2334
2288 buildUnnamed3134() { 2335 buildUnnamed1280() {
2289 var o = new core.List<api.Api>(); 2336 var o = new core.List<api.Api>();
2290 o.add(buildApi()); 2337 o.add(buildApi());
2291 o.add(buildApi()); 2338 o.add(buildApi());
2292 return o; 2339 return o;
2293 } 2340 }
2294 2341
2295 checkUnnamed3134(core.List<api.Api> o) { 2342 checkUnnamed1280(core.List<api.Api> o) {
2296 unittest.expect(o, unittest.hasLength(2)); 2343 unittest.expect(o, unittest.hasLength(2));
2297 checkApi(o[0]); 2344 checkApi(o[0]);
2298 checkApi(o[1]); 2345 checkApi(o[1]);
2299 } 2346 }
2300 2347
2301 buildUnnamed3135() { 2348 buildUnnamed1281() {
2349 var o = new core.List<api.Endpoint>();
2350 o.add(buildEndpoint());
2351 o.add(buildEndpoint());
2352 return o;
2353 }
2354
2355 checkUnnamed1281(core.List<api.Endpoint> o) {
2356 unittest.expect(o, unittest.hasLength(2));
2357 checkEndpoint(o[0]);
2358 checkEndpoint(o[1]);
2359 }
2360
2361 buildUnnamed1282() {
2302 var o = new core.List<api.Enum>(); 2362 var o = new core.List<api.Enum>();
2303 o.add(buildEnum()); 2363 o.add(buildEnum());
2304 o.add(buildEnum()); 2364 o.add(buildEnum());
2305 return o; 2365 return o;
2306 } 2366 }
2307 2367
2308 checkUnnamed3135(core.List<api.Enum> o) { 2368 checkUnnamed1282(core.List<api.Enum> o) {
2309 unittest.expect(o, unittest.hasLength(2)); 2369 unittest.expect(o, unittest.hasLength(2));
2310 checkEnum(o[0]); 2370 checkEnum(o[0]);
2311 checkEnum(o[1]); 2371 checkEnum(o[1]);
2312 } 2372 }
2313 2373
2314 buildUnnamed3136() { 2374 buildUnnamed1283() {
2315 var o = new core.List<api.LogDescriptor>(); 2375 var o = new core.List<api.LogDescriptor>();
2316 o.add(buildLogDescriptor()); 2376 o.add(buildLogDescriptor());
2317 o.add(buildLogDescriptor()); 2377 o.add(buildLogDescriptor());
2318 return o; 2378 return o;
2319 } 2379 }
2320 2380
2321 checkUnnamed3136(core.List<api.LogDescriptor> o) { 2381 checkUnnamed1283(core.List<api.LogDescriptor> o) {
2322 unittest.expect(o, unittest.hasLength(2)); 2382 unittest.expect(o, unittest.hasLength(2));
2323 checkLogDescriptor(o[0]); 2383 checkLogDescriptor(o[0]);
2324 checkLogDescriptor(o[1]); 2384 checkLogDescriptor(o[1]);
2325 } 2385 }
2326 2386
2327 buildUnnamed3137() { 2387 buildUnnamed1284() {
2328 var o = new core.List<api.MetricDescriptor>(); 2388 var o = new core.List<api.MetricDescriptor>();
2329 o.add(buildMetricDescriptor()); 2389 o.add(buildMetricDescriptor());
2330 o.add(buildMetricDescriptor()); 2390 o.add(buildMetricDescriptor());
2331 return o; 2391 return o;
2332 } 2392 }
2333 2393
2334 checkUnnamed3137(core.List<api.MetricDescriptor> o) { 2394 checkUnnamed1284(core.List<api.MetricDescriptor> o) {
2335 unittest.expect(o, unittest.hasLength(2)); 2395 unittest.expect(o, unittest.hasLength(2));
2336 checkMetricDescriptor(o[0]); 2396 checkMetricDescriptor(o[0]);
2337 checkMetricDescriptor(o[1]); 2397 checkMetricDescriptor(o[1]);
2338 } 2398 }
2339 2399
2340 buildUnnamed3138() { 2400 buildUnnamed1285() {
2341 var o = new core.List<api.MonitoredResourceDescriptor>(); 2401 var o = new core.List<api.MonitoredResourceDescriptor>();
2342 o.add(buildMonitoredResourceDescriptor()); 2402 o.add(buildMonitoredResourceDescriptor());
2343 o.add(buildMonitoredResourceDescriptor()); 2403 o.add(buildMonitoredResourceDescriptor());
2344 return o; 2404 return o;
2345 } 2405 }
2346 2406
2347 checkUnnamed3138(core.List<api.MonitoredResourceDescriptor> o) { 2407 checkUnnamed1285(core.List<api.MonitoredResourceDescriptor> o) {
2348 unittest.expect(o, unittest.hasLength(2)); 2408 unittest.expect(o, unittest.hasLength(2));
2349 checkMonitoredResourceDescriptor(o[0]); 2409 checkMonitoredResourceDescriptor(o[0]);
2350 checkMonitoredResourceDescriptor(o[1]); 2410 checkMonitoredResourceDescriptor(o[1]);
2351 } 2411 }
2352 2412
2353 buildUnnamed3139() { 2413 buildUnnamed1286() {
2354 var o = new core.List<api.Type>(); 2414 var o = new core.List<api.Type>();
2355 o.add(buildType()); 2415 o.add(buildType());
2356 o.add(buildType()); 2416 o.add(buildType());
2357 return o; 2417 return o;
2358 } 2418 }
2359 2419
2360 checkUnnamed3139(core.List<api.Type> o) { 2420 checkUnnamed1286(core.List<api.Type> o) {
2361 unittest.expect(o, unittest.hasLength(2)); 2421 unittest.expect(o, unittest.hasLength(2));
2362 checkType(o[0]); 2422 checkType(o[0]);
2363 checkType(o[1]); 2423 checkType(o[1]);
2364 } 2424 }
2365 2425
2366 buildUnnamed3140() { 2426 buildUnnamed1287() {
2367 var o = new core.List<api.Type>(); 2427 var o = new core.List<api.Type>();
2368 o.add(buildType()); 2428 o.add(buildType());
2369 o.add(buildType()); 2429 o.add(buildType());
2370 return o; 2430 return o;
2371 } 2431 }
2372 2432
2373 checkUnnamed3140(core.List<api.Type> o) { 2433 checkUnnamed1287(core.List<api.Type> o) {
2374 unittest.expect(o, unittest.hasLength(2)); 2434 unittest.expect(o, unittest.hasLength(2));
2375 checkType(o[0]); 2435 checkType(o[0]);
2376 checkType(o[1]); 2436 checkType(o[1]);
2377 } 2437 }
2378 2438
2379 core.int buildCounterService = 0; 2439 core.int buildCounterService = 0;
2380 buildService() { 2440 buildService() {
2381 var o = new api.Service(); 2441 var o = new api.Service();
2382 buildCounterService++; 2442 buildCounterService++;
2383 if (buildCounterService < 3) { 2443 if (buildCounterService < 3) {
2384 o.apis = buildUnnamed3134(); 2444 o.apis = buildUnnamed1280();
2385 o.authentication = buildAuthentication(); 2445 o.authentication = buildAuthentication();
2386 o.backend = buildBackend(); 2446 o.backend = buildBackend();
2387 o.configVersion = 42; 2447 o.configVersion = 42;
2388 o.context = buildContext(); 2448 o.context = buildContext();
2389 o.control = buildControl(); 2449 o.control = buildControl();
2390 o.customError = buildCustomError(); 2450 o.customError = buildCustomError();
2391 o.documentation = buildDocumentation(); 2451 o.documentation = buildDocumentation();
2392 o.enums = buildUnnamed3135(); 2452 o.endpoints = buildUnnamed1281();
2453 o.enums = buildUnnamed1282();
2393 o.http = buildHttp(); 2454 o.http = buildHttp();
2394 o.id = "foo"; 2455 o.id = "foo";
2395 o.logging = buildLogging(); 2456 o.logging = buildLogging();
2396 o.logs = buildUnnamed3136(); 2457 o.logs = buildUnnamed1283();
2397 o.metrics = buildUnnamed3137(); 2458 o.metrics = buildUnnamed1284();
2398 o.monitoredResources = buildUnnamed3138(); 2459 o.monitoredResources = buildUnnamed1285();
2399 o.monitoring = buildMonitoring(); 2460 o.monitoring = buildMonitoring();
2400 o.name = "foo"; 2461 o.name = "foo";
2401 o.producerProjectId = "foo"; 2462 o.producerProjectId = "foo";
2402 o.systemParameters = buildSystemParameters(); 2463 o.systemParameters = buildSystemParameters();
2403 o.systemTypes = buildUnnamed3139(); 2464 o.systemTypes = buildUnnamed1286();
2404 o.title = "foo"; 2465 o.title = "foo";
2405 o.types = buildUnnamed3140(); 2466 o.types = buildUnnamed1287();
2406 o.usage = buildUsage(); 2467 o.usage = buildUsage();
2407 o.visibility = buildVisibility(); 2468 o.visibility = buildVisibility();
2408 } 2469 }
2409 buildCounterService--; 2470 buildCounterService--;
2410 return o; 2471 return o;
2411 } 2472 }
2412 2473
2413 checkService(api.Service o) { 2474 checkService(api.Service o) {
2414 buildCounterService++; 2475 buildCounterService++;
2415 if (buildCounterService < 3) { 2476 if (buildCounterService < 3) {
2416 checkUnnamed3134(o.apis); 2477 checkUnnamed1280(o.apis);
2417 checkAuthentication(o.authentication); 2478 checkAuthentication(o.authentication);
2418 checkBackend(o.backend); 2479 checkBackend(o.backend);
2419 unittest.expect(o.configVersion, unittest.equals(42)); 2480 unittest.expect(o.configVersion, unittest.equals(42));
2420 checkContext(o.context); 2481 checkContext(o.context);
2421 checkControl(o.control); 2482 checkControl(o.control);
2422 checkCustomError(o.customError); 2483 checkCustomError(o.customError);
2423 checkDocumentation(o.documentation); 2484 checkDocumentation(o.documentation);
2424 checkUnnamed3135(o.enums); 2485 checkUnnamed1281(o.endpoints);
2486 checkUnnamed1282(o.enums);
2425 checkHttp(o.http); 2487 checkHttp(o.http);
2426 unittest.expect(o.id, unittest.equals('foo')); 2488 unittest.expect(o.id, unittest.equals('foo'));
2427 checkLogging(o.logging); 2489 checkLogging(o.logging);
2428 checkUnnamed3136(o.logs); 2490 checkUnnamed1283(o.logs);
2429 checkUnnamed3137(o.metrics); 2491 checkUnnamed1284(o.metrics);
2430 checkUnnamed3138(o.monitoredResources); 2492 checkUnnamed1285(o.monitoredResources);
2431 checkMonitoring(o.monitoring); 2493 checkMonitoring(o.monitoring);
2432 unittest.expect(o.name, unittest.equals('foo')); 2494 unittest.expect(o.name, unittest.equals('foo'));
2433 unittest.expect(o.producerProjectId, unittest.equals('foo')); 2495 unittest.expect(o.producerProjectId, unittest.equals('foo'));
2434 checkSystemParameters(o.systemParameters); 2496 checkSystemParameters(o.systemParameters);
2435 checkUnnamed3139(o.systemTypes); 2497 checkUnnamed1286(o.systemTypes);
2436 unittest.expect(o.title, unittest.equals('foo')); 2498 unittest.expect(o.title, unittest.equals('foo'));
2437 checkUnnamed3140(o.types); 2499 checkUnnamed1287(o.types);
2438 checkUsage(o.usage); 2500 checkUsage(o.usage);
2439 checkVisibility(o.visibility); 2501 checkVisibility(o.visibility);
2440 } 2502 }
2441 buildCounterService--; 2503 buildCounterService--;
2442 } 2504 }
2443 2505
2444 core.int buildCounterSetIamPolicyRequest = 0; 2506 core.int buildCounterSetIamPolicyRequest = 0;
2445 buildSetIamPolicyRequest() { 2507 buildSetIamPolicyRequest() {
2446 var o = new api.SetIamPolicyRequest(); 2508 var o = new api.SetIamPolicyRequest();
2447 buildCounterSetIamPolicyRequest++; 2509 buildCounterSetIamPolicyRequest++;
(...skipping 24 matching lines...) Expand all
2472 } 2534 }
2473 2535
2474 checkSourceContext(api.SourceContext o) { 2536 checkSourceContext(api.SourceContext o) {
2475 buildCounterSourceContext++; 2537 buildCounterSourceContext++;
2476 if (buildCounterSourceContext < 3) { 2538 if (buildCounterSourceContext < 3) {
2477 unittest.expect(o.fileName, unittest.equals('foo')); 2539 unittest.expect(o.fileName, unittest.equals('foo'));
2478 } 2540 }
2479 buildCounterSourceContext--; 2541 buildCounterSourceContext--;
2480 } 2542 }
2481 2543
2482 buildUnnamed3141() { 2544 buildUnnamed1288() {
2483 var o = new core.Map<core.String, core.Object>(); 2545 var o = new core.Map<core.String, core.Object>();
2484 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2546 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2485 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2547 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2486 return o; 2548 return o;
2487 } 2549 }
2488 2550
2489 checkUnnamed3141(core.Map<core.String, core.Object> o) { 2551 checkUnnamed1288(core.Map<core.String, core.Object> o) {
2490 unittest.expect(o, unittest.hasLength(2)); 2552 unittest.expect(o, unittest.hasLength(2));
2491 var casted11 = (o["x"]) as core.Map; unittest.expect(casted11, unittest.hasLen gth(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest .expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["stri ng"], unittest.equals('foo')); 2553 var casted11 = (o["x"]) as core.Map; unittest.expect(casted11, unittest.hasLen gth(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest .expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["stri ng"], unittest.equals('foo'));
2492 var casted12 = (o["y"]) as core.Map; unittest.expect(casted12, unittest.hasLen gth(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest .expect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["stri ng"], unittest.equals('foo')); 2554 var casted12 = (o["y"]) as core.Map; unittest.expect(casted12, unittest.hasLen gth(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest .expect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["stri ng"], unittest.equals('foo'));
2493 } 2555 }
2494 2556
2495 buildUnnamed3142() { 2557 buildUnnamed1289() {
2496 var o = new core.List<core.Map<core.String, core.Object>>(); 2558 var o = new core.List<core.Map<core.String, core.Object>>();
2497 o.add(buildUnnamed3141()); 2559 o.add(buildUnnamed1288());
2498 o.add(buildUnnamed3141()); 2560 o.add(buildUnnamed1288());
2499 return o; 2561 return o;
2500 } 2562 }
2501 2563
2502 checkUnnamed3142(core.List<core.Map<core.String, core.Object>> o) { 2564 checkUnnamed1289(core.List<core.Map<core.String, core.Object>> o) {
2503 unittest.expect(o, unittest.hasLength(2)); 2565 unittest.expect(o, unittest.hasLength(2));
2504 checkUnnamed3141(o[0]); 2566 checkUnnamed1288(o[0]);
2505 checkUnnamed3141(o[1]); 2567 checkUnnamed1288(o[1]);
2506 } 2568 }
2507 2569
2508 core.int buildCounterStatus = 0; 2570 core.int buildCounterStatus = 0;
2509 buildStatus() { 2571 buildStatus() {
2510 var o = new api.Status(); 2572 var o = new api.Status();
2511 buildCounterStatus++; 2573 buildCounterStatus++;
2512 if (buildCounterStatus < 3) { 2574 if (buildCounterStatus < 3) {
2513 o.code = 42; 2575 o.code = 42;
2514 o.details = buildUnnamed3142(); 2576 o.details = buildUnnamed1289();
2515 o.message = "foo"; 2577 o.message = "foo";
2516 } 2578 }
2517 buildCounterStatus--; 2579 buildCounterStatus--;
2518 return o; 2580 return o;
2519 } 2581 }
2520 2582
2521 checkStatus(api.Status o) { 2583 checkStatus(api.Status o) {
2522 buildCounterStatus++; 2584 buildCounterStatus++;
2523 if (buildCounterStatus < 3) { 2585 if (buildCounterStatus < 3) {
2524 unittest.expect(o.code, unittest.equals(42)); 2586 unittest.expect(o.code, unittest.equals(42));
2525 checkUnnamed3142(o.details); 2587 checkUnnamed1289(o.details);
2526 unittest.expect(o.message, unittest.equals('foo')); 2588 unittest.expect(o.message, unittest.equals('foo'));
2527 } 2589 }
2528 buildCounterStatus--; 2590 buildCounterStatus--;
2529 } 2591 }
2530 2592
2531 core.int buildCounterStep = 0; 2593 core.int buildCounterStep = 0;
2532 buildStep() { 2594 buildStep() {
2533 var o = new api.Step(); 2595 var o = new api.Step();
2534 buildCounterStep++; 2596 buildCounterStep++;
2535 if (buildCounterStep < 3) { 2597 if (buildCounterStep < 3) {
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
2605 checkSystemParameter(api.SystemParameter o) { 2667 checkSystemParameter(api.SystemParameter o) {
2606 buildCounterSystemParameter++; 2668 buildCounterSystemParameter++;
2607 if (buildCounterSystemParameter < 3) { 2669 if (buildCounterSystemParameter < 3) {
2608 unittest.expect(o.httpHeader, unittest.equals('foo')); 2670 unittest.expect(o.httpHeader, unittest.equals('foo'));
2609 unittest.expect(o.name, unittest.equals('foo')); 2671 unittest.expect(o.name, unittest.equals('foo'));
2610 unittest.expect(o.urlQueryParameter, unittest.equals('foo')); 2672 unittest.expect(o.urlQueryParameter, unittest.equals('foo'));
2611 } 2673 }
2612 buildCounterSystemParameter--; 2674 buildCounterSystemParameter--;
2613 } 2675 }
2614 2676
2615 buildUnnamed3143() { 2677 buildUnnamed1290() {
2616 var o = new core.List<api.SystemParameter>(); 2678 var o = new core.List<api.SystemParameter>();
2617 o.add(buildSystemParameter()); 2679 o.add(buildSystemParameter());
2618 o.add(buildSystemParameter()); 2680 o.add(buildSystemParameter());
2619 return o; 2681 return o;
2620 } 2682 }
2621 2683
2622 checkUnnamed3143(core.List<api.SystemParameter> o) { 2684 checkUnnamed1290(core.List<api.SystemParameter> o) {
2623 unittest.expect(o, unittest.hasLength(2)); 2685 unittest.expect(o, unittest.hasLength(2));
2624 checkSystemParameter(o[0]); 2686 checkSystemParameter(o[0]);
2625 checkSystemParameter(o[1]); 2687 checkSystemParameter(o[1]);
2626 } 2688 }
2627 2689
2628 core.int buildCounterSystemParameterRule = 0; 2690 core.int buildCounterSystemParameterRule = 0;
2629 buildSystemParameterRule() { 2691 buildSystemParameterRule() {
2630 var o = new api.SystemParameterRule(); 2692 var o = new api.SystemParameterRule();
2631 buildCounterSystemParameterRule++; 2693 buildCounterSystemParameterRule++;
2632 if (buildCounterSystemParameterRule < 3) { 2694 if (buildCounterSystemParameterRule < 3) {
2633 o.parameters = buildUnnamed3143(); 2695 o.parameters = buildUnnamed1290();
2634 o.selector = "foo"; 2696 o.selector = "foo";
2635 } 2697 }
2636 buildCounterSystemParameterRule--; 2698 buildCounterSystemParameterRule--;
2637 return o; 2699 return o;
2638 } 2700 }
2639 2701
2640 checkSystemParameterRule(api.SystemParameterRule o) { 2702 checkSystemParameterRule(api.SystemParameterRule o) {
2641 buildCounterSystemParameterRule++; 2703 buildCounterSystemParameterRule++;
2642 if (buildCounterSystemParameterRule < 3) { 2704 if (buildCounterSystemParameterRule < 3) {
2643 checkUnnamed3143(o.parameters); 2705 checkUnnamed1290(o.parameters);
2644 unittest.expect(o.selector, unittest.equals('foo')); 2706 unittest.expect(o.selector, unittest.equals('foo'));
2645 } 2707 }
2646 buildCounterSystemParameterRule--; 2708 buildCounterSystemParameterRule--;
2647 } 2709 }
2648 2710
2649 buildUnnamed3144() { 2711 buildUnnamed1291() {
2650 var o = new core.List<api.SystemParameterRule>(); 2712 var o = new core.List<api.SystemParameterRule>();
2651 o.add(buildSystemParameterRule()); 2713 o.add(buildSystemParameterRule());
2652 o.add(buildSystemParameterRule()); 2714 o.add(buildSystemParameterRule());
2653 return o; 2715 return o;
2654 } 2716 }
2655 2717
2656 checkUnnamed3144(core.List<api.SystemParameterRule> o) { 2718 checkUnnamed1291(core.List<api.SystemParameterRule> o) {
2657 unittest.expect(o, unittest.hasLength(2)); 2719 unittest.expect(o, unittest.hasLength(2));
2658 checkSystemParameterRule(o[0]); 2720 checkSystemParameterRule(o[0]);
2659 checkSystemParameterRule(o[1]); 2721 checkSystemParameterRule(o[1]);
2660 } 2722 }
2661 2723
2662 core.int buildCounterSystemParameters = 0; 2724 core.int buildCounterSystemParameters = 0;
2663 buildSystemParameters() { 2725 buildSystemParameters() {
2664 var o = new api.SystemParameters(); 2726 var o = new api.SystemParameters();
2665 buildCounterSystemParameters++; 2727 buildCounterSystemParameters++;
2666 if (buildCounterSystemParameters < 3) { 2728 if (buildCounterSystemParameters < 3) {
2667 o.rules = buildUnnamed3144(); 2729 o.rules = buildUnnamed1291();
2668 } 2730 }
2669 buildCounterSystemParameters--; 2731 buildCounterSystemParameters--;
2670 return o; 2732 return o;
2671 } 2733 }
2672 2734
2673 checkSystemParameters(api.SystemParameters o) { 2735 checkSystemParameters(api.SystemParameters o) {
2674 buildCounterSystemParameters++; 2736 buildCounterSystemParameters++;
2675 if (buildCounterSystemParameters < 3) { 2737 if (buildCounterSystemParameters < 3) {
2676 checkUnnamed3144(o.rules); 2738 checkUnnamed1291(o.rules);
2677 } 2739 }
2678 buildCounterSystemParameters--; 2740 buildCounterSystemParameters--;
2679 } 2741 }
2680 2742
2681 buildUnnamed3145() { 2743 buildUnnamed1292() {
2682 var o = new core.List<core.String>(); 2744 var o = new core.List<core.String>();
2683 o.add("foo"); 2745 o.add("foo");
2684 o.add("foo"); 2746 o.add("foo");
2685 return o; 2747 return o;
2686 } 2748 }
2687 2749
2688 checkUnnamed3145(core.List<core.String> o) { 2750 checkUnnamed1292(core.List<core.String> o) {
2689 unittest.expect(o, unittest.hasLength(2)); 2751 unittest.expect(o, unittest.hasLength(2));
2690 unittest.expect(o[0], unittest.equals('foo')); 2752 unittest.expect(o[0], unittest.equals('foo'));
2691 unittest.expect(o[1], unittest.equals('foo')); 2753 unittest.expect(o[1], unittest.equals('foo'));
2692 } 2754 }
2693 2755
2694 core.int buildCounterTestIamPermissionsRequest = 0; 2756 core.int buildCounterTestIamPermissionsRequest = 0;
2695 buildTestIamPermissionsRequest() { 2757 buildTestIamPermissionsRequest() {
2696 var o = new api.TestIamPermissionsRequest(); 2758 var o = new api.TestIamPermissionsRequest();
2697 buildCounterTestIamPermissionsRequest++; 2759 buildCounterTestIamPermissionsRequest++;
2698 if (buildCounterTestIamPermissionsRequest < 3) { 2760 if (buildCounterTestIamPermissionsRequest < 3) {
2699 o.permissions = buildUnnamed3145(); 2761 o.permissions = buildUnnamed1292();
2700 } 2762 }
2701 buildCounterTestIamPermissionsRequest--; 2763 buildCounterTestIamPermissionsRequest--;
2702 return o; 2764 return o;
2703 } 2765 }
2704 2766
2705 checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { 2767 checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
2706 buildCounterTestIamPermissionsRequest++; 2768 buildCounterTestIamPermissionsRequest++;
2707 if (buildCounterTestIamPermissionsRequest < 3) { 2769 if (buildCounterTestIamPermissionsRequest < 3) {
2708 checkUnnamed3145(o.permissions); 2770 checkUnnamed1292(o.permissions);
2709 } 2771 }
2710 buildCounterTestIamPermissionsRequest--; 2772 buildCounterTestIamPermissionsRequest--;
2711 } 2773 }
2712 2774
2713 buildUnnamed3146() { 2775 buildUnnamed1293() {
2714 var o = new core.List<core.String>(); 2776 var o = new core.List<core.String>();
2715 o.add("foo"); 2777 o.add("foo");
2716 o.add("foo"); 2778 o.add("foo");
2717 return o; 2779 return o;
2718 } 2780 }
2719 2781
2720 checkUnnamed3146(core.List<core.String> o) { 2782 checkUnnamed1293(core.List<core.String> o) {
2721 unittest.expect(o, unittest.hasLength(2)); 2783 unittest.expect(o, unittest.hasLength(2));
2722 unittest.expect(o[0], unittest.equals('foo')); 2784 unittest.expect(o[0], unittest.equals('foo'));
2723 unittest.expect(o[1], unittest.equals('foo')); 2785 unittest.expect(o[1], unittest.equals('foo'));
2724 } 2786 }
2725 2787
2726 core.int buildCounterTestIamPermissionsResponse = 0; 2788 core.int buildCounterTestIamPermissionsResponse = 0;
2727 buildTestIamPermissionsResponse() { 2789 buildTestIamPermissionsResponse() {
2728 var o = new api.TestIamPermissionsResponse(); 2790 var o = new api.TestIamPermissionsResponse();
2729 buildCounterTestIamPermissionsResponse++; 2791 buildCounterTestIamPermissionsResponse++;
2730 if (buildCounterTestIamPermissionsResponse < 3) { 2792 if (buildCounterTestIamPermissionsResponse < 3) {
2731 o.permissions = buildUnnamed3146(); 2793 o.permissions = buildUnnamed1293();
2732 } 2794 }
2733 buildCounterTestIamPermissionsResponse--; 2795 buildCounterTestIamPermissionsResponse--;
2734 return o; 2796 return o;
2735 } 2797 }
2736 2798
2737 checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { 2799 checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
2738 buildCounterTestIamPermissionsResponse++; 2800 buildCounterTestIamPermissionsResponse++;
2739 if (buildCounterTestIamPermissionsResponse < 3) { 2801 if (buildCounterTestIamPermissionsResponse < 3) {
2740 checkUnnamed3146(o.permissions); 2802 checkUnnamed1293(o.permissions);
2741 } 2803 }
2742 buildCounterTestIamPermissionsResponse--; 2804 buildCounterTestIamPermissionsResponse--;
2743 } 2805 }
2744 2806
2745 buildUnnamed3147() { 2807 buildUnnamed1294() {
2746 var o = new core.Map<core.String, core.double>(); 2808 var o = new core.Map<core.String, core.double>();
2747 o["x"] = 42.0; 2809 o["x"] = 42.0;
2748 o["y"] = 42.0; 2810 o["y"] = 42.0;
2749 return o; 2811 return o;
2750 } 2812 }
2751 2813
2752 checkUnnamed3147(core.Map<core.String, core.double> o) { 2814 checkUnnamed1294(core.Map<core.String, core.double> o) {
2753 unittest.expect(o, unittest.hasLength(2)); 2815 unittest.expect(o, unittest.hasLength(2));
2754 unittest.expect(o["x"], unittest.equals(42.0)); 2816 unittest.expect(o["x"], unittest.equals(42.0));
2755 unittest.expect(o["y"], unittest.equals(42.0)); 2817 unittest.expect(o["y"], unittest.equals(42.0));
2756 } 2818 }
2757 2819
2758 core.int buildCounterTrafficPercentStrategy = 0; 2820 core.int buildCounterTrafficPercentStrategy = 0;
2759 buildTrafficPercentStrategy() { 2821 buildTrafficPercentStrategy() {
2760 var o = new api.TrafficPercentStrategy(); 2822 var o = new api.TrafficPercentStrategy();
2761 buildCounterTrafficPercentStrategy++; 2823 buildCounterTrafficPercentStrategy++;
2762 if (buildCounterTrafficPercentStrategy < 3) { 2824 if (buildCounterTrafficPercentStrategy < 3) {
2763 o.percentages = buildUnnamed3147(); 2825 o.percentages = buildUnnamed1294();
2764 } 2826 }
2765 buildCounterTrafficPercentStrategy--; 2827 buildCounterTrafficPercentStrategy--;
2766 return o; 2828 return o;
2767 } 2829 }
2768 2830
2769 checkTrafficPercentStrategy(api.TrafficPercentStrategy o) { 2831 checkTrafficPercentStrategy(api.TrafficPercentStrategy o) {
2770 buildCounterTrafficPercentStrategy++; 2832 buildCounterTrafficPercentStrategy++;
2771 if (buildCounterTrafficPercentStrategy < 3) { 2833 if (buildCounterTrafficPercentStrategy < 3) {
2772 checkUnnamed3147(o.percentages); 2834 checkUnnamed1294(o.percentages);
2773 } 2835 }
2774 buildCounterTrafficPercentStrategy--; 2836 buildCounterTrafficPercentStrategy--;
2775 } 2837 }
2776 2838
2777 buildUnnamed3148() { 2839 buildUnnamed1295() {
2778 var o = new core.List<api.Field>(); 2840 var o = new core.List<api.Field>();
2779 o.add(buildField()); 2841 o.add(buildField());
2780 o.add(buildField()); 2842 o.add(buildField());
2781 return o; 2843 return o;
2782 } 2844 }
2783 2845
2784 checkUnnamed3148(core.List<api.Field> o) { 2846 checkUnnamed1295(core.List<api.Field> o) {
2785 unittest.expect(o, unittest.hasLength(2)); 2847 unittest.expect(o, unittest.hasLength(2));
2786 checkField(o[0]); 2848 checkField(o[0]);
2787 checkField(o[1]); 2849 checkField(o[1]);
2788 } 2850 }
2789 2851
2790 buildUnnamed3149() { 2852 buildUnnamed1296() {
2791 var o = new core.List<core.String>(); 2853 var o = new core.List<core.String>();
2792 o.add("foo"); 2854 o.add("foo");
2793 o.add("foo"); 2855 o.add("foo");
2794 return o; 2856 return o;
2795 } 2857 }
2796 2858
2797 checkUnnamed3149(core.List<core.String> o) { 2859 checkUnnamed1296(core.List<core.String> o) {
2798 unittest.expect(o, unittest.hasLength(2)); 2860 unittest.expect(o, unittest.hasLength(2));
2799 unittest.expect(o[0], unittest.equals('foo')); 2861 unittest.expect(o[0], unittest.equals('foo'));
2800 unittest.expect(o[1], unittest.equals('foo')); 2862 unittest.expect(o[1], unittest.equals('foo'));
2801 } 2863 }
2802 2864
2803 buildUnnamed3150() { 2865 buildUnnamed1297() {
2804 var o = new core.List<api.Option>(); 2866 var o = new core.List<api.Option>();
2805 o.add(buildOption()); 2867 o.add(buildOption());
2806 o.add(buildOption()); 2868 o.add(buildOption());
2807 return o; 2869 return o;
2808 } 2870 }
2809 2871
2810 checkUnnamed3150(core.List<api.Option> o) { 2872 checkUnnamed1297(core.List<api.Option> o) {
2811 unittest.expect(o, unittest.hasLength(2)); 2873 unittest.expect(o, unittest.hasLength(2));
2812 checkOption(o[0]); 2874 checkOption(o[0]);
2813 checkOption(o[1]); 2875 checkOption(o[1]);
2814 } 2876 }
2815 2877
2816 core.int buildCounterType = 0; 2878 core.int buildCounterType = 0;
2817 buildType() { 2879 buildType() {
2818 var o = new api.Type(); 2880 var o = new api.Type();
2819 buildCounterType++; 2881 buildCounterType++;
2820 if (buildCounterType < 3) { 2882 if (buildCounterType < 3) {
2821 o.fields = buildUnnamed3148(); 2883 o.fields = buildUnnamed1295();
2822 o.name = "foo"; 2884 o.name = "foo";
2823 o.oneofs = buildUnnamed3149(); 2885 o.oneofs = buildUnnamed1296();
2824 o.options = buildUnnamed3150(); 2886 o.options = buildUnnamed1297();
2825 o.sourceContext = buildSourceContext(); 2887 o.sourceContext = buildSourceContext();
2826 o.syntax = "foo"; 2888 o.syntax = "foo";
2827 } 2889 }
2828 buildCounterType--; 2890 buildCounterType--;
2829 return o; 2891 return o;
2830 } 2892 }
2831 2893
2832 checkType(api.Type o) { 2894 checkType(api.Type o) {
2833 buildCounterType++; 2895 buildCounterType++;
2834 if (buildCounterType < 3) { 2896 if (buildCounterType < 3) {
2835 checkUnnamed3148(o.fields); 2897 checkUnnamed1295(o.fields);
2836 unittest.expect(o.name, unittest.equals('foo')); 2898 unittest.expect(o.name, unittest.equals('foo'));
2837 checkUnnamed3149(o.oneofs); 2899 checkUnnamed1296(o.oneofs);
2838 checkUnnamed3150(o.options); 2900 checkUnnamed1297(o.options);
2839 checkSourceContext(o.sourceContext); 2901 checkSourceContext(o.sourceContext);
2840 unittest.expect(o.syntax, unittest.equals('foo')); 2902 unittest.expect(o.syntax, unittest.equals('foo'));
2841 } 2903 }
2842 buildCounterType--; 2904 buildCounterType--;
2843 } 2905 }
2844 2906
2845 core.int buildCounterUndeleteServiceResponse = 0; 2907 core.int buildCounterUndeleteServiceResponse = 0;
2846 buildUndeleteServiceResponse() { 2908 buildUndeleteServiceResponse() {
2847 var o = new api.UndeleteServiceResponse(); 2909 var o = new api.UndeleteServiceResponse();
2848 buildCounterUndeleteServiceResponse++; 2910 buildCounterUndeleteServiceResponse++;
2849 if (buildCounterUndeleteServiceResponse < 3) { 2911 if (buildCounterUndeleteServiceResponse < 3) {
2850 o.service = buildManagedService(); 2912 o.service = buildManagedService();
2851 } 2913 }
2852 buildCounterUndeleteServiceResponse--; 2914 buildCounterUndeleteServiceResponse--;
2853 return o; 2915 return o;
2854 } 2916 }
2855 2917
2856 checkUndeleteServiceResponse(api.UndeleteServiceResponse o) { 2918 checkUndeleteServiceResponse(api.UndeleteServiceResponse o) {
2857 buildCounterUndeleteServiceResponse++; 2919 buildCounterUndeleteServiceResponse++;
2858 if (buildCounterUndeleteServiceResponse < 3) { 2920 if (buildCounterUndeleteServiceResponse < 3) {
2859 checkManagedService(o.service); 2921 checkManagedService(o.service);
2860 } 2922 }
2861 buildCounterUndeleteServiceResponse--; 2923 buildCounterUndeleteServiceResponse--;
2862 } 2924 }
2863 2925
2864 buildUnnamed3151() { 2926 buildUnnamed1298() {
2865 var o = new core.List<core.String>(); 2927 var o = new core.List<core.String>();
2866 o.add("foo"); 2928 o.add("foo");
2867 o.add("foo"); 2929 o.add("foo");
2868 return o; 2930 return o;
2869 } 2931 }
2870 2932
2871 checkUnnamed3151(core.List<core.String> o) { 2933 checkUnnamed1298(core.List<core.String> o) {
2872 unittest.expect(o, unittest.hasLength(2)); 2934 unittest.expect(o, unittest.hasLength(2));
2873 unittest.expect(o[0], unittest.equals('foo')); 2935 unittest.expect(o[0], unittest.equals('foo'));
2874 unittest.expect(o[1], unittest.equals('foo')); 2936 unittest.expect(o[1], unittest.equals('foo'));
2875 } 2937 }
2876 2938
2877 buildUnnamed3152() { 2939 buildUnnamed1299() {
2878 var o = new core.List<api.UsageRule>(); 2940 var o = new core.List<api.UsageRule>();
2879 o.add(buildUsageRule()); 2941 o.add(buildUsageRule());
2880 o.add(buildUsageRule()); 2942 o.add(buildUsageRule());
2881 return o; 2943 return o;
2882 } 2944 }
2883 2945
2884 checkUnnamed3152(core.List<api.UsageRule> o) { 2946 checkUnnamed1299(core.List<api.UsageRule> o) {
2885 unittest.expect(o, unittest.hasLength(2)); 2947 unittest.expect(o, unittest.hasLength(2));
2886 checkUsageRule(o[0]); 2948 checkUsageRule(o[0]);
2887 checkUsageRule(o[1]); 2949 checkUsageRule(o[1]);
2888 } 2950 }
2889 2951
2890 core.int buildCounterUsage = 0; 2952 core.int buildCounterUsage = 0;
2891 buildUsage() { 2953 buildUsage() {
2892 var o = new api.Usage(); 2954 var o = new api.Usage();
2893 buildCounterUsage++; 2955 buildCounterUsage++;
2894 if (buildCounterUsage < 3) { 2956 if (buildCounterUsage < 3) {
2895 o.requirements = buildUnnamed3151(); 2957 o.requirements = buildUnnamed1298();
2896 o.rules = buildUnnamed3152(); 2958 o.rules = buildUnnamed1299();
2897 } 2959 }
2898 buildCounterUsage--; 2960 buildCounterUsage--;
2899 return o; 2961 return o;
2900 } 2962 }
2901 2963
2902 checkUsage(api.Usage o) { 2964 checkUsage(api.Usage o) {
2903 buildCounterUsage++; 2965 buildCounterUsage++;
2904 if (buildCounterUsage < 3) { 2966 if (buildCounterUsage < 3) {
2905 checkUnnamed3151(o.requirements); 2967 checkUnnamed1298(o.requirements);
2906 checkUnnamed3152(o.rules); 2968 checkUnnamed1299(o.rules);
2907 } 2969 }
2908 buildCounterUsage--; 2970 buildCounterUsage--;
2909 } 2971 }
2910 2972
2911 core.int buildCounterUsageRule = 0; 2973 core.int buildCounterUsageRule = 0;
2912 buildUsageRule() { 2974 buildUsageRule() {
2913 var o = new api.UsageRule(); 2975 var o = new api.UsageRule();
2914 buildCounterUsageRule++; 2976 buildCounterUsageRule++;
2915 if (buildCounterUsageRule < 3) { 2977 if (buildCounterUsageRule < 3) {
2916 o.allowUnregisteredCalls = true; 2978 o.allowUnregisteredCalls = true;
2917 o.selector = "foo"; 2979 o.selector = "foo";
2918 } 2980 }
2919 buildCounterUsageRule--; 2981 buildCounterUsageRule--;
2920 return o; 2982 return o;
2921 } 2983 }
2922 2984
2923 checkUsageRule(api.UsageRule o) { 2985 checkUsageRule(api.UsageRule o) {
2924 buildCounterUsageRule++; 2986 buildCounterUsageRule++;
2925 if (buildCounterUsageRule < 3) { 2987 if (buildCounterUsageRule < 3) {
2926 unittest.expect(o.allowUnregisteredCalls, unittest.isTrue); 2988 unittest.expect(o.allowUnregisteredCalls, unittest.isTrue);
2927 unittest.expect(o.selector, unittest.equals('foo')); 2989 unittest.expect(o.selector, unittest.equals('foo'));
2928 } 2990 }
2929 buildCounterUsageRule--; 2991 buildCounterUsageRule--;
2930 } 2992 }
2931 2993
2932 buildUnnamed3153() { 2994 buildUnnamed1300() {
2933 var o = new core.List<api.VisibilityRule>(); 2995 var o = new core.List<api.VisibilityRule>();
2934 o.add(buildVisibilityRule()); 2996 o.add(buildVisibilityRule());
2935 o.add(buildVisibilityRule()); 2997 o.add(buildVisibilityRule());
2936 return o; 2998 return o;
2937 } 2999 }
2938 3000
2939 checkUnnamed3153(core.List<api.VisibilityRule> o) { 3001 checkUnnamed1300(core.List<api.VisibilityRule> o) {
2940 unittest.expect(o, unittest.hasLength(2)); 3002 unittest.expect(o, unittest.hasLength(2));
2941 checkVisibilityRule(o[0]); 3003 checkVisibilityRule(o[0]);
2942 checkVisibilityRule(o[1]); 3004 checkVisibilityRule(o[1]);
2943 } 3005 }
2944 3006
2945 core.int buildCounterVisibility = 0; 3007 core.int buildCounterVisibility = 0;
2946 buildVisibility() { 3008 buildVisibility() {
2947 var o = new api.Visibility(); 3009 var o = new api.Visibility();
2948 buildCounterVisibility++; 3010 buildCounterVisibility++;
2949 if (buildCounterVisibility < 3) { 3011 if (buildCounterVisibility < 3) {
2950 o.rules = buildUnnamed3153(); 3012 o.rules = buildUnnamed1300();
2951 } 3013 }
2952 buildCounterVisibility--; 3014 buildCounterVisibility--;
2953 return o; 3015 return o;
2954 } 3016 }
2955 3017
2956 checkVisibility(api.Visibility o) { 3018 checkVisibility(api.Visibility o) {
2957 buildCounterVisibility++; 3019 buildCounterVisibility++;
2958 if (buildCounterVisibility < 3) { 3020 if (buildCounterVisibility < 3) {
2959 checkUnnamed3153(o.rules); 3021 checkUnnamed1300(o.rules);
2960 } 3022 }
2961 buildCounterVisibility--; 3023 buildCounterVisibility--;
2962 } 3024 }
2963 3025
2964 core.int buildCounterVisibilityRule = 0; 3026 core.int buildCounterVisibilityRule = 0;
2965 buildVisibilityRule() { 3027 buildVisibilityRule() {
2966 var o = new api.VisibilityRule(); 3028 var o = new api.VisibilityRule();
2967 buildCounterVisibilityRule++; 3029 buildCounterVisibilityRule++;
2968 if (buildCounterVisibilityRule < 3) { 3030 if (buildCounterVisibilityRule < 3) {
2969 o.restriction = "foo"; 3031 o.restriction = "foo";
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
3112 3174
3113 unittest.group("obj-schema-ConfigFile", () { 3175 unittest.group("obj-schema-ConfigFile", () {
3114 unittest.test("to-json--from-json", () { 3176 unittest.test("to-json--from-json", () {
3115 var o = buildConfigFile(); 3177 var o = buildConfigFile();
3116 var od = new api.ConfigFile.fromJson(o.toJson()); 3178 var od = new api.ConfigFile.fromJson(o.toJson());
3117 checkConfigFile(od); 3179 checkConfigFile(od);
3118 }); 3180 });
3119 }); 3181 });
3120 3182
3121 3183
3122 unittest.group("obj-schema-ConfigOptions", () {
3123 unittest.test("to-json--from-json", () {
3124 var o = buildConfigOptions();
3125 var od = new api.ConfigOptions.fromJson(o.toJson());
3126 checkConfigOptions(od);
3127 });
3128 });
3129
3130
3131 unittest.group("obj-schema-ConfigRef", () { 3184 unittest.group("obj-schema-ConfigRef", () {
3132 unittest.test("to-json--from-json", () { 3185 unittest.test("to-json--from-json", () {
3133 var o = buildConfigRef(); 3186 var o = buildConfigRef();
3134 var od = new api.ConfigRef.fromJson(o.toJson()); 3187 var od = new api.ConfigRef.fromJson(o.toJson());
3135 checkConfigRef(od); 3188 checkConfigRef(od);
3136 }); 3189 });
3137 }); 3190 });
3138 3191
3139 3192
3140 unittest.group("obj-schema-ConfigSource", () { 3193 unittest.group("obj-schema-ConfigSource", () {
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
3265 3318
3266 unittest.group("obj-schema-EnableServiceRequest", () { 3319 unittest.group("obj-schema-EnableServiceRequest", () {
3267 unittest.test("to-json--from-json", () { 3320 unittest.test("to-json--from-json", () {
3268 var o = buildEnableServiceRequest(); 3321 var o = buildEnableServiceRequest();
3269 var od = new api.EnableServiceRequest.fromJson(o.toJson()); 3322 var od = new api.EnableServiceRequest.fromJson(o.toJson());
3270 checkEnableServiceRequest(od); 3323 checkEnableServiceRequest(od);
3271 }); 3324 });
3272 }); 3325 });
3273 3326
3274 3327
3328 unittest.group("obj-schema-Endpoint", () {
3329 unittest.test("to-json--from-json", () {
3330 var o = buildEndpoint();
3331 var od = new api.Endpoint.fromJson(o.toJson());
3332 checkEndpoint(od);
3333 });
3334 });
3335
3336
3275 unittest.group("obj-schema-Enum", () { 3337 unittest.group("obj-schema-Enum", () {
3276 unittest.test("to-json--from-json", () { 3338 unittest.test("to-json--from-json", () {
3277 var o = buildEnum(); 3339 var o = buildEnum();
3278 var od = new api.Enum.fromJson(o.toJson()); 3340 var od = new api.Enum.fromJson(o.toJson());
3279 checkEnum(od); 3341 checkEnum(od);
3280 }); 3342 });
3281 }); 3343 });
3282 3344
3283 3345
3284 unittest.group("obj-schema-EnumValue", () { 3346 unittest.group("obj-schema-EnumValue", () {
(...skipping 1494 matching lines...) Expand 10 before | Expand all | Expand 10 after
4779 res.list(arg_serviceName, pageSize: arg_pageSize, pageToken: arg_pageToken ).then(unittest.expectAsync(((api.ListServiceRolloutsResponse response) { 4841 res.list(arg_serviceName, pageSize: arg_pageSize, pageToken: arg_pageToken ).then(unittest.expectAsync(((api.ListServiceRolloutsResponse response) {
4780 checkListServiceRolloutsResponse(response); 4842 checkListServiceRolloutsResponse(response);
4781 }))); 4843 })));
4782 }); 4844 });
4783 4845
4784 }); 4846 });
4785 4847
4786 4848
4787 } 4849 }
4788 4850
OLDNEW
« no previous file with comments | « generated/googleapis/test/servicecontrol/v1_test.dart ('k') | generated/googleapis/test/sheets/v4_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698