OLD | NEW |
1 library googleapis.deploymentmanager.v2.test; | 1 library googleapis.deploymentmanager.v2.test; |
2 | 2 |
3 import "dart:core" as core; | 3 import "dart:core" as core; |
4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
5 import "dart:async" as async; | 5 import "dart:async" as async; |
6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
7 | 7 |
8 import 'package:http/http.dart' as http; | 8 import 'package:http/http.dart' as http; |
9 import 'package:http/testing.dart' as http_testing; | 9 import 'package:http/testing.dart' as http_testing; |
10 import 'package:test/test.dart' as unittest; | 10 import 'package:test/test.dart' as unittest; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 } | 44 } |
45 } | 45 } |
46 } | 46 } |
47 | 47 |
48 http.StreamedResponse stringResponse( | 48 http.StreamedResponse stringResponse( |
49 core.int status, core.Map<core.String, core.String> headers, core.String bod
y) { | 49 core.int status, core.Map<core.String, core.String> headers, core.String bod
y) { |
50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); | 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); |
51 return new http.StreamedResponse(stream, status, headers: headers); | 51 return new http.StreamedResponse(stream, status, headers: headers); |
52 } | 52 } |
53 | 53 |
54 buildUnnamed2176() { | 54 buildUnnamed2194() { |
55 var o = new core.List<api.AuditLogConfig>(); | 55 var o = new core.List<api.AuditLogConfig>(); |
56 o.add(buildAuditLogConfig()); | 56 o.add(buildAuditLogConfig()); |
57 o.add(buildAuditLogConfig()); | 57 o.add(buildAuditLogConfig()); |
58 return o; | 58 return o; |
59 } | 59 } |
60 | 60 |
61 checkUnnamed2176(core.List<api.AuditLogConfig> o) { | 61 checkUnnamed2194(core.List<api.AuditLogConfig> o) { |
62 unittest.expect(o, unittest.hasLength(2)); | 62 unittest.expect(o, unittest.hasLength(2)); |
63 checkAuditLogConfig(o[0]); | 63 checkAuditLogConfig(o[0]); |
64 checkAuditLogConfig(o[1]); | 64 checkAuditLogConfig(o[1]); |
65 } | 65 } |
66 | 66 |
67 buildUnnamed2177() { | 67 buildUnnamed2195() { |
68 var o = new core.List<core.String>(); | 68 var o = new core.List<core.String>(); |
69 o.add("foo"); | 69 o.add("foo"); |
70 o.add("foo"); | 70 o.add("foo"); |
71 return o; | 71 return o; |
72 } | 72 } |
73 | 73 |
74 checkUnnamed2177(core.List<core.String> o) { | 74 checkUnnamed2195(core.List<core.String> o) { |
75 unittest.expect(o, unittest.hasLength(2)); | 75 unittest.expect(o, unittest.hasLength(2)); |
76 unittest.expect(o[0], unittest.equals('foo')); | 76 unittest.expect(o[0], unittest.equals('foo')); |
77 unittest.expect(o[1], unittest.equals('foo')); | 77 unittest.expect(o[1], unittest.equals('foo')); |
78 } | 78 } |
79 | 79 |
80 core.int buildCounterAuditConfig = 0; | 80 core.int buildCounterAuditConfig = 0; |
81 buildAuditConfig() { | 81 buildAuditConfig() { |
82 var o = new api.AuditConfig(); | 82 var o = new api.AuditConfig(); |
83 buildCounterAuditConfig++; | 83 buildCounterAuditConfig++; |
84 if (buildCounterAuditConfig < 3) { | 84 if (buildCounterAuditConfig < 3) { |
85 o.auditLogConfigs = buildUnnamed2176(); | 85 o.auditLogConfigs = buildUnnamed2194(); |
86 o.exemptedMembers = buildUnnamed2177(); | 86 o.exemptedMembers = buildUnnamed2195(); |
87 o.service = "foo"; | 87 o.service = "foo"; |
88 } | 88 } |
89 buildCounterAuditConfig--; | 89 buildCounterAuditConfig--; |
90 return o; | 90 return o; |
91 } | 91 } |
92 | 92 |
93 checkAuditConfig(api.AuditConfig o) { | 93 checkAuditConfig(api.AuditConfig o) { |
94 buildCounterAuditConfig++; | 94 buildCounterAuditConfig++; |
95 if (buildCounterAuditConfig < 3) { | 95 if (buildCounterAuditConfig < 3) { |
96 checkUnnamed2176(o.auditLogConfigs); | 96 checkUnnamed2194(o.auditLogConfigs); |
97 checkUnnamed2177(o.exemptedMembers); | 97 checkUnnamed2195(o.exemptedMembers); |
98 unittest.expect(o.service, unittest.equals('foo')); | 98 unittest.expect(o.service, unittest.equals('foo')); |
99 } | 99 } |
100 buildCounterAuditConfig--; | 100 buildCounterAuditConfig--; |
101 } | 101 } |
102 | 102 |
103 buildUnnamed2178() { | 103 buildUnnamed2196() { |
104 var o = new core.List<core.String>(); | 104 var o = new core.List<core.String>(); |
105 o.add("foo"); | 105 o.add("foo"); |
106 o.add("foo"); | 106 o.add("foo"); |
107 return o; | 107 return o; |
108 } | 108 } |
109 | 109 |
110 checkUnnamed2178(core.List<core.String> o) { | 110 checkUnnamed2196(core.List<core.String> o) { |
111 unittest.expect(o, unittest.hasLength(2)); | 111 unittest.expect(o, unittest.hasLength(2)); |
112 unittest.expect(o[0], unittest.equals('foo')); | 112 unittest.expect(o[0], unittest.equals('foo')); |
113 unittest.expect(o[1], unittest.equals('foo')); | 113 unittest.expect(o[1], unittest.equals('foo')); |
114 } | 114 } |
115 | 115 |
116 core.int buildCounterAuditLogConfig = 0; | 116 core.int buildCounterAuditLogConfig = 0; |
117 buildAuditLogConfig() { | 117 buildAuditLogConfig() { |
118 var o = new api.AuditLogConfig(); | 118 var o = new api.AuditLogConfig(); |
119 buildCounterAuditLogConfig++; | 119 buildCounterAuditLogConfig++; |
120 if (buildCounterAuditLogConfig < 3) { | 120 if (buildCounterAuditLogConfig < 3) { |
121 o.exemptedMembers = buildUnnamed2178(); | 121 o.exemptedMembers = buildUnnamed2196(); |
122 o.logType = "foo"; | 122 o.logType = "foo"; |
123 } | 123 } |
124 buildCounterAuditLogConfig--; | 124 buildCounterAuditLogConfig--; |
125 return o; | 125 return o; |
126 } | 126 } |
127 | 127 |
128 checkAuditLogConfig(api.AuditLogConfig o) { | 128 checkAuditLogConfig(api.AuditLogConfig o) { |
129 buildCounterAuditLogConfig++; | 129 buildCounterAuditLogConfig++; |
130 if (buildCounterAuditLogConfig < 3) { | 130 if (buildCounterAuditLogConfig < 3) { |
131 checkUnnamed2178(o.exemptedMembers); | 131 checkUnnamed2196(o.exemptedMembers); |
132 unittest.expect(o.logType, unittest.equals('foo')); | 132 unittest.expect(o.logType, unittest.equals('foo')); |
133 } | 133 } |
134 buildCounterAuditLogConfig--; | 134 buildCounterAuditLogConfig--; |
135 } | 135 } |
136 | 136 |
137 buildUnnamed2179() { | 137 core.int buildCounterAuthorizationLoggingOptions = 0; |
| 138 buildAuthorizationLoggingOptions() { |
| 139 var o = new api.AuthorizationLoggingOptions(); |
| 140 buildCounterAuthorizationLoggingOptions++; |
| 141 if (buildCounterAuthorizationLoggingOptions < 3) { |
| 142 o.permissionType = "foo"; |
| 143 } |
| 144 buildCounterAuthorizationLoggingOptions--; |
| 145 return o; |
| 146 } |
| 147 |
| 148 checkAuthorizationLoggingOptions(api.AuthorizationLoggingOptions o) { |
| 149 buildCounterAuthorizationLoggingOptions++; |
| 150 if (buildCounterAuthorizationLoggingOptions < 3) { |
| 151 unittest.expect(o.permissionType, unittest.equals('foo')); |
| 152 } |
| 153 buildCounterAuthorizationLoggingOptions--; |
| 154 } |
| 155 |
| 156 buildUnnamed2197() { |
138 var o = new core.List<core.String>(); | 157 var o = new core.List<core.String>(); |
139 o.add("foo"); | 158 o.add("foo"); |
140 o.add("foo"); | 159 o.add("foo"); |
141 return o; | 160 return o; |
142 } | 161 } |
143 | 162 |
144 checkUnnamed2179(core.List<core.String> o) { | 163 checkUnnamed2197(core.List<core.String> o) { |
145 unittest.expect(o, unittest.hasLength(2)); | 164 unittest.expect(o, unittest.hasLength(2)); |
146 unittest.expect(o[0], unittest.equals('foo')); | 165 unittest.expect(o[0], unittest.equals('foo')); |
147 unittest.expect(o[1], unittest.equals('foo')); | 166 unittest.expect(o[1], unittest.equals('foo')); |
148 } | 167 } |
149 | 168 |
150 core.int buildCounterBinding = 0; | 169 core.int buildCounterBinding = 0; |
151 buildBinding() { | 170 buildBinding() { |
152 var o = new api.Binding(); | 171 var o = new api.Binding(); |
153 buildCounterBinding++; | 172 buildCounterBinding++; |
154 if (buildCounterBinding < 3) { | 173 if (buildCounterBinding < 3) { |
155 o.condition = buildExpr(); | 174 o.condition = buildExpr(); |
156 o.members = buildUnnamed2179(); | 175 o.members = buildUnnamed2197(); |
157 o.role = "foo"; | 176 o.role = "foo"; |
158 } | 177 } |
159 buildCounterBinding--; | 178 buildCounterBinding--; |
160 return o; | 179 return o; |
161 } | 180 } |
162 | 181 |
163 checkBinding(api.Binding o) { | 182 checkBinding(api.Binding o) { |
164 buildCounterBinding++; | 183 buildCounterBinding++; |
165 if (buildCounterBinding < 3) { | 184 if (buildCounterBinding < 3) { |
166 checkExpr(o.condition); | 185 checkExpr(o.condition); |
167 checkUnnamed2179(o.members); | 186 checkUnnamed2197(o.members); |
168 unittest.expect(o.role, unittest.equals('foo')); | 187 unittest.expect(o.role, unittest.equals('foo')); |
169 } | 188 } |
170 buildCounterBinding--; | 189 buildCounterBinding--; |
171 } | 190 } |
172 | 191 |
173 buildUnnamed2180() { | 192 buildUnnamed2198() { |
174 var o = new core.List<core.String>(); | 193 var o = new core.List<core.String>(); |
175 o.add("foo"); | 194 o.add("foo"); |
176 o.add("foo"); | 195 o.add("foo"); |
177 return o; | 196 return o; |
178 } | 197 } |
179 | 198 |
180 checkUnnamed2180(core.List<core.String> o) { | 199 checkUnnamed2198(core.List<core.String> o) { |
181 unittest.expect(o, unittest.hasLength(2)); | 200 unittest.expect(o, unittest.hasLength(2)); |
182 unittest.expect(o[0], unittest.equals('foo')); | 201 unittest.expect(o[0], unittest.equals('foo')); |
183 unittest.expect(o[1], unittest.equals('foo')); | 202 unittest.expect(o[1], unittest.equals('foo')); |
184 } | 203 } |
185 | 204 |
186 core.int buildCounterCondition = 0; | 205 core.int buildCounterCondition = 0; |
187 buildCondition() { | 206 buildCondition() { |
188 var o = new api.Condition(); | 207 var o = new api.Condition(); |
189 buildCounterCondition++; | 208 buildCounterCondition++; |
190 if (buildCounterCondition < 3) { | 209 if (buildCounterCondition < 3) { |
191 o.iam = "foo"; | 210 o.iam = "foo"; |
192 o.op = "foo"; | 211 o.op = "foo"; |
193 o.svc = "foo"; | 212 o.svc = "foo"; |
194 o.sys = "foo"; | 213 o.sys = "foo"; |
195 o.value = "foo"; | 214 o.value = "foo"; |
196 o.values = buildUnnamed2180(); | 215 o.values = buildUnnamed2198(); |
197 } | 216 } |
198 buildCounterCondition--; | 217 buildCounterCondition--; |
199 return o; | 218 return o; |
200 } | 219 } |
201 | 220 |
202 checkCondition(api.Condition o) { | 221 checkCondition(api.Condition o) { |
203 buildCounterCondition++; | 222 buildCounterCondition++; |
204 if (buildCounterCondition < 3) { | 223 if (buildCounterCondition < 3) { |
205 unittest.expect(o.iam, unittest.equals('foo')); | 224 unittest.expect(o.iam, unittest.equals('foo')); |
206 unittest.expect(o.op, unittest.equals('foo')); | 225 unittest.expect(o.op, unittest.equals('foo')); |
207 unittest.expect(o.svc, unittest.equals('foo')); | 226 unittest.expect(o.svc, unittest.equals('foo')); |
208 unittest.expect(o.sys, unittest.equals('foo')); | 227 unittest.expect(o.sys, unittest.equals('foo')); |
209 unittest.expect(o.value, unittest.equals('foo')); | 228 unittest.expect(o.value, unittest.equals('foo')); |
210 checkUnnamed2180(o.values); | 229 checkUnnamed2198(o.values); |
211 } | 230 } |
212 buildCounterCondition--; | 231 buildCounterCondition--; |
213 } | 232 } |
214 | 233 |
215 core.int buildCounterConfigFile = 0; | 234 core.int buildCounterConfigFile = 0; |
216 buildConfigFile() { | 235 buildConfigFile() { |
217 var o = new api.ConfigFile(); | 236 var o = new api.ConfigFile(); |
218 buildCounterConfigFile++; | 237 buildCounterConfigFile++; |
219 if (buildCounterConfigFile < 3) { | 238 if (buildCounterConfigFile < 3) { |
220 o.content = "foo"; | 239 o.content = "foo"; |
221 } | 240 } |
222 buildCounterConfigFile--; | 241 buildCounterConfigFile--; |
223 return o; | 242 return o; |
224 } | 243 } |
225 | 244 |
226 checkConfigFile(api.ConfigFile o) { | 245 checkConfigFile(api.ConfigFile o) { |
227 buildCounterConfigFile++; | 246 buildCounterConfigFile++; |
228 if (buildCounterConfigFile < 3) { | 247 if (buildCounterConfigFile < 3) { |
229 unittest.expect(o.content, unittest.equals('foo')); | 248 unittest.expect(o.content, unittest.equals('foo')); |
230 } | 249 } |
231 buildCounterConfigFile--; | 250 buildCounterConfigFile--; |
232 } | 251 } |
233 | 252 |
234 buildUnnamed2181() { | 253 buildUnnamed2199() { |
235 var o = new core.List<api.DeploymentLabelEntry>(); | 254 var o = new core.List<api.DeploymentLabelEntry>(); |
236 o.add(buildDeploymentLabelEntry()); | 255 o.add(buildDeploymentLabelEntry()); |
237 o.add(buildDeploymentLabelEntry()); | 256 o.add(buildDeploymentLabelEntry()); |
238 return o; | 257 return o; |
239 } | 258 } |
240 | 259 |
241 checkUnnamed2181(core.List<api.DeploymentLabelEntry> o) { | 260 checkUnnamed2199(core.List<api.DeploymentLabelEntry> o) { |
242 unittest.expect(o, unittest.hasLength(2)); | 261 unittest.expect(o, unittest.hasLength(2)); |
243 checkDeploymentLabelEntry(o[0]); | 262 checkDeploymentLabelEntry(o[0]); |
244 checkDeploymentLabelEntry(o[1]); | 263 checkDeploymentLabelEntry(o[1]); |
245 } | 264 } |
246 | 265 |
247 core.int buildCounterDeployment = 0; | 266 core.int buildCounterDeployment = 0; |
248 buildDeployment() { | 267 buildDeployment() { |
249 var o = new api.Deployment(); | 268 var o = new api.Deployment(); |
250 buildCounterDeployment++; | 269 buildCounterDeployment++; |
251 if (buildCounterDeployment < 3) { | 270 if (buildCounterDeployment < 3) { |
252 o.description = "foo"; | 271 o.description = "foo"; |
253 o.fingerprint = "foo"; | 272 o.fingerprint = "foo"; |
254 o.id = "foo"; | 273 o.id = "foo"; |
255 o.insertTime = "foo"; | 274 o.insertTime = "foo"; |
256 o.labels = buildUnnamed2181(); | 275 o.labels = buildUnnamed2199(); |
257 o.manifest = "foo"; | 276 o.manifest = "foo"; |
258 o.name = "foo"; | 277 o.name = "foo"; |
259 o.operation = buildOperation(); | 278 o.operation = buildOperation(); |
260 o.selfLink = "foo"; | 279 o.selfLink = "foo"; |
261 o.target = buildTargetConfiguration(); | 280 o.target = buildTargetConfiguration(); |
262 o.update = buildDeploymentUpdate(); | 281 o.update = buildDeploymentUpdate(); |
263 } | 282 } |
264 buildCounterDeployment--; | 283 buildCounterDeployment--; |
265 return o; | 284 return o; |
266 } | 285 } |
267 | 286 |
268 checkDeployment(api.Deployment o) { | 287 checkDeployment(api.Deployment o) { |
269 buildCounterDeployment++; | 288 buildCounterDeployment++; |
270 if (buildCounterDeployment < 3) { | 289 if (buildCounterDeployment < 3) { |
271 unittest.expect(o.description, unittest.equals('foo')); | 290 unittest.expect(o.description, unittest.equals('foo')); |
272 unittest.expect(o.fingerprint, unittest.equals('foo')); | 291 unittest.expect(o.fingerprint, unittest.equals('foo')); |
273 unittest.expect(o.id, unittest.equals('foo')); | 292 unittest.expect(o.id, unittest.equals('foo')); |
274 unittest.expect(o.insertTime, unittest.equals('foo')); | 293 unittest.expect(o.insertTime, unittest.equals('foo')); |
275 checkUnnamed2181(o.labels); | 294 checkUnnamed2199(o.labels); |
276 unittest.expect(o.manifest, unittest.equals('foo')); | 295 unittest.expect(o.manifest, unittest.equals('foo')); |
277 unittest.expect(o.name, unittest.equals('foo')); | 296 unittest.expect(o.name, unittest.equals('foo')); |
278 checkOperation(o.operation); | 297 checkOperation(o.operation); |
279 unittest.expect(o.selfLink, unittest.equals('foo')); | 298 unittest.expect(o.selfLink, unittest.equals('foo')); |
280 checkTargetConfiguration(o.target); | 299 checkTargetConfiguration(o.target); |
281 checkDeploymentUpdate(o.update); | 300 checkDeploymentUpdate(o.update); |
282 } | 301 } |
283 buildCounterDeployment--; | 302 buildCounterDeployment--; |
284 } | 303 } |
285 | 304 |
(...skipping 11 matching lines...) Expand all Loading... |
297 | 316 |
298 checkDeploymentLabelEntry(api.DeploymentLabelEntry o) { | 317 checkDeploymentLabelEntry(api.DeploymentLabelEntry o) { |
299 buildCounterDeploymentLabelEntry++; | 318 buildCounterDeploymentLabelEntry++; |
300 if (buildCounterDeploymentLabelEntry < 3) { | 319 if (buildCounterDeploymentLabelEntry < 3) { |
301 unittest.expect(o.key, unittest.equals('foo')); | 320 unittest.expect(o.key, unittest.equals('foo')); |
302 unittest.expect(o.value, unittest.equals('foo')); | 321 unittest.expect(o.value, unittest.equals('foo')); |
303 } | 322 } |
304 buildCounterDeploymentLabelEntry--; | 323 buildCounterDeploymentLabelEntry--; |
305 } | 324 } |
306 | 325 |
307 buildUnnamed2182() { | 326 buildUnnamed2200() { |
308 var o = new core.List<api.DeploymentUpdateLabelEntry>(); | 327 var o = new core.List<api.DeploymentUpdateLabelEntry>(); |
309 o.add(buildDeploymentUpdateLabelEntry()); | 328 o.add(buildDeploymentUpdateLabelEntry()); |
310 o.add(buildDeploymentUpdateLabelEntry()); | 329 o.add(buildDeploymentUpdateLabelEntry()); |
311 return o; | 330 return o; |
312 } | 331 } |
313 | 332 |
314 checkUnnamed2182(core.List<api.DeploymentUpdateLabelEntry> o) { | 333 checkUnnamed2200(core.List<api.DeploymentUpdateLabelEntry> o) { |
315 unittest.expect(o, unittest.hasLength(2)); | 334 unittest.expect(o, unittest.hasLength(2)); |
316 checkDeploymentUpdateLabelEntry(o[0]); | 335 checkDeploymentUpdateLabelEntry(o[0]); |
317 checkDeploymentUpdateLabelEntry(o[1]); | 336 checkDeploymentUpdateLabelEntry(o[1]); |
318 } | 337 } |
319 | 338 |
320 core.int buildCounterDeploymentUpdate = 0; | 339 core.int buildCounterDeploymentUpdate = 0; |
321 buildDeploymentUpdate() { | 340 buildDeploymentUpdate() { |
322 var o = new api.DeploymentUpdate(); | 341 var o = new api.DeploymentUpdate(); |
323 buildCounterDeploymentUpdate++; | 342 buildCounterDeploymentUpdate++; |
324 if (buildCounterDeploymentUpdate < 3) { | 343 if (buildCounterDeploymentUpdate < 3) { |
325 o.description = "foo"; | 344 o.description = "foo"; |
326 o.labels = buildUnnamed2182(); | 345 o.labels = buildUnnamed2200(); |
327 o.manifest = "foo"; | 346 o.manifest = "foo"; |
328 } | 347 } |
329 buildCounterDeploymentUpdate--; | 348 buildCounterDeploymentUpdate--; |
330 return o; | 349 return o; |
331 } | 350 } |
332 | 351 |
333 checkDeploymentUpdate(api.DeploymentUpdate o) { | 352 checkDeploymentUpdate(api.DeploymentUpdate o) { |
334 buildCounterDeploymentUpdate++; | 353 buildCounterDeploymentUpdate++; |
335 if (buildCounterDeploymentUpdate < 3) { | 354 if (buildCounterDeploymentUpdate < 3) { |
336 unittest.expect(o.description, unittest.equals('foo')); | 355 unittest.expect(o.description, unittest.equals('foo')); |
337 checkUnnamed2182(o.labels); | 356 checkUnnamed2200(o.labels); |
338 unittest.expect(o.manifest, unittest.equals('foo')); | 357 unittest.expect(o.manifest, unittest.equals('foo')); |
339 } | 358 } |
340 buildCounterDeploymentUpdate--; | 359 buildCounterDeploymentUpdate--; |
341 } | 360 } |
342 | 361 |
343 core.int buildCounterDeploymentUpdateLabelEntry = 0; | 362 core.int buildCounterDeploymentUpdateLabelEntry = 0; |
344 buildDeploymentUpdateLabelEntry() { | 363 buildDeploymentUpdateLabelEntry() { |
345 var o = new api.DeploymentUpdateLabelEntry(); | 364 var o = new api.DeploymentUpdateLabelEntry(); |
346 buildCounterDeploymentUpdateLabelEntry++; | 365 buildCounterDeploymentUpdateLabelEntry++; |
347 if (buildCounterDeploymentUpdateLabelEntry < 3) { | 366 if (buildCounterDeploymentUpdateLabelEntry < 3) { |
(...skipping 25 matching lines...) Expand all Loading... |
373 } | 392 } |
374 | 393 |
375 checkDeploymentsCancelPreviewRequest(api.DeploymentsCancelPreviewRequest o) { | 394 checkDeploymentsCancelPreviewRequest(api.DeploymentsCancelPreviewRequest o) { |
376 buildCounterDeploymentsCancelPreviewRequest++; | 395 buildCounterDeploymentsCancelPreviewRequest++; |
377 if (buildCounterDeploymentsCancelPreviewRequest < 3) { | 396 if (buildCounterDeploymentsCancelPreviewRequest < 3) { |
378 unittest.expect(o.fingerprint, unittest.equals('foo')); | 397 unittest.expect(o.fingerprint, unittest.equals('foo')); |
379 } | 398 } |
380 buildCounterDeploymentsCancelPreviewRequest--; | 399 buildCounterDeploymentsCancelPreviewRequest--; |
381 } | 400 } |
382 | 401 |
383 buildUnnamed2183() { | 402 buildUnnamed2201() { |
384 var o = new core.List<api.Deployment>(); | 403 var o = new core.List<api.Deployment>(); |
385 o.add(buildDeployment()); | 404 o.add(buildDeployment()); |
386 o.add(buildDeployment()); | 405 o.add(buildDeployment()); |
387 return o; | 406 return o; |
388 } | 407 } |
389 | 408 |
390 checkUnnamed2183(core.List<api.Deployment> o) { | 409 checkUnnamed2201(core.List<api.Deployment> o) { |
391 unittest.expect(o, unittest.hasLength(2)); | 410 unittest.expect(o, unittest.hasLength(2)); |
392 checkDeployment(o[0]); | 411 checkDeployment(o[0]); |
393 checkDeployment(o[1]); | 412 checkDeployment(o[1]); |
394 } | 413 } |
395 | 414 |
396 core.int buildCounterDeploymentsListResponse = 0; | 415 core.int buildCounterDeploymentsListResponse = 0; |
397 buildDeploymentsListResponse() { | 416 buildDeploymentsListResponse() { |
398 var o = new api.DeploymentsListResponse(); | 417 var o = new api.DeploymentsListResponse(); |
399 buildCounterDeploymentsListResponse++; | 418 buildCounterDeploymentsListResponse++; |
400 if (buildCounterDeploymentsListResponse < 3) { | 419 if (buildCounterDeploymentsListResponse < 3) { |
401 o.deployments = buildUnnamed2183(); | 420 o.deployments = buildUnnamed2201(); |
402 o.nextPageToken = "foo"; | 421 o.nextPageToken = "foo"; |
403 } | 422 } |
404 buildCounterDeploymentsListResponse--; | 423 buildCounterDeploymentsListResponse--; |
405 return o; | 424 return o; |
406 } | 425 } |
407 | 426 |
408 checkDeploymentsListResponse(api.DeploymentsListResponse o) { | 427 checkDeploymentsListResponse(api.DeploymentsListResponse o) { |
409 buildCounterDeploymentsListResponse++; | 428 buildCounterDeploymentsListResponse++; |
410 if (buildCounterDeploymentsListResponse < 3) { | 429 if (buildCounterDeploymentsListResponse < 3) { |
411 checkUnnamed2183(o.deployments); | 430 checkUnnamed2201(o.deployments); |
412 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 431 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
413 } | 432 } |
414 buildCounterDeploymentsListResponse--; | 433 buildCounterDeploymentsListResponse--; |
415 } | 434 } |
416 | 435 |
417 core.int buildCounterDeploymentsStopRequest = 0; | 436 core.int buildCounterDeploymentsStopRequest = 0; |
418 buildDeploymentsStopRequest() { | 437 buildDeploymentsStopRequest() { |
419 var o = new api.DeploymentsStopRequest(); | 438 var o = new api.DeploymentsStopRequest(); |
420 buildCounterDeploymentsStopRequest++; | 439 buildCounterDeploymentsStopRequest++; |
421 if (buildCounterDeploymentsStopRequest < 3) { | 440 if (buildCounterDeploymentsStopRequest < 3) { |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
479 buildCounterImportFile--; | 498 buildCounterImportFile--; |
480 } | 499 } |
481 | 500 |
482 core.int buildCounterLogConfig = 0; | 501 core.int buildCounterLogConfig = 0; |
483 buildLogConfig() { | 502 buildLogConfig() { |
484 var o = new api.LogConfig(); | 503 var o = new api.LogConfig(); |
485 buildCounterLogConfig++; | 504 buildCounterLogConfig++; |
486 if (buildCounterLogConfig < 3) { | 505 if (buildCounterLogConfig < 3) { |
487 o.cloudAudit = buildLogConfigCloudAuditOptions(); | 506 o.cloudAudit = buildLogConfigCloudAuditOptions(); |
488 o.counter = buildLogConfigCounterOptions(); | 507 o.counter = buildLogConfigCounterOptions(); |
| 508 o.dataAccess = buildLogConfigDataAccessOptions(); |
489 } | 509 } |
490 buildCounterLogConfig--; | 510 buildCounterLogConfig--; |
491 return o; | 511 return o; |
492 } | 512 } |
493 | 513 |
494 checkLogConfig(api.LogConfig o) { | 514 checkLogConfig(api.LogConfig o) { |
495 buildCounterLogConfig++; | 515 buildCounterLogConfig++; |
496 if (buildCounterLogConfig < 3) { | 516 if (buildCounterLogConfig < 3) { |
497 checkLogConfigCloudAuditOptions(o.cloudAudit); | 517 checkLogConfigCloudAuditOptions(o.cloudAudit); |
498 checkLogConfigCounterOptions(o.counter); | 518 checkLogConfigCounterOptions(o.counter); |
| 519 checkLogConfigDataAccessOptions(o.dataAccess); |
499 } | 520 } |
500 buildCounterLogConfig--; | 521 buildCounterLogConfig--; |
501 } | 522 } |
502 | 523 |
503 core.int buildCounterLogConfigCloudAuditOptions = 0; | 524 core.int buildCounterLogConfigCloudAuditOptions = 0; |
504 buildLogConfigCloudAuditOptions() { | 525 buildLogConfigCloudAuditOptions() { |
505 var o = new api.LogConfigCloudAuditOptions(); | 526 var o = new api.LogConfigCloudAuditOptions(); |
506 buildCounterLogConfigCloudAuditOptions++; | 527 buildCounterLogConfigCloudAuditOptions++; |
507 if (buildCounterLogConfigCloudAuditOptions < 3) { | 528 if (buildCounterLogConfigCloudAuditOptions < 3) { |
| 529 o.authorizationLoggingOptions = buildAuthorizationLoggingOptions(); |
508 o.logName = "foo"; | 530 o.logName = "foo"; |
509 } | 531 } |
510 buildCounterLogConfigCloudAuditOptions--; | 532 buildCounterLogConfigCloudAuditOptions--; |
511 return o; | 533 return o; |
512 } | 534 } |
513 | 535 |
514 checkLogConfigCloudAuditOptions(api.LogConfigCloudAuditOptions o) { | 536 checkLogConfigCloudAuditOptions(api.LogConfigCloudAuditOptions o) { |
515 buildCounterLogConfigCloudAuditOptions++; | 537 buildCounterLogConfigCloudAuditOptions++; |
516 if (buildCounterLogConfigCloudAuditOptions < 3) { | 538 if (buildCounterLogConfigCloudAuditOptions < 3) { |
| 539 checkAuthorizationLoggingOptions(o.authorizationLoggingOptions); |
517 unittest.expect(o.logName, unittest.equals('foo')); | 540 unittest.expect(o.logName, unittest.equals('foo')); |
518 } | 541 } |
519 buildCounterLogConfigCloudAuditOptions--; | 542 buildCounterLogConfigCloudAuditOptions--; |
520 } | 543 } |
521 | 544 |
522 core.int buildCounterLogConfigCounterOptions = 0; | 545 core.int buildCounterLogConfigCounterOptions = 0; |
523 buildLogConfigCounterOptions() { | 546 buildLogConfigCounterOptions() { |
524 var o = new api.LogConfigCounterOptions(); | 547 var o = new api.LogConfigCounterOptions(); |
525 buildCounterLogConfigCounterOptions++; | 548 buildCounterLogConfigCounterOptions++; |
526 if (buildCounterLogConfigCounterOptions < 3) { | 549 if (buildCounterLogConfigCounterOptions < 3) { |
527 o.field = "foo"; | 550 o.field = "foo"; |
528 o.metric = "foo"; | 551 o.metric = "foo"; |
529 } | 552 } |
530 buildCounterLogConfigCounterOptions--; | 553 buildCounterLogConfigCounterOptions--; |
531 return o; | 554 return o; |
532 } | 555 } |
533 | 556 |
534 checkLogConfigCounterOptions(api.LogConfigCounterOptions o) { | 557 checkLogConfigCounterOptions(api.LogConfigCounterOptions o) { |
535 buildCounterLogConfigCounterOptions++; | 558 buildCounterLogConfigCounterOptions++; |
536 if (buildCounterLogConfigCounterOptions < 3) { | 559 if (buildCounterLogConfigCounterOptions < 3) { |
537 unittest.expect(o.field, unittest.equals('foo')); | 560 unittest.expect(o.field, unittest.equals('foo')); |
538 unittest.expect(o.metric, unittest.equals('foo')); | 561 unittest.expect(o.metric, unittest.equals('foo')); |
539 } | 562 } |
540 buildCounterLogConfigCounterOptions--; | 563 buildCounterLogConfigCounterOptions--; |
541 } | 564 } |
542 | 565 |
543 buildUnnamed2184() { | 566 core.int buildCounterLogConfigDataAccessOptions = 0; |
| 567 buildLogConfigDataAccessOptions() { |
| 568 var o = new api.LogConfigDataAccessOptions(); |
| 569 buildCounterLogConfigDataAccessOptions++; |
| 570 if (buildCounterLogConfigDataAccessOptions < 3) { |
| 571 o.logMode = "foo"; |
| 572 } |
| 573 buildCounterLogConfigDataAccessOptions--; |
| 574 return o; |
| 575 } |
| 576 |
| 577 checkLogConfigDataAccessOptions(api.LogConfigDataAccessOptions o) { |
| 578 buildCounterLogConfigDataAccessOptions++; |
| 579 if (buildCounterLogConfigDataAccessOptions < 3) { |
| 580 unittest.expect(o.logMode, unittest.equals('foo')); |
| 581 } |
| 582 buildCounterLogConfigDataAccessOptions--; |
| 583 } |
| 584 |
| 585 buildUnnamed2202() { |
544 var o = new core.List<api.ImportFile>(); | 586 var o = new core.List<api.ImportFile>(); |
545 o.add(buildImportFile()); | 587 o.add(buildImportFile()); |
546 o.add(buildImportFile()); | 588 o.add(buildImportFile()); |
547 return o; | 589 return o; |
548 } | 590 } |
549 | 591 |
550 checkUnnamed2184(core.List<api.ImportFile> o) { | 592 checkUnnamed2202(core.List<api.ImportFile> o) { |
551 unittest.expect(o, unittest.hasLength(2)); | 593 unittest.expect(o, unittest.hasLength(2)); |
552 checkImportFile(o[0]); | 594 checkImportFile(o[0]); |
553 checkImportFile(o[1]); | 595 checkImportFile(o[1]); |
554 } | 596 } |
555 | 597 |
556 core.int buildCounterManifest = 0; | 598 core.int buildCounterManifest = 0; |
557 buildManifest() { | 599 buildManifest() { |
558 var o = new api.Manifest(); | 600 var o = new api.Manifest(); |
559 buildCounterManifest++; | 601 buildCounterManifest++; |
560 if (buildCounterManifest < 3) { | 602 if (buildCounterManifest < 3) { |
561 o.config = buildConfigFile(); | 603 o.config = buildConfigFile(); |
562 o.expandedConfig = "foo"; | 604 o.expandedConfig = "foo"; |
563 o.id = "foo"; | 605 o.id = "foo"; |
564 o.imports = buildUnnamed2184(); | 606 o.imports = buildUnnamed2202(); |
565 o.insertTime = "foo"; | 607 o.insertTime = "foo"; |
566 o.layout = "foo"; | 608 o.layout = "foo"; |
567 o.name = "foo"; | 609 o.name = "foo"; |
568 o.selfLink = "foo"; | 610 o.selfLink = "foo"; |
569 } | 611 } |
570 buildCounterManifest--; | 612 buildCounterManifest--; |
571 return o; | 613 return o; |
572 } | 614 } |
573 | 615 |
574 checkManifest(api.Manifest o) { | 616 checkManifest(api.Manifest o) { |
575 buildCounterManifest++; | 617 buildCounterManifest++; |
576 if (buildCounterManifest < 3) { | 618 if (buildCounterManifest < 3) { |
577 checkConfigFile(o.config); | 619 checkConfigFile(o.config); |
578 unittest.expect(o.expandedConfig, unittest.equals('foo')); | 620 unittest.expect(o.expandedConfig, unittest.equals('foo')); |
579 unittest.expect(o.id, unittest.equals('foo')); | 621 unittest.expect(o.id, unittest.equals('foo')); |
580 checkUnnamed2184(o.imports); | 622 checkUnnamed2202(o.imports); |
581 unittest.expect(o.insertTime, unittest.equals('foo')); | 623 unittest.expect(o.insertTime, unittest.equals('foo')); |
582 unittest.expect(o.layout, unittest.equals('foo')); | 624 unittest.expect(o.layout, unittest.equals('foo')); |
583 unittest.expect(o.name, unittest.equals('foo')); | 625 unittest.expect(o.name, unittest.equals('foo')); |
584 unittest.expect(o.selfLink, unittest.equals('foo')); | 626 unittest.expect(o.selfLink, unittest.equals('foo')); |
585 } | 627 } |
586 buildCounterManifest--; | 628 buildCounterManifest--; |
587 } | 629 } |
588 | 630 |
589 buildUnnamed2185() { | 631 buildUnnamed2203() { |
590 var o = new core.List<api.Manifest>(); | 632 var o = new core.List<api.Manifest>(); |
591 o.add(buildManifest()); | 633 o.add(buildManifest()); |
592 o.add(buildManifest()); | 634 o.add(buildManifest()); |
593 return o; | 635 return o; |
594 } | 636 } |
595 | 637 |
596 checkUnnamed2185(core.List<api.Manifest> o) { | 638 checkUnnamed2203(core.List<api.Manifest> o) { |
597 unittest.expect(o, unittest.hasLength(2)); | 639 unittest.expect(o, unittest.hasLength(2)); |
598 checkManifest(o[0]); | 640 checkManifest(o[0]); |
599 checkManifest(o[1]); | 641 checkManifest(o[1]); |
600 } | 642 } |
601 | 643 |
602 core.int buildCounterManifestsListResponse = 0; | 644 core.int buildCounterManifestsListResponse = 0; |
603 buildManifestsListResponse() { | 645 buildManifestsListResponse() { |
604 var o = new api.ManifestsListResponse(); | 646 var o = new api.ManifestsListResponse(); |
605 buildCounterManifestsListResponse++; | 647 buildCounterManifestsListResponse++; |
606 if (buildCounterManifestsListResponse < 3) { | 648 if (buildCounterManifestsListResponse < 3) { |
607 o.manifests = buildUnnamed2185(); | 649 o.manifests = buildUnnamed2203(); |
608 o.nextPageToken = "foo"; | 650 o.nextPageToken = "foo"; |
609 } | 651 } |
610 buildCounterManifestsListResponse--; | 652 buildCounterManifestsListResponse--; |
611 return o; | 653 return o; |
612 } | 654 } |
613 | 655 |
614 checkManifestsListResponse(api.ManifestsListResponse o) { | 656 checkManifestsListResponse(api.ManifestsListResponse o) { |
615 buildCounterManifestsListResponse++; | 657 buildCounterManifestsListResponse++; |
616 if (buildCounterManifestsListResponse < 3) { | 658 if (buildCounterManifestsListResponse < 3) { |
617 checkUnnamed2185(o.manifests); | 659 checkUnnamed2203(o.manifests); |
618 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 660 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
619 } | 661 } |
620 buildCounterManifestsListResponse--; | 662 buildCounterManifestsListResponse--; |
621 } | 663 } |
622 | 664 |
623 core.int buildCounterOperationErrorErrors = 0; | 665 core.int buildCounterOperationErrorErrors = 0; |
624 buildOperationErrorErrors() { | 666 buildOperationErrorErrors() { |
625 var o = new api.OperationErrorErrors(); | 667 var o = new api.OperationErrorErrors(); |
626 buildCounterOperationErrorErrors++; | 668 buildCounterOperationErrorErrors++; |
627 if (buildCounterOperationErrorErrors < 3) { | 669 if (buildCounterOperationErrorErrors < 3) { |
628 o.code = "foo"; | 670 o.code = "foo"; |
629 o.location = "foo"; | 671 o.location = "foo"; |
630 o.message = "foo"; | 672 o.message = "foo"; |
631 } | 673 } |
632 buildCounterOperationErrorErrors--; | 674 buildCounterOperationErrorErrors--; |
633 return o; | 675 return o; |
634 } | 676 } |
635 | 677 |
636 checkOperationErrorErrors(api.OperationErrorErrors o) { | 678 checkOperationErrorErrors(api.OperationErrorErrors o) { |
637 buildCounterOperationErrorErrors++; | 679 buildCounterOperationErrorErrors++; |
638 if (buildCounterOperationErrorErrors < 3) { | 680 if (buildCounterOperationErrorErrors < 3) { |
639 unittest.expect(o.code, unittest.equals('foo')); | 681 unittest.expect(o.code, unittest.equals('foo')); |
640 unittest.expect(o.location, unittest.equals('foo')); | 682 unittest.expect(o.location, unittest.equals('foo')); |
641 unittest.expect(o.message, unittest.equals('foo')); | 683 unittest.expect(o.message, unittest.equals('foo')); |
642 } | 684 } |
643 buildCounterOperationErrorErrors--; | 685 buildCounterOperationErrorErrors--; |
644 } | 686 } |
645 | 687 |
646 buildUnnamed2186() { | 688 buildUnnamed2204() { |
647 var o = new core.List<api.OperationErrorErrors>(); | 689 var o = new core.List<api.OperationErrorErrors>(); |
648 o.add(buildOperationErrorErrors()); | 690 o.add(buildOperationErrorErrors()); |
649 o.add(buildOperationErrorErrors()); | 691 o.add(buildOperationErrorErrors()); |
650 return o; | 692 return o; |
651 } | 693 } |
652 | 694 |
653 checkUnnamed2186(core.List<api.OperationErrorErrors> o) { | 695 checkUnnamed2204(core.List<api.OperationErrorErrors> o) { |
654 unittest.expect(o, unittest.hasLength(2)); | 696 unittest.expect(o, unittest.hasLength(2)); |
655 checkOperationErrorErrors(o[0]); | 697 checkOperationErrorErrors(o[0]); |
656 checkOperationErrorErrors(o[1]); | 698 checkOperationErrorErrors(o[1]); |
657 } | 699 } |
658 | 700 |
659 core.int buildCounterOperationError = 0; | 701 core.int buildCounterOperationError = 0; |
660 buildOperationError() { | 702 buildOperationError() { |
661 var o = new api.OperationError(); | 703 var o = new api.OperationError(); |
662 buildCounterOperationError++; | 704 buildCounterOperationError++; |
663 if (buildCounterOperationError < 3) { | 705 if (buildCounterOperationError < 3) { |
664 o.errors = buildUnnamed2186(); | 706 o.errors = buildUnnamed2204(); |
665 } | 707 } |
666 buildCounterOperationError--; | 708 buildCounterOperationError--; |
667 return o; | 709 return o; |
668 } | 710 } |
669 | 711 |
670 checkOperationError(api.OperationError o) { | 712 checkOperationError(api.OperationError o) { |
671 buildCounterOperationError++; | 713 buildCounterOperationError++; |
672 if (buildCounterOperationError < 3) { | 714 if (buildCounterOperationError < 3) { |
673 checkUnnamed2186(o.errors); | 715 checkUnnamed2204(o.errors); |
674 } | 716 } |
675 buildCounterOperationError--; | 717 buildCounterOperationError--; |
676 } | 718 } |
677 | 719 |
678 core.int buildCounterOperationWarningsData = 0; | 720 core.int buildCounterOperationWarningsData = 0; |
679 buildOperationWarningsData() { | 721 buildOperationWarningsData() { |
680 var o = new api.OperationWarningsData(); | 722 var o = new api.OperationWarningsData(); |
681 buildCounterOperationWarningsData++; | 723 buildCounterOperationWarningsData++; |
682 if (buildCounterOperationWarningsData < 3) { | 724 if (buildCounterOperationWarningsData < 3) { |
683 o.key = "foo"; | 725 o.key = "foo"; |
684 o.value = "foo"; | 726 o.value = "foo"; |
685 } | 727 } |
686 buildCounterOperationWarningsData--; | 728 buildCounterOperationWarningsData--; |
687 return o; | 729 return o; |
688 } | 730 } |
689 | 731 |
690 checkOperationWarningsData(api.OperationWarningsData o) { | 732 checkOperationWarningsData(api.OperationWarningsData o) { |
691 buildCounterOperationWarningsData++; | 733 buildCounterOperationWarningsData++; |
692 if (buildCounterOperationWarningsData < 3) { | 734 if (buildCounterOperationWarningsData < 3) { |
693 unittest.expect(o.key, unittest.equals('foo')); | 735 unittest.expect(o.key, unittest.equals('foo')); |
694 unittest.expect(o.value, unittest.equals('foo')); | 736 unittest.expect(o.value, unittest.equals('foo')); |
695 } | 737 } |
696 buildCounterOperationWarningsData--; | 738 buildCounterOperationWarningsData--; |
697 } | 739 } |
698 | 740 |
699 buildUnnamed2187() { | 741 buildUnnamed2205() { |
700 var o = new core.List<api.OperationWarningsData>(); | 742 var o = new core.List<api.OperationWarningsData>(); |
701 o.add(buildOperationWarningsData()); | 743 o.add(buildOperationWarningsData()); |
702 o.add(buildOperationWarningsData()); | 744 o.add(buildOperationWarningsData()); |
703 return o; | 745 return o; |
704 } | 746 } |
705 | 747 |
706 checkUnnamed2187(core.List<api.OperationWarningsData> o) { | 748 checkUnnamed2205(core.List<api.OperationWarningsData> o) { |
707 unittest.expect(o, unittest.hasLength(2)); | 749 unittest.expect(o, unittest.hasLength(2)); |
708 checkOperationWarningsData(o[0]); | 750 checkOperationWarningsData(o[0]); |
709 checkOperationWarningsData(o[1]); | 751 checkOperationWarningsData(o[1]); |
710 } | 752 } |
711 | 753 |
712 core.int buildCounterOperationWarnings = 0; | 754 core.int buildCounterOperationWarnings = 0; |
713 buildOperationWarnings() { | 755 buildOperationWarnings() { |
714 var o = new api.OperationWarnings(); | 756 var o = new api.OperationWarnings(); |
715 buildCounterOperationWarnings++; | 757 buildCounterOperationWarnings++; |
716 if (buildCounterOperationWarnings < 3) { | 758 if (buildCounterOperationWarnings < 3) { |
717 o.code = "foo"; | 759 o.code = "foo"; |
718 o.data = buildUnnamed2187(); | 760 o.data = buildUnnamed2205(); |
719 o.message = "foo"; | 761 o.message = "foo"; |
720 } | 762 } |
721 buildCounterOperationWarnings--; | 763 buildCounterOperationWarnings--; |
722 return o; | 764 return o; |
723 } | 765 } |
724 | 766 |
725 checkOperationWarnings(api.OperationWarnings o) { | 767 checkOperationWarnings(api.OperationWarnings o) { |
726 buildCounterOperationWarnings++; | 768 buildCounterOperationWarnings++; |
727 if (buildCounterOperationWarnings < 3) { | 769 if (buildCounterOperationWarnings < 3) { |
728 unittest.expect(o.code, unittest.equals('foo')); | 770 unittest.expect(o.code, unittest.equals('foo')); |
729 checkUnnamed2187(o.data); | 771 checkUnnamed2205(o.data); |
730 unittest.expect(o.message, unittest.equals('foo')); | 772 unittest.expect(o.message, unittest.equals('foo')); |
731 } | 773 } |
732 buildCounterOperationWarnings--; | 774 buildCounterOperationWarnings--; |
733 } | 775 } |
734 | 776 |
735 buildUnnamed2188() { | 777 buildUnnamed2206() { |
736 var o = new core.List<api.OperationWarnings>(); | 778 var o = new core.List<api.OperationWarnings>(); |
737 o.add(buildOperationWarnings()); | 779 o.add(buildOperationWarnings()); |
738 o.add(buildOperationWarnings()); | 780 o.add(buildOperationWarnings()); |
739 return o; | 781 return o; |
740 } | 782 } |
741 | 783 |
742 checkUnnamed2188(core.List<api.OperationWarnings> o) { | 784 checkUnnamed2206(core.List<api.OperationWarnings> o) { |
743 unittest.expect(o, unittest.hasLength(2)); | 785 unittest.expect(o, unittest.hasLength(2)); |
744 checkOperationWarnings(o[0]); | 786 checkOperationWarnings(o[0]); |
745 checkOperationWarnings(o[1]); | 787 checkOperationWarnings(o[1]); |
746 } | 788 } |
747 | 789 |
748 core.int buildCounterOperation = 0; | 790 core.int buildCounterOperation = 0; |
749 buildOperation() { | 791 buildOperation() { |
750 var o = new api.Operation(); | 792 var o = new api.Operation(); |
751 buildCounterOperation++; | 793 buildCounterOperation++; |
752 if (buildCounterOperation < 3) { | 794 if (buildCounterOperation < 3) { |
(...skipping 11 matching lines...) Expand all Loading... |
764 o.operationType = "foo"; | 806 o.operationType = "foo"; |
765 o.progress = 42; | 807 o.progress = 42; |
766 o.region = "foo"; | 808 o.region = "foo"; |
767 o.selfLink = "foo"; | 809 o.selfLink = "foo"; |
768 o.startTime = "foo"; | 810 o.startTime = "foo"; |
769 o.status = "foo"; | 811 o.status = "foo"; |
770 o.statusMessage = "foo"; | 812 o.statusMessage = "foo"; |
771 o.targetId = "foo"; | 813 o.targetId = "foo"; |
772 o.targetLink = "foo"; | 814 o.targetLink = "foo"; |
773 o.user = "foo"; | 815 o.user = "foo"; |
774 o.warnings = buildUnnamed2188(); | 816 o.warnings = buildUnnamed2206(); |
775 o.zone = "foo"; | 817 o.zone = "foo"; |
776 } | 818 } |
777 buildCounterOperation--; | 819 buildCounterOperation--; |
778 return o; | 820 return o; |
779 } | 821 } |
780 | 822 |
781 checkOperation(api.Operation o) { | 823 checkOperation(api.Operation o) { |
782 buildCounterOperation++; | 824 buildCounterOperation++; |
783 if (buildCounterOperation < 3) { | 825 if (buildCounterOperation < 3) { |
784 unittest.expect(o.clientOperationId, unittest.equals('foo')); | 826 unittest.expect(o.clientOperationId, unittest.equals('foo')); |
(...skipping 10 matching lines...) Expand all Loading... |
795 unittest.expect(o.operationType, unittest.equals('foo')); | 837 unittest.expect(o.operationType, unittest.equals('foo')); |
796 unittest.expect(o.progress, unittest.equals(42)); | 838 unittest.expect(o.progress, unittest.equals(42)); |
797 unittest.expect(o.region, unittest.equals('foo')); | 839 unittest.expect(o.region, unittest.equals('foo')); |
798 unittest.expect(o.selfLink, unittest.equals('foo')); | 840 unittest.expect(o.selfLink, unittest.equals('foo')); |
799 unittest.expect(o.startTime, unittest.equals('foo')); | 841 unittest.expect(o.startTime, unittest.equals('foo')); |
800 unittest.expect(o.status, unittest.equals('foo')); | 842 unittest.expect(o.status, unittest.equals('foo')); |
801 unittest.expect(o.statusMessage, unittest.equals('foo')); | 843 unittest.expect(o.statusMessage, unittest.equals('foo')); |
802 unittest.expect(o.targetId, unittest.equals('foo')); | 844 unittest.expect(o.targetId, unittest.equals('foo')); |
803 unittest.expect(o.targetLink, unittest.equals('foo')); | 845 unittest.expect(o.targetLink, unittest.equals('foo')); |
804 unittest.expect(o.user, unittest.equals('foo')); | 846 unittest.expect(o.user, unittest.equals('foo')); |
805 checkUnnamed2188(o.warnings); | 847 checkUnnamed2206(o.warnings); |
806 unittest.expect(o.zone, unittest.equals('foo')); | 848 unittest.expect(o.zone, unittest.equals('foo')); |
807 } | 849 } |
808 buildCounterOperation--; | 850 buildCounterOperation--; |
809 } | 851 } |
810 | 852 |
811 buildUnnamed2189() { | 853 buildUnnamed2207() { |
812 var o = new core.List<api.Operation>(); | 854 var o = new core.List<api.Operation>(); |
813 o.add(buildOperation()); | 855 o.add(buildOperation()); |
814 o.add(buildOperation()); | 856 o.add(buildOperation()); |
815 return o; | 857 return o; |
816 } | 858 } |
817 | 859 |
818 checkUnnamed2189(core.List<api.Operation> o) { | 860 checkUnnamed2207(core.List<api.Operation> o) { |
819 unittest.expect(o, unittest.hasLength(2)); | 861 unittest.expect(o, unittest.hasLength(2)); |
820 checkOperation(o[0]); | 862 checkOperation(o[0]); |
821 checkOperation(o[1]); | 863 checkOperation(o[1]); |
822 } | 864 } |
823 | 865 |
824 core.int buildCounterOperationsListResponse = 0; | 866 core.int buildCounterOperationsListResponse = 0; |
825 buildOperationsListResponse() { | 867 buildOperationsListResponse() { |
826 var o = new api.OperationsListResponse(); | 868 var o = new api.OperationsListResponse(); |
827 buildCounterOperationsListResponse++; | 869 buildCounterOperationsListResponse++; |
828 if (buildCounterOperationsListResponse < 3) { | 870 if (buildCounterOperationsListResponse < 3) { |
829 o.nextPageToken = "foo"; | 871 o.nextPageToken = "foo"; |
830 o.operations = buildUnnamed2189(); | 872 o.operations = buildUnnamed2207(); |
831 } | 873 } |
832 buildCounterOperationsListResponse--; | 874 buildCounterOperationsListResponse--; |
833 return o; | 875 return o; |
834 } | 876 } |
835 | 877 |
836 checkOperationsListResponse(api.OperationsListResponse o) { | 878 checkOperationsListResponse(api.OperationsListResponse o) { |
837 buildCounterOperationsListResponse++; | 879 buildCounterOperationsListResponse++; |
838 if (buildCounterOperationsListResponse < 3) { | 880 if (buildCounterOperationsListResponse < 3) { |
839 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 881 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
840 checkUnnamed2189(o.operations); | 882 checkUnnamed2207(o.operations); |
841 } | 883 } |
842 buildCounterOperationsListResponse--; | 884 buildCounterOperationsListResponse--; |
843 } | 885 } |
844 | 886 |
845 buildUnnamed2190() { | 887 buildUnnamed2208() { |
846 var o = new core.List<api.AuditConfig>(); | 888 var o = new core.List<api.AuditConfig>(); |
847 o.add(buildAuditConfig()); | 889 o.add(buildAuditConfig()); |
848 o.add(buildAuditConfig()); | 890 o.add(buildAuditConfig()); |
849 return o; | 891 return o; |
850 } | 892 } |
851 | 893 |
852 checkUnnamed2190(core.List<api.AuditConfig> o) { | 894 checkUnnamed2208(core.List<api.AuditConfig> o) { |
853 unittest.expect(o, unittest.hasLength(2)); | 895 unittest.expect(o, unittest.hasLength(2)); |
854 checkAuditConfig(o[0]); | 896 checkAuditConfig(o[0]); |
855 checkAuditConfig(o[1]); | 897 checkAuditConfig(o[1]); |
856 } | 898 } |
857 | 899 |
858 buildUnnamed2191() { | 900 buildUnnamed2209() { |
859 var o = new core.List<api.Binding>(); | 901 var o = new core.List<api.Binding>(); |
860 o.add(buildBinding()); | 902 o.add(buildBinding()); |
861 o.add(buildBinding()); | 903 o.add(buildBinding()); |
862 return o; | 904 return o; |
863 } | 905 } |
864 | 906 |
865 checkUnnamed2191(core.List<api.Binding> o) { | 907 checkUnnamed2209(core.List<api.Binding> o) { |
866 unittest.expect(o, unittest.hasLength(2)); | 908 unittest.expect(o, unittest.hasLength(2)); |
867 checkBinding(o[0]); | 909 checkBinding(o[0]); |
868 checkBinding(o[1]); | 910 checkBinding(o[1]); |
869 } | 911 } |
870 | 912 |
871 buildUnnamed2192() { | 913 buildUnnamed2210() { |
872 var o = new core.List<api.Rule>(); | 914 var o = new core.List<api.Rule>(); |
873 o.add(buildRule()); | 915 o.add(buildRule()); |
874 o.add(buildRule()); | 916 o.add(buildRule()); |
875 return o; | 917 return o; |
876 } | 918 } |
877 | 919 |
878 checkUnnamed2192(core.List<api.Rule> o) { | 920 checkUnnamed2210(core.List<api.Rule> o) { |
879 unittest.expect(o, unittest.hasLength(2)); | 921 unittest.expect(o, unittest.hasLength(2)); |
880 checkRule(o[0]); | 922 checkRule(o[0]); |
881 checkRule(o[1]); | 923 checkRule(o[1]); |
882 } | 924 } |
883 | 925 |
884 core.int buildCounterPolicy = 0; | 926 core.int buildCounterPolicy = 0; |
885 buildPolicy() { | 927 buildPolicy() { |
886 var o = new api.Policy(); | 928 var o = new api.Policy(); |
887 buildCounterPolicy++; | 929 buildCounterPolicy++; |
888 if (buildCounterPolicy < 3) { | 930 if (buildCounterPolicy < 3) { |
889 o.auditConfigs = buildUnnamed2190(); | 931 o.auditConfigs = buildUnnamed2208(); |
890 o.bindings = buildUnnamed2191(); | 932 o.bindings = buildUnnamed2209(); |
891 o.etag = "foo"; | 933 o.etag = "foo"; |
892 o.iamOwned = true; | 934 o.iamOwned = true; |
893 o.rules = buildUnnamed2192(); | 935 o.rules = buildUnnamed2210(); |
894 o.version = 42; | 936 o.version = 42; |
895 } | 937 } |
896 buildCounterPolicy--; | 938 buildCounterPolicy--; |
897 return o; | 939 return o; |
898 } | 940 } |
899 | 941 |
900 checkPolicy(api.Policy o) { | 942 checkPolicy(api.Policy o) { |
901 buildCounterPolicy++; | 943 buildCounterPolicy++; |
902 if (buildCounterPolicy < 3) { | 944 if (buildCounterPolicy < 3) { |
903 checkUnnamed2190(o.auditConfigs); | 945 checkUnnamed2208(o.auditConfigs); |
904 checkUnnamed2191(o.bindings); | 946 checkUnnamed2209(o.bindings); |
905 unittest.expect(o.etag, unittest.equals('foo')); | 947 unittest.expect(o.etag, unittest.equals('foo')); |
906 unittest.expect(o.iamOwned, unittest.isTrue); | 948 unittest.expect(o.iamOwned, unittest.isTrue); |
907 checkUnnamed2192(o.rules); | 949 checkUnnamed2210(o.rules); |
908 unittest.expect(o.version, unittest.equals(42)); | 950 unittest.expect(o.version, unittest.equals(42)); |
909 } | 951 } |
910 buildCounterPolicy--; | 952 buildCounterPolicy--; |
911 } | 953 } |
912 | 954 |
913 core.int buildCounterResourceWarningsData = 0; | 955 core.int buildCounterResourceWarningsData = 0; |
914 buildResourceWarningsData() { | 956 buildResourceWarningsData() { |
915 var o = new api.ResourceWarningsData(); | 957 var o = new api.ResourceWarningsData(); |
916 buildCounterResourceWarningsData++; | 958 buildCounterResourceWarningsData++; |
917 if (buildCounterResourceWarningsData < 3) { | 959 if (buildCounterResourceWarningsData < 3) { |
918 o.key = "foo"; | 960 o.key = "foo"; |
919 o.value = "foo"; | 961 o.value = "foo"; |
920 } | 962 } |
921 buildCounterResourceWarningsData--; | 963 buildCounterResourceWarningsData--; |
922 return o; | 964 return o; |
923 } | 965 } |
924 | 966 |
925 checkResourceWarningsData(api.ResourceWarningsData o) { | 967 checkResourceWarningsData(api.ResourceWarningsData o) { |
926 buildCounterResourceWarningsData++; | 968 buildCounterResourceWarningsData++; |
927 if (buildCounterResourceWarningsData < 3) { | 969 if (buildCounterResourceWarningsData < 3) { |
928 unittest.expect(o.key, unittest.equals('foo')); | 970 unittest.expect(o.key, unittest.equals('foo')); |
929 unittest.expect(o.value, unittest.equals('foo')); | 971 unittest.expect(o.value, unittest.equals('foo')); |
930 } | 972 } |
931 buildCounterResourceWarningsData--; | 973 buildCounterResourceWarningsData--; |
932 } | 974 } |
933 | 975 |
934 buildUnnamed2193() { | 976 buildUnnamed2211() { |
935 var o = new core.List<api.ResourceWarningsData>(); | 977 var o = new core.List<api.ResourceWarningsData>(); |
936 o.add(buildResourceWarningsData()); | 978 o.add(buildResourceWarningsData()); |
937 o.add(buildResourceWarningsData()); | 979 o.add(buildResourceWarningsData()); |
938 return o; | 980 return o; |
939 } | 981 } |
940 | 982 |
941 checkUnnamed2193(core.List<api.ResourceWarningsData> o) { | 983 checkUnnamed2211(core.List<api.ResourceWarningsData> o) { |
942 unittest.expect(o, unittest.hasLength(2)); | 984 unittest.expect(o, unittest.hasLength(2)); |
943 checkResourceWarningsData(o[0]); | 985 checkResourceWarningsData(o[0]); |
944 checkResourceWarningsData(o[1]); | 986 checkResourceWarningsData(o[1]); |
945 } | 987 } |
946 | 988 |
947 core.int buildCounterResourceWarnings = 0; | 989 core.int buildCounterResourceWarnings = 0; |
948 buildResourceWarnings() { | 990 buildResourceWarnings() { |
949 var o = new api.ResourceWarnings(); | 991 var o = new api.ResourceWarnings(); |
950 buildCounterResourceWarnings++; | 992 buildCounterResourceWarnings++; |
951 if (buildCounterResourceWarnings < 3) { | 993 if (buildCounterResourceWarnings < 3) { |
952 o.code = "foo"; | 994 o.code = "foo"; |
953 o.data = buildUnnamed2193(); | 995 o.data = buildUnnamed2211(); |
954 o.message = "foo"; | 996 o.message = "foo"; |
955 } | 997 } |
956 buildCounterResourceWarnings--; | 998 buildCounterResourceWarnings--; |
957 return o; | 999 return o; |
958 } | 1000 } |
959 | 1001 |
960 checkResourceWarnings(api.ResourceWarnings o) { | 1002 checkResourceWarnings(api.ResourceWarnings o) { |
961 buildCounterResourceWarnings++; | 1003 buildCounterResourceWarnings++; |
962 if (buildCounterResourceWarnings < 3) { | 1004 if (buildCounterResourceWarnings < 3) { |
963 unittest.expect(o.code, unittest.equals('foo')); | 1005 unittest.expect(o.code, unittest.equals('foo')); |
964 checkUnnamed2193(o.data); | 1006 checkUnnamed2211(o.data); |
965 unittest.expect(o.message, unittest.equals('foo')); | 1007 unittest.expect(o.message, unittest.equals('foo')); |
966 } | 1008 } |
967 buildCounterResourceWarnings--; | 1009 buildCounterResourceWarnings--; |
968 } | 1010 } |
969 | 1011 |
970 buildUnnamed2194() { | 1012 buildUnnamed2212() { |
971 var o = new core.List<api.ResourceWarnings>(); | 1013 var o = new core.List<api.ResourceWarnings>(); |
972 o.add(buildResourceWarnings()); | 1014 o.add(buildResourceWarnings()); |
973 o.add(buildResourceWarnings()); | 1015 o.add(buildResourceWarnings()); |
974 return o; | 1016 return o; |
975 } | 1017 } |
976 | 1018 |
977 checkUnnamed2194(core.List<api.ResourceWarnings> o) { | 1019 checkUnnamed2212(core.List<api.ResourceWarnings> o) { |
978 unittest.expect(o, unittest.hasLength(2)); | 1020 unittest.expect(o, unittest.hasLength(2)); |
979 checkResourceWarnings(o[0]); | 1021 checkResourceWarnings(o[0]); |
980 checkResourceWarnings(o[1]); | 1022 checkResourceWarnings(o[1]); |
981 } | 1023 } |
982 | 1024 |
983 core.int buildCounterResource = 0; | 1025 core.int buildCounterResource = 0; |
984 buildResource() { | 1026 buildResource() { |
985 var o = new api.Resource(); | 1027 var o = new api.Resource(); |
986 buildCounterResource++; | 1028 buildCounterResource++; |
987 if (buildCounterResource < 3) { | 1029 if (buildCounterResource < 3) { |
988 o.accessControl = buildResourceAccessControl(); | 1030 o.accessControl = buildResourceAccessControl(); |
989 o.finalProperties = "foo"; | 1031 o.finalProperties = "foo"; |
990 o.id = "foo"; | 1032 o.id = "foo"; |
991 o.insertTime = "foo"; | 1033 o.insertTime = "foo"; |
992 o.manifest = "foo"; | 1034 o.manifest = "foo"; |
993 o.name = "foo"; | 1035 o.name = "foo"; |
994 o.properties = "foo"; | 1036 o.properties = "foo"; |
995 o.type = "foo"; | 1037 o.type = "foo"; |
996 o.update = buildResourceUpdate(); | 1038 o.update = buildResourceUpdate(); |
997 o.updateTime = "foo"; | 1039 o.updateTime = "foo"; |
998 o.url = "foo"; | 1040 o.url = "foo"; |
999 o.warnings = buildUnnamed2194(); | 1041 o.warnings = buildUnnamed2212(); |
1000 } | 1042 } |
1001 buildCounterResource--; | 1043 buildCounterResource--; |
1002 return o; | 1044 return o; |
1003 } | 1045 } |
1004 | 1046 |
1005 checkResource(api.Resource o) { | 1047 checkResource(api.Resource o) { |
1006 buildCounterResource++; | 1048 buildCounterResource++; |
1007 if (buildCounterResource < 3) { | 1049 if (buildCounterResource < 3) { |
1008 checkResourceAccessControl(o.accessControl); | 1050 checkResourceAccessControl(o.accessControl); |
1009 unittest.expect(o.finalProperties, unittest.equals('foo')); | 1051 unittest.expect(o.finalProperties, unittest.equals('foo')); |
1010 unittest.expect(o.id, unittest.equals('foo')); | 1052 unittest.expect(o.id, unittest.equals('foo')); |
1011 unittest.expect(o.insertTime, unittest.equals('foo')); | 1053 unittest.expect(o.insertTime, unittest.equals('foo')); |
1012 unittest.expect(o.manifest, unittest.equals('foo')); | 1054 unittest.expect(o.manifest, unittest.equals('foo')); |
1013 unittest.expect(o.name, unittest.equals('foo')); | 1055 unittest.expect(o.name, unittest.equals('foo')); |
1014 unittest.expect(o.properties, unittest.equals('foo')); | 1056 unittest.expect(o.properties, unittest.equals('foo')); |
1015 unittest.expect(o.type, unittest.equals('foo')); | 1057 unittest.expect(o.type, unittest.equals('foo')); |
1016 checkResourceUpdate(o.update); | 1058 checkResourceUpdate(o.update); |
1017 unittest.expect(o.updateTime, unittest.equals('foo')); | 1059 unittest.expect(o.updateTime, unittest.equals('foo')); |
1018 unittest.expect(o.url, unittest.equals('foo')); | 1060 unittest.expect(o.url, unittest.equals('foo')); |
1019 checkUnnamed2194(o.warnings); | 1061 checkUnnamed2212(o.warnings); |
1020 } | 1062 } |
1021 buildCounterResource--; | 1063 buildCounterResource--; |
1022 } | 1064 } |
1023 | 1065 |
1024 core.int buildCounterResourceAccessControl = 0; | 1066 core.int buildCounterResourceAccessControl = 0; |
1025 buildResourceAccessControl() { | 1067 buildResourceAccessControl() { |
1026 var o = new api.ResourceAccessControl(); | 1068 var o = new api.ResourceAccessControl(); |
1027 buildCounterResourceAccessControl++; | 1069 buildCounterResourceAccessControl++; |
1028 if (buildCounterResourceAccessControl < 3) { | 1070 if (buildCounterResourceAccessControl < 3) { |
1029 o.gcpIamPolicy = "foo"; | 1071 o.gcpIamPolicy = "foo"; |
(...skipping 26 matching lines...) Expand all Loading... |
1056 checkResourceUpdateErrorErrors(api.ResourceUpdateErrorErrors o) { | 1098 checkResourceUpdateErrorErrors(api.ResourceUpdateErrorErrors o) { |
1057 buildCounterResourceUpdateErrorErrors++; | 1099 buildCounterResourceUpdateErrorErrors++; |
1058 if (buildCounterResourceUpdateErrorErrors < 3) { | 1100 if (buildCounterResourceUpdateErrorErrors < 3) { |
1059 unittest.expect(o.code, unittest.equals('foo')); | 1101 unittest.expect(o.code, unittest.equals('foo')); |
1060 unittest.expect(o.location, unittest.equals('foo')); | 1102 unittest.expect(o.location, unittest.equals('foo')); |
1061 unittest.expect(o.message, unittest.equals('foo')); | 1103 unittest.expect(o.message, unittest.equals('foo')); |
1062 } | 1104 } |
1063 buildCounterResourceUpdateErrorErrors--; | 1105 buildCounterResourceUpdateErrorErrors--; |
1064 } | 1106 } |
1065 | 1107 |
1066 buildUnnamed2195() { | 1108 buildUnnamed2213() { |
1067 var o = new core.List<api.ResourceUpdateErrorErrors>(); | 1109 var o = new core.List<api.ResourceUpdateErrorErrors>(); |
1068 o.add(buildResourceUpdateErrorErrors()); | 1110 o.add(buildResourceUpdateErrorErrors()); |
1069 o.add(buildResourceUpdateErrorErrors()); | 1111 o.add(buildResourceUpdateErrorErrors()); |
1070 return o; | 1112 return o; |
1071 } | 1113 } |
1072 | 1114 |
1073 checkUnnamed2195(core.List<api.ResourceUpdateErrorErrors> o) { | 1115 checkUnnamed2213(core.List<api.ResourceUpdateErrorErrors> o) { |
1074 unittest.expect(o, unittest.hasLength(2)); | 1116 unittest.expect(o, unittest.hasLength(2)); |
1075 checkResourceUpdateErrorErrors(o[0]); | 1117 checkResourceUpdateErrorErrors(o[0]); |
1076 checkResourceUpdateErrorErrors(o[1]); | 1118 checkResourceUpdateErrorErrors(o[1]); |
1077 } | 1119 } |
1078 | 1120 |
1079 core.int buildCounterResourceUpdateError = 0; | 1121 core.int buildCounterResourceUpdateError = 0; |
1080 buildResourceUpdateError() { | 1122 buildResourceUpdateError() { |
1081 var o = new api.ResourceUpdateError(); | 1123 var o = new api.ResourceUpdateError(); |
1082 buildCounterResourceUpdateError++; | 1124 buildCounterResourceUpdateError++; |
1083 if (buildCounterResourceUpdateError < 3) { | 1125 if (buildCounterResourceUpdateError < 3) { |
1084 o.errors = buildUnnamed2195(); | 1126 o.errors = buildUnnamed2213(); |
1085 } | 1127 } |
1086 buildCounterResourceUpdateError--; | 1128 buildCounterResourceUpdateError--; |
1087 return o; | 1129 return o; |
1088 } | 1130 } |
1089 | 1131 |
1090 checkResourceUpdateError(api.ResourceUpdateError o) { | 1132 checkResourceUpdateError(api.ResourceUpdateError o) { |
1091 buildCounterResourceUpdateError++; | 1133 buildCounterResourceUpdateError++; |
1092 if (buildCounterResourceUpdateError < 3) { | 1134 if (buildCounterResourceUpdateError < 3) { |
1093 checkUnnamed2195(o.errors); | 1135 checkUnnamed2213(o.errors); |
1094 } | 1136 } |
1095 buildCounterResourceUpdateError--; | 1137 buildCounterResourceUpdateError--; |
1096 } | 1138 } |
1097 | 1139 |
1098 core.int buildCounterResourceUpdateWarningsData = 0; | 1140 core.int buildCounterResourceUpdateWarningsData = 0; |
1099 buildResourceUpdateWarningsData() { | 1141 buildResourceUpdateWarningsData() { |
1100 var o = new api.ResourceUpdateWarningsData(); | 1142 var o = new api.ResourceUpdateWarningsData(); |
1101 buildCounterResourceUpdateWarningsData++; | 1143 buildCounterResourceUpdateWarningsData++; |
1102 if (buildCounterResourceUpdateWarningsData < 3) { | 1144 if (buildCounterResourceUpdateWarningsData < 3) { |
1103 o.key = "foo"; | 1145 o.key = "foo"; |
1104 o.value = "foo"; | 1146 o.value = "foo"; |
1105 } | 1147 } |
1106 buildCounterResourceUpdateWarningsData--; | 1148 buildCounterResourceUpdateWarningsData--; |
1107 return o; | 1149 return o; |
1108 } | 1150 } |
1109 | 1151 |
1110 checkResourceUpdateWarningsData(api.ResourceUpdateWarningsData o) { | 1152 checkResourceUpdateWarningsData(api.ResourceUpdateWarningsData o) { |
1111 buildCounterResourceUpdateWarningsData++; | 1153 buildCounterResourceUpdateWarningsData++; |
1112 if (buildCounterResourceUpdateWarningsData < 3) { | 1154 if (buildCounterResourceUpdateWarningsData < 3) { |
1113 unittest.expect(o.key, unittest.equals('foo')); | 1155 unittest.expect(o.key, unittest.equals('foo')); |
1114 unittest.expect(o.value, unittest.equals('foo')); | 1156 unittest.expect(o.value, unittest.equals('foo')); |
1115 } | 1157 } |
1116 buildCounterResourceUpdateWarningsData--; | 1158 buildCounterResourceUpdateWarningsData--; |
1117 } | 1159 } |
1118 | 1160 |
1119 buildUnnamed2196() { | 1161 buildUnnamed2214() { |
1120 var o = new core.List<api.ResourceUpdateWarningsData>(); | 1162 var o = new core.List<api.ResourceUpdateWarningsData>(); |
1121 o.add(buildResourceUpdateWarningsData()); | 1163 o.add(buildResourceUpdateWarningsData()); |
1122 o.add(buildResourceUpdateWarningsData()); | 1164 o.add(buildResourceUpdateWarningsData()); |
1123 return o; | 1165 return o; |
1124 } | 1166 } |
1125 | 1167 |
1126 checkUnnamed2196(core.List<api.ResourceUpdateWarningsData> o) { | 1168 checkUnnamed2214(core.List<api.ResourceUpdateWarningsData> o) { |
1127 unittest.expect(o, unittest.hasLength(2)); | 1169 unittest.expect(o, unittest.hasLength(2)); |
1128 checkResourceUpdateWarningsData(o[0]); | 1170 checkResourceUpdateWarningsData(o[0]); |
1129 checkResourceUpdateWarningsData(o[1]); | 1171 checkResourceUpdateWarningsData(o[1]); |
1130 } | 1172 } |
1131 | 1173 |
1132 core.int buildCounterResourceUpdateWarnings = 0; | 1174 core.int buildCounterResourceUpdateWarnings = 0; |
1133 buildResourceUpdateWarnings() { | 1175 buildResourceUpdateWarnings() { |
1134 var o = new api.ResourceUpdateWarnings(); | 1176 var o = new api.ResourceUpdateWarnings(); |
1135 buildCounterResourceUpdateWarnings++; | 1177 buildCounterResourceUpdateWarnings++; |
1136 if (buildCounterResourceUpdateWarnings < 3) { | 1178 if (buildCounterResourceUpdateWarnings < 3) { |
1137 o.code = "foo"; | 1179 o.code = "foo"; |
1138 o.data = buildUnnamed2196(); | 1180 o.data = buildUnnamed2214(); |
1139 o.message = "foo"; | 1181 o.message = "foo"; |
1140 } | 1182 } |
1141 buildCounterResourceUpdateWarnings--; | 1183 buildCounterResourceUpdateWarnings--; |
1142 return o; | 1184 return o; |
1143 } | 1185 } |
1144 | 1186 |
1145 checkResourceUpdateWarnings(api.ResourceUpdateWarnings o) { | 1187 checkResourceUpdateWarnings(api.ResourceUpdateWarnings o) { |
1146 buildCounterResourceUpdateWarnings++; | 1188 buildCounterResourceUpdateWarnings++; |
1147 if (buildCounterResourceUpdateWarnings < 3) { | 1189 if (buildCounterResourceUpdateWarnings < 3) { |
1148 unittest.expect(o.code, unittest.equals('foo')); | 1190 unittest.expect(o.code, unittest.equals('foo')); |
1149 checkUnnamed2196(o.data); | 1191 checkUnnamed2214(o.data); |
1150 unittest.expect(o.message, unittest.equals('foo')); | 1192 unittest.expect(o.message, unittest.equals('foo')); |
1151 } | 1193 } |
1152 buildCounterResourceUpdateWarnings--; | 1194 buildCounterResourceUpdateWarnings--; |
1153 } | 1195 } |
1154 | 1196 |
1155 buildUnnamed2197() { | 1197 buildUnnamed2215() { |
1156 var o = new core.List<api.ResourceUpdateWarnings>(); | 1198 var o = new core.List<api.ResourceUpdateWarnings>(); |
1157 o.add(buildResourceUpdateWarnings()); | 1199 o.add(buildResourceUpdateWarnings()); |
1158 o.add(buildResourceUpdateWarnings()); | 1200 o.add(buildResourceUpdateWarnings()); |
1159 return o; | 1201 return o; |
1160 } | 1202 } |
1161 | 1203 |
1162 checkUnnamed2197(core.List<api.ResourceUpdateWarnings> o) { | 1204 checkUnnamed2215(core.List<api.ResourceUpdateWarnings> o) { |
1163 unittest.expect(o, unittest.hasLength(2)); | 1205 unittest.expect(o, unittest.hasLength(2)); |
1164 checkResourceUpdateWarnings(o[0]); | 1206 checkResourceUpdateWarnings(o[0]); |
1165 checkResourceUpdateWarnings(o[1]); | 1207 checkResourceUpdateWarnings(o[1]); |
1166 } | 1208 } |
1167 | 1209 |
1168 core.int buildCounterResourceUpdate = 0; | 1210 core.int buildCounterResourceUpdate = 0; |
1169 buildResourceUpdate() { | 1211 buildResourceUpdate() { |
1170 var o = new api.ResourceUpdate(); | 1212 var o = new api.ResourceUpdate(); |
1171 buildCounterResourceUpdate++; | 1213 buildCounterResourceUpdate++; |
1172 if (buildCounterResourceUpdate < 3) { | 1214 if (buildCounterResourceUpdate < 3) { |
1173 o.accessControl = buildResourceAccessControl(); | 1215 o.accessControl = buildResourceAccessControl(); |
1174 o.error = buildResourceUpdateError(); | 1216 o.error = buildResourceUpdateError(); |
1175 o.finalProperties = "foo"; | 1217 o.finalProperties = "foo"; |
1176 o.intent = "foo"; | 1218 o.intent = "foo"; |
1177 o.manifest = "foo"; | 1219 o.manifest = "foo"; |
1178 o.properties = "foo"; | 1220 o.properties = "foo"; |
1179 o.state = "foo"; | 1221 o.state = "foo"; |
1180 o.warnings = buildUnnamed2197(); | 1222 o.warnings = buildUnnamed2215(); |
1181 } | 1223 } |
1182 buildCounterResourceUpdate--; | 1224 buildCounterResourceUpdate--; |
1183 return o; | 1225 return o; |
1184 } | 1226 } |
1185 | 1227 |
1186 checkResourceUpdate(api.ResourceUpdate o) { | 1228 checkResourceUpdate(api.ResourceUpdate o) { |
1187 buildCounterResourceUpdate++; | 1229 buildCounterResourceUpdate++; |
1188 if (buildCounterResourceUpdate < 3) { | 1230 if (buildCounterResourceUpdate < 3) { |
1189 checkResourceAccessControl(o.accessControl); | 1231 checkResourceAccessControl(o.accessControl); |
1190 checkResourceUpdateError(o.error); | 1232 checkResourceUpdateError(o.error); |
1191 unittest.expect(o.finalProperties, unittest.equals('foo')); | 1233 unittest.expect(o.finalProperties, unittest.equals('foo')); |
1192 unittest.expect(o.intent, unittest.equals('foo')); | 1234 unittest.expect(o.intent, unittest.equals('foo')); |
1193 unittest.expect(o.manifest, unittest.equals('foo')); | 1235 unittest.expect(o.manifest, unittest.equals('foo')); |
1194 unittest.expect(o.properties, unittest.equals('foo')); | 1236 unittest.expect(o.properties, unittest.equals('foo')); |
1195 unittest.expect(o.state, unittest.equals('foo')); | 1237 unittest.expect(o.state, unittest.equals('foo')); |
1196 checkUnnamed2197(o.warnings); | 1238 checkUnnamed2215(o.warnings); |
1197 } | 1239 } |
1198 buildCounterResourceUpdate--; | 1240 buildCounterResourceUpdate--; |
1199 } | 1241 } |
1200 | 1242 |
1201 buildUnnamed2198() { | 1243 buildUnnamed2216() { |
1202 var o = new core.List<api.Resource>(); | 1244 var o = new core.List<api.Resource>(); |
1203 o.add(buildResource()); | 1245 o.add(buildResource()); |
1204 o.add(buildResource()); | 1246 o.add(buildResource()); |
1205 return o; | 1247 return o; |
1206 } | 1248 } |
1207 | 1249 |
1208 checkUnnamed2198(core.List<api.Resource> o) { | 1250 checkUnnamed2216(core.List<api.Resource> o) { |
1209 unittest.expect(o, unittest.hasLength(2)); | 1251 unittest.expect(o, unittest.hasLength(2)); |
1210 checkResource(o[0]); | 1252 checkResource(o[0]); |
1211 checkResource(o[1]); | 1253 checkResource(o[1]); |
1212 } | 1254 } |
1213 | 1255 |
1214 core.int buildCounterResourcesListResponse = 0; | 1256 core.int buildCounterResourcesListResponse = 0; |
1215 buildResourcesListResponse() { | 1257 buildResourcesListResponse() { |
1216 var o = new api.ResourcesListResponse(); | 1258 var o = new api.ResourcesListResponse(); |
1217 buildCounterResourcesListResponse++; | 1259 buildCounterResourcesListResponse++; |
1218 if (buildCounterResourcesListResponse < 3) { | 1260 if (buildCounterResourcesListResponse < 3) { |
1219 o.nextPageToken = "foo"; | 1261 o.nextPageToken = "foo"; |
1220 o.resources = buildUnnamed2198(); | 1262 o.resources = buildUnnamed2216(); |
1221 } | 1263 } |
1222 buildCounterResourcesListResponse--; | 1264 buildCounterResourcesListResponse--; |
1223 return o; | 1265 return o; |
1224 } | 1266 } |
1225 | 1267 |
1226 checkResourcesListResponse(api.ResourcesListResponse o) { | 1268 checkResourcesListResponse(api.ResourcesListResponse o) { |
1227 buildCounterResourcesListResponse++; | 1269 buildCounterResourcesListResponse++; |
1228 if (buildCounterResourcesListResponse < 3) { | 1270 if (buildCounterResourcesListResponse < 3) { |
1229 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1271 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1230 checkUnnamed2198(o.resources); | 1272 checkUnnamed2216(o.resources); |
1231 } | 1273 } |
1232 buildCounterResourcesListResponse--; | 1274 buildCounterResourcesListResponse--; |
1233 } | 1275 } |
1234 | 1276 |
1235 buildUnnamed2199() { | 1277 buildUnnamed2217() { |
1236 var o = new core.List<api.Condition>(); | 1278 var o = new core.List<api.Condition>(); |
1237 o.add(buildCondition()); | 1279 o.add(buildCondition()); |
1238 o.add(buildCondition()); | 1280 o.add(buildCondition()); |
1239 return o; | 1281 return o; |
1240 } | 1282 } |
1241 | 1283 |
1242 checkUnnamed2199(core.List<api.Condition> o) { | 1284 checkUnnamed2217(core.List<api.Condition> o) { |
1243 unittest.expect(o, unittest.hasLength(2)); | 1285 unittest.expect(o, unittest.hasLength(2)); |
1244 checkCondition(o[0]); | 1286 checkCondition(o[0]); |
1245 checkCondition(o[1]); | 1287 checkCondition(o[1]); |
1246 } | 1288 } |
1247 | 1289 |
1248 buildUnnamed2200() { | 1290 buildUnnamed2218() { |
1249 var o = new core.List<core.String>(); | 1291 var o = new core.List<core.String>(); |
1250 o.add("foo"); | 1292 o.add("foo"); |
1251 o.add("foo"); | 1293 o.add("foo"); |
1252 return o; | 1294 return o; |
1253 } | 1295 } |
1254 | 1296 |
1255 checkUnnamed2200(core.List<core.String> o) { | 1297 checkUnnamed2218(core.List<core.String> o) { |
1256 unittest.expect(o, unittest.hasLength(2)); | 1298 unittest.expect(o, unittest.hasLength(2)); |
1257 unittest.expect(o[0], unittest.equals('foo')); | 1299 unittest.expect(o[0], unittest.equals('foo')); |
1258 unittest.expect(o[1], unittest.equals('foo')); | 1300 unittest.expect(o[1], unittest.equals('foo')); |
1259 } | 1301 } |
1260 | 1302 |
1261 buildUnnamed2201() { | 1303 buildUnnamed2219() { |
1262 var o = new core.List<api.LogConfig>(); | 1304 var o = new core.List<api.LogConfig>(); |
1263 o.add(buildLogConfig()); | 1305 o.add(buildLogConfig()); |
1264 o.add(buildLogConfig()); | 1306 o.add(buildLogConfig()); |
1265 return o; | 1307 return o; |
1266 } | 1308 } |
1267 | 1309 |
1268 checkUnnamed2201(core.List<api.LogConfig> o) { | 1310 checkUnnamed2219(core.List<api.LogConfig> o) { |
1269 unittest.expect(o, unittest.hasLength(2)); | 1311 unittest.expect(o, unittest.hasLength(2)); |
1270 checkLogConfig(o[0]); | 1312 checkLogConfig(o[0]); |
1271 checkLogConfig(o[1]); | 1313 checkLogConfig(o[1]); |
1272 } | 1314 } |
1273 | 1315 |
1274 buildUnnamed2202() { | 1316 buildUnnamed2220() { |
1275 var o = new core.List<core.String>(); | 1317 var o = new core.List<core.String>(); |
1276 o.add("foo"); | 1318 o.add("foo"); |
1277 o.add("foo"); | 1319 o.add("foo"); |
1278 return o; | 1320 return o; |
1279 } | 1321 } |
1280 | 1322 |
1281 checkUnnamed2202(core.List<core.String> o) { | 1323 checkUnnamed2220(core.List<core.String> o) { |
1282 unittest.expect(o, unittest.hasLength(2)); | 1324 unittest.expect(o, unittest.hasLength(2)); |
1283 unittest.expect(o[0], unittest.equals('foo')); | 1325 unittest.expect(o[0], unittest.equals('foo')); |
1284 unittest.expect(o[1], unittest.equals('foo')); | 1326 unittest.expect(o[1], unittest.equals('foo')); |
1285 } | 1327 } |
1286 | 1328 |
1287 buildUnnamed2203() { | 1329 buildUnnamed2221() { |
1288 var o = new core.List<core.String>(); | 1330 var o = new core.List<core.String>(); |
1289 o.add("foo"); | 1331 o.add("foo"); |
1290 o.add("foo"); | 1332 o.add("foo"); |
1291 return o; | 1333 return o; |
1292 } | 1334 } |
1293 | 1335 |
1294 checkUnnamed2203(core.List<core.String> o) { | 1336 checkUnnamed2221(core.List<core.String> o) { |
1295 unittest.expect(o, unittest.hasLength(2)); | 1337 unittest.expect(o, unittest.hasLength(2)); |
1296 unittest.expect(o[0], unittest.equals('foo')); | 1338 unittest.expect(o[0], unittest.equals('foo')); |
1297 unittest.expect(o[1], unittest.equals('foo')); | 1339 unittest.expect(o[1], unittest.equals('foo')); |
1298 } | 1340 } |
1299 | 1341 |
1300 core.int buildCounterRule = 0; | 1342 core.int buildCounterRule = 0; |
1301 buildRule() { | 1343 buildRule() { |
1302 var o = new api.Rule(); | 1344 var o = new api.Rule(); |
1303 buildCounterRule++; | 1345 buildCounterRule++; |
1304 if (buildCounterRule < 3) { | 1346 if (buildCounterRule < 3) { |
1305 o.action = "foo"; | 1347 o.action = "foo"; |
1306 o.conditions = buildUnnamed2199(); | 1348 o.conditions = buildUnnamed2217(); |
1307 o.description = "foo"; | 1349 o.description = "foo"; |
1308 o.ins = buildUnnamed2200(); | 1350 o.ins = buildUnnamed2218(); |
1309 o.logConfigs = buildUnnamed2201(); | 1351 o.logConfigs = buildUnnamed2219(); |
1310 o.notIns = buildUnnamed2202(); | 1352 o.notIns = buildUnnamed2220(); |
1311 o.permissions = buildUnnamed2203(); | 1353 o.permissions = buildUnnamed2221(); |
1312 } | 1354 } |
1313 buildCounterRule--; | 1355 buildCounterRule--; |
1314 return o; | 1356 return o; |
1315 } | 1357 } |
1316 | 1358 |
1317 checkRule(api.Rule o) { | 1359 checkRule(api.Rule o) { |
1318 buildCounterRule++; | 1360 buildCounterRule++; |
1319 if (buildCounterRule < 3) { | 1361 if (buildCounterRule < 3) { |
1320 unittest.expect(o.action, unittest.equals('foo')); | 1362 unittest.expect(o.action, unittest.equals('foo')); |
1321 checkUnnamed2199(o.conditions); | 1363 checkUnnamed2217(o.conditions); |
1322 unittest.expect(o.description, unittest.equals('foo')); | 1364 unittest.expect(o.description, unittest.equals('foo')); |
1323 checkUnnamed2200(o.ins); | 1365 checkUnnamed2218(o.ins); |
1324 checkUnnamed2201(o.logConfigs); | 1366 checkUnnamed2219(o.logConfigs); |
1325 checkUnnamed2202(o.notIns); | 1367 checkUnnamed2220(o.notIns); |
1326 checkUnnamed2203(o.permissions); | 1368 checkUnnamed2221(o.permissions); |
1327 } | 1369 } |
1328 buildCounterRule--; | 1370 buildCounterRule--; |
1329 } | 1371 } |
1330 | 1372 |
1331 buildUnnamed2204() { | 1373 buildUnnamed2222() { |
1332 var o = new core.List<api.ImportFile>(); | 1374 var o = new core.List<api.ImportFile>(); |
1333 o.add(buildImportFile()); | 1375 o.add(buildImportFile()); |
1334 o.add(buildImportFile()); | 1376 o.add(buildImportFile()); |
1335 return o; | 1377 return o; |
1336 } | 1378 } |
1337 | 1379 |
1338 checkUnnamed2204(core.List<api.ImportFile> o) { | 1380 checkUnnamed2222(core.List<api.ImportFile> o) { |
1339 unittest.expect(o, unittest.hasLength(2)); | 1381 unittest.expect(o, unittest.hasLength(2)); |
1340 checkImportFile(o[0]); | 1382 checkImportFile(o[0]); |
1341 checkImportFile(o[1]); | 1383 checkImportFile(o[1]); |
1342 } | 1384 } |
1343 | 1385 |
1344 core.int buildCounterTargetConfiguration = 0; | 1386 core.int buildCounterTargetConfiguration = 0; |
1345 buildTargetConfiguration() { | 1387 buildTargetConfiguration() { |
1346 var o = new api.TargetConfiguration(); | 1388 var o = new api.TargetConfiguration(); |
1347 buildCounterTargetConfiguration++; | 1389 buildCounterTargetConfiguration++; |
1348 if (buildCounterTargetConfiguration < 3) { | 1390 if (buildCounterTargetConfiguration < 3) { |
1349 o.config = buildConfigFile(); | 1391 o.config = buildConfigFile(); |
1350 o.imports = buildUnnamed2204(); | 1392 o.imports = buildUnnamed2222(); |
1351 } | 1393 } |
1352 buildCounterTargetConfiguration--; | 1394 buildCounterTargetConfiguration--; |
1353 return o; | 1395 return o; |
1354 } | 1396 } |
1355 | 1397 |
1356 checkTargetConfiguration(api.TargetConfiguration o) { | 1398 checkTargetConfiguration(api.TargetConfiguration o) { |
1357 buildCounterTargetConfiguration++; | 1399 buildCounterTargetConfiguration++; |
1358 if (buildCounterTargetConfiguration < 3) { | 1400 if (buildCounterTargetConfiguration < 3) { |
1359 checkConfigFile(o.config); | 1401 checkConfigFile(o.config); |
1360 checkUnnamed2204(o.imports); | 1402 checkUnnamed2222(o.imports); |
1361 } | 1403 } |
1362 buildCounterTargetConfiguration--; | 1404 buildCounterTargetConfiguration--; |
1363 } | 1405 } |
1364 | 1406 |
1365 buildUnnamed2205() { | 1407 buildUnnamed2223() { |
1366 var o = new core.List<core.String>(); | 1408 var o = new core.List<core.String>(); |
1367 o.add("foo"); | 1409 o.add("foo"); |
1368 o.add("foo"); | 1410 o.add("foo"); |
1369 return o; | 1411 return o; |
1370 } | 1412 } |
1371 | 1413 |
1372 checkUnnamed2205(core.List<core.String> o) { | 1414 checkUnnamed2223(core.List<core.String> o) { |
1373 unittest.expect(o, unittest.hasLength(2)); | 1415 unittest.expect(o, unittest.hasLength(2)); |
1374 unittest.expect(o[0], unittest.equals('foo')); | 1416 unittest.expect(o[0], unittest.equals('foo')); |
1375 unittest.expect(o[1], unittest.equals('foo')); | 1417 unittest.expect(o[1], unittest.equals('foo')); |
1376 } | 1418 } |
1377 | 1419 |
1378 core.int buildCounterTestPermissionsRequest = 0; | 1420 core.int buildCounterTestPermissionsRequest = 0; |
1379 buildTestPermissionsRequest() { | 1421 buildTestPermissionsRequest() { |
1380 var o = new api.TestPermissionsRequest(); | 1422 var o = new api.TestPermissionsRequest(); |
1381 buildCounterTestPermissionsRequest++; | 1423 buildCounterTestPermissionsRequest++; |
1382 if (buildCounterTestPermissionsRequest < 3) { | 1424 if (buildCounterTestPermissionsRequest < 3) { |
1383 o.permissions = buildUnnamed2205(); | 1425 o.permissions = buildUnnamed2223(); |
1384 } | 1426 } |
1385 buildCounterTestPermissionsRequest--; | 1427 buildCounterTestPermissionsRequest--; |
1386 return o; | 1428 return o; |
1387 } | 1429 } |
1388 | 1430 |
1389 checkTestPermissionsRequest(api.TestPermissionsRequest o) { | 1431 checkTestPermissionsRequest(api.TestPermissionsRequest o) { |
1390 buildCounterTestPermissionsRequest++; | 1432 buildCounterTestPermissionsRequest++; |
1391 if (buildCounterTestPermissionsRequest < 3) { | 1433 if (buildCounterTestPermissionsRequest < 3) { |
1392 checkUnnamed2205(o.permissions); | 1434 checkUnnamed2223(o.permissions); |
1393 } | 1435 } |
1394 buildCounterTestPermissionsRequest--; | 1436 buildCounterTestPermissionsRequest--; |
1395 } | 1437 } |
1396 | 1438 |
1397 buildUnnamed2206() { | 1439 buildUnnamed2224() { |
1398 var o = new core.List<core.String>(); | 1440 var o = new core.List<core.String>(); |
1399 o.add("foo"); | 1441 o.add("foo"); |
1400 o.add("foo"); | 1442 o.add("foo"); |
1401 return o; | 1443 return o; |
1402 } | 1444 } |
1403 | 1445 |
1404 checkUnnamed2206(core.List<core.String> o) { | 1446 checkUnnamed2224(core.List<core.String> o) { |
1405 unittest.expect(o, unittest.hasLength(2)); | 1447 unittest.expect(o, unittest.hasLength(2)); |
1406 unittest.expect(o[0], unittest.equals('foo')); | 1448 unittest.expect(o[0], unittest.equals('foo')); |
1407 unittest.expect(o[1], unittest.equals('foo')); | 1449 unittest.expect(o[1], unittest.equals('foo')); |
1408 } | 1450 } |
1409 | 1451 |
1410 core.int buildCounterTestPermissionsResponse = 0; | 1452 core.int buildCounterTestPermissionsResponse = 0; |
1411 buildTestPermissionsResponse() { | 1453 buildTestPermissionsResponse() { |
1412 var o = new api.TestPermissionsResponse(); | 1454 var o = new api.TestPermissionsResponse(); |
1413 buildCounterTestPermissionsResponse++; | 1455 buildCounterTestPermissionsResponse++; |
1414 if (buildCounterTestPermissionsResponse < 3) { | 1456 if (buildCounterTestPermissionsResponse < 3) { |
1415 o.permissions = buildUnnamed2206(); | 1457 o.permissions = buildUnnamed2224(); |
1416 } | 1458 } |
1417 buildCounterTestPermissionsResponse--; | 1459 buildCounterTestPermissionsResponse--; |
1418 return o; | 1460 return o; |
1419 } | 1461 } |
1420 | 1462 |
1421 checkTestPermissionsResponse(api.TestPermissionsResponse o) { | 1463 checkTestPermissionsResponse(api.TestPermissionsResponse o) { |
1422 buildCounterTestPermissionsResponse++; | 1464 buildCounterTestPermissionsResponse++; |
1423 if (buildCounterTestPermissionsResponse < 3) { | 1465 if (buildCounterTestPermissionsResponse < 3) { |
1424 checkUnnamed2206(o.permissions); | 1466 checkUnnamed2224(o.permissions); |
1425 } | 1467 } |
1426 buildCounterTestPermissionsResponse--; | 1468 buildCounterTestPermissionsResponse--; |
1427 } | 1469 } |
1428 | 1470 |
1429 core.int buildCounterType = 0; | 1471 core.int buildCounterType = 0; |
1430 buildType() { | 1472 buildType() { |
1431 var o = new api.Type(); | 1473 var o = new api.Type(); |
1432 buildCounterType++; | 1474 buildCounterType++; |
1433 if (buildCounterType < 3) { | 1475 if (buildCounterType < 3) { |
1434 o.id = "foo"; | 1476 o.id = "foo"; |
(...skipping 11 matching lines...) Expand all Loading... |
1446 if (buildCounterType < 3) { | 1488 if (buildCounterType < 3) { |
1447 unittest.expect(o.id, unittest.equals('foo')); | 1489 unittest.expect(o.id, unittest.equals('foo')); |
1448 unittest.expect(o.insertTime, unittest.equals('foo')); | 1490 unittest.expect(o.insertTime, unittest.equals('foo')); |
1449 unittest.expect(o.name, unittest.equals('foo')); | 1491 unittest.expect(o.name, unittest.equals('foo')); |
1450 checkOperation(o.operation); | 1492 checkOperation(o.operation); |
1451 unittest.expect(o.selfLink, unittest.equals('foo')); | 1493 unittest.expect(o.selfLink, unittest.equals('foo')); |
1452 } | 1494 } |
1453 buildCounterType--; | 1495 buildCounterType--; |
1454 } | 1496 } |
1455 | 1497 |
1456 buildUnnamed2207() { | 1498 buildUnnamed2225() { |
1457 var o = new core.List<api.Type>(); | 1499 var o = new core.List<api.Type>(); |
1458 o.add(buildType()); | 1500 o.add(buildType()); |
1459 o.add(buildType()); | 1501 o.add(buildType()); |
1460 return o; | 1502 return o; |
1461 } | 1503 } |
1462 | 1504 |
1463 checkUnnamed2207(core.List<api.Type> o) { | 1505 checkUnnamed2225(core.List<api.Type> o) { |
1464 unittest.expect(o, unittest.hasLength(2)); | 1506 unittest.expect(o, unittest.hasLength(2)); |
1465 checkType(o[0]); | 1507 checkType(o[0]); |
1466 checkType(o[1]); | 1508 checkType(o[1]); |
1467 } | 1509 } |
1468 | 1510 |
1469 core.int buildCounterTypesListResponse = 0; | 1511 core.int buildCounterTypesListResponse = 0; |
1470 buildTypesListResponse() { | 1512 buildTypesListResponse() { |
1471 var o = new api.TypesListResponse(); | 1513 var o = new api.TypesListResponse(); |
1472 buildCounterTypesListResponse++; | 1514 buildCounterTypesListResponse++; |
1473 if (buildCounterTypesListResponse < 3) { | 1515 if (buildCounterTypesListResponse < 3) { |
1474 o.nextPageToken = "foo"; | 1516 o.nextPageToken = "foo"; |
1475 o.types = buildUnnamed2207(); | 1517 o.types = buildUnnamed2225(); |
1476 } | 1518 } |
1477 buildCounterTypesListResponse--; | 1519 buildCounterTypesListResponse--; |
1478 return o; | 1520 return o; |
1479 } | 1521 } |
1480 | 1522 |
1481 checkTypesListResponse(api.TypesListResponse o) { | 1523 checkTypesListResponse(api.TypesListResponse o) { |
1482 buildCounterTypesListResponse++; | 1524 buildCounterTypesListResponse++; |
1483 if (buildCounterTypesListResponse < 3) { | 1525 if (buildCounterTypesListResponse < 3) { |
1484 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1526 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1485 checkUnnamed2207(o.types); | 1527 checkUnnamed2225(o.types); |
1486 } | 1528 } |
1487 buildCounterTypesListResponse--; | 1529 buildCounterTypesListResponse--; |
1488 } | 1530 } |
1489 | 1531 |
1490 | 1532 |
1491 main() { | 1533 main() { |
1492 unittest.group("obj-schema-AuditConfig", () { | 1534 unittest.group("obj-schema-AuditConfig", () { |
1493 unittest.test("to-json--from-json", () { | 1535 unittest.test("to-json--from-json", () { |
1494 var o = buildAuditConfig(); | 1536 var o = buildAuditConfig(); |
1495 var od = new api.AuditConfig.fromJson(o.toJson()); | 1537 var od = new api.AuditConfig.fromJson(o.toJson()); |
1496 checkAuditConfig(od); | 1538 checkAuditConfig(od); |
1497 }); | 1539 }); |
1498 }); | 1540 }); |
1499 | 1541 |
1500 | 1542 |
1501 unittest.group("obj-schema-AuditLogConfig", () { | 1543 unittest.group("obj-schema-AuditLogConfig", () { |
1502 unittest.test("to-json--from-json", () { | 1544 unittest.test("to-json--from-json", () { |
1503 var o = buildAuditLogConfig(); | 1545 var o = buildAuditLogConfig(); |
1504 var od = new api.AuditLogConfig.fromJson(o.toJson()); | 1546 var od = new api.AuditLogConfig.fromJson(o.toJson()); |
1505 checkAuditLogConfig(od); | 1547 checkAuditLogConfig(od); |
1506 }); | 1548 }); |
1507 }); | 1549 }); |
1508 | 1550 |
1509 | 1551 |
| 1552 unittest.group("obj-schema-AuthorizationLoggingOptions", () { |
| 1553 unittest.test("to-json--from-json", () { |
| 1554 var o = buildAuthorizationLoggingOptions(); |
| 1555 var od = new api.AuthorizationLoggingOptions.fromJson(o.toJson()); |
| 1556 checkAuthorizationLoggingOptions(od); |
| 1557 }); |
| 1558 }); |
| 1559 |
| 1560 |
1510 unittest.group("obj-schema-Binding", () { | 1561 unittest.group("obj-schema-Binding", () { |
1511 unittest.test("to-json--from-json", () { | 1562 unittest.test("to-json--from-json", () { |
1512 var o = buildBinding(); | 1563 var o = buildBinding(); |
1513 var od = new api.Binding.fromJson(o.toJson()); | 1564 var od = new api.Binding.fromJson(o.toJson()); |
1514 checkBinding(od); | 1565 checkBinding(od); |
1515 }); | 1566 }); |
1516 }); | 1567 }); |
1517 | 1568 |
1518 | 1569 |
1519 unittest.group("obj-schema-Condition", () { | 1570 unittest.group("obj-schema-Condition", () { |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1635 | 1686 |
1636 unittest.group("obj-schema-LogConfigCounterOptions", () { | 1687 unittest.group("obj-schema-LogConfigCounterOptions", () { |
1637 unittest.test("to-json--from-json", () { | 1688 unittest.test("to-json--from-json", () { |
1638 var o = buildLogConfigCounterOptions(); | 1689 var o = buildLogConfigCounterOptions(); |
1639 var od = new api.LogConfigCounterOptions.fromJson(o.toJson()); | 1690 var od = new api.LogConfigCounterOptions.fromJson(o.toJson()); |
1640 checkLogConfigCounterOptions(od); | 1691 checkLogConfigCounterOptions(od); |
1641 }); | 1692 }); |
1642 }); | 1693 }); |
1643 | 1694 |
1644 | 1695 |
| 1696 unittest.group("obj-schema-LogConfigDataAccessOptions", () { |
| 1697 unittest.test("to-json--from-json", () { |
| 1698 var o = buildLogConfigDataAccessOptions(); |
| 1699 var od = new api.LogConfigDataAccessOptions.fromJson(o.toJson()); |
| 1700 checkLogConfigDataAccessOptions(od); |
| 1701 }); |
| 1702 }); |
| 1703 |
| 1704 |
1645 unittest.group("obj-schema-Manifest", () { | 1705 unittest.group("obj-schema-Manifest", () { |
1646 unittest.test("to-json--from-json", () { | 1706 unittest.test("to-json--from-json", () { |
1647 var o = buildManifest(); | 1707 var o = buildManifest(); |
1648 var od = new api.Manifest.fromJson(o.toJson()); | 1708 var od = new api.Manifest.fromJson(o.toJson()); |
1649 checkManifest(od); | 1709 checkManifest(od); |
1650 }); | 1710 }); |
1651 }); | 1711 }); |
1652 | 1712 |
1653 | 1713 |
1654 unittest.group("obj-schema-ManifestsListResponse", () { | 1714 unittest.group("obj-schema-ManifestsListResponse", () { |
(...skipping 1083 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2738 res.list(arg_project, filter: arg_filter, maxResults: arg_maxResults, orde
rBy: arg_orderBy, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.Typ
esListResponse response) { | 2798 res.list(arg_project, filter: arg_filter, maxResults: arg_maxResults, orde
rBy: arg_orderBy, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.Typ
esListResponse response) { |
2739 checkTypesListResponse(response); | 2799 checkTypesListResponse(response); |
2740 }))); | 2800 }))); |
2741 }); | 2801 }); |
2742 | 2802 |
2743 }); | 2803 }); |
2744 | 2804 |
2745 | 2805 |
2746 } | 2806 } |
2747 | 2807 |
OLD | NEW |