OLD | NEW |
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 Loading... |
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 buildUnnamed997() { | 73 buildUnnamed1004() { |
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 checkUnnamed997(core.List<api.Method> o) { | 80 checkUnnamed1004(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 buildUnnamed998() { | 86 buildUnnamed1005() { |
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 checkUnnamed998(core.List<api.Mixin> o) { | 93 checkUnnamed1005(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 buildUnnamed999() { | 99 buildUnnamed1006() { |
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 checkUnnamed999(core.List<api.Option> o) { | 106 checkUnnamed1006(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 = buildUnnamed997(); | 117 o.methods = buildUnnamed1004(); |
118 o.mixins = buildUnnamed998(); | 118 o.mixins = buildUnnamed1005(); |
119 o.name = "foo"; | 119 o.name = "foo"; |
120 o.options = buildUnnamed999(); | 120 o.options = buildUnnamed1006(); |
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 checkUnnamed997(o.methods); | 132 checkUnnamed1004(o.methods); |
133 checkUnnamed998(o.mixins); | 133 checkUnnamed1005(o.mixins); |
134 unittest.expect(o.name, unittest.equals('foo')); | 134 unittest.expect(o.name, unittest.equals('foo')); |
135 checkUnnamed999(o.options); | 135 checkUnnamed1006(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 buildUnnamed1000() { | 143 buildUnnamed1007() { |
144 var o = new core.List<api.AuditLogConfig>(); | 144 var o = new core.List<api.AuditLogConfig>(); |
145 o.add(buildAuditLogConfig()); | 145 o.add(buildAuditLogConfig()); |
146 o.add(buildAuditLogConfig()); | 146 o.add(buildAuditLogConfig()); |
147 return o; | 147 return o; |
148 } | 148 } |
149 | 149 |
150 checkUnnamed1000(core.List<api.AuditLogConfig> o) { | 150 checkUnnamed1007(core.List<api.AuditLogConfig> o) { |
151 unittest.expect(o, unittest.hasLength(2)); | 151 unittest.expect(o, unittest.hasLength(2)); |
152 checkAuditLogConfig(o[0]); | 152 checkAuditLogConfig(o[0]); |
153 checkAuditLogConfig(o[1]); | 153 checkAuditLogConfig(o[1]); |
154 } | 154 } |
155 | 155 |
156 buildUnnamed1001() { | 156 buildUnnamed1008() { |
157 var o = new core.List<core.String>(); | 157 var o = new core.List<core.String>(); |
158 o.add("foo"); | 158 o.add("foo"); |
159 o.add("foo"); | 159 o.add("foo"); |
160 return o; | 160 return o; |
161 } | 161 } |
162 | 162 |
163 checkUnnamed1001(core.List<core.String> o) { | 163 checkUnnamed1008(core.List<core.String> o) { |
164 unittest.expect(o, unittest.hasLength(2)); | 164 unittest.expect(o, unittest.hasLength(2)); |
165 unittest.expect(o[0], unittest.equals('foo')); | 165 unittest.expect(o[0], unittest.equals('foo')); |
166 unittest.expect(o[1], unittest.equals('foo')); | 166 unittest.expect(o[1], unittest.equals('foo')); |
167 } | 167 } |
168 | 168 |
169 core.int buildCounterAuditConfig = 0; | 169 core.int buildCounterAuditConfig = 0; |
170 buildAuditConfig() { | 170 buildAuditConfig() { |
171 var o = new api.AuditConfig(); | 171 var o = new api.AuditConfig(); |
172 buildCounterAuditConfig++; | 172 buildCounterAuditConfig++; |
173 if (buildCounterAuditConfig < 3) { | 173 if (buildCounterAuditConfig < 3) { |
174 o.auditLogConfigs = buildUnnamed1000(); | 174 o.auditLogConfigs = buildUnnamed1007(); |
175 o.exemptedMembers = buildUnnamed1001(); | 175 o.exemptedMembers = buildUnnamed1008(); |
176 o.service = "foo"; | 176 o.service = "foo"; |
177 } | 177 } |
178 buildCounterAuditConfig--; | 178 buildCounterAuditConfig--; |
179 return o; | 179 return o; |
180 } | 180 } |
181 | 181 |
182 checkAuditConfig(api.AuditConfig o) { | 182 checkAuditConfig(api.AuditConfig o) { |
183 buildCounterAuditConfig++; | 183 buildCounterAuditConfig++; |
184 if (buildCounterAuditConfig < 3) { | 184 if (buildCounterAuditConfig < 3) { |
185 checkUnnamed1000(o.auditLogConfigs); | 185 checkUnnamed1007(o.auditLogConfigs); |
186 checkUnnamed1001(o.exemptedMembers); | 186 checkUnnamed1008(o.exemptedMembers); |
187 unittest.expect(o.service, unittest.equals('foo')); | 187 unittest.expect(o.service, unittest.equals('foo')); |
188 } | 188 } |
189 buildCounterAuditConfig--; | 189 buildCounterAuditConfig--; |
190 } | 190 } |
191 | 191 |
192 buildUnnamed1002() { | 192 buildUnnamed1009() { |
193 var o = new core.List<core.String>(); | 193 var o = new core.List<core.String>(); |
194 o.add("foo"); | 194 o.add("foo"); |
195 o.add("foo"); | 195 o.add("foo"); |
196 return o; | 196 return o; |
197 } | 197 } |
198 | 198 |
199 checkUnnamed1002(core.List<core.String> o) { | 199 checkUnnamed1009(core.List<core.String> o) { |
200 unittest.expect(o, unittest.hasLength(2)); | 200 unittest.expect(o, unittest.hasLength(2)); |
201 unittest.expect(o[0], unittest.equals('foo')); | 201 unittest.expect(o[0], unittest.equals('foo')); |
202 unittest.expect(o[1], unittest.equals('foo')); | 202 unittest.expect(o[1], unittest.equals('foo')); |
203 } | 203 } |
204 | 204 |
205 core.int buildCounterAuditLogConfig = 0; | 205 core.int buildCounterAuditLogConfig = 0; |
206 buildAuditLogConfig() { | 206 buildAuditLogConfig() { |
207 var o = new api.AuditLogConfig(); | 207 var o = new api.AuditLogConfig(); |
208 buildCounterAuditLogConfig++; | 208 buildCounterAuditLogConfig++; |
209 if (buildCounterAuditLogConfig < 3) { | 209 if (buildCounterAuditLogConfig < 3) { |
210 o.exemptedMembers = buildUnnamed1002(); | 210 o.exemptedMembers = buildUnnamed1009(); |
211 o.logType = "foo"; | 211 o.logType = "foo"; |
212 } | 212 } |
213 buildCounterAuditLogConfig--; | 213 buildCounterAuditLogConfig--; |
214 return o; | 214 return o; |
215 } | 215 } |
216 | 216 |
217 checkAuditLogConfig(api.AuditLogConfig o) { | 217 checkAuditLogConfig(api.AuditLogConfig o) { |
218 buildCounterAuditLogConfig++; | 218 buildCounterAuditLogConfig++; |
219 if (buildCounterAuditLogConfig < 3) { | 219 if (buildCounterAuditLogConfig < 3) { |
220 checkUnnamed1002(o.exemptedMembers); | 220 checkUnnamed1009(o.exemptedMembers); |
221 unittest.expect(o.logType, unittest.equals('foo')); | 221 unittest.expect(o.logType, unittest.equals('foo')); |
222 } | 222 } |
223 buildCounterAuditLogConfig--; | 223 buildCounterAuditLogConfig--; |
224 } | 224 } |
225 | 225 |
226 core.int buildCounterAuthProvider = 0; | 226 core.int buildCounterAuthProvider = 0; |
227 buildAuthProvider() { | 227 buildAuthProvider() { |
228 var o = new api.AuthProvider(); | 228 var o = new api.AuthProvider(); |
229 buildCounterAuthProvider++; | 229 buildCounterAuthProvider++; |
230 if (buildCounterAuthProvider < 3) { | 230 if (buildCounterAuthProvider < 3) { |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 | 262 |
263 checkAuthRequirement(api.AuthRequirement o) { | 263 checkAuthRequirement(api.AuthRequirement o) { |
264 buildCounterAuthRequirement++; | 264 buildCounterAuthRequirement++; |
265 if (buildCounterAuthRequirement < 3) { | 265 if (buildCounterAuthRequirement < 3) { |
266 unittest.expect(o.audiences, unittest.equals('foo')); | 266 unittest.expect(o.audiences, unittest.equals('foo')); |
267 unittest.expect(o.providerId, unittest.equals('foo')); | 267 unittest.expect(o.providerId, unittest.equals('foo')); |
268 } | 268 } |
269 buildCounterAuthRequirement--; | 269 buildCounterAuthRequirement--; |
270 } | 270 } |
271 | 271 |
272 buildUnnamed1003() { | 272 buildUnnamed1010() { |
273 var o = new core.List<api.AuthProvider>(); | 273 var o = new core.List<api.AuthProvider>(); |
274 o.add(buildAuthProvider()); | 274 o.add(buildAuthProvider()); |
275 o.add(buildAuthProvider()); | 275 o.add(buildAuthProvider()); |
276 return o; | 276 return o; |
277 } | 277 } |
278 | 278 |
279 checkUnnamed1003(core.List<api.AuthProvider> o) { | 279 checkUnnamed1010(core.List<api.AuthProvider> o) { |
280 unittest.expect(o, unittest.hasLength(2)); | 280 unittest.expect(o, unittest.hasLength(2)); |
281 checkAuthProvider(o[0]); | 281 checkAuthProvider(o[0]); |
282 checkAuthProvider(o[1]); | 282 checkAuthProvider(o[1]); |
283 } | 283 } |
284 | 284 |
285 buildUnnamed1004() { | 285 buildUnnamed1011() { |
286 var o = new core.List<api.AuthenticationRule>(); | 286 var o = new core.List<api.AuthenticationRule>(); |
287 o.add(buildAuthenticationRule()); | 287 o.add(buildAuthenticationRule()); |
288 o.add(buildAuthenticationRule()); | 288 o.add(buildAuthenticationRule()); |
289 return o; | 289 return o; |
290 } | 290 } |
291 | 291 |
292 checkUnnamed1004(core.List<api.AuthenticationRule> o) { | 292 checkUnnamed1011(core.List<api.AuthenticationRule> o) { |
293 unittest.expect(o, unittest.hasLength(2)); | 293 unittest.expect(o, unittest.hasLength(2)); |
294 checkAuthenticationRule(o[0]); | 294 checkAuthenticationRule(o[0]); |
295 checkAuthenticationRule(o[1]); | 295 checkAuthenticationRule(o[1]); |
296 } | 296 } |
297 | 297 |
298 core.int buildCounterAuthentication = 0; | 298 core.int buildCounterAuthentication = 0; |
299 buildAuthentication() { | 299 buildAuthentication() { |
300 var o = new api.Authentication(); | 300 var o = new api.Authentication(); |
301 buildCounterAuthentication++; | 301 buildCounterAuthentication++; |
302 if (buildCounterAuthentication < 3) { | 302 if (buildCounterAuthentication < 3) { |
303 o.providers = buildUnnamed1003(); | 303 o.providers = buildUnnamed1010(); |
304 o.rules = buildUnnamed1004(); | 304 o.rules = buildUnnamed1011(); |
305 } | 305 } |
306 buildCounterAuthentication--; | 306 buildCounterAuthentication--; |
307 return o; | 307 return o; |
308 } | 308 } |
309 | 309 |
310 checkAuthentication(api.Authentication o) { | 310 checkAuthentication(api.Authentication o) { |
311 buildCounterAuthentication++; | 311 buildCounterAuthentication++; |
312 if (buildCounterAuthentication < 3) { | 312 if (buildCounterAuthentication < 3) { |
313 checkUnnamed1003(o.providers); | 313 checkUnnamed1010(o.providers); |
314 checkUnnamed1004(o.rules); | 314 checkUnnamed1011(o.rules); |
315 } | 315 } |
316 buildCounterAuthentication--; | 316 buildCounterAuthentication--; |
317 } | 317 } |
318 | 318 |
319 buildUnnamed1005() { | 319 buildUnnamed1012() { |
320 var o = new core.List<api.AuthRequirement>(); | 320 var o = new core.List<api.AuthRequirement>(); |
321 o.add(buildAuthRequirement()); | 321 o.add(buildAuthRequirement()); |
322 o.add(buildAuthRequirement()); | 322 o.add(buildAuthRequirement()); |
323 return o; | 323 return o; |
324 } | 324 } |
325 | 325 |
326 checkUnnamed1005(core.List<api.AuthRequirement> o) { | 326 checkUnnamed1012(core.List<api.AuthRequirement> o) { |
327 unittest.expect(o, unittest.hasLength(2)); | 327 unittest.expect(o, unittest.hasLength(2)); |
328 checkAuthRequirement(o[0]); | 328 checkAuthRequirement(o[0]); |
329 checkAuthRequirement(o[1]); | 329 checkAuthRequirement(o[1]); |
330 } | 330 } |
331 | 331 |
332 core.int buildCounterAuthenticationRule = 0; | 332 core.int buildCounterAuthenticationRule = 0; |
333 buildAuthenticationRule() { | 333 buildAuthenticationRule() { |
334 var o = new api.AuthenticationRule(); | 334 var o = new api.AuthenticationRule(); |
335 buildCounterAuthenticationRule++; | 335 buildCounterAuthenticationRule++; |
336 if (buildCounterAuthenticationRule < 3) { | 336 if (buildCounterAuthenticationRule < 3) { |
337 o.allowWithoutCredential = true; | 337 o.allowWithoutCredential = true; |
338 o.oauth = buildOAuthRequirements(); | 338 o.oauth = buildOAuthRequirements(); |
339 o.requirements = buildUnnamed1005(); | 339 o.requirements = buildUnnamed1012(); |
340 o.selector = "foo"; | 340 o.selector = "foo"; |
341 } | 341 } |
342 buildCounterAuthenticationRule--; | 342 buildCounterAuthenticationRule--; |
343 return o; | 343 return o; |
344 } | 344 } |
345 | 345 |
346 checkAuthenticationRule(api.AuthenticationRule o) { | 346 checkAuthenticationRule(api.AuthenticationRule o) { |
347 buildCounterAuthenticationRule++; | 347 buildCounterAuthenticationRule++; |
348 if (buildCounterAuthenticationRule < 3) { | 348 if (buildCounterAuthenticationRule < 3) { |
349 unittest.expect(o.allowWithoutCredential, unittest.isTrue); | 349 unittest.expect(o.allowWithoutCredential, unittest.isTrue); |
350 checkOAuthRequirements(o.oauth); | 350 checkOAuthRequirements(o.oauth); |
351 checkUnnamed1005(o.requirements); | 351 checkUnnamed1012(o.requirements); |
352 unittest.expect(o.selector, unittest.equals('foo')); | 352 unittest.expect(o.selector, unittest.equals('foo')); |
353 } | 353 } |
354 buildCounterAuthenticationRule--; | 354 buildCounterAuthenticationRule--; |
355 } | 355 } |
356 | 356 |
357 buildUnnamed1006() { | 357 buildUnnamed1013() { |
358 var o = new core.List<api.BackendRule>(); | 358 var o = new core.List<api.BackendRule>(); |
359 o.add(buildBackendRule()); | 359 o.add(buildBackendRule()); |
360 o.add(buildBackendRule()); | 360 o.add(buildBackendRule()); |
361 return o; | 361 return o; |
362 } | 362 } |
363 | 363 |
364 checkUnnamed1006(core.List<api.BackendRule> o) { | 364 checkUnnamed1013(core.List<api.BackendRule> o) { |
365 unittest.expect(o, unittest.hasLength(2)); | 365 unittest.expect(o, unittest.hasLength(2)); |
366 checkBackendRule(o[0]); | 366 checkBackendRule(o[0]); |
367 checkBackendRule(o[1]); | 367 checkBackendRule(o[1]); |
368 } | 368 } |
369 | 369 |
370 core.int buildCounterBackend = 0; | 370 core.int buildCounterBackend = 0; |
371 buildBackend() { | 371 buildBackend() { |
372 var o = new api.Backend(); | 372 var o = new api.Backend(); |
373 buildCounterBackend++; | 373 buildCounterBackend++; |
374 if (buildCounterBackend < 3) { | 374 if (buildCounterBackend < 3) { |
375 o.rules = buildUnnamed1006(); | 375 o.rules = buildUnnamed1013(); |
376 } | 376 } |
377 buildCounterBackend--; | 377 buildCounterBackend--; |
378 return o; | 378 return o; |
379 } | 379 } |
380 | 380 |
381 checkBackend(api.Backend o) { | 381 checkBackend(api.Backend o) { |
382 buildCounterBackend++; | 382 buildCounterBackend++; |
383 if (buildCounterBackend < 3) { | 383 if (buildCounterBackend < 3) { |
384 checkUnnamed1006(o.rules); | 384 checkUnnamed1013(o.rules); |
385 } | 385 } |
386 buildCounterBackend--; | 386 buildCounterBackend--; |
387 } | 387 } |
388 | 388 |
389 core.int buildCounterBackendRule = 0; | 389 core.int buildCounterBackendRule = 0; |
390 buildBackendRule() { | 390 buildBackendRule() { |
391 var o = new api.BackendRule(); | 391 var o = new api.BackendRule(); |
392 buildCounterBackendRule++; | 392 buildCounterBackendRule++; |
393 if (buildCounterBackendRule < 3) { | 393 if (buildCounterBackendRule < 3) { |
394 o.address = "foo"; | 394 o.address = "foo"; |
395 o.deadline = 42.0; | 395 o.deadline = 42.0; |
396 o.selector = "foo"; | 396 o.selector = "foo"; |
397 } | 397 } |
398 buildCounterBackendRule--; | 398 buildCounterBackendRule--; |
399 return o; | 399 return o; |
400 } | 400 } |
401 | 401 |
402 checkBackendRule(api.BackendRule o) { | 402 checkBackendRule(api.BackendRule o) { |
403 buildCounterBackendRule++; | 403 buildCounterBackendRule++; |
404 if (buildCounterBackendRule < 3) { | 404 if (buildCounterBackendRule < 3) { |
405 unittest.expect(o.address, unittest.equals('foo')); | 405 unittest.expect(o.address, unittest.equals('foo')); |
406 unittest.expect(o.deadline, unittest.equals(42.0)); | 406 unittest.expect(o.deadline, unittest.equals(42.0)); |
407 unittest.expect(o.selector, unittest.equals('foo')); | 407 unittest.expect(o.selector, unittest.equals('foo')); |
408 } | 408 } |
409 buildCounterBackendRule--; | 409 buildCounterBackendRule--; |
410 } | 410 } |
411 | 411 |
412 buildUnnamed1007() { | 412 buildUnnamed1014() { |
413 var o = new core.List<core.String>(); | 413 var o = new core.List<core.String>(); |
414 o.add("foo"); | 414 o.add("foo"); |
415 o.add("foo"); | 415 o.add("foo"); |
416 return o; | 416 return o; |
417 } | 417 } |
418 | 418 |
419 checkUnnamed1007(core.List<core.String> o) { | 419 checkUnnamed1014(core.List<core.String> o) { |
420 unittest.expect(o, unittest.hasLength(2)); | 420 unittest.expect(o, unittest.hasLength(2)); |
421 unittest.expect(o[0], unittest.equals('foo')); | 421 unittest.expect(o[0], unittest.equals('foo')); |
422 unittest.expect(o[1], unittest.equals('foo')); | 422 unittest.expect(o[1], unittest.equals('foo')); |
423 } | 423 } |
424 | 424 |
425 core.int buildCounterBinding = 0; | 425 core.int buildCounterBinding = 0; |
426 buildBinding() { | 426 buildBinding() { |
427 var o = new api.Binding(); | 427 var o = new api.Binding(); |
428 buildCounterBinding++; | 428 buildCounterBinding++; |
429 if (buildCounterBinding < 3) { | 429 if (buildCounterBinding < 3) { |
430 o.members = buildUnnamed1007(); | 430 o.members = buildUnnamed1014(); |
431 o.role = "foo"; | 431 o.role = "foo"; |
432 } | 432 } |
433 buildCounterBinding--; | 433 buildCounterBinding--; |
434 return o; | 434 return o; |
435 } | 435 } |
436 | 436 |
437 checkBinding(api.Binding o) { | 437 checkBinding(api.Binding o) { |
438 buildCounterBinding++; | 438 buildCounterBinding++; |
439 if (buildCounterBinding < 3) { | 439 if (buildCounterBinding < 3) { |
440 checkUnnamed1007(o.members); | 440 checkUnnamed1014(o.members); |
441 unittest.expect(o.role, unittest.equals('foo')); | 441 unittest.expect(o.role, unittest.equals('foo')); |
442 } | 442 } |
443 buildCounterBinding--; | 443 buildCounterBinding--; |
444 } | 444 } |
445 | 445 |
446 buildUnnamed1008() { | 446 buildUnnamed1015() { |
447 var o = new core.List<api.ConfigChange>(); | 447 var o = new core.List<api.ConfigChange>(); |
448 o.add(buildConfigChange()); | 448 o.add(buildConfigChange()); |
449 o.add(buildConfigChange()); | 449 o.add(buildConfigChange()); |
450 return o; | 450 return o; |
451 } | 451 } |
452 | 452 |
453 checkUnnamed1008(core.List<api.ConfigChange> o) { | 453 checkUnnamed1015(core.List<api.ConfigChange> o) { |
454 unittest.expect(o, unittest.hasLength(2)); | 454 unittest.expect(o, unittest.hasLength(2)); |
455 checkConfigChange(o[0]); | 455 checkConfigChange(o[0]); |
456 checkConfigChange(o[1]); | 456 checkConfigChange(o[1]); |
457 } | 457 } |
458 | 458 |
459 core.int buildCounterChangeReport = 0; | 459 core.int buildCounterChangeReport = 0; |
460 buildChangeReport() { | 460 buildChangeReport() { |
461 var o = new api.ChangeReport(); | 461 var o = new api.ChangeReport(); |
462 buildCounterChangeReport++; | 462 buildCounterChangeReport++; |
463 if (buildCounterChangeReport < 3) { | 463 if (buildCounterChangeReport < 3) { |
464 o.configChanges = buildUnnamed1008(); | 464 o.configChanges = buildUnnamed1015(); |
465 } | 465 } |
466 buildCounterChangeReport--; | 466 buildCounterChangeReport--; |
467 return o; | 467 return o; |
468 } | 468 } |
469 | 469 |
470 checkChangeReport(api.ChangeReport o) { | 470 checkChangeReport(api.ChangeReport o) { |
471 buildCounterChangeReport++; | 471 buildCounterChangeReport++; |
472 if (buildCounterChangeReport < 3) { | 472 if (buildCounterChangeReport < 3) { |
473 checkUnnamed1008(o.configChanges); | 473 checkUnnamed1015(o.configChanges); |
474 } | 474 } |
475 buildCounterChangeReport--; | 475 buildCounterChangeReport--; |
476 } | 476 } |
477 | 477 |
478 core.int buildCounterCloudAuditOptions = 0; | 478 core.int buildCounterCloudAuditOptions = 0; |
479 buildCloudAuditOptions() { | 479 buildCloudAuditOptions() { |
480 var o = new api.CloudAuditOptions(); | 480 var o = new api.CloudAuditOptions(); |
481 buildCounterCloudAuditOptions++; | 481 buildCounterCloudAuditOptions++; |
482 if (buildCounterCloudAuditOptions < 3) { | 482 if (buildCounterCloudAuditOptions < 3) { |
483 } | 483 } |
484 buildCounterCloudAuditOptions--; | 484 buildCounterCloudAuditOptions--; |
485 return o; | 485 return o; |
486 } | 486 } |
487 | 487 |
488 checkCloudAuditOptions(api.CloudAuditOptions o) { | 488 checkCloudAuditOptions(api.CloudAuditOptions o) { |
489 buildCounterCloudAuditOptions++; | 489 buildCounterCloudAuditOptions++; |
490 if (buildCounterCloudAuditOptions < 3) { | 490 if (buildCounterCloudAuditOptions < 3) { |
491 } | 491 } |
492 buildCounterCloudAuditOptions--; | 492 buildCounterCloudAuditOptions--; |
493 } | 493 } |
494 | 494 |
495 buildUnnamed1009() { | 495 buildUnnamed1016() { |
496 var o = new core.List<core.String>(); | 496 var o = new core.List<core.String>(); |
497 o.add("foo"); | 497 o.add("foo"); |
498 o.add("foo"); | 498 o.add("foo"); |
499 return o; | 499 return o; |
500 } | 500 } |
501 | 501 |
502 checkUnnamed1009(core.List<core.String> o) { | 502 checkUnnamed1016(core.List<core.String> o) { |
503 unittest.expect(o, unittest.hasLength(2)); | 503 unittest.expect(o, unittest.hasLength(2)); |
504 unittest.expect(o[0], unittest.equals('foo')); | 504 unittest.expect(o[0], unittest.equals('foo')); |
505 unittest.expect(o[1], unittest.equals('foo')); | 505 unittest.expect(o[1], unittest.equals('foo')); |
506 } | 506 } |
507 | 507 |
508 core.int buildCounterCondition = 0; | 508 core.int buildCounterCondition = 0; |
509 buildCondition() { | 509 buildCondition() { |
510 var o = new api.Condition(); | 510 var o = new api.Condition(); |
511 buildCounterCondition++; | 511 buildCounterCondition++; |
512 if (buildCounterCondition < 3) { | 512 if (buildCounterCondition < 3) { |
513 o.iam = "foo"; | 513 o.iam = "foo"; |
514 o.op = "foo"; | 514 o.op = "foo"; |
515 o.svc = "foo"; | 515 o.svc = "foo"; |
516 o.sys = "foo"; | 516 o.sys = "foo"; |
517 o.value = "foo"; | 517 o.value = "foo"; |
518 o.values = buildUnnamed1009(); | 518 o.values = buildUnnamed1016(); |
519 } | 519 } |
520 buildCounterCondition--; | 520 buildCounterCondition--; |
521 return o; | 521 return o; |
522 } | 522 } |
523 | 523 |
524 checkCondition(api.Condition o) { | 524 checkCondition(api.Condition o) { |
525 buildCounterCondition++; | 525 buildCounterCondition++; |
526 if (buildCounterCondition < 3) { | 526 if (buildCounterCondition < 3) { |
527 unittest.expect(o.iam, unittest.equals('foo')); | 527 unittest.expect(o.iam, unittest.equals('foo')); |
528 unittest.expect(o.op, unittest.equals('foo')); | 528 unittest.expect(o.op, unittest.equals('foo')); |
529 unittest.expect(o.svc, unittest.equals('foo')); | 529 unittest.expect(o.svc, unittest.equals('foo')); |
530 unittest.expect(o.sys, unittest.equals('foo')); | 530 unittest.expect(o.sys, unittest.equals('foo')); |
531 unittest.expect(o.value, unittest.equals('foo')); | 531 unittest.expect(o.value, unittest.equals('foo')); |
532 checkUnnamed1009(o.values); | 532 checkUnnamed1016(o.values); |
533 } | 533 } |
534 buildCounterCondition--; | 534 buildCounterCondition--; |
535 } | 535 } |
536 | 536 |
537 buildUnnamed1010() { | 537 buildUnnamed1017() { |
538 var o = new core.List<api.Advice>(); | 538 var o = new core.List<api.Advice>(); |
539 o.add(buildAdvice()); | 539 o.add(buildAdvice()); |
540 o.add(buildAdvice()); | 540 o.add(buildAdvice()); |
541 return o; | 541 return o; |
542 } | 542 } |
543 | 543 |
544 checkUnnamed1010(core.List<api.Advice> o) { | 544 checkUnnamed1017(core.List<api.Advice> o) { |
545 unittest.expect(o, unittest.hasLength(2)); | 545 unittest.expect(o, unittest.hasLength(2)); |
546 checkAdvice(o[0]); | 546 checkAdvice(o[0]); |
547 checkAdvice(o[1]); | 547 checkAdvice(o[1]); |
548 } | 548 } |
549 | 549 |
550 core.int buildCounterConfigChange = 0; | 550 core.int buildCounterConfigChange = 0; |
551 buildConfigChange() { | 551 buildConfigChange() { |
552 var o = new api.ConfigChange(); | 552 var o = new api.ConfigChange(); |
553 buildCounterConfigChange++; | 553 buildCounterConfigChange++; |
554 if (buildCounterConfigChange < 3) { | 554 if (buildCounterConfigChange < 3) { |
555 o.advices = buildUnnamed1010(); | 555 o.advices = buildUnnamed1017(); |
556 o.changeType = "foo"; | 556 o.changeType = "foo"; |
557 o.element = "foo"; | 557 o.element = "foo"; |
558 o.newValue = "foo"; | 558 o.newValue = "foo"; |
559 o.oldValue = "foo"; | 559 o.oldValue = "foo"; |
560 } | 560 } |
561 buildCounterConfigChange--; | 561 buildCounterConfigChange--; |
562 return o; | 562 return o; |
563 } | 563 } |
564 | 564 |
565 checkConfigChange(api.ConfigChange o) { | 565 checkConfigChange(api.ConfigChange o) { |
566 buildCounterConfigChange++; | 566 buildCounterConfigChange++; |
567 if (buildCounterConfigChange < 3) { | 567 if (buildCounterConfigChange < 3) { |
568 checkUnnamed1010(o.advices); | 568 checkUnnamed1017(o.advices); |
569 unittest.expect(o.changeType, unittest.equals('foo')); | 569 unittest.expect(o.changeType, unittest.equals('foo')); |
570 unittest.expect(o.element, unittest.equals('foo')); | 570 unittest.expect(o.element, unittest.equals('foo')); |
571 unittest.expect(o.newValue, unittest.equals('foo')); | 571 unittest.expect(o.newValue, unittest.equals('foo')); |
572 unittest.expect(o.oldValue, unittest.equals('foo')); | 572 unittest.expect(o.oldValue, unittest.equals('foo')); |
573 } | 573 } |
574 buildCounterConfigChange--; | 574 buildCounterConfigChange--; |
575 } | 575 } |
576 | 576 |
577 core.int buildCounterConfigFile = 0; | 577 core.int buildCounterConfigFile = 0; |
578 buildConfigFile() { | 578 buildConfigFile() { |
(...skipping 30 matching lines...) Expand all Loading... |
609 } | 609 } |
610 | 610 |
611 checkConfigRef(api.ConfigRef o) { | 611 checkConfigRef(api.ConfigRef o) { |
612 buildCounterConfigRef++; | 612 buildCounterConfigRef++; |
613 if (buildCounterConfigRef < 3) { | 613 if (buildCounterConfigRef < 3) { |
614 unittest.expect(o.name, unittest.equals('foo')); | 614 unittest.expect(o.name, unittest.equals('foo')); |
615 } | 615 } |
616 buildCounterConfigRef--; | 616 buildCounterConfigRef--; |
617 } | 617 } |
618 | 618 |
619 buildUnnamed1011() { | 619 buildUnnamed1018() { |
620 var o = new core.List<api.ConfigFile>(); | 620 var o = new core.List<api.ConfigFile>(); |
621 o.add(buildConfigFile()); | 621 o.add(buildConfigFile()); |
622 o.add(buildConfigFile()); | 622 o.add(buildConfigFile()); |
623 return o; | 623 return o; |
624 } | 624 } |
625 | 625 |
626 checkUnnamed1011(core.List<api.ConfigFile> o) { | 626 checkUnnamed1018(core.List<api.ConfigFile> o) { |
627 unittest.expect(o, unittest.hasLength(2)); | 627 unittest.expect(o, unittest.hasLength(2)); |
628 checkConfigFile(o[0]); | 628 checkConfigFile(o[0]); |
629 checkConfigFile(o[1]); | 629 checkConfigFile(o[1]); |
630 } | 630 } |
631 | 631 |
632 core.int buildCounterConfigSource = 0; | 632 core.int buildCounterConfigSource = 0; |
633 buildConfigSource() { | 633 buildConfigSource() { |
634 var o = new api.ConfigSource(); | 634 var o = new api.ConfigSource(); |
635 buildCounterConfigSource++; | 635 buildCounterConfigSource++; |
636 if (buildCounterConfigSource < 3) { | 636 if (buildCounterConfigSource < 3) { |
637 o.files = buildUnnamed1011(); | 637 o.files = buildUnnamed1018(); |
638 o.id = "foo"; | 638 o.id = "foo"; |
639 } | 639 } |
640 buildCounterConfigSource--; | 640 buildCounterConfigSource--; |
641 return o; | 641 return o; |
642 } | 642 } |
643 | 643 |
644 checkConfigSource(api.ConfigSource o) { | 644 checkConfigSource(api.ConfigSource o) { |
645 buildCounterConfigSource++; | 645 buildCounterConfigSource++; |
646 if (buildCounterConfigSource < 3) { | 646 if (buildCounterConfigSource < 3) { |
647 checkUnnamed1011(o.files); | 647 checkUnnamed1018(o.files); |
648 unittest.expect(o.id, unittest.equals('foo')); | 648 unittest.expect(o.id, unittest.equals('foo')); |
649 } | 649 } |
650 buildCounterConfigSource--; | 650 buildCounterConfigSource--; |
651 } | 651 } |
652 | 652 |
653 buildUnnamed1012() { | 653 buildUnnamed1019() { |
654 var o = new core.List<api.ContextRule>(); | 654 var o = new core.List<api.ContextRule>(); |
655 o.add(buildContextRule()); | 655 o.add(buildContextRule()); |
656 o.add(buildContextRule()); | 656 o.add(buildContextRule()); |
657 return o; | 657 return o; |
658 } | 658 } |
659 | 659 |
660 checkUnnamed1012(core.List<api.ContextRule> o) { | 660 checkUnnamed1019(core.List<api.ContextRule> o) { |
661 unittest.expect(o, unittest.hasLength(2)); | 661 unittest.expect(o, unittest.hasLength(2)); |
662 checkContextRule(o[0]); | 662 checkContextRule(o[0]); |
663 checkContextRule(o[1]); | 663 checkContextRule(o[1]); |
664 } | 664 } |
665 | 665 |
666 core.int buildCounterContext = 0; | 666 core.int buildCounterContext = 0; |
667 buildContext() { | 667 buildContext() { |
668 var o = new api.Context(); | 668 var o = new api.Context(); |
669 buildCounterContext++; | 669 buildCounterContext++; |
670 if (buildCounterContext < 3) { | 670 if (buildCounterContext < 3) { |
671 o.rules = buildUnnamed1012(); | 671 o.rules = buildUnnamed1019(); |
672 } | 672 } |
673 buildCounterContext--; | 673 buildCounterContext--; |
674 return o; | 674 return o; |
675 } | 675 } |
676 | 676 |
677 checkContext(api.Context o) { | 677 checkContext(api.Context o) { |
678 buildCounterContext++; | 678 buildCounterContext++; |
679 if (buildCounterContext < 3) { | 679 if (buildCounterContext < 3) { |
680 checkUnnamed1012(o.rules); | 680 checkUnnamed1019(o.rules); |
681 } | 681 } |
682 buildCounterContext--; | 682 buildCounterContext--; |
683 } | 683 } |
684 | 684 |
685 buildUnnamed1013() { | 685 buildUnnamed1020() { |
686 var o = new core.List<core.String>(); | 686 var o = new core.List<core.String>(); |
687 o.add("foo"); | 687 o.add("foo"); |
688 o.add("foo"); | 688 o.add("foo"); |
689 return o; | 689 return o; |
690 } | 690 } |
691 | 691 |
692 checkUnnamed1013(core.List<core.String> o) { | 692 checkUnnamed1020(core.List<core.String> o) { |
693 unittest.expect(o, unittest.hasLength(2)); | 693 unittest.expect(o, unittest.hasLength(2)); |
694 unittest.expect(o[0], unittest.equals('foo')); | 694 unittest.expect(o[0], unittest.equals('foo')); |
695 unittest.expect(o[1], unittest.equals('foo')); | 695 unittest.expect(o[1], unittest.equals('foo')); |
696 } | 696 } |
697 | 697 |
698 buildUnnamed1014() { | 698 buildUnnamed1021() { |
699 var o = new core.List<core.String>(); | 699 var o = new core.List<core.String>(); |
700 o.add("foo"); | 700 o.add("foo"); |
701 o.add("foo"); | 701 o.add("foo"); |
702 return o; | 702 return o; |
703 } | 703 } |
704 | 704 |
705 checkUnnamed1014(core.List<core.String> o) { | 705 checkUnnamed1021(core.List<core.String> o) { |
706 unittest.expect(o, unittest.hasLength(2)); | 706 unittest.expect(o, unittest.hasLength(2)); |
707 unittest.expect(o[0], unittest.equals('foo')); | 707 unittest.expect(o[0], unittest.equals('foo')); |
708 unittest.expect(o[1], unittest.equals('foo')); | 708 unittest.expect(o[1], unittest.equals('foo')); |
709 } | 709 } |
710 | 710 |
711 core.int buildCounterContextRule = 0; | 711 core.int buildCounterContextRule = 0; |
712 buildContextRule() { | 712 buildContextRule() { |
713 var o = new api.ContextRule(); | 713 var o = new api.ContextRule(); |
714 buildCounterContextRule++; | 714 buildCounterContextRule++; |
715 if (buildCounterContextRule < 3) { | 715 if (buildCounterContextRule < 3) { |
716 o.provided = buildUnnamed1013(); | 716 o.provided = buildUnnamed1020(); |
717 o.requested = buildUnnamed1014(); | 717 o.requested = buildUnnamed1021(); |
718 o.selector = "foo"; | 718 o.selector = "foo"; |
719 } | 719 } |
720 buildCounterContextRule--; | 720 buildCounterContextRule--; |
721 return o; | 721 return o; |
722 } | 722 } |
723 | 723 |
724 checkContextRule(api.ContextRule o) { | 724 checkContextRule(api.ContextRule o) { |
725 buildCounterContextRule++; | 725 buildCounterContextRule++; |
726 if (buildCounterContextRule < 3) { | 726 if (buildCounterContextRule < 3) { |
727 checkUnnamed1013(o.provided); | 727 checkUnnamed1020(o.provided); |
728 checkUnnamed1014(o.requested); | 728 checkUnnamed1021(o.requested); |
729 unittest.expect(o.selector, unittest.equals('foo')); | 729 unittest.expect(o.selector, unittest.equals('foo')); |
730 } | 730 } |
731 buildCounterContextRule--; | 731 buildCounterContextRule--; |
732 } | 732 } |
733 | 733 |
734 core.int buildCounterControl = 0; | 734 core.int buildCounterControl = 0; |
735 buildControl() { | 735 buildControl() { |
736 var o = new api.Control(); | 736 var o = new api.Control(); |
737 buildCounterControl++; | 737 buildCounterControl++; |
738 if (buildCounterControl < 3) { | 738 if (buildCounterControl < 3) { |
(...skipping 25 matching lines...) Expand all Loading... |
764 | 764 |
765 checkCounterOptions(api.CounterOptions o) { | 765 checkCounterOptions(api.CounterOptions o) { |
766 buildCounterCounterOptions++; | 766 buildCounterCounterOptions++; |
767 if (buildCounterCounterOptions < 3) { | 767 if (buildCounterCounterOptions < 3) { |
768 unittest.expect(o.field, unittest.equals('foo')); | 768 unittest.expect(o.field, unittest.equals('foo')); |
769 unittest.expect(o.metric, unittest.equals('foo')); | 769 unittest.expect(o.metric, unittest.equals('foo')); |
770 } | 770 } |
771 buildCounterCounterOptions--; | 771 buildCounterCounterOptions--; |
772 } | 772 } |
773 | 773 |
774 buildUnnamed1015() { | 774 buildUnnamed1022() { |
775 var o = new core.List<api.CustomErrorRule>(); | 775 var o = new core.List<api.CustomErrorRule>(); |
776 o.add(buildCustomErrorRule()); | 776 o.add(buildCustomErrorRule()); |
777 o.add(buildCustomErrorRule()); | 777 o.add(buildCustomErrorRule()); |
778 return o; | 778 return o; |
779 } | 779 } |
780 | 780 |
781 checkUnnamed1015(core.List<api.CustomErrorRule> o) { | 781 checkUnnamed1022(core.List<api.CustomErrorRule> o) { |
782 unittest.expect(o, unittest.hasLength(2)); | 782 unittest.expect(o, unittest.hasLength(2)); |
783 checkCustomErrorRule(o[0]); | 783 checkCustomErrorRule(o[0]); |
784 checkCustomErrorRule(o[1]); | 784 checkCustomErrorRule(o[1]); |
785 } | 785 } |
786 | 786 |
787 buildUnnamed1016() { | 787 buildUnnamed1023() { |
788 var o = new core.List<core.String>(); | 788 var o = new core.List<core.String>(); |
789 o.add("foo"); | 789 o.add("foo"); |
790 o.add("foo"); | 790 o.add("foo"); |
791 return o; | 791 return o; |
792 } | 792 } |
793 | 793 |
794 checkUnnamed1016(core.List<core.String> o) { | 794 checkUnnamed1023(core.List<core.String> o) { |
795 unittest.expect(o, unittest.hasLength(2)); | 795 unittest.expect(o, unittest.hasLength(2)); |
796 unittest.expect(o[0], unittest.equals('foo')); | 796 unittest.expect(o[0], unittest.equals('foo')); |
797 unittest.expect(o[1], unittest.equals('foo')); | 797 unittest.expect(o[1], unittest.equals('foo')); |
798 } | 798 } |
799 | 799 |
800 core.int buildCounterCustomError = 0; | 800 core.int buildCounterCustomError = 0; |
801 buildCustomError() { | 801 buildCustomError() { |
802 var o = new api.CustomError(); | 802 var o = new api.CustomError(); |
803 buildCounterCustomError++; | 803 buildCounterCustomError++; |
804 if (buildCounterCustomError < 3) { | 804 if (buildCounterCustomError < 3) { |
805 o.rules = buildUnnamed1015(); | 805 o.rules = buildUnnamed1022(); |
806 o.types = buildUnnamed1016(); | 806 o.types = buildUnnamed1023(); |
807 } | 807 } |
808 buildCounterCustomError--; | 808 buildCounterCustomError--; |
809 return o; | 809 return o; |
810 } | 810 } |
811 | 811 |
812 checkCustomError(api.CustomError o) { | 812 checkCustomError(api.CustomError o) { |
813 buildCounterCustomError++; | 813 buildCounterCustomError++; |
814 if (buildCounterCustomError < 3) { | 814 if (buildCounterCustomError < 3) { |
815 checkUnnamed1015(o.rules); | 815 checkUnnamed1022(o.rules); |
816 checkUnnamed1016(o.types); | 816 checkUnnamed1023(o.types); |
817 } | 817 } |
818 buildCounterCustomError--; | 818 buildCounterCustomError--; |
819 } | 819 } |
820 | 820 |
821 core.int buildCounterCustomErrorRule = 0; | 821 core.int buildCounterCustomErrorRule = 0; |
822 buildCustomErrorRule() { | 822 buildCustomErrorRule() { |
823 var o = new api.CustomErrorRule(); | 823 var o = new api.CustomErrorRule(); |
824 buildCounterCustomErrorRule++; | 824 buildCounterCustomErrorRule++; |
825 if (buildCounterCustomErrorRule < 3) { | 825 if (buildCounterCustomErrorRule < 3) { |
826 o.isErrorType = true; | 826 o.isErrorType = true; |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
929 } | 929 } |
930 | 930 |
931 checkDisableServiceRequest(api.DisableServiceRequest o) { | 931 checkDisableServiceRequest(api.DisableServiceRequest o) { |
932 buildCounterDisableServiceRequest++; | 932 buildCounterDisableServiceRequest++; |
933 if (buildCounterDisableServiceRequest < 3) { | 933 if (buildCounterDisableServiceRequest < 3) { |
934 unittest.expect(o.consumerId, unittest.equals('foo')); | 934 unittest.expect(o.consumerId, unittest.equals('foo')); |
935 } | 935 } |
936 buildCounterDisableServiceRequest--; | 936 buildCounterDisableServiceRequest--; |
937 } | 937 } |
938 | 938 |
939 buildUnnamed1017() { | 939 buildUnnamed1024() { |
940 var o = new core.List<api.Page>(); | 940 var o = new core.List<api.Page>(); |
941 o.add(buildPage()); | 941 o.add(buildPage()); |
942 o.add(buildPage()); | 942 o.add(buildPage()); |
943 return o; | 943 return o; |
944 } | 944 } |
945 | 945 |
946 checkUnnamed1017(core.List<api.Page> o) { | 946 checkUnnamed1024(core.List<api.Page> o) { |
947 unittest.expect(o, unittest.hasLength(2)); | 947 unittest.expect(o, unittest.hasLength(2)); |
948 checkPage(o[0]); | 948 checkPage(o[0]); |
949 checkPage(o[1]); | 949 checkPage(o[1]); |
950 } | 950 } |
951 | 951 |
952 buildUnnamed1018() { | 952 buildUnnamed1025() { |
953 var o = new core.List<api.DocumentationRule>(); | 953 var o = new core.List<api.DocumentationRule>(); |
954 o.add(buildDocumentationRule()); | 954 o.add(buildDocumentationRule()); |
955 o.add(buildDocumentationRule()); | 955 o.add(buildDocumentationRule()); |
956 return o; | 956 return o; |
957 } | 957 } |
958 | 958 |
959 checkUnnamed1018(core.List<api.DocumentationRule> o) { | 959 checkUnnamed1025(core.List<api.DocumentationRule> o) { |
960 unittest.expect(o, unittest.hasLength(2)); | 960 unittest.expect(o, unittest.hasLength(2)); |
961 checkDocumentationRule(o[0]); | 961 checkDocumentationRule(o[0]); |
962 checkDocumentationRule(o[1]); | 962 checkDocumentationRule(o[1]); |
963 } | 963 } |
964 | 964 |
965 core.int buildCounterDocumentation = 0; | 965 core.int buildCounterDocumentation = 0; |
966 buildDocumentation() { | 966 buildDocumentation() { |
967 var o = new api.Documentation(); | 967 var o = new api.Documentation(); |
968 buildCounterDocumentation++; | 968 buildCounterDocumentation++; |
969 if (buildCounterDocumentation < 3) { | 969 if (buildCounterDocumentation < 3) { |
970 o.documentationRootUrl = "foo"; | 970 o.documentationRootUrl = "foo"; |
971 o.overview = "foo"; | 971 o.overview = "foo"; |
972 o.pages = buildUnnamed1017(); | 972 o.pages = buildUnnamed1024(); |
973 o.rules = buildUnnamed1018(); | 973 o.rules = buildUnnamed1025(); |
974 o.summary = "foo"; | 974 o.summary = "foo"; |
975 } | 975 } |
976 buildCounterDocumentation--; | 976 buildCounterDocumentation--; |
977 return o; | 977 return o; |
978 } | 978 } |
979 | 979 |
980 checkDocumentation(api.Documentation o) { | 980 checkDocumentation(api.Documentation o) { |
981 buildCounterDocumentation++; | 981 buildCounterDocumentation++; |
982 if (buildCounterDocumentation < 3) { | 982 if (buildCounterDocumentation < 3) { |
983 unittest.expect(o.documentationRootUrl, unittest.equals('foo')); | 983 unittest.expect(o.documentationRootUrl, unittest.equals('foo')); |
984 unittest.expect(o.overview, unittest.equals('foo')); | 984 unittest.expect(o.overview, unittest.equals('foo')); |
985 checkUnnamed1017(o.pages); | 985 checkUnnamed1024(o.pages); |
986 checkUnnamed1018(o.rules); | 986 checkUnnamed1025(o.rules); |
987 unittest.expect(o.summary, unittest.equals('foo')); | 987 unittest.expect(o.summary, unittest.equals('foo')); |
988 } | 988 } |
989 buildCounterDocumentation--; | 989 buildCounterDocumentation--; |
990 } | 990 } |
991 | 991 |
992 core.int buildCounterDocumentationRule = 0; | 992 core.int buildCounterDocumentationRule = 0; |
993 buildDocumentationRule() { | 993 buildDocumentationRule() { |
994 var o = new api.DocumentationRule(); | 994 var o = new api.DocumentationRule(); |
995 buildCounterDocumentationRule++; | 995 buildCounterDocumentationRule++; |
996 if (buildCounterDocumentationRule < 3) { | 996 if (buildCounterDocumentationRule < 3) { |
(...skipping 27 matching lines...) Expand all Loading... |
1024 } | 1024 } |
1025 | 1025 |
1026 checkEnableServiceRequest(api.EnableServiceRequest o) { | 1026 checkEnableServiceRequest(api.EnableServiceRequest o) { |
1027 buildCounterEnableServiceRequest++; | 1027 buildCounterEnableServiceRequest++; |
1028 if (buildCounterEnableServiceRequest < 3) { | 1028 if (buildCounterEnableServiceRequest < 3) { |
1029 unittest.expect(o.consumerId, unittest.equals('foo')); | 1029 unittest.expect(o.consumerId, unittest.equals('foo')); |
1030 } | 1030 } |
1031 buildCounterEnableServiceRequest--; | 1031 buildCounterEnableServiceRequest--; |
1032 } | 1032 } |
1033 | 1033 |
1034 buildUnnamed1019() { | 1034 buildUnnamed1026() { |
1035 var o = new core.List<core.String>(); | 1035 var o = new core.List<core.String>(); |
1036 o.add("foo"); | 1036 o.add("foo"); |
1037 o.add("foo"); | 1037 o.add("foo"); |
1038 return o; | 1038 return o; |
1039 } | 1039 } |
1040 | 1040 |
1041 checkUnnamed1019(core.List<core.String> o) { | 1041 checkUnnamed1026(core.List<core.String> o) { |
1042 unittest.expect(o, unittest.hasLength(2)); | 1042 unittest.expect(o, unittest.hasLength(2)); |
1043 unittest.expect(o[0], unittest.equals('foo')); | 1043 unittest.expect(o[0], unittest.equals('foo')); |
1044 unittest.expect(o[1], unittest.equals('foo')); | 1044 unittest.expect(o[1], unittest.equals('foo')); |
1045 } | 1045 } |
1046 | 1046 |
1047 buildUnnamed1020() { | 1047 buildUnnamed1027() { |
1048 var o = new core.List<core.String>(); | 1048 var o = new core.List<core.String>(); |
1049 o.add("foo"); | 1049 o.add("foo"); |
1050 o.add("foo"); | 1050 o.add("foo"); |
1051 return o; | 1051 return o; |
1052 } | 1052 } |
1053 | 1053 |
1054 checkUnnamed1020(core.List<core.String> o) { | 1054 checkUnnamed1027(core.List<core.String> o) { |
1055 unittest.expect(o, unittest.hasLength(2)); | 1055 unittest.expect(o, unittest.hasLength(2)); |
1056 unittest.expect(o[0], unittest.equals('foo')); | 1056 unittest.expect(o[0], unittest.equals('foo')); |
1057 unittest.expect(o[1], unittest.equals('foo')); | 1057 unittest.expect(o[1], unittest.equals('foo')); |
1058 } | 1058 } |
1059 | 1059 |
1060 buildUnnamed1021() { | 1060 buildUnnamed1028() { |
1061 var o = new core.List<core.String>(); | 1061 var o = new core.List<core.String>(); |
1062 o.add("foo"); | 1062 o.add("foo"); |
1063 o.add("foo"); | 1063 o.add("foo"); |
1064 return o; | 1064 return o; |
1065 } | 1065 } |
1066 | 1066 |
1067 checkUnnamed1021(core.List<core.String> o) { | 1067 checkUnnamed1028(core.List<core.String> o) { |
1068 unittest.expect(o, unittest.hasLength(2)); | 1068 unittest.expect(o, unittest.hasLength(2)); |
1069 unittest.expect(o[0], unittest.equals('foo')); | 1069 unittest.expect(o[0], unittest.equals('foo')); |
1070 unittest.expect(o[1], unittest.equals('foo')); | 1070 unittest.expect(o[1], unittest.equals('foo')); |
1071 } | 1071 } |
1072 | 1072 |
1073 core.int buildCounterEndpoint = 0; | 1073 core.int buildCounterEndpoint = 0; |
1074 buildEndpoint() { | 1074 buildEndpoint() { |
1075 var o = new api.Endpoint(); | 1075 var o = new api.Endpoint(); |
1076 buildCounterEndpoint++; | 1076 buildCounterEndpoint++; |
1077 if (buildCounterEndpoint < 3) { | 1077 if (buildCounterEndpoint < 3) { |
1078 o.aliases = buildUnnamed1019(); | 1078 o.aliases = buildUnnamed1026(); |
1079 o.allowCors = true; | 1079 o.allowCors = true; |
1080 o.apis = buildUnnamed1020(); | 1080 o.apis = buildUnnamed1027(); |
1081 o.features = buildUnnamed1021(); | 1081 o.features = buildUnnamed1028(); |
1082 o.name = "foo"; | 1082 o.name = "foo"; |
1083 } | 1083 } |
1084 buildCounterEndpoint--; | 1084 buildCounterEndpoint--; |
1085 return o; | 1085 return o; |
1086 } | 1086 } |
1087 | 1087 |
1088 checkEndpoint(api.Endpoint o) { | 1088 checkEndpoint(api.Endpoint o) { |
1089 buildCounterEndpoint++; | 1089 buildCounterEndpoint++; |
1090 if (buildCounterEndpoint < 3) { | 1090 if (buildCounterEndpoint < 3) { |
1091 checkUnnamed1019(o.aliases); | 1091 checkUnnamed1026(o.aliases); |
1092 unittest.expect(o.allowCors, unittest.isTrue); | 1092 unittest.expect(o.allowCors, unittest.isTrue); |
1093 checkUnnamed1020(o.apis); | 1093 checkUnnamed1027(o.apis); |
1094 checkUnnamed1021(o.features); | 1094 checkUnnamed1028(o.features); |
1095 unittest.expect(o.name, unittest.equals('foo')); | 1095 unittest.expect(o.name, unittest.equals('foo')); |
1096 } | 1096 } |
1097 buildCounterEndpoint--; | 1097 buildCounterEndpoint--; |
1098 } | 1098 } |
1099 | 1099 |
1100 buildUnnamed1022() { | 1100 buildUnnamed1029() { |
1101 var o = new core.List<api.EnumValue>(); | 1101 var o = new core.List<api.EnumValue>(); |
1102 o.add(buildEnumValue()); | 1102 o.add(buildEnumValue()); |
1103 o.add(buildEnumValue()); | 1103 o.add(buildEnumValue()); |
1104 return o; | 1104 return o; |
1105 } | 1105 } |
1106 | 1106 |
1107 checkUnnamed1022(core.List<api.EnumValue> o) { | 1107 checkUnnamed1029(core.List<api.EnumValue> o) { |
1108 unittest.expect(o, unittest.hasLength(2)); | 1108 unittest.expect(o, unittest.hasLength(2)); |
1109 checkEnumValue(o[0]); | 1109 checkEnumValue(o[0]); |
1110 checkEnumValue(o[1]); | 1110 checkEnumValue(o[1]); |
1111 } | 1111 } |
1112 | 1112 |
1113 buildUnnamed1023() { | 1113 buildUnnamed1030() { |
1114 var o = new core.List<api.Option>(); | 1114 var o = new core.List<api.Option>(); |
1115 o.add(buildOption()); | 1115 o.add(buildOption()); |
1116 o.add(buildOption()); | 1116 o.add(buildOption()); |
1117 return o; | 1117 return o; |
1118 } | 1118 } |
1119 | 1119 |
1120 checkUnnamed1023(core.List<api.Option> o) { | 1120 checkUnnamed1030(core.List<api.Option> o) { |
1121 unittest.expect(o, unittest.hasLength(2)); | 1121 unittest.expect(o, unittest.hasLength(2)); |
1122 checkOption(o[0]); | 1122 checkOption(o[0]); |
1123 checkOption(o[1]); | 1123 checkOption(o[1]); |
1124 } | 1124 } |
1125 | 1125 |
1126 core.int buildCounterEnum = 0; | 1126 core.int buildCounterEnum = 0; |
1127 buildEnum() { | 1127 buildEnum() { |
1128 var o = new api.Enum(); | 1128 var o = new api.Enum(); |
1129 buildCounterEnum++; | 1129 buildCounterEnum++; |
1130 if (buildCounterEnum < 3) { | 1130 if (buildCounterEnum < 3) { |
1131 o.enumvalue = buildUnnamed1022(); | 1131 o.enumvalue = buildUnnamed1029(); |
1132 o.name = "foo"; | 1132 o.name = "foo"; |
1133 o.options = buildUnnamed1023(); | 1133 o.options = buildUnnamed1030(); |
1134 o.sourceContext = buildSourceContext(); | 1134 o.sourceContext = buildSourceContext(); |
1135 o.syntax = "foo"; | 1135 o.syntax = "foo"; |
1136 } | 1136 } |
1137 buildCounterEnum--; | 1137 buildCounterEnum--; |
1138 return o; | 1138 return o; |
1139 } | 1139 } |
1140 | 1140 |
1141 checkEnum(api.Enum o) { | 1141 checkEnum(api.Enum o) { |
1142 buildCounterEnum++; | 1142 buildCounterEnum++; |
1143 if (buildCounterEnum < 3) { | 1143 if (buildCounterEnum < 3) { |
1144 checkUnnamed1022(o.enumvalue); | 1144 checkUnnamed1029(o.enumvalue); |
1145 unittest.expect(o.name, unittest.equals('foo')); | 1145 unittest.expect(o.name, unittest.equals('foo')); |
1146 checkUnnamed1023(o.options); | 1146 checkUnnamed1030(o.options); |
1147 checkSourceContext(o.sourceContext); | 1147 checkSourceContext(o.sourceContext); |
1148 unittest.expect(o.syntax, unittest.equals('foo')); | 1148 unittest.expect(o.syntax, unittest.equals('foo')); |
1149 } | 1149 } |
1150 buildCounterEnum--; | 1150 buildCounterEnum--; |
1151 } | 1151 } |
1152 | 1152 |
1153 buildUnnamed1024() { | 1153 buildUnnamed1031() { |
1154 var o = new core.List<api.Option>(); | 1154 var o = new core.List<api.Option>(); |
1155 o.add(buildOption()); | 1155 o.add(buildOption()); |
1156 o.add(buildOption()); | 1156 o.add(buildOption()); |
1157 return o; | 1157 return o; |
1158 } | 1158 } |
1159 | 1159 |
1160 checkUnnamed1024(core.List<api.Option> o) { | 1160 checkUnnamed1031(core.List<api.Option> o) { |
1161 unittest.expect(o, unittest.hasLength(2)); | 1161 unittest.expect(o, unittest.hasLength(2)); |
1162 checkOption(o[0]); | 1162 checkOption(o[0]); |
1163 checkOption(o[1]); | 1163 checkOption(o[1]); |
1164 } | 1164 } |
1165 | 1165 |
1166 core.int buildCounterEnumValue = 0; | 1166 core.int buildCounterEnumValue = 0; |
1167 buildEnumValue() { | 1167 buildEnumValue() { |
1168 var o = new api.EnumValue(); | 1168 var o = new api.EnumValue(); |
1169 buildCounterEnumValue++; | 1169 buildCounterEnumValue++; |
1170 if (buildCounterEnumValue < 3) { | 1170 if (buildCounterEnumValue < 3) { |
1171 o.name = "foo"; | 1171 o.name = "foo"; |
1172 o.number = 42; | 1172 o.number = 42; |
1173 o.options = buildUnnamed1024(); | 1173 o.options = buildUnnamed1031(); |
1174 } | 1174 } |
1175 buildCounterEnumValue--; | 1175 buildCounterEnumValue--; |
1176 return o; | 1176 return o; |
1177 } | 1177 } |
1178 | 1178 |
1179 checkEnumValue(api.EnumValue o) { | 1179 checkEnumValue(api.EnumValue o) { |
1180 buildCounterEnumValue++; | 1180 buildCounterEnumValue++; |
1181 if (buildCounterEnumValue < 3) { | 1181 if (buildCounterEnumValue < 3) { |
1182 unittest.expect(o.name, unittest.equals('foo')); | 1182 unittest.expect(o.name, unittest.equals('foo')); |
1183 unittest.expect(o.number, unittest.equals(42)); | 1183 unittest.expect(o.number, unittest.equals(42)); |
1184 checkUnnamed1024(o.options); | 1184 checkUnnamed1031(o.options); |
1185 } | 1185 } |
1186 buildCounterEnumValue--; | 1186 buildCounterEnumValue--; |
1187 } | 1187 } |
1188 | 1188 |
1189 buildUnnamed1025() { | 1189 buildUnnamed1032() { |
1190 var o = new core.List<api.Option>(); | 1190 var o = new core.List<api.Option>(); |
1191 o.add(buildOption()); | 1191 o.add(buildOption()); |
1192 o.add(buildOption()); | 1192 o.add(buildOption()); |
1193 return o; | 1193 return o; |
1194 } | 1194 } |
1195 | 1195 |
1196 checkUnnamed1025(core.List<api.Option> o) { | 1196 checkUnnamed1032(core.List<api.Option> o) { |
1197 unittest.expect(o, unittest.hasLength(2)); | 1197 unittest.expect(o, unittest.hasLength(2)); |
1198 checkOption(o[0]); | 1198 checkOption(o[0]); |
1199 checkOption(o[1]); | 1199 checkOption(o[1]); |
1200 } | 1200 } |
1201 | 1201 |
1202 core.int buildCounterField = 0; | 1202 core.int buildCounterField = 0; |
1203 buildField() { | 1203 buildField() { |
1204 var o = new api.Field(); | 1204 var o = new api.Field(); |
1205 buildCounterField++; | 1205 buildCounterField++; |
1206 if (buildCounterField < 3) { | 1206 if (buildCounterField < 3) { |
1207 o.cardinality = "foo"; | 1207 o.cardinality = "foo"; |
1208 o.defaultValue = "foo"; | 1208 o.defaultValue = "foo"; |
1209 o.jsonName = "foo"; | 1209 o.jsonName = "foo"; |
1210 o.kind = "foo"; | 1210 o.kind = "foo"; |
1211 o.name = "foo"; | 1211 o.name = "foo"; |
1212 o.number = 42; | 1212 o.number = 42; |
1213 o.oneofIndex = 42; | 1213 o.oneofIndex = 42; |
1214 o.options = buildUnnamed1025(); | 1214 o.options = buildUnnamed1032(); |
1215 o.packed = true; | 1215 o.packed = true; |
1216 o.typeUrl = "foo"; | 1216 o.typeUrl = "foo"; |
1217 } | 1217 } |
1218 buildCounterField--; | 1218 buildCounterField--; |
1219 return o; | 1219 return o; |
1220 } | 1220 } |
1221 | 1221 |
1222 checkField(api.Field o) { | 1222 checkField(api.Field o) { |
1223 buildCounterField++; | 1223 buildCounterField++; |
1224 if (buildCounterField < 3) { | 1224 if (buildCounterField < 3) { |
1225 unittest.expect(o.cardinality, unittest.equals('foo')); | 1225 unittest.expect(o.cardinality, unittest.equals('foo')); |
1226 unittest.expect(o.defaultValue, unittest.equals('foo')); | 1226 unittest.expect(o.defaultValue, unittest.equals('foo')); |
1227 unittest.expect(o.jsonName, unittest.equals('foo')); | 1227 unittest.expect(o.jsonName, unittest.equals('foo')); |
1228 unittest.expect(o.kind, unittest.equals('foo')); | 1228 unittest.expect(o.kind, unittest.equals('foo')); |
1229 unittest.expect(o.name, unittest.equals('foo')); | 1229 unittest.expect(o.name, unittest.equals('foo')); |
1230 unittest.expect(o.number, unittest.equals(42)); | 1230 unittest.expect(o.number, unittest.equals(42)); |
1231 unittest.expect(o.oneofIndex, unittest.equals(42)); | 1231 unittest.expect(o.oneofIndex, unittest.equals(42)); |
1232 checkUnnamed1025(o.options); | 1232 checkUnnamed1032(o.options); |
1233 unittest.expect(o.packed, unittest.isTrue); | 1233 unittest.expect(o.packed, unittest.isTrue); |
1234 unittest.expect(o.typeUrl, unittest.equals('foo')); | 1234 unittest.expect(o.typeUrl, unittest.equals('foo')); |
1235 } | 1235 } |
1236 buildCounterField--; | 1236 buildCounterField--; |
1237 } | 1237 } |
1238 | 1238 |
1239 buildUnnamed1026() { | 1239 buildUnnamed1033() { |
1240 var o = new core.Map<core.String, core.Object>(); | 1240 var o = new core.Map<core.String, core.Object>(); |
1241 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1241 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1242 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1242 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1243 return o; | 1243 return o; |
1244 } | 1244 } |
1245 | 1245 |
1246 checkUnnamed1026(core.Map<core.String, core.Object> o) { | 1246 checkUnnamed1033(core.Map<core.String, core.Object> o) { |
1247 unittest.expect(o, unittest.hasLength(2)); | 1247 unittest.expect(o, unittest.hasLength(2)); |
1248 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')); | 1248 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')); |
1249 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')); | 1249 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')); |
1250 } | 1250 } |
1251 | 1251 |
1252 buildUnnamed1027() { | 1252 buildUnnamed1034() { |
1253 var o = new core.Map<core.String, core.Object>(); | 1253 var o = new core.Map<core.String, core.Object>(); |
1254 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1254 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1255 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1255 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1256 return o; | 1256 return o; |
1257 } | 1257 } |
1258 | 1258 |
1259 checkUnnamed1027(core.Map<core.String, core.Object> o) { | 1259 checkUnnamed1034(core.Map<core.String, core.Object> o) { |
1260 unittest.expect(o, unittest.hasLength(2)); | 1260 unittest.expect(o, unittest.hasLength(2)); |
1261 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')); | 1261 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')); |
1262 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')); | 1262 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')); |
1263 } | 1263 } |
1264 | 1264 |
1265 core.int buildCounterGenerateConfigReportRequest = 0; | 1265 core.int buildCounterGenerateConfigReportRequest = 0; |
1266 buildGenerateConfigReportRequest() { | 1266 buildGenerateConfigReportRequest() { |
1267 var o = new api.GenerateConfigReportRequest(); | 1267 var o = new api.GenerateConfigReportRequest(); |
1268 buildCounterGenerateConfigReportRequest++; | 1268 buildCounterGenerateConfigReportRequest++; |
1269 if (buildCounterGenerateConfigReportRequest < 3) { | 1269 if (buildCounterGenerateConfigReportRequest < 3) { |
1270 o.newConfig = buildUnnamed1026(); | 1270 o.newConfig = buildUnnamed1033(); |
1271 o.oldConfig = buildUnnamed1027(); | 1271 o.oldConfig = buildUnnamed1034(); |
1272 } | 1272 } |
1273 buildCounterGenerateConfigReportRequest--; | 1273 buildCounterGenerateConfigReportRequest--; |
1274 return o; | 1274 return o; |
1275 } | 1275 } |
1276 | 1276 |
1277 checkGenerateConfigReportRequest(api.GenerateConfigReportRequest o) { | 1277 checkGenerateConfigReportRequest(api.GenerateConfigReportRequest o) { |
1278 buildCounterGenerateConfigReportRequest++; | 1278 buildCounterGenerateConfigReportRequest++; |
1279 if (buildCounterGenerateConfigReportRequest < 3) { | 1279 if (buildCounterGenerateConfigReportRequest < 3) { |
1280 checkUnnamed1026(o.newConfig); | 1280 checkUnnamed1033(o.newConfig); |
1281 checkUnnamed1027(o.oldConfig); | 1281 checkUnnamed1034(o.oldConfig); |
1282 } | 1282 } |
1283 buildCounterGenerateConfigReportRequest--; | 1283 buildCounterGenerateConfigReportRequest--; |
1284 } | 1284 } |
1285 | 1285 |
1286 buildUnnamed1028() { | 1286 buildUnnamed1035() { |
1287 var o = new core.List<api.ChangeReport>(); | 1287 var o = new core.List<api.ChangeReport>(); |
1288 o.add(buildChangeReport()); | 1288 o.add(buildChangeReport()); |
1289 o.add(buildChangeReport()); | 1289 o.add(buildChangeReport()); |
1290 return o; | 1290 return o; |
1291 } | 1291 } |
1292 | 1292 |
1293 checkUnnamed1028(core.List<api.ChangeReport> o) { | 1293 checkUnnamed1035(core.List<api.ChangeReport> o) { |
1294 unittest.expect(o, unittest.hasLength(2)); | 1294 unittest.expect(o, unittest.hasLength(2)); |
1295 checkChangeReport(o[0]); | 1295 checkChangeReport(o[0]); |
1296 checkChangeReport(o[1]); | 1296 checkChangeReport(o[1]); |
1297 } | 1297 } |
1298 | 1298 |
1299 buildUnnamed1029() { | 1299 buildUnnamed1036() { |
1300 var o = new core.List<api.Diagnostic>(); | 1300 var o = new core.List<api.Diagnostic>(); |
1301 o.add(buildDiagnostic()); | 1301 o.add(buildDiagnostic()); |
1302 o.add(buildDiagnostic()); | 1302 o.add(buildDiagnostic()); |
1303 return o; | 1303 return o; |
1304 } | 1304 } |
1305 | 1305 |
1306 checkUnnamed1029(core.List<api.Diagnostic> o) { | 1306 checkUnnamed1036(core.List<api.Diagnostic> o) { |
1307 unittest.expect(o, unittest.hasLength(2)); | 1307 unittest.expect(o, unittest.hasLength(2)); |
1308 checkDiagnostic(o[0]); | 1308 checkDiagnostic(o[0]); |
1309 checkDiagnostic(o[1]); | 1309 checkDiagnostic(o[1]); |
1310 } | 1310 } |
1311 | 1311 |
1312 core.int buildCounterGenerateConfigReportResponse = 0; | 1312 core.int buildCounterGenerateConfigReportResponse = 0; |
1313 buildGenerateConfigReportResponse() { | 1313 buildGenerateConfigReportResponse() { |
1314 var o = new api.GenerateConfigReportResponse(); | 1314 var o = new api.GenerateConfigReportResponse(); |
1315 buildCounterGenerateConfigReportResponse++; | 1315 buildCounterGenerateConfigReportResponse++; |
1316 if (buildCounterGenerateConfigReportResponse < 3) { | 1316 if (buildCounterGenerateConfigReportResponse < 3) { |
1317 o.changeReports = buildUnnamed1028(); | 1317 o.changeReports = buildUnnamed1035(); |
1318 o.diagnostics = buildUnnamed1029(); | 1318 o.diagnostics = buildUnnamed1036(); |
1319 o.id = "foo"; | 1319 o.id = "foo"; |
1320 o.serviceName = "foo"; | 1320 o.serviceName = "foo"; |
1321 } | 1321 } |
1322 buildCounterGenerateConfigReportResponse--; | 1322 buildCounterGenerateConfigReportResponse--; |
1323 return o; | 1323 return o; |
1324 } | 1324 } |
1325 | 1325 |
1326 checkGenerateConfigReportResponse(api.GenerateConfigReportResponse o) { | 1326 checkGenerateConfigReportResponse(api.GenerateConfigReportResponse o) { |
1327 buildCounterGenerateConfigReportResponse++; | 1327 buildCounterGenerateConfigReportResponse++; |
1328 if (buildCounterGenerateConfigReportResponse < 3) { | 1328 if (buildCounterGenerateConfigReportResponse < 3) { |
1329 checkUnnamed1028(o.changeReports); | 1329 checkUnnamed1035(o.changeReports); |
1330 checkUnnamed1029(o.diagnostics); | 1330 checkUnnamed1036(o.diagnostics); |
1331 unittest.expect(o.id, unittest.equals('foo')); | 1331 unittest.expect(o.id, unittest.equals('foo')); |
1332 unittest.expect(o.serviceName, unittest.equals('foo')); | 1332 unittest.expect(o.serviceName, unittest.equals('foo')); |
1333 } | 1333 } |
1334 buildCounterGenerateConfigReportResponse--; | 1334 buildCounterGenerateConfigReportResponse--; |
1335 } | 1335 } |
1336 | 1336 |
1337 core.int buildCounterGetIamPolicyRequest = 0; | 1337 core.int buildCounterGetIamPolicyRequest = 0; |
1338 buildGetIamPolicyRequest() { | 1338 buildGetIamPolicyRequest() { |
1339 var o = new api.GetIamPolicyRequest(); | 1339 var o = new api.GetIamPolicyRequest(); |
1340 buildCounterGetIamPolicyRequest++; | 1340 buildCounterGetIamPolicyRequest++; |
1341 if (buildCounterGetIamPolicyRequest < 3) { | 1341 if (buildCounterGetIamPolicyRequest < 3) { |
1342 } | 1342 } |
1343 buildCounterGetIamPolicyRequest--; | 1343 buildCounterGetIamPolicyRequest--; |
1344 return o; | 1344 return o; |
1345 } | 1345 } |
1346 | 1346 |
1347 checkGetIamPolicyRequest(api.GetIamPolicyRequest o) { | 1347 checkGetIamPolicyRequest(api.GetIamPolicyRequest o) { |
1348 buildCounterGetIamPolicyRequest++; | 1348 buildCounterGetIamPolicyRequest++; |
1349 if (buildCounterGetIamPolicyRequest < 3) { | 1349 if (buildCounterGetIamPolicyRequest < 3) { |
1350 } | 1350 } |
1351 buildCounterGetIamPolicyRequest--; | 1351 buildCounterGetIamPolicyRequest--; |
1352 } | 1352 } |
1353 | 1353 |
1354 buildUnnamed1030() { | 1354 buildUnnamed1037() { |
1355 var o = new core.List<api.HttpRule>(); | 1355 var o = new core.List<api.HttpRule>(); |
1356 o.add(buildHttpRule()); | 1356 o.add(buildHttpRule()); |
1357 o.add(buildHttpRule()); | 1357 o.add(buildHttpRule()); |
1358 return o; | 1358 return o; |
1359 } | 1359 } |
1360 | 1360 |
1361 checkUnnamed1030(core.List<api.HttpRule> o) { | 1361 checkUnnamed1037(core.List<api.HttpRule> o) { |
1362 unittest.expect(o, unittest.hasLength(2)); | 1362 unittest.expect(o, unittest.hasLength(2)); |
1363 checkHttpRule(o[0]); | 1363 checkHttpRule(o[0]); |
1364 checkHttpRule(o[1]); | 1364 checkHttpRule(o[1]); |
1365 } | 1365 } |
1366 | 1366 |
1367 core.int buildCounterHttp = 0; | 1367 core.int buildCounterHttp = 0; |
1368 buildHttp() { | 1368 buildHttp() { |
1369 var o = new api.Http(); | 1369 var o = new api.Http(); |
1370 buildCounterHttp++; | 1370 buildCounterHttp++; |
1371 if (buildCounterHttp < 3) { | 1371 if (buildCounterHttp < 3) { |
1372 o.rules = buildUnnamed1030(); | 1372 o.rules = buildUnnamed1037(); |
1373 } | 1373 } |
1374 buildCounterHttp--; | 1374 buildCounterHttp--; |
1375 return o; | 1375 return o; |
1376 } | 1376 } |
1377 | 1377 |
1378 checkHttp(api.Http o) { | 1378 checkHttp(api.Http o) { |
1379 buildCounterHttp++; | 1379 buildCounterHttp++; |
1380 if (buildCounterHttp < 3) { | 1380 if (buildCounterHttp < 3) { |
1381 checkUnnamed1030(o.rules); | 1381 checkUnnamed1037(o.rules); |
1382 } | 1382 } |
1383 buildCounterHttp--; | 1383 buildCounterHttp--; |
1384 } | 1384 } |
1385 | 1385 |
1386 buildUnnamed1031() { | 1386 buildUnnamed1038() { |
1387 var o = new core.List<api.HttpRule>(); | 1387 var o = new core.List<api.HttpRule>(); |
1388 o.add(buildHttpRule()); | 1388 o.add(buildHttpRule()); |
1389 o.add(buildHttpRule()); | 1389 o.add(buildHttpRule()); |
1390 return o; | 1390 return o; |
1391 } | 1391 } |
1392 | 1392 |
1393 checkUnnamed1031(core.List<api.HttpRule> o) { | 1393 checkUnnamed1038(core.List<api.HttpRule> o) { |
1394 unittest.expect(o, unittest.hasLength(2)); | 1394 unittest.expect(o, unittest.hasLength(2)); |
1395 checkHttpRule(o[0]); | 1395 checkHttpRule(o[0]); |
1396 checkHttpRule(o[1]); | 1396 checkHttpRule(o[1]); |
1397 } | 1397 } |
1398 | 1398 |
1399 core.int buildCounterHttpRule = 0; | 1399 core.int buildCounterHttpRule = 0; |
1400 buildHttpRule() { | 1400 buildHttpRule() { |
1401 var o = new api.HttpRule(); | 1401 var o = new api.HttpRule(); |
1402 buildCounterHttpRule++; | 1402 buildCounterHttpRule++; |
1403 if (buildCounterHttpRule < 3) { | 1403 if (buildCounterHttpRule < 3) { |
1404 o.additionalBindings = buildUnnamed1031(); | 1404 o.additionalBindings = buildUnnamed1038(); |
1405 o.body = "foo"; | 1405 o.body = "foo"; |
1406 o.custom = buildCustomHttpPattern(); | 1406 o.custom = buildCustomHttpPattern(); |
1407 o.delete = "foo"; | 1407 o.delete = "foo"; |
1408 o.get = "foo"; | 1408 o.get = "foo"; |
1409 o.mediaDownload = buildMediaDownload(); | 1409 o.mediaDownload = buildMediaDownload(); |
1410 o.mediaUpload = buildMediaUpload(); | 1410 o.mediaUpload = buildMediaUpload(); |
1411 o.patch = "foo"; | 1411 o.patch = "foo"; |
1412 o.post = "foo"; | 1412 o.post = "foo"; |
1413 o.put = "foo"; | 1413 o.put = "foo"; |
1414 o.responseBody = "foo"; | 1414 o.responseBody = "foo"; |
1415 o.selector = "foo"; | 1415 o.selector = "foo"; |
1416 } | 1416 } |
1417 buildCounterHttpRule--; | 1417 buildCounterHttpRule--; |
1418 return o; | 1418 return o; |
1419 } | 1419 } |
1420 | 1420 |
1421 checkHttpRule(api.HttpRule o) { | 1421 checkHttpRule(api.HttpRule o) { |
1422 buildCounterHttpRule++; | 1422 buildCounterHttpRule++; |
1423 if (buildCounterHttpRule < 3) { | 1423 if (buildCounterHttpRule < 3) { |
1424 checkUnnamed1031(o.additionalBindings); | 1424 checkUnnamed1038(o.additionalBindings); |
1425 unittest.expect(o.body, unittest.equals('foo')); | 1425 unittest.expect(o.body, unittest.equals('foo')); |
1426 checkCustomHttpPattern(o.custom); | 1426 checkCustomHttpPattern(o.custom); |
1427 unittest.expect(o.delete, unittest.equals('foo')); | 1427 unittest.expect(o.delete, unittest.equals('foo')); |
1428 unittest.expect(o.get, unittest.equals('foo')); | 1428 unittest.expect(o.get, unittest.equals('foo')); |
1429 checkMediaDownload(o.mediaDownload); | 1429 checkMediaDownload(o.mediaDownload); |
1430 checkMediaUpload(o.mediaUpload); | 1430 checkMediaUpload(o.mediaUpload); |
1431 unittest.expect(o.patch, unittest.equals('foo')); | 1431 unittest.expect(o.patch, unittest.equals('foo')); |
1432 unittest.expect(o.post, unittest.equals('foo')); | 1432 unittest.expect(o.post, unittest.equals('foo')); |
1433 unittest.expect(o.put, unittest.equals('foo')); | 1433 unittest.expect(o.put, unittest.equals('foo')); |
1434 unittest.expect(o.responseBody, unittest.equals('foo')); | 1434 unittest.expect(o.responseBody, unittest.equals('foo')); |
(...skipping 18 matching lines...) Expand all Loading... |
1453 checkLabelDescriptor(api.LabelDescriptor o) { | 1453 checkLabelDescriptor(api.LabelDescriptor o) { |
1454 buildCounterLabelDescriptor++; | 1454 buildCounterLabelDescriptor++; |
1455 if (buildCounterLabelDescriptor < 3) { | 1455 if (buildCounterLabelDescriptor < 3) { |
1456 unittest.expect(o.description, unittest.equals('foo')); | 1456 unittest.expect(o.description, unittest.equals('foo')); |
1457 unittest.expect(o.key, unittest.equals('foo')); | 1457 unittest.expect(o.key, unittest.equals('foo')); |
1458 unittest.expect(o.valueType, unittest.equals('foo')); | 1458 unittest.expect(o.valueType, unittest.equals('foo')); |
1459 } | 1459 } |
1460 buildCounterLabelDescriptor--; | 1460 buildCounterLabelDescriptor--; |
1461 } | 1461 } |
1462 | 1462 |
1463 buildUnnamed1032() { | 1463 buildUnnamed1039() { |
1464 var o = new core.List<api.Service>(); | 1464 var o = new core.List<api.Service>(); |
1465 o.add(buildService()); | 1465 o.add(buildService()); |
1466 o.add(buildService()); | 1466 o.add(buildService()); |
1467 return o; | 1467 return o; |
1468 } | 1468 } |
1469 | 1469 |
1470 checkUnnamed1032(core.List<api.Service> o) { | 1470 checkUnnamed1039(core.List<api.Service> o) { |
1471 unittest.expect(o, unittest.hasLength(2)); | 1471 unittest.expect(o, unittest.hasLength(2)); |
1472 checkService(o[0]); | 1472 checkService(o[0]); |
1473 checkService(o[1]); | 1473 checkService(o[1]); |
1474 } | 1474 } |
1475 | 1475 |
1476 core.int buildCounterListServiceConfigsResponse = 0; | 1476 core.int buildCounterListServiceConfigsResponse = 0; |
1477 buildListServiceConfigsResponse() { | 1477 buildListServiceConfigsResponse() { |
1478 var o = new api.ListServiceConfigsResponse(); | 1478 var o = new api.ListServiceConfigsResponse(); |
1479 buildCounterListServiceConfigsResponse++; | 1479 buildCounterListServiceConfigsResponse++; |
1480 if (buildCounterListServiceConfigsResponse < 3) { | 1480 if (buildCounterListServiceConfigsResponse < 3) { |
1481 o.nextPageToken = "foo"; | 1481 o.nextPageToken = "foo"; |
1482 o.serviceConfigs = buildUnnamed1032(); | 1482 o.serviceConfigs = buildUnnamed1039(); |
1483 } | 1483 } |
1484 buildCounterListServiceConfigsResponse--; | 1484 buildCounterListServiceConfigsResponse--; |
1485 return o; | 1485 return o; |
1486 } | 1486 } |
1487 | 1487 |
1488 checkListServiceConfigsResponse(api.ListServiceConfigsResponse o) { | 1488 checkListServiceConfigsResponse(api.ListServiceConfigsResponse o) { |
1489 buildCounterListServiceConfigsResponse++; | 1489 buildCounterListServiceConfigsResponse++; |
1490 if (buildCounterListServiceConfigsResponse < 3) { | 1490 if (buildCounterListServiceConfigsResponse < 3) { |
1491 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1491 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1492 checkUnnamed1032(o.serviceConfigs); | 1492 checkUnnamed1039(o.serviceConfigs); |
1493 } | 1493 } |
1494 buildCounterListServiceConfigsResponse--; | 1494 buildCounterListServiceConfigsResponse--; |
1495 } | 1495 } |
1496 | 1496 |
1497 buildUnnamed1033() { | 1497 buildUnnamed1040() { |
1498 var o = new core.List<api.Rollout>(); | 1498 var o = new core.List<api.Rollout>(); |
1499 o.add(buildRollout()); | 1499 o.add(buildRollout()); |
1500 o.add(buildRollout()); | 1500 o.add(buildRollout()); |
1501 return o; | 1501 return o; |
1502 } | 1502 } |
1503 | 1503 |
1504 checkUnnamed1033(core.List<api.Rollout> o) { | 1504 checkUnnamed1040(core.List<api.Rollout> o) { |
1505 unittest.expect(o, unittest.hasLength(2)); | 1505 unittest.expect(o, unittest.hasLength(2)); |
1506 checkRollout(o[0]); | 1506 checkRollout(o[0]); |
1507 checkRollout(o[1]); | 1507 checkRollout(o[1]); |
1508 } | 1508 } |
1509 | 1509 |
1510 core.int buildCounterListServiceRolloutsResponse = 0; | 1510 core.int buildCounterListServiceRolloutsResponse = 0; |
1511 buildListServiceRolloutsResponse() { | 1511 buildListServiceRolloutsResponse() { |
1512 var o = new api.ListServiceRolloutsResponse(); | 1512 var o = new api.ListServiceRolloutsResponse(); |
1513 buildCounterListServiceRolloutsResponse++; | 1513 buildCounterListServiceRolloutsResponse++; |
1514 if (buildCounterListServiceRolloutsResponse < 3) { | 1514 if (buildCounterListServiceRolloutsResponse < 3) { |
1515 o.nextPageToken = "foo"; | 1515 o.nextPageToken = "foo"; |
1516 o.rollouts = buildUnnamed1033(); | 1516 o.rollouts = buildUnnamed1040(); |
1517 } | 1517 } |
1518 buildCounterListServiceRolloutsResponse--; | 1518 buildCounterListServiceRolloutsResponse--; |
1519 return o; | 1519 return o; |
1520 } | 1520 } |
1521 | 1521 |
1522 checkListServiceRolloutsResponse(api.ListServiceRolloutsResponse o) { | 1522 checkListServiceRolloutsResponse(api.ListServiceRolloutsResponse o) { |
1523 buildCounterListServiceRolloutsResponse++; | 1523 buildCounterListServiceRolloutsResponse++; |
1524 if (buildCounterListServiceRolloutsResponse < 3) { | 1524 if (buildCounterListServiceRolloutsResponse < 3) { |
1525 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1525 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1526 checkUnnamed1033(o.rollouts); | 1526 checkUnnamed1040(o.rollouts); |
1527 } | 1527 } |
1528 buildCounterListServiceRolloutsResponse--; | 1528 buildCounterListServiceRolloutsResponse--; |
1529 } | 1529 } |
1530 | 1530 |
1531 buildUnnamed1034() { | 1531 buildUnnamed1041() { |
1532 var o = new core.List<api.ManagedService>(); | 1532 var o = new core.List<api.ManagedService>(); |
1533 o.add(buildManagedService()); | 1533 o.add(buildManagedService()); |
1534 o.add(buildManagedService()); | 1534 o.add(buildManagedService()); |
1535 return o; | 1535 return o; |
1536 } | 1536 } |
1537 | 1537 |
1538 checkUnnamed1034(core.List<api.ManagedService> o) { | 1538 checkUnnamed1041(core.List<api.ManagedService> o) { |
1539 unittest.expect(o, unittest.hasLength(2)); | 1539 unittest.expect(o, unittest.hasLength(2)); |
1540 checkManagedService(o[0]); | 1540 checkManagedService(o[0]); |
1541 checkManagedService(o[1]); | 1541 checkManagedService(o[1]); |
1542 } | 1542 } |
1543 | 1543 |
1544 core.int buildCounterListServicesResponse = 0; | 1544 core.int buildCounterListServicesResponse = 0; |
1545 buildListServicesResponse() { | 1545 buildListServicesResponse() { |
1546 var o = new api.ListServicesResponse(); | 1546 var o = new api.ListServicesResponse(); |
1547 buildCounterListServicesResponse++; | 1547 buildCounterListServicesResponse++; |
1548 if (buildCounterListServicesResponse < 3) { | 1548 if (buildCounterListServicesResponse < 3) { |
1549 o.nextPageToken = "foo"; | 1549 o.nextPageToken = "foo"; |
1550 o.services = buildUnnamed1034(); | 1550 o.services = buildUnnamed1041(); |
1551 } | 1551 } |
1552 buildCounterListServicesResponse--; | 1552 buildCounterListServicesResponse--; |
1553 return o; | 1553 return o; |
1554 } | 1554 } |
1555 | 1555 |
1556 checkListServicesResponse(api.ListServicesResponse o) { | 1556 checkListServicesResponse(api.ListServicesResponse o) { |
1557 buildCounterListServicesResponse++; | 1557 buildCounterListServicesResponse++; |
1558 if (buildCounterListServicesResponse < 3) { | 1558 if (buildCounterListServicesResponse < 3) { |
1559 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1559 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1560 checkUnnamed1034(o.services); | 1560 checkUnnamed1041(o.services); |
1561 } | 1561 } |
1562 buildCounterListServicesResponse--; | 1562 buildCounterListServicesResponse--; |
1563 } | 1563 } |
1564 | 1564 |
1565 core.int buildCounterLogConfig = 0; | 1565 core.int buildCounterLogConfig = 0; |
1566 buildLogConfig() { | 1566 buildLogConfig() { |
1567 var o = new api.LogConfig(); | 1567 var o = new api.LogConfig(); |
1568 buildCounterLogConfig++; | 1568 buildCounterLogConfig++; |
1569 if (buildCounterLogConfig < 3) { | 1569 if (buildCounterLogConfig < 3) { |
1570 o.cloudAudit = buildCloudAuditOptions(); | 1570 o.cloudAudit = buildCloudAuditOptions(); |
1571 o.counter = buildCounterOptions(); | 1571 o.counter = buildCounterOptions(); |
1572 o.dataAccess = buildDataAccessOptions(); | 1572 o.dataAccess = buildDataAccessOptions(); |
1573 } | 1573 } |
1574 buildCounterLogConfig--; | 1574 buildCounterLogConfig--; |
1575 return o; | 1575 return o; |
1576 } | 1576 } |
1577 | 1577 |
1578 checkLogConfig(api.LogConfig o) { | 1578 checkLogConfig(api.LogConfig o) { |
1579 buildCounterLogConfig++; | 1579 buildCounterLogConfig++; |
1580 if (buildCounterLogConfig < 3) { | 1580 if (buildCounterLogConfig < 3) { |
1581 checkCloudAuditOptions(o.cloudAudit); | 1581 checkCloudAuditOptions(o.cloudAudit); |
1582 checkCounterOptions(o.counter); | 1582 checkCounterOptions(o.counter); |
1583 checkDataAccessOptions(o.dataAccess); | 1583 checkDataAccessOptions(o.dataAccess); |
1584 } | 1584 } |
1585 buildCounterLogConfig--; | 1585 buildCounterLogConfig--; |
1586 } | 1586 } |
1587 | 1587 |
1588 buildUnnamed1035() { | 1588 buildUnnamed1042() { |
1589 var o = new core.List<api.LabelDescriptor>(); | 1589 var o = new core.List<api.LabelDescriptor>(); |
1590 o.add(buildLabelDescriptor()); | 1590 o.add(buildLabelDescriptor()); |
1591 o.add(buildLabelDescriptor()); | 1591 o.add(buildLabelDescriptor()); |
1592 return o; | 1592 return o; |
1593 } | 1593 } |
1594 | 1594 |
1595 checkUnnamed1035(core.List<api.LabelDescriptor> o) { | 1595 checkUnnamed1042(core.List<api.LabelDescriptor> o) { |
1596 unittest.expect(o, unittest.hasLength(2)); | 1596 unittest.expect(o, unittest.hasLength(2)); |
1597 checkLabelDescriptor(o[0]); | 1597 checkLabelDescriptor(o[0]); |
1598 checkLabelDescriptor(o[1]); | 1598 checkLabelDescriptor(o[1]); |
1599 } | 1599 } |
1600 | 1600 |
1601 core.int buildCounterLogDescriptor = 0; | 1601 core.int buildCounterLogDescriptor = 0; |
1602 buildLogDescriptor() { | 1602 buildLogDescriptor() { |
1603 var o = new api.LogDescriptor(); | 1603 var o = new api.LogDescriptor(); |
1604 buildCounterLogDescriptor++; | 1604 buildCounterLogDescriptor++; |
1605 if (buildCounterLogDescriptor < 3) { | 1605 if (buildCounterLogDescriptor < 3) { |
1606 o.description = "foo"; | 1606 o.description = "foo"; |
1607 o.displayName = "foo"; | 1607 o.displayName = "foo"; |
1608 o.labels = buildUnnamed1035(); | 1608 o.labels = buildUnnamed1042(); |
1609 o.name = "foo"; | 1609 o.name = "foo"; |
1610 } | 1610 } |
1611 buildCounterLogDescriptor--; | 1611 buildCounterLogDescriptor--; |
1612 return o; | 1612 return o; |
1613 } | 1613 } |
1614 | 1614 |
1615 checkLogDescriptor(api.LogDescriptor o) { | 1615 checkLogDescriptor(api.LogDescriptor o) { |
1616 buildCounterLogDescriptor++; | 1616 buildCounterLogDescriptor++; |
1617 if (buildCounterLogDescriptor < 3) { | 1617 if (buildCounterLogDescriptor < 3) { |
1618 unittest.expect(o.description, unittest.equals('foo')); | 1618 unittest.expect(o.description, unittest.equals('foo')); |
1619 unittest.expect(o.displayName, unittest.equals('foo')); | 1619 unittest.expect(o.displayName, unittest.equals('foo')); |
1620 checkUnnamed1035(o.labels); | 1620 checkUnnamed1042(o.labels); |
1621 unittest.expect(o.name, unittest.equals('foo')); | 1621 unittest.expect(o.name, unittest.equals('foo')); |
1622 } | 1622 } |
1623 buildCounterLogDescriptor--; | 1623 buildCounterLogDescriptor--; |
1624 } | 1624 } |
1625 | 1625 |
1626 buildUnnamed1036() { | 1626 buildUnnamed1043() { |
1627 var o = new core.List<api.LoggingDestination>(); | 1627 var o = new core.List<api.LoggingDestination>(); |
1628 o.add(buildLoggingDestination()); | 1628 o.add(buildLoggingDestination()); |
1629 o.add(buildLoggingDestination()); | 1629 o.add(buildLoggingDestination()); |
1630 return o; | 1630 return o; |
1631 } | 1631 } |
1632 | 1632 |
1633 checkUnnamed1036(core.List<api.LoggingDestination> o) { | 1633 checkUnnamed1043(core.List<api.LoggingDestination> o) { |
1634 unittest.expect(o, unittest.hasLength(2)); | 1634 unittest.expect(o, unittest.hasLength(2)); |
1635 checkLoggingDestination(o[0]); | 1635 checkLoggingDestination(o[0]); |
1636 checkLoggingDestination(o[1]); | 1636 checkLoggingDestination(o[1]); |
1637 } | 1637 } |
1638 | 1638 |
1639 buildUnnamed1037() { | 1639 buildUnnamed1044() { |
1640 var o = new core.List<api.LoggingDestination>(); | 1640 var o = new core.List<api.LoggingDestination>(); |
1641 o.add(buildLoggingDestination()); | 1641 o.add(buildLoggingDestination()); |
1642 o.add(buildLoggingDestination()); | 1642 o.add(buildLoggingDestination()); |
1643 return o; | 1643 return o; |
1644 } | 1644 } |
1645 | 1645 |
1646 checkUnnamed1037(core.List<api.LoggingDestination> o) { | 1646 checkUnnamed1044(core.List<api.LoggingDestination> o) { |
1647 unittest.expect(o, unittest.hasLength(2)); | 1647 unittest.expect(o, unittest.hasLength(2)); |
1648 checkLoggingDestination(o[0]); | 1648 checkLoggingDestination(o[0]); |
1649 checkLoggingDestination(o[1]); | 1649 checkLoggingDestination(o[1]); |
1650 } | 1650 } |
1651 | 1651 |
1652 core.int buildCounterLogging = 0; | 1652 core.int buildCounterLogging = 0; |
1653 buildLogging() { | 1653 buildLogging() { |
1654 var o = new api.Logging(); | 1654 var o = new api.Logging(); |
1655 buildCounterLogging++; | 1655 buildCounterLogging++; |
1656 if (buildCounterLogging < 3) { | 1656 if (buildCounterLogging < 3) { |
1657 o.consumerDestinations = buildUnnamed1036(); | 1657 o.consumerDestinations = buildUnnamed1043(); |
1658 o.producerDestinations = buildUnnamed1037(); | 1658 o.producerDestinations = buildUnnamed1044(); |
1659 } | 1659 } |
1660 buildCounterLogging--; | 1660 buildCounterLogging--; |
1661 return o; | 1661 return o; |
1662 } | 1662 } |
1663 | 1663 |
1664 checkLogging(api.Logging o) { | 1664 checkLogging(api.Logging o) { |
1665 buildCounterLogging++; | 1665 buildCounterLogging++; |
1666 if (buildCounterLogging < 3) { | 1666 if (buildCounterLogging < 3) { |
1667 checkUnnamed1036(o.consumerDestinations); | 1667 checkUnnamed1043(o.consumerDestinations); |
1668 checkUnnamed1037(o.producerDestinations); | 1668 checkUnnamed1044(o.producerDestinations); |
1669 } | 1669 } |
1670 buildCounterLogging--; | 1670 buildCounterLogging--; |
1671 } | 1671 } |
1672 | 1672 |
1673 buildUnnamed1038() { | 1673 buildUnnamed1045() { |
1674 var o = new core.List<core.String>(); | 1674 var o = new core.List<core.String>(); |
1675 o.add("foo"); | 1675 o.add("foo"); |
1676 o.add("foo"); | 1676 o.add("foo"); |
1677 return o; | 1677 return o; |
1678 } | 1678 } |
1679 | 1679 |
1680 checkUnnamed1038(core.List<core.String> o) { | 1680 checkUnnamed1045(core.List<core.String> o) { |
1681 unittest.expect(o, unittest.hasLength(2)); | 1681 unittest.expect(o, unittest.hasLength(2)); |
1682 unittest.expect(o[0], unittest.equals('foo')); | 1682 unittest.expect(o[0], unittest.equals('foo')); |
1683 unittest.expect(o[1], unittest.equals('foo')); | 1683 unittest.expect(o[1], unittest.equals('foo')); |
1684 } | 1684 } |
1685 | 1685 |
1686 core.int buildCounterLoggingDestination = 0; | 1686 core.int buildCounterLoggingDestination = 0; |
1687 buildLoggingDestination() { | 1687 buildLoggingDestination() { |
1688 var o = new api.LoggingDestination(); | 1688 var o = new api.LoggingDestination(); |
1689 buildCounterLoggingDestination++; | 1689 buildCounterLoggingDestination++; |
1690 if (buildCounterLoggingDestination < 3) { | 1690 if (buildCounterLoggingDestination < 3) { |
1691 o.logs = buildUnnamed1038(); | 1691 o.logs = buildUnnamed1045(); |
1692 o.monitoredResource = "foo"; | 1692 o.monitoredResource = "foo"; |
1693 } | 1693 } |
1694 buildCounterLoggingDestination--; | 1694 buildCounterLoggingDestination--; |
1695 return o; | 1695 return o; |
1696 } | 1696 } |
1697 | 1697 |
1698 checkLoggingDestination(api.LoggingDestination o) { | 1698 checkLoggingDestination(api.LoggingDestination o) { |
1699 buildCounterLoggingDestination++; | 1699 buildCounterLoggingDestination++; |
1700 if (buildCounterLoggingDestination < 3) { | 1700 if (buildCounterLoggingDestination < 3) { |
1701 checkUnnamed1038(o.logs); | 1701 checkUnnamed1045(o.logs); |
1702 unittest.expect(o.monitoredResource, unittest.equals('foo')); | 1702 unittest.expect(o.monitoredResource, unittest.equals('foo')); |
1703 } | 1703 } |
1704 buildCounterLoggingDestination--; | 1704 buildCounterLoggingDestination--; |
1705 } | 1705 } |
1706 | 1706 |
1707 core.int buildCounterManagedService = 0; | 1707 core.int buildCounterManagedService = 0; |
1708 buildManagedService() { | 1708 buildManagedService() { |
1709 var o = new api.ManagedService(); | 1709 var o = new api.ManagedService(); |
1710 buildCounterManagedService++; | 1710 buildCounterManagedService++; |
1711 if (buildCounterManagedService < 3) { | 1711 if (buildCounterManagedService < 3) { |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1756 } | 1756 } |
1757 | 1757 |
1758 checkMediaUpload(api.MediaUpload o) { | 1758 checkMediaUpload(api.MediaUpload o) { |
1759 buildCounterMediaUpload++; | 1759 buildCounterMediaUpload++; |
1760 if (buildCounterMediaUpload < 3) { | 1760 if (buildCounterMediaUpload < 3) { |
1761 unittest.expect(o.enabled, unittest.isTrue); | 1761 unittest.expect(o.enabled, unittest.isTrue); |
1762 } | 1762 } |
1763 buildCounterMediaUpload--; | 1763 buildCounterMediaUpload--; |
1764 } | 1764 } |
1765 | 1765 |
1766 buildUnnamed1039() { | 1766 buildUnnamed1046() { |
1767 var o = new core.List<api.Option>(); | 1767 var o = new core.List<api.Option>(); |
1768 o.add(buildOption()); | 1768 o.add(buildOption()); |
1769 o.add(buildOption()); | 1769 o.add(buildOption()); |
1770 return o; | 1770 return o; |
1771 } | 1771 } |
1772 | 1772 |
1773 checkUnnamed1039(core.List<api.Option> o) { | 1773 checkUnnamed1046(core.List<api.Option> o) { |
1774 unittest.expect(o, unittest.hasLength(2)); | 1774 unittest.expect(o, unittest.hasLength(2)); |
1775 checkOption(o[0]); | 1775 checkOption(o[0]); |
1776 checkOption(o[1]); | 1776 checkOption(o[1]); |
1777 } | 1777 } |
1778 | 1778 |
1779 core.int buildCounterMethod = 0; | 1779 core.int buildCounterMethod = 0; |
1780 buildMethod() { | 1780 buildMethod() { |
1781 var o = new api.Method(); | 1781 var o = new api.Method(); |
1782 buildCounterMethod++; | 1782 buildCounterMethod++; |
1783 if (buildCounterMethod < 3) { | 1783 if (buildCounterMethod < 3) { |
1784 o.name = "foo"; | 1784 o.name = "foo"; |
1785 o.options = buildUnnamed1039(); | 1785 o.options = buildUnnamed1046(); |
1786 o.requestStreaming = true; | 1786 o.requestStreaming = true; |
1787 o.requestTypeUrl = "foo"; | 1787 o.requestTypeUrl = "foo"; |
1788 o.responseStreaming = true; | 1788 o.responseStreaming = true; |
1789 o.responseTypeUrl = "foo"; | 1789 o.responseTypeUrl = "foo"; |
1790 o.syntax = "foo"; | 1790 o.syntax = "foo"; |
1791 } | 1791 } |
1792 buildCounterMethod--; | 1792 buildCounterMethod--; |
1793 return o; | 1793 return o; |
1794 } | 1794 } |
1795 | 1795 |
1796 checkMethod(api.Method o) { | 1796 checkMethod(api.Method o) { |
1797 buildCounterMethod++; | 1797 buildCounterMethod++; |
1798 if (buildCounterMethod < 3) { | 1798 if (buildCounterMethod < 3) { |
1799 unittest.expect(o.name, unittest.equals('foo')); | 1799 unittest.expect(o.name, unittest.equals('foo')); |
1800 checkUnnamed1039(o.options); | 1800 checkUnnamed1046(o.options); |
1801 unittest.expect(o.requestStreaming, unittest.isTrue); | 1801 unittest.expect(o.requestStreaming, unittest.isTrue); |
1802 unittest.expect(o.requestTypeUrl, unittest.equals('foo')); | 1802 unittest.expect(o.requestTypeUrl, unittest.equals('foo')); |
1803 unittest.expect(o.responseStreaming, unittest.isTrue); | 1803 unittest.expect(o.responseStreaming, unittest.isTrue); |
1804 unittest.expect(o.responseTypeUrl, unittest.equals('foo')); | 1804 unittest.expect(o.responseTypeUrl, unittest.equals('foo')); |
1805 unittest.expect(o.syntax, unittest.equals('foo')); | 1805 unittest.expect(o.syntax, unittest.equals('foo')); |
1806 } | 1806 } |
1807 buildCounterMethod--; | 1807 buildCounterMethod--; |
1808 } | 1808 } |
1809 | 1809 |
1810 buildUnnamed1040() { | 1810 buildUnnamed1047() { |
1811 var o = new core.List<api.LabelDescriptor>(); | 1811 var o = new core.List<api.LabelDescriptor>(); |
1812 o.add(buildLabelDescriptor()); | 1812 o.add(buildLabelDescriptor()); |
1813 o.add(buildLabelDescriptor()); | 1813 o.add(buildLabelDescriptor()); |
1814 return o; | 1814 return o; |
1815 } | 1815 } |
1816 | 1816 |
1817 checkUnnamed1040(core.List<api.LabelDescriptor> o) { | 1817 checkUnnamed1047(core.List<api.LabelDescriptor> o) { |
1818 unittest.expect(o, unittest.hasLength(2)); | 1818 unittest.expect(o, unittest.hasLength(2)); |
1819 checkLabelDescriptor(o[0]); | 1819 checkLabelDescriptor(o[0]); |
1820 checkLabelDescriptor(o[1]); | 1820 checkLabelDescriptor(o[1]); |
1821 } | 1821 } |
1822 | 1822 |
1823 core.int buildCounterMetricDescriptor = 0; | 1823 core.int buildCounterMetricDescriptor = 0; |
1824 buildMetricDescriptor() { | 1824 buildMetricDescriptor() { |
1825 var o = new api.MetricDescriptor(); | 1825 var o = new api.MetricDescriptor(); |
1826 buildCounterMetricDescriptor++; | 1826 buildCounterMetricDescriptor++; |
1827 if (buildCounterMetricDescriptor < 3) { | 1827 if (buildCounterMetricDescriptor < 3) { |
1828 o.description = "foo"; | 1828 o.description = "foo"; |
1829 o.displayName = "foo"; | 1829 o.displayName = "foo"; |
1830 o.labels = buildUnnamed1040(); | 1830 o.labels = buildUnnamed1047(); |
1831 o.metricKind = "foo"; | 1831 o.metricKind = "foo"; |
1832 o.name = "foo"; | 1832 o.name = "foo"; |
1833 o.type = "foo"; | 1833 o.type = "foo"; |
1834 o.unit = "foo"; | 1834 o.unit = "foo"; |
1835 o.valueType = "foo"; | 1835 o.valueType = "foo"; |
1836 } | 1836 } |
1837 buildCounterMetricDescriptor--; | 1837 buildCounterMetricDescriptor--; |
1838 return o; | 1838 return o; |
1839 } | 1839 } |
1840 | 1840 |
1841 checkMetricDescriptor(api.MetricDescriptor o) { | 1841 checkMetricDescriptor(api.MetricDescriptor o) { |
1842 buildCounterMetricDescriptor++; | 1842 buildCounterMetricDescriptor++; |
1843 if (buildCounterMetricDescriptor < 3) { | 1843 if (buildCounterMetricDescriptor < 3) { |
1844 unittest.expect(o.description, unittest.equals('foo')); | 1844 unittest.expect(o.description, unittest.equals('foo')); |
1845 unittest.expect(o.displayName, unittest.equals('foo')); | 1845 unittest.expect(o.displayName, unittest.equals('foo')); |
1846 checkUnnamed1040(o.labels); | 1846 checkUnnamed1047(o.labels); |
1847 unittest.expect(o.metricKind, unittest.equals('foo')); | 1847 unittest.expect(o.metricKind, unittest.equals('foo')); |
1848 unittest.expect(o.name, unittest.equals('foo')); | 1848 unittest.expect(o.name, unittest.equals('foo')); |
1849 unittest.expect(o.type, unittest.equals('foo')); | 1849 unittest.expect(o.type, unittest.equals('foo')); |
1850 unittest.expect(o.unit, unittest.equals('foo')); | 1850 unittest.expect(o.unit, unittest.equals('foo')); |
1851 unittest.expect(o.valueType, unittest.equals('foo')); | 1851 unittest.expect(o.valueType, unittest.equals('foo')); |
1852 } | 1852 } |
1853 buildCounterMetricDescriptor--; | 1853 buildCounterMetricDescriptor--; |
1854 } | 1854 } |
1855 | 1855 |
1856 core.int buildCounterMixin = 0; | 1856 core.int buildCounterMixin = 0; |
(...skipping 10 matching lines...) Expand all Loading... |
1867 | 1867 |
1868 checkMixin(api.Mixin o) { | 1868 checkMixin(api.Mixin o) { |
1869 buildCounterMixin++; | 1869 buildCounterMixin++; |
1870 if (buildCounterMixin < 3) { | 1870 if (buildCounterMixin < 3) { |
1871 unittest.expect(o.name, unittest.equals('foo')); | 1871 unittest.expect(o.name, unittest.equals('foo')); |
1872 unittest.expect(o.root, unittest.equals('foo')); | 1872 unittest.expect(o.root, unittest.equals('foo')); |
1873 } | 1873 } |
1874 buildCounterMixin--; | 1874 buildCounterMixin--; |
1875 } | 1875 } |
1876 | 1876 |
1877 buildUnnamed1041() { | 1877 buildUnnamed1048() { |
1878 var o = new core.List<api.LabelDescriptor>(); | 1878 var o = new core.List<api.LabelDescriptor>(); |
1879 o.add(buildLabelDescriptor()); | 1879 o.add(buildLabelDescriptor()); |
1880 o.add(buildLabelDescriptor()); | 1880 o.add(buildLabelDescriptor()); |
1881 return o; | 1881 return o; |
1882 } | 1882 } |
1883 | 1883 |
1884 checkUnnamed1041(core.List<api.LabelDescriptor> o) { | 1884 checkUnnamed1048(core.List<api.LabelDescriptor> o) { |
1885 unittest.expect(o, unittest.hasLength(2)); | 1885 unittest.expect(o, unittest.hasLength(2)); |
1886 checkLabelDescriptor(o[0]); | 1886 checkLabelDescriptor(o[0]); |
1887 checkLabelDescriptor(o[1]); | 1887 checkLabelDescriptor(o[1]); |
1888 } | 1888 } |
1889 | 1889 |
1890 core.int buildCounterMonitoredResourceDescriptor = 0; | 1890 core.int buildCounterMonitoredResourceDescriptor = 0; |
1891 buildMonitoredResourceDescriptor() { | 1891 buildMonitoredResourceDescriptor() { |
1892 var o = new api.MonitoredResourceDescriptor(); | 1892 var o = new api.MonitoredResourceDescriptor(); |
1893 buildCounterMonitoredResourceDescriptor++; | 1893 buildCounterMonitoredResourceDescriptor++; |
1894 if (buildCounterMonitoredResourceDescriptor < 3) { | 1894 if (buildCounterMonitoredResourceDescriptor < 3) { |
1895 o.description = "foo"; | 1895 o.description = "foo"; |
1896 o.displayName = "foo"; | 1896 o.displayName = "foo"; |
1897 o.labels = buildUnnamed1041(); | 1897 o.labels = buildUnnamed1048(); |
1898 o.name = "foo"; | 1898 o.name = "foo"; |
1899 o.type = "foo"; | 1899 o.type = "foo"; |
1900 } | 1900 } |
1901 buildCounterMonitoredResourceDescriptor--; | 1901 buildCounterMonitoredResourceDescriptor--; |
1902 return o; | 1902 return o; |
1903 } | 1903 } |
1904 | 1904 |
1905 checkMonitoredResourceDescriptor(api.MonitoredResourceDescriptor o) { | 1905 checkMonitoredResourceDescriptor(api.MonitoredResourceDescriptor o) { |
1906 buildCounterMonitoredResourceDescriptor++; | 1906 buildCounterMonitoredResourceDescriptor++; |
1907 if (buildCounterMonitoredResourceDescriptor < 3) { | 1907 if (buildCounterMonitoredResourceDescriptor < 3) { |
1908 unittest.expect(o.description, unittest.equals('foo')); | 1908 unittest.expect(o.description, unittest.equals('foo')); |
1909 unittest.expect(o.displayName, unittest.equals('foo')); | 1909 unittest.expect(o.displayName, unittest.equals('foo')); |
1910 checkUnnamed1041(o.labels); | 1910 checkUnnamed1048(o.labels); |
1911 unittest.expect(o.name, unittest.equals('foo')); | 1911 unittest.expect(o.name, unittest.equals('foo')); |
1912 unittest.expect(o.type, unittest.equals('foo')); | 1912 unittest.expect(o.type, unittest.equals('foo')); |
1913 } | 1913 } |
1914 buildCounterMonitoredResourceDescriptor--; | 1914 buildCounterMonitoredResourceDescriptor--; |
1915 } | 1915 } |
1916 | 1916 |
1917 buildUnnamed1042() { | 1917 buildUnnamed1049() { |
1918 var o = new core.List<api.MonitoringDestination>(); | 1918 var o = new core.List<api.MonitoringDestination>(); |
1919 o.add(buildMonitoringDestination()); | 1919 o.add(buildMonitoringDestination()); |
1920 o.add(buildMonitoringDestination()); | 1920 o.add(buildMonitoringDestination()); |
1921 return o; | 1921 return o; |
1922 } | 1922 } |
1923 | 1923 |
1924 checkUnnamed1042(core.List<api.MonitoringDestination> o) { | 1924 checkUnnamed1049(core.List<api.MonitoringDestination> o) { |
1925 unittest.expect(o, unittest.hasLength(2)); | 1925 unittest.expect(o, unittest.hasLength(2)); |
1926 checkMonitoringDestination(o[0]); | 1926 checkMonitoringDestination(o[0]); |
1927 checkMonitoringDestination(o[1]); | 1927 checkMonitoringDestination(o[1]); |
1928 } | 1928 } |
1929 | 1929 |
1930 buildUnnamed1043() { | 1930 buildUnnamed1050() { |
1931 var o = new core.List<api.MonitoringDestination>(); | 1931 var o = new core.List<api.MonitoringDestination>(); |
1932 o.add(buildMonitoringDestination()); | 1932 o.add(buildMonitoringDestination()); |
1933 o.add(buildMonitoringDestination()); | 1933 o.add(buildMonitoringDestination()); |
1934 return o; | 1934 return o; |
1935 } | 1935 } |
1936 | 1936 |
1937 checkUnnamed1043(core.List<api.MonitoringDestination> o) { | 1937 checkUnnamed1050(core.List<api.MonitoringDestination> o) { |
1938 unittest.expect(o, unittest.hasLength(2)); | 1938 unittest.expect(o, unittest.hasLength(2)); |
1939 checkMonitoringDestination(o[0]); | 1939 checkMonitoringDestination(o[0]); |
1940 checkMonitoringDestination(o[1]); | 1940 checkMonitoringDestination(o[1]); |
1941 } | 1941 } |
1942 | 1942 |
1943 core.int buildCounterMonitoring = 0; | 1943 core.int buildCounterMonitoring = 0; |
1944 buildMonitoring() { | 1944 buildMonitoring() { |
1945 var o = new api.Monitoring(); | 1945 var o = new api.Monitoring(); |
1946 buildCounterMonitoring++; | 1946 buildCounterMonitoring++; |
1947 if (buildCounterMonitoring < 3) { | 1947 if (buildCounterMonitoring < 3) { |
1948 o.consumerDestinations = buildUnnamed1042(); | 1948 o.consumerDestinations = buildUnnamed1049(); |
1949 o.producerDestinations = buildUnnamed1043(); | 1949 o.producerDestinations = buildUnnamed1050(); |
1950 } | 1950 } |
1951 buildCounterMonitoring--; | 1951 buildCounterMonitoring--; |
1952 return o; | 1952 return o; |
1953 } | 1953 } |
1954 | 1954 |
1955 checkMonitoring(api.Monitoring o) { | 1955 checkMonitoring(api.Monitoring o) { |
1956 buildCounterMonitoring++; | 1956 buildCounterMonitoring++; |
1957 if (buildCounterMonitoring < 3) { | 1957 if (buildCounterMonitoring < 3) { |
1958 checkUnnamed1042(o.consumerDestinations); | 1958 checkUnnamed1049(o.consumerDestinations); |
1959 checkUnnamed1043(o.producerDestinations); | 1959 checkUnnamed1050(o.producerDestinations); |
1960 } | 1960 } |
1961 buildCounterMonitoring--; | 1961 buildCounterMonitoring--; |
1962 } | 1962 } |
1963 | 1963 |
1964 buildUnnamed1044() { | 1964 buildUnnamed1051() { |
1965 var o = new core.List<core.String>(); | 1965 var o = new core.List<core.String>(); |
1966 o.add("foo"); | 1966 o.add("foo"); |
1967 o.add("foo"); | 1967 o.add("foo"); |
1968 return o; | 1968 return o; |
1969 } | 1969 } |
1970 | 1970 |
1971 checkUnnamed1044(core.List<core.String> o) { | 1971 checkUnnamed1051(core.List<core.String> o) { |
1972 unittest.expect(o, unittest.hasLength(2)); | 1972 unittest.expect(o, unittest.hasLength(2)); |
1973 unittest.expect(o[0], unittest.equals('foo')); | 1973 unittest.expect(o[0], unittest.equals('foo')); |
1974 unittest.expect(o[1], unittest.equals('foo')); | 1974 unittest.expect(o[1], unittest.equals('foo')); |
1975 } | 1975 } |
1976 | 1976 |
1977 core.int buildCounterMonitoringDestination = 0; | 1977 core.int buildCounterMonitoringDestination = 0; |
1978 buildMonitoringDestination() { | 1978 buildMonitoringDestination() { |
1979 var o = new api.MonitoringDestination(); | 1979 var o = new api.MonitoringDestination(); |
1980 buildCounterMonitoringDestination++; | 1980 buildCounterMonitoringDestination++; |
1981 if (buildCounterMonitoringDestination < 3) { | 1981 if (buildCounterMonitoringDestination < 3) { |
1982 o.metrics = buildUnnamed1044(); | 1982 o.metrics = buildUnnamed1051(); |
1983 o.monitoredResource = "foo"; | 1983 o.monitoredResource = "foo"; |
1984 } | 1984 } |
1985 buildCounterMonitoringDestination--; | 1985 buildCounterMonitoringDestination--; |
1986 return o; | 1986 return o; |
1987 } | 1987 } |
1988 | 1988 |
1989 checkMonitoringDestination(api.MonitoringDestination o) { | 1989 checkMonitoringDestination(api.MonitoringDestination o) { |
1990 buildCounterMonitoringDestination++; | 1990 buildCounterMonitoringDestination++; |
1991 if (buildCounterMonitoringDestination < 3) { | 1991 if (buildCounterMonitoringDestination < 3) { |
1992 checkUnnamed1044(o.metrics); | 1992 checkUnnamed1051(o.metrics); |
1993 unittest.expect(o.monitoredResource, unittest.equals('foo')); | 1993 unittest.expect(o.monitoredResource, unittest.equals('foo')); |
1994 } | 1994 } |
1995 buildCounterMonitoringDestination--; | 1995 buildCounterMonitoringDestination--; |
1996 } | 1996 } |
1997 | 1997 |
1998 core.int buildCounterOAuthRequirements = 0; | 1998 core.int buildCounterOAuthRequirements = 0; |
1999 buildOAuthRequirements() { | 1999 buildOAuthRequirements() { |
2000 var o = new api.OAuthRequirements(); | 2000 var o = new api.OAuthRequirements(); |
2001 buildCounterOAuthRequirements++; | 2001 buildCounterOAuthRequirements++; |
2002 if (buildCounterOAuthRequirements < 3) { | 2002 if (buildCounterOAuthRequirements < 3) { |
2003 o.canonicalScopes = "foo"; | 2003 o.canonicalScopes = "foo"; |
2004 } | 2004 } |
2005 buildCounterOAuthRequirements--; | 2005 buildCounterOAuthRequirements--; |
2006 return o; | 2006 return o; |
2007 } | 2007 } |
2008 | 2008 |
2009 checkOAuthRequirements(api.OAuthRequirements o) { | 2009 checkOAuthRequirements(api.OAuthRequirements o) { |
2010 buildCounterOAuthRequirements++; | 2010 buildCounterOAuthRequirements++; |
2011 if (buildCounterOAuthRequirements < 3) { | 2011 if (buildCounterOAuthRequirements < 3) { |
2012 unittest.expect(o.canonicalScopes, unittest.equals('foo')); | 2012 unittest.expect(o.canonicalScopes, unittest.equals('foo')); |
2013 } | 2013 } |
2014 buildCounterOAuthRequirements--; | 2014 buildCounterOAuthRequirements--; |
2015 } | 2015 } |
2016 | 2016 |
2017 buildUnnamed1045() { | 2017 buildUnnamed1052() { |
2018 var o = new core.Map<core.String, core.Object>(); | 2018 var o = new core.Map<core.String, core.Object>(); |
2019 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2019 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
2020 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2020 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
2021 return o; | 2021 return o; |
2022 } | 2022 } |
2023 | 2023 |
2024 checkUnnamed1045(core.Map<core.String, core.Object> o) { | 2024 checkUnnamed1052(core.Map<core.String, core.Object> o) { |
2025 unittest.expect(o, unittest.hasLength(2)); | 2025 unittest.expect(o, unittest.hasLength(2)); |
2026 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')); | 2026 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')); |
2027 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')); | 2027 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')); |
2028 } | 2028 } |
2029 | 2029 |
2030 buildUnnamed1046() { | 2030 buildUnnamed1053() { |
2031 var o = new core.Map<core.String, core.Object>(); | 2031 var o = new core.Map<core.String, core.Object>(); |
2032 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2032 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
2033 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2033 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
2034 return o; | 2034 return o; |
2035 } | 2035 } |
2036 | 2036 |
2037 checkUnnamed1046(core.Map<core.String, core.Object> o) { | 2037 checkUnnamed1053(core.Map<core.String, core.Object> o) { |
2038 unittest.expect(o, unittest.hasLength(2)); | 2038 unittest.expect(o, unittest.hasLength(2)); |
2039 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')); | 2039 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')); |
2040 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')); | 2040 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')); |
2041 } | 2041 } |
2042 | 2042 |
2043 core.int buildCounterOperation = 0; | 2043 core.int buildCounterOperation = 0; |
2044 buildOperation() { | 2044 buildOperation() { |
2045 var o = new api.Operation(); | 2045 var o = new api.Operation(); |
2046 buildCounterOperation++; | 2046 buildCounterOperation++; |
2047 if (buildCounterOperation < 3) { | 2047 if (buildCounterOperation < 3) { |
2048 o.done = true; | 2048 o.done = true; |
2049 o.error = buildStatus(); | 2049 o.error = buildStatus(); |
2050 o.metadata = buildUnnamed1045(); | 2050 o.metadata = buildUnnamed1052(); |
2051 o.name = "foo"; | 2051 o.name = "foo"; |
2052 o.response = buildUnnamed1046(); | 2052 o.response = buildUnnamed1053(); |
2053 } | 2053 } |
2054 buildCounterOperation--; | 2054 buildCounterOperation--; |
2055 return o; | 2055 return o; |
2056 } | 2056 } |
2057 | 2057 |
2058 checkOperation(api.Operation o) { | 2058 checkOperation(api.Operation o) { |
2059 buildCounterOperation++; | 2059 buildCounterOperation++; |
2060 if (buildCounterOperation < 3) { | 2060 if (buildCounterOperation < 3) { |
2061 unittest.expect(o.done, unittest.isTrue); | 2061 unittest.expect(o.done, unittest.isTrue); |
2062 checkStatus(o.error); | 2062 checkStatus(o.error); |
2063 checkUnnamed1045(o.metadata); | 2063 checkUnnamed1052(o.metadata); |
2064 unittest.expect(o.name, unittest.equals('foo')); | 2064 unittest.expect(o.name, unittest.equals('foo')); |
2065 checkUnnamed1046(o.response); | 2065 checkUnnamed1053(o.response); |
2066 } | 2066 } |
2067 buildCounterOperation--; | 2067 buildCounterOperation--; |
2068 } | 2068 } |
2069 | 2069 |
2070 buildUnnamed1047() { | 2070 buildUnnamed1054() { |
2071 var o = new core.List<core.String>(); | 2071 var o = new core.List<core.String>(); |
2072 o.add("foo"); | 2072 o.add("foo"); |
2073 o.add("foo"); | 2073 o.add("foo"); |
2074 return o; | 2074 return o; |
2075 } | 2075 } |
2076 | 2076 |
2077 checkUnnamed1047(core.List<core.String> o) { | 2077 checkUnnamed1054(core.List<core.String> o) { |
2078 unittest.expect(o, unittest.hasLength(2)); | 2078 unittest.expect(o, unittest.hasLength(2)); |
2079 unittest.expect(o[0], unittest.equals('foo')); | 2079 unittest.expect(o[0], unittest.equals('foo')); |
2080 unittest.expect(o[1], unittest.equals('foo')); | 2080 unittest.expect(o[1], unittest.equals('foo')); |
2081 } | 2081 } |
2082 | 2082 |
2083 buildUnnamed1048() { | 2083 buildUnnamed1055() { |
2084 var o = new core.List<api.Step>(); | 2084 var o = new core.List<api.Step>(); |
2085 o.add(buildStep()); | 2085 o.add(buildStep()); |
2086 o.add(buildStep()); | 2086 o.add(buildStep()); |
2087 return o; | 2087 return o; |
2088 } | 2088 } |
2089 | 2089 |
2090 checkUnnamed1048(core.List<api.Step> o) { | 2090 checkUnnamed1055(core.List<api.Step> o) { |
2091 unittest.expect(o, unittest.hasLength(2)); | 2091 unittest.expect(o, unittest.hasLength(2)); |
2092 checkStep(o[0]); | 2092 checkStep(o[0]); |
2093 checkStep(o[1]); | 2093 checkStep(o[1]); |
2094 } | 2094 } |
2095 | 2095 |
2096 core.int buildCounterOperationMetadata = 0; | 2096 core.int buildCounterOperationMetadata = 0; |
2097 buildOperationMetadata() { | 2097 buildOperationMetadata() { |
2098 var o = new api.OperationMetadata(); | 2098 var o = new api.OperationMetadata(); |
2099 buildCounterOperationMetadata++; | 2099 buildCounterOperationMetadata++; |
2100 if (buildCounterOperationMetadata < 3) { | 2100 if (buildCounterOperationMetadata < 3) { |
2101 o.progressPercentage = 42; | 2101 o.progressPercentage = 42; |
2102 o.resourceNames = buildUnnamed1047(); | 2102 o.resourceNames = buildUnnamed1054(); |
2103 o.startTime = "foo"; | 2103 o.startTime = "foo"; |
2104 o.steps = buildUnnamed1048(); | 2104 o.steps = buildUnnamed1055(); |
2105 } | 2105 } |
2106 buildCounterOperationMetadata--; | 2106 buildCounterOperationMetadata--; |
2107 return o; | 2107 return o; |
2108 } | 2108 } |
2109 | 2109 |
2110 checkOperationMetadata(api.OperationMetadata o) { | 2110 checkOperationMetadata(api.OperationMetadata o) { |
2111 buildCounterOperationMetadata++; | 2111 buildCounterOperationMetadata++; |
2112 if (buildCounterOperationMetadata < 3) { | 2112 if (buildCounterOperationMetadata < 3) { |
2113 unittest.expect(o.progressPercentage, unittest.equals(42)); | 2113 unittest.expect(o.progressPercentage, unittest.equals(42)); |
2114 checkUnnamed1047(o.resourceNames); | 2114 checkUnnamed1054(o.resourceNames); |
2115 unittest.expect(o.startTime, unittest.equals('foo')); | 2115 unittest.expect(o.startTime, unittest.equals('foo')); |
2116 checkUnnamed1048(o.steps); | 2116 checkUnnamed1055(o.steps); |
2117 } | 2117 } |
2118 buildCounterOperationMetadata--; | 2118 buildCounterOperationMetadata--; |
2119 } | 2119 } |
2120 | 2120 |
2121 buildUnnamed1049() { | 2121 buildUnnamed1056() { |
2122 var o = new core.Map<core.String, core.Object>(); | 2122 var o = new core.Map<core.String, core.Object>(); |
2123 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2123 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
2124 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2124 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
2125 return o; | 2125 return o; |
2126 } | 2126 } |
2127 | 2127 |
2128 checkUnnamed1049(core.Map<core.String, core.Object> o) { | 2128 checkUnnamed1056(core.Map<core.String, core.Object> o) { |
2129 unittest.expect(o, unittest.hasLength(2)); | 2129 unittest.expect(o, unittest.hasLength(2)); |
2130 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')); | 2130 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')); |
2131 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')); | 2131 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')); |
2132 } | 2132 } |
2133 | 2133 |
2134 core.int buildCounterOption = 0; | 2134 core.int buildCounterOption = 0; |
2135 buildOption() { | 2135 buildOption() { |
2136 var o = new api.Option(); | 2136 var o = new api.Option(); |
2137 buildCounterOption++; | 2137 buildCounterOption++; |
2138 if (buildCounterOption < 3) { | 2138 if (buildCounterOption < 3) { |
2139 o.name = "foo"; | 2139 o.name = "foo"; |
2140 o.value = buildUnnamed1049(); | 2140 o.value = buildUnnamed1056(); |
2141 } | 2141 } |
2142 buildCounterOption--; | 2142 buildCounterOption--; |
2143 return o; | 2143 return o; |
2144 } | 2144 } |
2145 | 2145 |
2146 checkOption(api.Option o) { | 2146 checkOption(api.Option o) { |
2147 buildCounterOption++; | 2147 buildCounterOption++; |
2148 if (buildCounterOption < 3) { | 2148 if (buildCounterOption < 3) { |
2149 unittest.expect(o.name, unittest.equals('foo')); | 2149 unittest.expect(o.name, unittest.equals('foo')); |
2150 checkUnnamed1049(o.value); | 2150 checkUnnamed1056(o.value); |
2151 } | 2151 } |
2152 buildCounterOption--; | 2152 buildCounterOption--; |
2153 } | 2153 } |
2154 | 2154 |
2155 buildUnnamed1050() { | 2155 buildUnnamed1057() { |
2156 var o = new core.List<api.Page>(); | 2156 var o = new core.List<api.Page>(); |
2157 o.add(buildPage()); | 2157 o.add(buildPage()); |
2158 o.add(buildPage()); | 2158 o.add(buildPage()); |
2159 return o; | 2159 return o; |
2160 } | 2160 } |
2161 | 2161 |
2162 checkUnnamed1050(core.List<api.Page> o) { | 2162 checkUnnamed1057(core.List<api.Page> o) { |
2163 unittest.expect(o, unittest.hasLength(2)); | 2163 unittest.expect(o, unittest.hasLength(2)); |
2164 checkPage(o[0]); | 2164 checkPage(o[0]); |
2165 checkPage(o[1]); | 2165 checkPage(o[1]); |
2166 } | 2166 } |
2167 | 2167 |
2168 core.int buildCounterPage = 0; | 2168 core.int buildCounterPage = 0; |
2169 buildPage() { | 2169 buildPage() { |
2170 var o = new api.Page(); | 2170 var o = new api.Page(); |
2171 buildCounterPage++; | 2171 buildCounterPage++; |
2172 if (buildCounterPage < 3) { | 2172 if (buildCounterPage < 3) { |
2173 o.content = "foo"; | 2173 o.content = "foo"; |
2174 o.name = "foo"; | 2174 o.name = "foo"; |
2175 o.subpages = buildUnnamed1050(); | 2175 o.subpages = buildUnnamed1057(); |
2176 } | 2176 } |
2177 buildCounterPage--; | 2177 buildCounterPage--; |
2178 return o; | 2178 return o; |
2179 } | 2179 } |
2180 | 2180 |
2181 checkPage(api.Page o) { | 2181 checkPage(api.Page o) { |
2182 buildCounterPage++; | 2182 buildCounterPage++; |
2183 if (buildCounterPage < 3) { | 2183 if (buildCounterPage < 3) { |
2184 unittest.expect(o.content, unittest.equals('foo')); | 2184 unittest.expect(o.content, unittest.equals('foo')); |
2185 unittest.expect(o.name, unittest.equals('foo')); | 2185 unittest.expect(o.name, unittest.equals('foo')); |
2186 checkUnnamed1050(o.subpages); | 2186 checkUnnamed1057(o.subpages); |
2187 } | 2187 } |
2188 buildCounterPage--; | 2188 buildCounterPage--; |
2189 } | 2189 } |
2190 | 2190 |
2191 buildUnnamed1051() { | 2191 buildUnnamed1058() { |
2192 var o = new core.List<api.AuditConfig>(); | 2192 var o = new core.List<api.AuditConfig>(); |
2193 o.add(buildAuditConfig()); | 2193 o.add(buildAuditConfig()); |
2194 o.add(buildAuditConfig()); | 2194 o.add(buildAuditConfig()); |
2195 return o; | 2195 return o; |
2196 } | 2196 } |
2197 | 2197 |
2198 checkUnnamed1051(core.List<api.AuditConfig> o) { | 2198 checkUnnamed1058(core.List<api.AuditConfig> o) { |
2199 unittest.expect(o, unittest.hasLength(2)); | 2199 unittest.expect(o, unittest.hasLength(2)); |
2200 checkAuditConfig(o[0]); | 2200 checkAuditConfig(o[0]); |
2201 checkAuditConfig(o[1]); | 2201 checkAuditConfig(o[1]); |
2202 } | 2202 } |
2203 | 2203 |
2204 buildUnnamed1052() { | 2204 buildUnnamed1059() { |
2205 var o = new core.List<api.Binding>(); | 2205 var o = new core.List<api.Binding>(); |
2206 o.add(buildBinding()); | 2206 o.add(buildBinding()); |
2207 o.add(buildBinding()); | 2207 o.add(buildBinding()); |
2208 return o; | 2208 return o; |
2209 } | 2209 } |
2210 | 2210 |
2211 checkUnnamed1052(core.List<api.Binding> o) { | 2211 checkUnnamed1059(core.List<api.Binding> o) { |
2212 unittest.expect(o, unittest.hasLength(2)); | 2212 unittest.expect(o, unittest.hasLength(2)); |
2213 checkBinding(o[0]); | 2213 checkBinding(o[0]); |
2214 checkBinding(o[1]); | 2214 checkBinding(o[1]); |
2215 } | 2215 } |
2216 | 2216 |
2217 buildUnnamed1053() { | 2217 buildUnnamed1060() { |
2218 var o = new core.List<api.Rule>(); | 2218 var o = new core.List<api.Rule>(); |
2219 o.add(buildRule()); | 2219 o.add(buildRule()); |
2220 o.add(buildRule()); | 2220 o.add(buildRule()); |
2221 return o; | 2221 return o; |
2222 } | 2222 } |
2223 | 2223 |
2224 checkUnnamed1053(core.List<api.Rule> o) { | 2224 checkUnnamed1060(core.List<api.Rule> o) { |
2225 unittest.expect(o, unittest.hasLength(2)); | 2225 unittest.expect(o, unittest.hasLength(2)); |
2226 checkRule(o[0]); | 2226 checkRule(o[0]); |
2227 checkRule(o[1]); | 2227 checkRule(o[1]); |
2228 } | 2228 } |
2229 | 2229 |
2230 core.int buildCounterPolicy = 0; | 2230 core.int buildCounterPolicy = 0; |
2231 buildPolicy() { | 2231 buildPolicy() { |
2232 var o = new api.Policy(); | 2232 var o = new api.Policy(); |
2233 buildCounterPolicy++; | 2233 buildCounterPolicy++; |
2234 if (buildCounterPolicy < 3) { | 2234 if (buildCounterPolicy < 3) { |
2235 o.auditConfigs = buildUnnamed1051(); | 2235 o.auditConfigs = buildUnnamed1058(); |
2236 o.bindings = buildUnnamed1052(); | 2236 o.bindings = buildUnnamed1059(); |
2237 o.etag = "foo"; | 2237 o.etag = "foo"; |
2238 o.iamOwned = true; | 2238 o.iamOwned = true; |
2239 o.rules = buildUnnamed1053(); | 2239 o.rules = buildUnnamed1060(); |
2240 o.version = 42; | 2240 o.version = 42; |
2241 } | 2241 } |
2242 buildCounterPolicy--; | 2242 buildCounterPolicy--; |
2243 return o; | 2243 return o; |
2244 } | 2244 } |
2245 | 2245 |
2246 checkPolicy(api.Policy o) { | 2246 checkPolicy(api.Policy o) { |
2247 buildCounterPolicy++; | 2247 buildCounterPolicy++; |
2248 if (buildCounterPolicy < 3) { | 2248 if (buildCounterPolicy < 3) { |
2249 checkUnnamed1051(o.auditConfigs); | 2249 checkUnnamed1058(o.auditConfigs); |
2250 checkUnnamed1052(o.bindings); | 2250 checkUnnamed1059(o.bindings); |
2251 unittest.expect(o.etag, unittest.equals('foo')); | 2251 unittest.expect(o.etag, unittest.equals('foo')); |
2252 unittest.expect(o.iamOwned, unittest.isTrue); | 2252 unittest.expect(o.iamOwned, unittest.isTrue); |
2253 checkUnnamed1053(o.rules); | 2253 checkUnnamed1060(o.rules); |
2254 unittest.expect(o.version, unittest.equals(42)); | 2254 unittest.expect(o.version, unittest.equals(42)); |
2255 } | 2255 } |
2256 buildCounterPolicy--; | 2256 buildCounterPolicy--; |
2257 } | 2257 } |
2258 | 2258 |
2259 core.int buildCounterRollout = 0; | 2259 core.int buildCounterRollout = 0; |
2260 buildRollout() { | 2260 buildRollout() { |
2261 var o = new api.Rollout(); | 2261 var o = new api.Rollout(); |
2262 buildCounterRollout++; | 2262 buildCounterRollout++; |
2263 if (buildCounterRollout < 3) { | 2263 if (buildCounterRollout < 3) { |
(...skipping 16 matching lines...) Expand all Loading... |
2280 unittest.expect(o.createdBy, unittest.equals('foo')); | 2280 unittest.expect(o.createdBy, unittest.equals('foo')); |
2281 checkDeleteServiceStrategy(o.deleteServiceStrategy); | 2281 checkDeleteServiceStrategy(o.deleteServiceStrategy); |
2282 unittest.expect(o.rolloutId, unittest.equals('foo')); | 2282 unittest.expect(o.rolloutId, unittest.equals('foo')); |
2283 unittest.expect(o.serviceName, unittest.equals('foo')); | 2283 unittest.expect(o.serviceName, unittest.equals('foo')); |
2284 unittest.expect(o.status, unittest.equals('foo')); | 2284 unittest.expect(o.status, unittest.equals('foo')); |
2285 checkTrafficPercentStrategy(o.trafficPercentStrategy); | 2285 checkTrafficPercentStrategy(o.trafficPercentStrategy); |
2286 } | 2286 } |
2287 buildCounterRollout--; | 2287 buildCounterRollout--; |
2288 } | 2288 } |
2289 | 2289 |
2290 buildUnnamed1054() { | 2290 buildUnnamed1061() { |
2291 var o = new core.List<api.Condition>(); | 2291 var o = new core.List<api.Condition>(); |
2292 o.add(buildCondition()); | 2292 o.add(buildCondition()); |
2293 o.add(buildCondition()); | 2293 o.add(buildCondition()); |
2294 return o; | 2294 return o; |
2295 } | 2295 } |
2296 | 2296 |
2297 checkUnnamed1054(core.List<api.Condition> o) { | 2297 checkUnnamed1061(core.List<api.Condition> o) { |
2298 unittest.expect(o, unittest.hasLength(2)); | 2298 unittest.expect(o, unittest.hasLength(2)); |
2299 checkCondition(o[0]); | 2299 checkCondition(o[0]); |
2300 checkCondition(o[1]); | 2300 checkCondition(o[1]); |
2301 } | 2301 } |
2302 | 2302 |
2303 buildUnnamed1055() { | 2303 buildUnnamed1062() { |
2304 var o = new core.List<core.String>(); | 2304 var o = new core.List<core.String>(); |
2305 o.add("foo"); | 2305 o.add("foo"); |
2306 o.add("foo"); | 2306 o.add("foo"); |
2307 return o; | 2307 return o; |
2308 } | 2308 } |
2309 | 2309 |
2310 checkUnnamed1055(core.List<core.String> o) { | 2310 checkUnnamed1062(core.List<core.String> o) { |
2311 unittest.expect(o, unittest.hasLength(2)); | 2311 unittest.expect(o, unittest.hasLength(2)); |
2312 unittest.expect(o[0], unittest.equals('foo')); | 2312 unittest.expect(o[0], unittest.equals('foo')); |
2313 unittest.expect(o[1], unittest.equals('foo')); | 2313 unittest.expect(o[1], unittest.equals('foo')); |
2314 } | 2314 } |
2315 | 2315 |
2316 buildUnnamed1056() { | 2316 buildUnnamed1063() { |
2317 var o = new core.List<api.LogConfig>(); | 2317 var o = new core.List<api.LogConfig>(); |
2318 o.add(buildLogConfig()); | 2318 o.add(buildLogConfig()); |
2319 o.add(buildLogConfig()); | 2319 o.add(buildLogConfig()); |
2320 return o; | 2320 return o; |
2321 } | 2321 } |
2322 | 2322 |
2323 checkUnnamed1056(core.List<api.LogConfig> o) { | 2323 checkUnnamed1063(core.List<api.LogConfig> o) { |
2324 unittest.expect(o, unittest.hasLength(2)); | 2324 unittest.expect(o, unittest.hasLength(2)); |
2325 checkLogConfig(o[0]); | 2325 checkLogConfig(o[0]); |
2326 checkLogConfig(o[1]); | 2326 checkLogConfig(o[1]); |
2327 } | 2327 } |
2328 | 2328 |
2329 buildUnnamed1057() { | 2329 buildUnnamed1064() { |
2330 var o = new core.List<core.String>(); | 2330 var o = new core.List<core.String>(); |
2331 o.add("foo"); | 2331 o.add("foo"); |
2332 o.add("foo"); | 2332 o.add("foo"); |
2333 return o; | 2333 return o; |
2334 } | 2334 } |
2335 | 2335 |
2336 checkUnnamed1057(core.List<core.String> o) { | 2336 checkUnnamed1064(core.List<core.String> o) { |
2337 unittest.expect(o, unittest.hasLength(2)); | 2337 unittest.expect(o, unittest.hasLength(2)); |
2338 unittest.expect(o[0], unittest.equals('foo')); | 2338 unittest.expect(o[0], unittest.equals('foo')); |
2339 unittest.expect(o[1], unittest.equals('foo')); | 2339 unittest.expect(o[1], unittest.equals('foo')); |
2340 } | 2340 } |
2341 | 2341 |
2342 buildUnnamed1058() { | 2342 buildUnnamed1065() { |
2343 var o = new core.List<core.String>(); | 2343 var o = new core.List<core.String>(); |
2344 o.add("foo"); | 2344 o.add("foo"); |
2345 o.add("foo"); | 2345 o.add("foo"); |
2346 return o; | 2346 return o; |
2347 } | 2347 } |
2348 | 2348 |
2349 checkUnnamed1058(core.List<core.String> o) { | 2349 checkUnnamed1065(core.List<core.String> o) { |
2350 unittest.expect(o, unittest.hasLength(2)); | 2350 unittest.expect(o, unittest.hasLength(2)); |
2351 unittest.expect(o[0], unittest.equals('foo')); | 2351 unittest.expect(o[0], unittest.equals('foo')); |
2352 unittest.expect(o[1], unittest.equals('foo')); | 2352 unittest.expect(o[1], unittest.equals('foo')); |
2353 } | 2353 } |
2354 | 2354 |
2355 core.int buildCounterRule = 0; | 2355 core.int buildCounterRule = 0; |
2356 buildRule() { | 2356 buildRule() { |
2357 var o = new api.Rule(); | 2357 var o = new api.Rule(); |
2358 buildCounterRule++; | 2358 buildCounterRule++; |
2359 if (buildCounterRule < 3) { | 2359 if (buildCounterRule < 3) { |
2360 o.action = "foo"; | 2360 o.action = "foo"; |
2361 o.conditions = buildUnnamed1054(); | 2361 o.conditions = buildUnnamed1061(); |
2362 o.description = "foo"; | 2362 o.description = "foo"; |
2363 o.in_ = buildUnnamed1055(); | 2363 o.in_ = buildUnnamed1062(); |
2364 o.logConfig = buildUnnamed1056(); | 2364 o.logConfig = buildUnnamed1063(); |
2365 o.notIn = buildUnnamed1057(); | 2365 o.notIn = buildUnnamed1064(); |
2366 o.permissions = buildUnnamed1058(); | 2366 o.permissions = buildUnnamed1065(); |
2367 } | 2367 } |
2368 buildCounterRule--; | 2368 buildCounterRule--; |
2369 return o; | 2369 return o; |
2370 } | 2370 } |
2371 | 2371 |
2372 checkRule(api.Rule o) { | 2372 checkRule(api.Rule o) { |
2373 buildCounterRule++; | 2373 buildCounterRule++; |
2374 if (buildCounterRule < 3) { | 2374 if (buildCounterRule < 3) { |
2375 unittest.expect(o.action, unittest.equals('foo')); | 2375 unittest.expect(o.action, unittest.equals('foo')); |
2376 checkUnnamed1054(o.conditions); | 2376 checkUnnamed1061(o.conditions); |
2377 unittest.expect(o.description, unittest.equals('foo')); | 2377 unittest.expect(o.description, unittest.equals('foo')); |
2378 checkUnnamed1055(o.in_); | 2378 checkUnnamed1062(o.in_); |
2379 checkUnnamed1056(o.logConfig); | 2379 checkUnnamed1063(o.logConfig); |
2380 checkUnnamed1057(o.notIn); | 2380 checkUnnamed1064(o.notIn); |
2381 checkUnnamed1058(o.permissions); | 2381 checkUnnamed1065(o.permissions); |
2382 } | 2382 } |
2383 buildCounterRule--; | 2383 buildCounterRule--; |
2384 } | 2384 } |
2385 | 2385 |
2386 buildUnnamed1059() { | 2386 buildUnnamed1066() { |
2387 var o = new core.List<api.Api>(); | 2387 var o = new core.List<api.Api>(); |
2388 o.add(buildApi()); | 2388 o.add(buildApi()); |
2389 o.add(buildApi()); | 2389 o.add(buildApi()); |
2390 return o; | 2390 return o; |
2391 } | 2391 } |
2392 | 2392 |
2393 checkUnnamed1059(core.List<api.Api> o) { | 2393 checkUnnamed1066(core.List<api.Api> o) { |
2394 unittest.expect(o, unittest.hasLength(2)); | 2394 unittest.expect(o, unittest.hasLength(2)); |
2395 checkApi(o[0]); | 2395 checkApi(o[0]); |
2396 checkApi(o[1]); | 2396 checkApi(o[1]); |
2397 } | 2397 } |
2398 | 2398 |
2399 buildUnnamed1060() { | 2399 buildUnnamed1067() { |
2400 var o = new core.List<api.Endpoint>(); | 2400 var o = new core.List<api.Endpoint>(); |
2401 o.add(buildEndpoint()); | 2401 o.add(buildEndpoint()); |
2402 o.add(buildEndpoint()); | 2402 o.add(buildEndpoint()); |
2403 return o; | 2403 return o; |
2404 } | 2404 } |
2405 | 2405 |
2406 checkUnnamed1060(core.List<api.Endpoint> o) { | 2406 checkUnnamed1067(core.List<api.Endpoint> o) { |
2407 unittest.expect(o, unittest.hasLength(2)); | 2407 unittest.expect(o, unittest.hasLength(2)); |
2408 checkEndpoint(o[0]); | 2408 checkEndpoint(o[0]); |
2409 checkEndpoint(o[1]); | 2409 checkEndpoint(o[1]); |
2410 } | 2410 } |
2411 | 2411 |
2412 buildUnnamed1061() { | 2412 buildUnnamed1068() { |
2413 var o = new core.List<api.Enum>(); | 2413 var o = new core.List<api.Enum>(); |
2414 o.add(buildEnum()); | 2414 o.add(buildEnum()); |
2415 o.add(buildEnum()); | 2415 o.add(buildEnum()); |
2416 return o; | 2416 return o; |
2417 } | 2417 } |
2418 | 2418 |
2419 checkUnnamed1061(core.List<api.Enum> o) { | 2419 checkUnnamed1068(core.List<api.Enum> o) { |
2420 unittest.expect(o, unittest.hasLength(2)); | 2420 unittest.expect(o, unittest.hasLength(2)); |
2421 checkEnum(o[0]); | 2421 checkEnum(o[0]); |
2422 checkEnum(o[1]); | 2422 checkEnum(o[1]); |
2423 } | 2423 } |
2424 | 2424 |
2425 buildUnnamed1062() { | 2425 buildUnnamed1069() { |
2426 var o = new core.List<api.LogDescriptor>(); | 2426 var o = new core.List<api.LogDescriptor>(); |
2427 o.add(buildLogDescriptor()); | 2427 o.add(buildLogDescriptor()); |
2428 o.add(buildLogDescriptor()); | 2428 o.add(buildLogDescriptor()); |
2429 return o; | 2429 return o; |
2430 } | 2430 } |
2431 | 2431 |
2432 checkUnnamed1062(core.List<api.LogDescriptor> o) { | 2432 checkUnnamed1069(core.List<api.LogDescriptor> o) { |
2433 unittest.expect(o, unittest.hasLength(2)); | 2433 unittest.expect(o, unittest.hasLength(2)); |
2434 checkLogDescriptor(o[0]); | 2434 checkLogDescriptor(o[0]); |
2435 checkLogDescriptor(o[1]); | 2435 checkLogDescriptor(o[1]); |
2436 } | 2436 } |
2437 | 2437 |
2438 buildUnnamed1063() { | 2438 buildUnnamed1070() { |
2439 var o = new core.List<api.MetricDescriptor>(); | 2439 var o = new core.List<api.MetricDescriptor>(); |
2440 o.add(buildMetricDescriptor()); | 2440 o.add(buildMetricDescriptor()); |
2441 o.add(buildMetricDescriptor()); | 2441 o.add(buildMetricDescriptor()); |
2442 return o; | 2442 return o; |
2443 } | 2443 } |
2444 | 2444 |
2445 checkUnnamed1063(core.List<api.MetricDescriptor> o) { | 2445 checkUnnamed1070(core.List<api.MetricDescriptor> o) { |
2446 unittest.expect(o, unittest.hasLength(2)); | 2446 unittest.expect(o, unittest.hasLength(2)); |
2447 checkMetricDescriptor(o[0]); | 2447 checkMetricDescriptor(o[0]); |
2448 checkMetricDescriptor(o[1]); | 2448 checkMetricDescriptor(o[1]); |
2449 } | 2449 } |
2450 | 2450 |
2451 buildUnnamed1064() { | 2451 buildUnnamed1071() { |
2452 var o = new core.List<api.MonitoredResourceDescriptor>(); | 2452 var o = new core.List<api.MonitoredResourceDescriptor>(); |
2453 o.add(buildMonitoredResourceDescriptor()); | 2453 o.add(buildMonitoredResourceDescriptor()); |
2454 o.add(buildMonitoredResourceDescriptor()); | 2454 o.add(buildMonitoredResourceDescriptor()); |
2455 return o; | 2455 return o; |
2456 } | 2456 } |
2457 | 2457 |
2458 checkUnnamed1064(core.List<api.MonitoredResourceDescriptor> o) { | 2458 checkUnnamed1071(core.List<api.MonitoredResourceDescriptor> o) { |
2459 unittest.expect(o, unittest.hasLength(2)); | 2459 unittest.expect(o, unittest.hasLength(2)); |
2460 checkMonitoredResourceDescriptor(o[0]); | 2460 checkMonitoredResourceDescriptor(o[0]); |
2461 checkMonitoredResourceDescriptor(o[1]); | 2461 checkMonitoredResourceDescriptor(o[1]); |
2462 } | 2462 } |
2463 | 2463 |
2464 buildUnnamed1065() { | 2464 buildUnnamed1072() { |
2465 var o = new core.List<api.Type>(); | 2465 var o = new core.List<api.Type>(); |
2466 o.add(buildType()); | 2466 o.add(buildType()); |
2467 o.add(buildType()); | 2467 o.add(buildType()); |
2468 return o; | 2468 return o; |
2469 } | 2469 } |
2470 | 2470 |
2471 checkUnnamed1065(core.List<api.Type> o) { | 2471 checkUnnamed1072(core.List<api.Type> o) { |
2472 unittest.expect(o, unittest.hasLength(2)); | 2472 unittest.expect(o, unittest.hasLength(2)); |
2473 checkType(o[0]); | 2473 checkType(o[0]); |
2474 checkType(o[1]); | 2474 checkType(o[1]); |
2475 } | 2475 } |
2476 | 2476 |
2477 buildUnnamed1066() { | 2477 buildUnnamed1073() { |
2478 var o = new core.List<api.Type>(); | 2478 var o = new core.List<api.Type>(); |
2479 o.add(buildType()); | 2479 o.add(buildType()); |
2480 o.add(buildType()); | 2480 o.add(buildType()); |
2481 return o; | 2481 return o; |
2482 } | 2482 } |
2483 | 2483 |
2484 checkUnnamed1066(core.List<api.Type> o) { | 2484 checkUnnamed1073(core.List<api.Type> o) { |
2485 unittest.expect(o, unittest.hasLength(2)); | 2485 unittest.expect(o, unittest.hasLength(2)); |
2486 checkType(o[0]); | 2486 checkType(o[0]); |
2487 checkType(o[1]); | 2487 checkType(o[1]); |
2488 } | 2488 } |
2489 | 2489 |
2490 core.int buildCounterService = 0; | 2490 core.int buildCounterService = 0; |
2491 buildService() { | 2491 buildService() { |
2492 var o = new api.Service(); | 2492 var o = new api.Service(); |
2493 buildCounterService++; | 2493 buildCounterService++; |
2494 if (buildCounterService < 3) { | 2494 if (buildCounterService < 3) { |
2495 o.apis = buildUnnamed1059(); | 2495 o.apis = buildUnnamed1066(); |
2496 o.authentication = buildAuthentication(); | 2496 o.authentication = buildAuthentication(); |
2497 o.backend = buildBackend(); | 2497 o.backend = buildBackend(); |
2498 o.configVersion = 42; | 2498 o.configVersion = 42; |
2499 o.context = buildContext(); | 2499 o.context = buildContext(); |
2500 o.control = buildControl(); | 2500 o.control = buildControl(); |
2501 o.customError = buildCustomError(); | 2501 o.customError = buildCustomError(); |
2502 o.documentation = buildDocumentation(); | 2502 o.documentation = buildDocumentation(); |
2503 o.endpoints = buildUnnamed1060(); | 2503 o.endpoints = buildUnnamed1067(); |
2504 o.enums = buildUnnamed1061(); | 2504 o.enums = buildUnnamed1068(); |
2505 o.http = buildHttp(); | 2505 o.http = buildHttp(); |
2506 o.id = "foo"; | 2506 o.id = "foo"; |
2507 o.logging = buildLogging(); | 2507 o.logging = buildLogging(); |
2508 o.logs = buildUnnamed1062(); | 2508 o.logs = buildUnnamed1069(); |
2509 o.metrics = buildUnnamed1063(); | 2509 o.metrics = buildUnnamed1070(); |
2510 o.monitoredResources = buildUnnamed1064(); | 2510 o.monitoredResources = buildUnnamed1071(); |
2511 o.monitoring = buildMonitoring(); | 2511 o.monitoring = buildMonitoring(); |
2512 o.name = "foo"; | 2512 o.name = "foo"; |
2513 o.producerProjectId = "foo"; | 2513 o.producerProjectId = "foo"; |
2514 o.systemParameters = buildSystemParameters(); | 2514 o.systemParameters = buildSystemParameters(); |
2515 o.systemTypes = buildUnnamed1065(); | 2515 o.systemTypes = buildUnnamed1072(); |
2516 o.title = "foo"; | 2516 o.title = "foo"; |
2517 o.types = buildUnnamed1066(); | 2517 o.types = buildUnnamed1073(); |
2518 o.usage = buildUsage(); | 2518 o.usage = buildUsage(); |
2519 o.visibility = buildVisibility(); | 2519 o.visibility = buildVisibility(); |
2520 } | 2520 } |
2521 buildCounterService--; | 2521 buildCounterService--; |
2522 return o; | 2522 return o; |
2523 } | 2523 } |
2524 | 2524 |
2525 checkService(api.Service o) { | 2525 checkService(api.Service o) { |
2526 buildCounterService++; | 2526 buildCounterService++; |
2527 if (buildCounterService < 3) { | 2527 if (buildCounterService < 3) { |
2528 checkUnnamed1059(o.apis); | 2528 checkUnnamed1066(o.apis); |
2529 checkAuthentication(o.authentication); | 2529 checkAuthentication(o.authentication); |
2530 checkBackend(o.backend); | 2530 checkBackend(o.backend); |
2531 unittest.expect(o.configVersion, unittest.equals(42)); | 2531 unittest.expect(o.configVersion, unittest.equals(42)); |
2532 checkContext(o.context); | 2532 checkContext(o.context); |
2533 checkControl(o.control); | 2533 checkControl(o.control); |
2534 checkCustomError(o.customError); | 2534 checkCustomError(o.customError); |
2535 checkDocumentation(o.documentation); | 2535 checkDocumentation(o.documentation); |
2536 checkUnnamed1060(o.endpoints); | 2536 checkUnnamed1067(o.endpoints); |
2537 checkUnnamed1061(o.enums); | 2537 checkUnnamed1068(o.enums); |
2538 checkHttp(o.http); | 2538 checkHttp(o.http); |
2539 unittest.expect(o.id, unittest.equals('foo')); | 2539 unittest.expect(o.id, unittest.equals('foo')); |
2540 checkLogging(o.logging); | 2540 checkLogging(o.logging); |
2541 checkUnnamed1062(o.logs); | 2541 checkUnnamed1069(o.logs); |
2542 checkUnnamed1063(o.metrics); | 2542 checkUnnamed1070(o.metrics); |
2543 checkUnnamed1064(o.monitoredResources); | 2543 checkUnnamed1071(o.monitoredResources); |
2544 checkMonitoring(o.monitoring); | 2544 checkMonitoring(o.monitoring); |
2545 unittest.expect(o.name, unittest.equals('foo')); | 2545 unittest.expect(o.name, unittest.equals('foo')); |
2546 unittest.expect(o.producerProjectId, unittest.equals('foo')); | 2546 unittest.expect(o.producerProjectId, unittest.equals('foo')); |
2547 checkSystemParameters(o.systemParameters); | 2547 checkSystemParameters(o.systemParameters); |
2548 checkUnnamed1065(o.systemTypes); | 2548 checkUnnamed1072(o.systemTypes); |
2549 unittest.expect(o.title, unittest.equals('foo')); | 2549 unittest.expect(o.title, unittest.equals('foo')); |
2550 checkUnnamed1066(o.types); | 2550 checkUnnamed1073(o.types); |
2551 checkUsage(o.usage); | 2551 checkUsage(o.usage); |
2552 checkVisibility(o.visibility); | 2552 checkVisibility(o.visibility); |
2553 } | 2553 } |
2554 buildCounterService--; | 2554 buildCounterService--; |
2555 } | 2555 } |
2556 | 2556 |
2557 core.int buildCounterSetIamPolicyRequest = 0; | 2557 core.int buildCounterSetIamPolicyRequest = 0; |
2558 buildSetIamPolicyRequest() { | 2558 buildSetIamPolicyRequest() { |
2559 var o = new api.SetIamPolicyRequest(); | 2559 var o = new api.SetIamPolicyRequest(); |
2560 buildCounterSetIamPolicyRequest++; | 2560 buildCounterSetIamPolicyRequest++; |
(...skipping 26 matching lines...) Expand all Loading... |
2587 } | 2587 } |
2588 | 2588 |
2589 checkSourceContext(api.SourceContext o) { | 2589 checkSourceContext(api.SourceContext o) { |
2590 buildCounterSourceContext++; | 2590 buildCounterSourceContext++; |
2591 if (buildCounterSourceContext < 3) { | 2591 if (buildCounterSourceContext < 3) { |
2592 unittest.expect(o.fileName, unittest.equals('foo')); | 2592 unittest.expect(o.fileName, unittest.equals('foo')); |
2593 } | 2593 } |
2594 buildCounterSourceContext--; | 2594 buildCounterSourceContext--; |
2595 } | 2595 } |
2596 | 2596 |
2597 buildUnnamed1067() { | 2597 buildUnnamed1074() { |
2598 var o = new core.Map<core.String, core.Object>(); | 2598 var o = new core.Map<core.String, core.Object>(); |
2599 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2599 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
2600 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2600 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
2601 return o; | 2601 return o; |
2602 } | 2602 } |
2603 | 2603 |
2604 checkUnnamed1067(core.Map<core.String, core.Object> o) { | 2604 checkUnnamed1074(core.Map<core.String, core.Object> o) { |
2605 unittest.expect(o, unittest.hasLength(2)); | 2605 unittest.expect(o, unittest.hasLength(2)); |
2606 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')); | 2606 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')); |
2607 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')); | 2607 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')); |
2608 } | 2608 } |
2609 | 2609 |
2610 buildUnnamed1068() { | 2610 buildUnnamed1075() { |
2611 var o = new core.List<core.Map<core.String, core.Object>>(); | 2611 var o = new core.List<core.Map<core.String, core.Object>>(); |
2612 o.add(buildUnnamed1067()); | 2612 o.add(buildUnnamed1074()); |
2613 o.add(buildUnnamed1067()); | 2613 o.add(buildUnnamed1074()); |
2614 return o; | 2614 return o; |
2615 } | 2615 } |
2616 | 2616 |
2617 checkUnnamed1068(core.List<core.Map<core.String, core.Object>> o) { | 2617 checkUnnamed1075(core.List<core.Map<core.String, core.Object>> o) { |
2618 unittest.expect(o, unittest.hasLength(2)); | 2618 unittest.expect(o, unittest.hasLength(2)); |
2619 checkUnnamed1067(o[0]); | 2619 checkUnnamed1074(o[0]); |
2620 checkUnnamed1067(o[1]); | 2620 checkUnnamed1074(o[1]); |
2621 } | 2621 } |
2622 | 2622 |
2623 core.int buildCounterStatus = 0; | 2623 core.int buildCounterStatus = 0; |
2624 buildStatus() { | 2624 buildStatus() { |
2625 var o = new api.Status(); | 2625 var o = new api.Status(); |
2626 buildCounterStatus++; | 2626 buildCounterStatus++; |
2627 if (buildCounterStatus < 3) { | 2627 if (buildCounterStatus < 3) { |
2628 o.code = 42; | 2628 o.code = 42; |
2629 o.details = buildUnnamed1068(); | 2629 o.details = buildUnnamed1075(); |
2630 o.message = "foo"; | 2630 o.message = "foo"; |
2631 } | 2631 } |
2632 buildCounterStatus--; | 2632 buildCounterStatus--; |
2633 return o; | 2633 return o; |
2634 } | 2634 } |
2635 | 2635 |
2636 checkStatus(api.Status o) { | 2636 checkStatus(api.Status o) { |
2637 buildCounterStatus++; | 2637 buildCounterStatus++; |
2638 if (buildCounterStatus < 3) { | 2638 if (buildCounterStatus < 3) { |
2639 unittest.expect(o.code, unittest.equals(42)); | 2639 unittest.expect(o.code, unittest.equals(42)); |
2640 checkUnnamed1068(o.details); | 2640 checkUnnamed1075(o.details); |
2641 unittest.expect(o.message, unittest.equals('foo')); | 2641 unittest.expect(o.message, unittest.equals('foo')); |
2642 } | 2642 } |
2643 buildCounterStatus--; | 2643 buildCounterStatus--; |
2644 } | 2644 } |
2645 | 2645 |
2646 core.int buildCounterStep = 0; | 2646 core.int buildCounterStep = 0; |
2647 buildStep() { | 2647 buildStep() { |
2648 var o = new api.Step(); | 2648 var o = new api.Step(); |
2649 buildCounterStep++; | 2649 buildCounterStep++; |
2650 if (buildCounterStep < 3) { | 2650 if (buildCounterStep < 3) { |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2720 checkSystemParameter(api.SystemParameter o) { | 2720 checkSystemParameter(api.SystemParameter o) { |
2721 buildCounterSystemParameter++; | 2721 buildCounterSystemParameter++; |
2722 if (buildCounterSystemParameter < 3) { | 2722 if (buildCounterSystemParameter < 3) { |
2723 unittest.expect(o.httpHeader, unittest.equals('foo')); | 2723 unittest.expect(o.httpHeader, unittest.equals('foo')); |
2724 unittest.expect(o.name, unittest.equals('foo')); | 2724 unittest.expect(o.name, unittest.equals('foo')); |
2725 unittest.expect(o.urlQueryParameter, unittest.equals('foo')); | 2725 unittest.expect(o.urlQueryParameter, unittest.equals('foo')); |
2726 } | 2726 } |
2727 buildCounterSystemParameter--; | 2727 buildCounterSystemParameter--; |
2728 } | 2728 } |
2729 | 2729 |
2730 buildUnnamed1069() { | 2730 buildUnnamed1076() { |
2731 var o = new core.List<api.SystemParameter>(); | 2731 var o = new core.List<api.SystemParameter>(); |
2732 o.add(buildSystemParameter()); | 2732 o.add(buildSystemParameter()); |
2733 o.add(buildSystemParameter()); | 2733 o.add(buildSystemParameter()); |
2734 return o; | 2734 return o; |
2735 } | 2735 } |
2736 | 2736 |
2737 checkUnnamed1069(core.List<api.SystemParameter> o) { | 2737 checkUnnamed1076(core.List<api.SystemParameter> o) { |
2738 unittest.expect(o, unittest.hasLength(2)); | 2738 unittest.expect(o, unittest.hasLength(2)); |
2739 checkSystemParameter(o[0]); | 2739 checkSystemParameter(o[0]); |
2740 checkSystemParameter(o[1]); | 2740 checkSystemParameter(o[1]); |
2741 } | 2741 } |
2742 | 2742 |
2743 core.int buildCounterSystemParameterRule = 0; | 2743 core.int buildCounterSystemParameterRule = 0; |
2744 buildSystemParameterRule() { | 2744 buildSystemParameterRule() { |
2745 var o = new api.SystemParameterRule(); | 2745 var o = new api.SystemParameterRule(); |
2746 buildCounterSystemParameterRule++; | 2746 buildCounterSystemParameterRule++; |
2747 if (buildCounterSystemParameterRule < 3) { | 2747 if (buildCounterSystemParameterRule < 3) { |
2748 o.parameters = buildUnnamed1069(); | 2748 o.parameters = buildUnnamed1076(); |
2749 o.selector = "foo"; | 2749 o.selector = "foo"; |
2750 } | 2750 } |
2751 buildCounterSystemParameterRule--; | 2751 buildCounterSystemParameterRule--; |
2752 return o; | 2752 return o; |
2753 } | 2753 } |
2754 | 2754 |
2755 checkSystemParameterRule(api.SystemParameterRule o) { | 2755 checkSystemParameterRule(api.SystemParameterRule o) { |
2756 buildCounterSystemParameterRule++; | 2756 buildCounterSystemParameterRule++; |
2757 if (buildCounterSystemParameterRule < 3) { | 2757 if (buildCounterSystemParameterRule < 3) { |
2758 checkUnnamed1069(o.parameters); | 2758 checkUnnamed1076(o.parameters); |
2759 unittest.expect(o.selector, unittest.equals('foo')); | 2759 unittest.expect(o.selector, unittest.equals('foo')); |
2760 } | 2760 } |
2761 buildCounterSystemParameterRule--; | 2761 buildCounterSystemParameterRule--; |
2762 } | 2762 } |
2763 | 2763 |
2764 buildUnnamed1070() { | 2764 buildUnnamed1077() { |
2765 var o = new core.List<api.SystemParameterRule>(); | 2765 var o = new core.List<api.SystemParameterRule>(); |
2766 o.add(buildSystemParameterRule()); | 2766 o.add(buildSystemParameterRule()); |
2767 o.add(buildSystemParameterRule()); | 2767 o.add(buildSystemParameterRule()); |
2768 return o; | 2768 return o; |
2769 } | 2769 } |
2770 | 2770 |
2771 checkUnnamed1070(core.List<api.SystemParameterRule> o) { | 2771 checkUnnamed1077(core.List<api.SystemParameterRule> o) { |
2772 unittest.expect(o, unittest.hasLength(2)); | 2772 unittest.expect(o, unittest.hasLength(2)); |
2773 checkSystemParameterRule(o[0]); | 2773 checkSystemParameterRule(o[0]); |
2774 checkSystemParameterRule(o[1]); | 2774 checkSystemParameterRule(o[1]); |
2775 } | 2775 } |
2776 | 2776 |
2777 core.int buildCounterSystemParameters = 0; | 2777 core.int buildCounterSystemParameters = 0; |
2778 buildSystemParameters() { | 2778 buildSystemParameters() { |
2779 var o = new api.SystemParameters(); | 2779 var o = new api.SystemParameters(); |
2780 buildCounterSystemParameters++; | 2780 buildCounterSystemParameters++; |
2781 if (buildCounterSystemParameters < 3) { | 2781 if (buildCounterSystemParameters < 3) { |
2782 o.rules = buildUnnamed1070(); | 2782 o.rules = buildUnnamed1077(); |
2783 } | 2783 } |
2784 buildCounterSystemParameters--; | 2784 buildCounterSystemParameters--; |
2785 return o; | 2785 return o; |
2786 } | 2786 } |
2787 | 2787 |
2788 checkSystemParameters(api.SystemParameters o) { | 2788 checkSystemParameters(api.SystemParameters o) { |
2789 buildCounterSystemParameters++; | 2789 buildCounterSystemParameters++; |
2790 if (buildCounterSystemParameters < 3) { | 2790 if (buildCounterSystemParameters < 3) { |
2791 checkUnnamed1070(o.rules); | 2791 checkUnnamed1077(o.rules); |
2792 } | 2792 } |
2793 buildCounterSystemParameters--; | 2793 buildCounterSystemParameters--; |
2794 } | 2794 } |
2795 | 2795 |
2796 buildUnnamed1071() { | 2796 buildUnnamed1078() { |
2797 var o = new core.List<core.String>(); | 2797 var o = new core.List<core.String>(); |
2798 o.add("foo"); | 2798 o.add("foo"); |
2799 o.add("foo"); | 2799 o.add("foo"); |
2800 return o; | 2800 return o; |
2801 } | 2801 } |
2802 | 2802 |
2803 checkUnnamed1071(core.List<core.String> o) { | 2803 checkUnnamed1078(core.List<core.String> o) { |
2804 unittest.expect(o, unittest.hasLength(2)); | 2804 unittest.expect(o, unittest.hasLength(2)); |
2805 unittest.expect(o[0], unittest.equals('foo')); | 2805 unittest.expect(o[0], unittest.equals('foo')); |
2806 unittest.expect(o[1], unittest.equals('foo')); | 2806 unittest.expect(o[1], unittest.equals('foo')); |
2807 } | 2807 } |
2808 | 2808 |
2809 core.int buildCounterTestIamPermissionsRequest = 0; | 2809 core.int buildCounterTestIamPermissionsRequest = 0; |
2810 buildTestIamPermissionsRequest() { | 2810 buildTestIamPermissionsRequest() { |
2811 var o = new api.TestIamPermissionsRequest(); | 2811 var o = new api.TestIamPermissionsRequest(); |
2812 buildCounterTestIamPermissionsRequest++; | 2812 buildCounterTestIamPermissionsRequest++; |
2813 if (buildCounterTestIamPermissionsRequest < 3) { | 2813 if (buildCounterTestIamPermissionsRequest < 3) { |
2814 o.permissions = buildUnnamed1071(); | 2814 o.permissions = buildUnnamed1078(); |
2815 } | 2815 } |
2816 buildCounterTestIamPermissionsRequest--; | 2816 buildCounterTestIamPermissionsRequest--; |
2817 return o; | 2817 return o; |
2818 } | 2818 } |
2819 | 2819 |
2820 checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { | 2820 checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { |
2821 buildCounterTestIamPermissionsRequest++; | 2821 buildCounterTestIamPermissionsRequest++; |
2822 if (buildCounterTestIamPermissionsRequest < 3) { | 2822 if (buildCounterTestIamPermissionsRequest < 3) { |
2823 checkUnnamed1071(o.permissions); | 2823 checkUnnamed1078(o.permissions); |
2824 } | 2824 } |
2825 buildCounterTestIamPermissionsRequest--; | 2825 buildCounterTestIamPermissionsRequest--; |
2826 } | 2826 } |
2827 | 2827 |
2828 buildUnnamed1072() { | 2828 buildUnnamed1079() { |
2829 var o = new core.List<core.String>(); | 2829 var o = new core.List<core.String>(); |
2830 o.add("foo"); | 2830 o.add("foo"); |
2831 o.add("foo"); | 2831 o.add("foo"); |
2832 return o; | 2832 return o; |
2833 } | 2833 } |
2834 | 2834 |
2835 checkUnnamed1072(core.List<core.String> o) { | 2835 checkUnnamed1079(core.List<core.String> o) { |
2836 unittest.expect(o, unittest.hasLength(2)); | 2836 unittest.expect(o, unittest.hasLength(2)); |
2837 unittest.expect(o[0], unittest.equals('foo')); | 2837 unittest.expect(o[0], unittest.equals('foo')); |
2838 unittest.expect(o[1], unittest.equals('foo')); | 2838 unittest.expect(o[1], unittest.equals('foo')); |
2839 } | 2839 } |
2840 | 2840 |
2841 core.int buildCounterTestIamPermissionsResponse = 0; | 2841 core.int buildCounterTestIamPermissionsResponse = 0; |
2842 buildTestIamPermissionsResponse() { | 2842 buildTestIamPermissionsResponse() { |
2843 var o = new api.TestIamPermissionsResponse(); | 2843 var o = new api.TestIamPermissionsResponse(); |
2844 buildCounterTestIamPermissionsResponse++; | 2844 buildCounterTestIamPermissionsResponse++; |
2845 if (buildCounterTestIamPermissionsResponse < 3) { | 2845 if (buildCounterTestIamPermissionsResponse < 3) { |
2846 o.permissions = buildUnnamed1072(); | 2846 o.permissions = buildUnnamed1079(); |
2847 } | 2847 } |
2848 buildCounterTestIamPermissionsResponse--; | 2848 buildCounterTestIamPermissionsResponse--; |
2849 return o; | 2849 return o; |
2850 } | 2850 } |
2851 | 2851 |
2852 checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { | 2852 checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { |
2853 buildCounterTestIamPermissionsResponse++; | 2853 buildCounterTestIamPermissionsResponse++; |
2854 if (buildCounterTestIamPermissionsResponse < 3) { | 2854 if (buildCounterTestIamPermissionsResponse < 3) { |
2855 checkUnnamed1072(o.permissions); | 2855 checkUnnamed1079(o.permissions); |
2856 } | 2856 } |
2857 buildCounterTestIamPermissionsResponse--; | 2857 buildCounterTestIamPermissionsResponse--; |
2858 } | 2858 } |
2859 | 2859 |
2860 buildUnnamed1073() { | 2860 buildUnnamed1080() { |
2861 var o = new core.Map<core.String, core.double>(); | 2861 var o = new core.Map<core.String, core.double>(); |
2862 o["x"] = 42.0; | 2862 o["x"] = 42.0; |
2863 o["y"] = 42.0; | 2863 o["y"] = 42.0; |
2864 return o; | 2864 return o; |
2865 } | 2865 } |
2866 | 2866 |
2867 checkUnnamed1073(core.Map<core.String, core.double> o) { | 2867 checkUnnamed1080(core.Map<core.String, core.double> o) { |
2868 unittest.expect(o, unittest.hasLength(2)); | 2868 unittest.expect(o, unittest.hasLength(2)); |
2869 unittest.expect(o["x"], unittest.equals(42.0)); | 2869 unittest.expect(o["x"], unittest.equals(42.0)); |
2870 unittest.expect(o["y"], unittest.equals(42.0)); | 2870 unittest.expect(o["y"], unittest.equals(42.0)); |
2871 } | 2871 } |
2872 | 2872 |
2873 core.int buildCounterTrafficPercentStrategy = 0; | 2873 core.int buildCounterTrafficPercentStrategy = 0; |
2874 buildTrafficPercentStrategy() { | 2874 buildTrafficPercentStrategy() { |
2875 var o = new api.TrafficPercentStrategy(); | 2875 var o = new api.TrafficPercentStrategy(); |
2876 buildCounterTrafficPercentStrategy++; | 2876 buildCounterTrafficPercentStrategy++; |
2877 if (buildCounterTrafficPercentStrategy < 3) { | 2877 if (buildCounterTrafficPercentStrategy < 3) { |
2878 o.percentages = buildUnnamed1073(); | 2878 o.percentages = buildUnnamed1080(); |
2879 } | 2879 } |
2880 buildCounterTrafficPercentStrategy--; | 2880 buildCounterTrafficPercentStrategy--; |
2881 return o; | 2881 return o; |
2882 } | 2882 } |
2883 | 2883 |
2884 checkTrafficPercentStrategy(api.TrafficPercentStrategy o) { | 2884 checkTrafficPercentStrategy(api.TrafficPercentStrategy o) { |
2885 buildCounterTrafficPercentStrategy++; | 2885 buildCounterTrafficPercentStrategy++; |
2886 if (buildCounterTrafficPercentStrategy < 3) { | 2886 if (buildCounterTrafficPercentStrategy < 3) { |
2887 checkUnnamed1073(o.percentages); | 2887 checkUnnamed1080(o.percentages); |
2888 } | 2888 } |
2889 buildCounterTrafficPercentStrategy--; | 2889 buildCounterTrafficPercentStrategy--; |
2890 } | 2890 } |
2891 | 2891 |
2892 buildUnnamed1074() { | 2892 buildUnnamed1081() { |
2893 var o = new core.List<api.Field>(); | 2893 var o = new core.List<api.Field>(); |
2894 o.add(buildField()); | 2894 o.add(buildField()); |
2895 o.add(buildField()); | 2895 o.add(buildField()); |
2896 return o; | 2896 return o; |
2897 } | 2897 } |
2898 | 2898 |
2899 checkUnnamed1074(core.List<api.Field> o) { | 2899 checkUnnamed1081(core.List<api.Field> o) { |
2900 unittest.expect(o, unittest.hasLength(2)); | 2900 unittest.expect(o, unittest.hasLength(2)); |
2901 checkField(o[0]); | 2901 checkField(o[0]); |
2902 checkField(o[1]); | 2902 checkField(o[1]); |
2903 } | 2903 } |
2904 | 2904 |
2905 buildUnnamed1075() { | 2905 buildUnnamed1082() { |
2906 var o = new core.List<core.String>(); | 2906 var o = new core.List<core.String>(); |
2907 o.add("foo"); | 2907 o.add("foo"); |
2908 o.add("foo"); | 2908 o.add("foo"); |
2909 return o; | 2909 return o; |
2910 } | 2910 } |
2911 | 2911 |
2912 checkUnnamed1075(core.List<core.String> o) { | 2912 checkUnnamed1082(core.List<core.String> o) { |
2913 unittest.expect(o, unittest.hasLength(2)); | 2913 unittest.expect(o, unittest.hasLength(2)); |
2914 unittest.expect(o[0], unittest.equals('foo')); | 2914 unittest.expect(o[0], unittest.equals('foo')); |
2915 unittest.expect(o[1], unittest.equals('foo')); | 2915 unittest.expect(o[1], unittest.equals('foo')); |
2916 } | 2916 } |
2917 | 2917 |
2918 buildUnnamed1076() { | 2918 buildUnnamed1083() { |
2919 var o = new core.List<api.Option>(); | 2919 var o = new core.List<api.Option>(); |
2920 o.add(buildOption()); | 2920 o.add(buildOption()); |
2921 o.add(buildOption()); | 2921 o.add(buildOption()); |
2922 return o; | 2922 return o; |
2923 } | 2923 } |
2924 | 2924 |
2925 checkUnnamed1076(core.List<api.Option> o) { | 2925 checkUnnamed1083(core.List<api.Option> o) { |
2926 unittest.expect(o, unittest.hasLength(2)); | 2926 unittest.expect(o, unittest.hasLength(2)); |
2927 checkOption(o[0]); | 2927 checkOption(o[0]); |
2928 checkOption(o[1]); | 2928 checkOption(o[1]); |
2929 } | 2929 } |
2930 | 2930 |
2931 core.int buildCounterType = 0; | 2931 core.int buildCounterType = 0; |
2932 buildType() { | 2932 buildType() { |
2933 var o = new api.Type(); | 2933 var o = new api.Type(); |
2934 buildCounterType++; | 2934 buildCounterType++; |
2935 if (buildCounterType < 3) { | 2935 if (buildCounterType < 3) { |
2936 o.fields = buildUnnamed1074(); | 2936 o.fields = buildUnnamed1081(); |
2937 o.name = "foo"; | 2937 o.name = "foo"; |
2938 o.oneofs = buildUnnamed1075(); | 2938 o.oneofs = buildUnnamed1082(); |
2939 o.options = buildUnnamed1076(); | 2939 o.options = buildUnnamed1083(); |
2940 o.sourceContext = buildSourceContext(); | 2940 o.sourceContext = buildSourceContext(); |
2941 o.syntax = "foo"; | 2941 o.syntax = "foo"; |
2942 } | 2942 } |
2943 buildCounterType--; | 2943 buildCounterType--; |
2944 return o; | 2944 return o; |
2945 } | 2945 } |
2946 | 2946 |
2947 checkType(api.Type o) { | 2947 checkType(api.Type o) { |
2948 buildCounterType++; | 2948 buildCounterType++; |
2949 if (buildCounterType < 3) { | 2949 if (buildCounterType < 3) { |
2950 checkUnnamed1074(o.fields); | 2950 checkUnnamed1081(o.fields); |
2951 unittest.expect(o.name, unittest.equals('foo')); | 2951 unittest.expect(o.name, unittest.equals('foo')); |
2952 checkUnnamed1075(o.oneofs); | 2952 checkUnnamed1082(o.oneofs); |
2953 checkUnnamed1076(o.options); | 2953 checkUnnamed1083(o.options); |
2954 checkSourceContext(o.sourceContext); | 2954 checkSourceContext(o.sourceContext); |
2955 unittest.expect(o.syntax, unittest.equals('foo')); | 2955 unittest.expect(o.syntax, unittest.equals('foo')); |
2956 } | 2956 } |
2957 buildCounterType--; | 2957 buildCounterType--; |
2958 } | 2958 } |
2959 | 2959 |
2960 core.int buildCounterUndeleteServiceResponse = 0; | 2960 core.int buildCounterUndeleteServiceResponse = 0; |
2961 buildUndeleteServiceResponse() { | 2961 buildUndeleteServiceResponse() { |
2962 var o = new api.UndeleteServiceResponse(); | 2962 var o = new api.UndeleteServiceResponse(); |
2963 buildCounterUndeleteServiceResponse++; | 2963 buildCounterUndeleteServiceResponse++; |
2964 if (buildCounterUndeleteServiceResponse < 3) { | 2964 if (buildCounterUndeleteServiceResponse < 3) { |
2965 o.service = buildManagedService(); | 2965 o.service = buildManagedService(); |
2966 } | 2966 } |
2967 buildCounterUndeleteServiceResponse--; | 2967 buildCounterUndeleteServiceResponse--; |
2968 return o; | 2968 return o; |
2969 } | 2969 } |
2970 | 2970 |
2971 checkUndeleteServiceResponse(api.UndeleteServiceResponse o) { | 2971 checkUndeleteServiceResponse(api.UndeleteServiceResponse o) { |
2972 buildCounterUndeleteServiceResponse++; | 2972 buildCounterUndeleteServiceResponse++; |
2973 if (buildCounterUndeleteServiceResponse < 3) { | 2973 if (buildCounterUndeleteServiceResponse < 3) { |
2974 checkManagedService(o.service); | 2974 checkManagedService(o.service); |
2975 } | 2975 } |
2976 buildCounterUndeleteServiceResponse--; | 2976 buildCounterUndeleteServiceResponse--; |
2977 } | 2977 } |
2978 | 2978 |
2979 buildUnnamed1077() { | 2979 buildUnnamed1084() { |
2980 var o = new core.List<core.String>(); | 2980 var o = new core.List<core.String>(); |
2981 o.add("foo"); | 2981 o.add("foo"); |
2982 o.add("foo"); | 2982 o.add("foo"); |
2983 return o; | 2983 return o; |
2984 } | 2984 } |
2985 | 2985 |
2986 checkUnnamed1077(core.List<core.String> o) { | 2986 checkUnnamed1084(core.List<core.String> o) { |
2987 unittest.expect(o, unittest.hasLength(2)); | 2987 unittest.expect(o, unittest.hasLength(2)); |
2988 unittest.expect(o[0], unittest.equals('foo')); | 2988 unittest.expect(o[0], unittest.equals('foo')); |
2989 unittest.expect(o[1], unittest.equals('foo')); | 2989 unittest.expect(o[1], unittest.equals('foo')); |
2990 } | 2990 } |
2991 | 2991 |
2992 buildUnnamed1078() { | 2992 buildUnnamed1085() { |
2993 var o = new core.List<api.UsageRule>(); | 2993 var o = new core.List<api.UsageRule>(); |
2994 o.add(buildUsageRule()); | 2994 o.add(buildUsageRule()); |
2995 o.add(buildUsageRule()); | 2995 o.add(buildUsageRule()); |
2996 return o; | 2996 return o; |
2997 } | 2997 } |
2998 | 2998 |
2999 checkUnnamed1078(core.List<api.UsageRule> o) { | 2999 checkUnnamed1085(core.List<api.UsageRule> o) { |
3000 unittest.expect(o, unittest.hasLength(2)); | 3000 unittest.expect(o, unittest.hasLength(2)); |
3001 checkUsageRule(o[0]); | 3001 checkUsageRule(o[0]); |
3002 checkUsageRule(o[1]); | 3002 checkUsageRule(o[1]); |
3003 } | 3003 } |
3004 | 3004 |
3005 core.int buildCounterUsage = 0; | 3005 core.int buildCounterUsage = 0; |
3006 buildUsage() { | 3006 buildUsage() { |
3007 var o = new api.Usage(); | 3007 var o = new api.Usage(); |
3008 buildCounterUsage++; | 3008 buildCounterUsage++; |
3009 if (buildCounterUsage < 3) { | 3009 if (buildCounterUsage < 3) { |
3010 o.producerNotificationChannel = "foo"; | 3010 o.producerNotificationChannel = "foo"; |
3011 o.requirements = buildUnnamed1077(); | 3011 o.requirements = buildUnnamed1084(); |
3012 o.rules = buildUnnamed1078(); | 3012 o.rules = buildUnnamed1085(); |
3013 } | 3013 } |
3014 buildCounterUsage--; | 3014 buildCounterUsage--; |
3015 return o; | 3015 return o; |
3016 } | 3016 } |
3017 | 3017 |
3018 checkUsage(api.Usage o) { | 3018 checkUsage(api.Usage o) { |
3019 buildCounterUsage++; | 3019 buildCounterUsage++; |
3020 if (buildCounterUsage < 3) { | 3020 if (buildCounterUsage < 3) { |
3021 unittest.expect(o.producerNotificationChannel, unittest.equals('foo')); | 3021 unittest.expect(o.producerNotificationChannel, unittest.equals('foo')); |
3022 checkUnnamed1077(o.requirements); | 3022 checkUnnamed1084(o.requirements); |
3023 checkUnnamed1078(o.rules); | 3023 checkUnnamed1085(o.rules); |
3024 } | 3024 } |
3025 buildCounterUsage--; | 3025 buildCounterUsage--; |
3026 } | 3026 } |
3027 | 3027 |
3028 core.int buildCounterUsageRule = 0; | 3028 core.int buildCounterUsageRule = 0; |
3029 buildUsageRule() { | 3029 buildUsageRule() { |
3030 var o = new api.UsageRule(); | 3030 var o = new api.UsageRule(); |
3031 buildCounterUsageRule++; | 3031 buildCounterUsageRule++; |
3032 if (buildCounterUsageRule < 3) { | 3032 if (buildCounterUsageRule < 3) { |
3033 o.allowUnregisteredCalls = true; | 3033 o.allowUnregisteredCalls = true; |
3034 o.selector = "foo"; | 3034 o.selector = "foo"; |
3035 } | 3035 } |
3036 buildCounterUsageRule--; | 3036 buildCounterUsageRule--; |
3037 return o; | 3037 return o; |
3038 } | 3038 } |
3039 | 3039 |
3040 checkUsageRule(api.UsageRule o) { | 3040 checkUsageRule(api.UsageRule o) { |
3041 buildCounterUsageRule++; | 3041 buildCounterUsageRule++; |
3042 if (buildCounterUsageRule < 3) { | 3042 if (buildCounterUsageRule < 3) { |
3043 unittest.expect(o.allowUnregisteredCalls, unittest.isTrue); | 3043 unittest.expect(o.allowUnregisteredCalls, unittest.isTrue); |
3044 unittest.expect(o.selector, unittest.equals('foo')); | 3044 unittest.expect(o.selector, unittest.equals('foo')); |
3045 } | 3045 } |
3046 buildCounterUsageRule--; | 3046 buildCounterUsageRule--; |
3047 } | 3047 } |
3048 | 3048 |
3049 buildUnnamed1079() { | 3049 buildUnnamed1086() { |
3050 var o = new core.List<api.VisibilityRule>(); | 3050 var o = new core.List<api.VisibilityRule>(); |
3051 o.add(buildVisibilityRule()); | 3051 o.add(buildVisibilityRule()); |
3052 o.add(buildVisibilityRule()); | 3052 o.add(buildVisibilityRule()); |
3053 return o; | 3053 return o; |
3054 } | 3054 } |
3055 | 3055 |
3056 checkUnnamed1079(core.List<api.VisibilityRule> o) { | 3056 checkUnnamed1086(core.List<api.VisibilityRule> o) { |
3057 unittest.expect(o, unittest.hasLength(2)); | 3057 unittest.expect(o, unittest.hasLength(2)); |
3058 checkVisibilityRule(o[0]); | 3058 checkVisibilityRule(o[0]); |
3059 checkVisibilityRule(o[1]); | 3059 checkVisibilityRule(o[1]); |
3060 } | 3060 } |
3061 | 3061 |
3062 core.int buildCounterVisibility = 0; | 3062 core.int buildCounterVisibility = 0; |
3063 buildVisibility() { | 3063 buildVisibility() { |
3064 var o = new api.Visibility(); | 3064 var o = new api.Visibility(); |
3065 buildCounterVisibility++; | 3065 buildCounterVisibility++; |
3066 if (buildCounterVisibility < 3) { | 3066 if (buildCounterVisibility < 3) { |
3067 o.rules = buildUnnamed1079(); | 3067 o.rules = buildUnnamed1086(); |
3068 } | 3068 } |
3069 buildCounterVisibility--; | 3069 buildCounterVisibility--; |
3070 return o; | 3070 return o; |
3071 } | 3071 } |
3072 | 3072 |
3073 checkVisibility(api.Visibility o) { | 3073 checkVisibility(api.Visibility o) { |
3074 buildCounterVisibility++; | 3074 buildCounterVisibility++; |
3075 if (buildCounterVisibility < 3) { | 3075 if (buildCounterVisibility < 3) { |
3076 checkUnnamed1079(o.rules); | 3076 checkUnnamed1086(o.rules); |
3077 } | 3077 } |
3078 buildCounterVisibility--; | 3078 buildCounterVisibility--; |
3079 } | 3079 } |
3080 | 3080 |
3081 core.int buildCounterVisibilityRule = 0; | 3081 core.int buildCounterVisibilityRule = 0; |
3082 buildVisibilityRule() { | 3082 buildVisibilityRule() { |
3083 var o = new api.VisibilityRule(); | 3083 var o = new api.VisibilityRule(); |
3084 buildCounterVisibilityRule++; | 3084 buildCounterVisibilityRule++; |
3085 if (buildCounterVisibilityRule < 3) { | 3085 if (buildCounterVisibilityRule < 3) { |
3086 o.restriction = "foo"; | 3086 o.restriction = "foo"; |
(...skipping 1820 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4907 res.list(arg_serviceName, pageToken: arg_pageToken, pageSize: arg_pageSize
).then(unittest.expectAsync(((api.ListServiceRolloutsResponse response) { | 4907 res.list(arg_serviceName, pageToken: arg_pageToken, pageSize: arg_pageSize
).then(unittest.expectAsync(((api.ListServiceRolloutsResponse response) { |
4908 checkListServiceRolloutsResponse(response); | 4908 checkListServiceRolloutsResponse(response); |
4909 }))); | 4909 }))); |
4910 }); | 4910 }); |
4911 | 4911 |
4912 }); | 4912 }); |
4913 | 4913 |
4914 | 4914 |
4915 } | 4915 } |
4916 | 4916 |
OLD | NEW |