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:unittest/unittest.dart' as unittest; | 10 import 'package:unittest/unittest.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 headers, core.String body) { | 49 core.int status, core.Map headers, core.String body) { |
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 buildUnnamed2034() { | 54 buildUnnamed1857() { |
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 checkUnnamed2034(core.List<api.AuditLogConfig> o) { | 61 checkUnnamed1857(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 buildUnnamed2035() { | 67 buildUnnamed1858() { |
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 checkUnnamed2035(core.List<core.String> o) { | 74 checkUnnamed1858(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 = buildUnnamed2034(); | 85 o.auditLogConfigs = buildUnnamed1857(); |
86 o.exemptedMembers = buildUnnamed2035(); | 86 o.exemptedMembers = buildUnnamed1858(); |
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 checkUnnamed2034(o.auditLogConfigs); | 96 checkUnnamed1857(o.auditLogConfigs); |
97 checkUnnamed2035(o.exemptedMembers); | 97 checkUnnamed1858(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 buildUnnamed2036() { | 103 buildUnnamed1859() { |
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 checkUnnamed2036(core.List<core.String> o) { | 110 checkUnnamed1859(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 = buildUnnamed2036(); | 121 o.exemptedMembers = buildUnnamed1859(); |
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 checkUnnamed2036(o.exemptedMembers); | 131 checkUnnamed1859(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 buildUnnamed2037() { | 137 buildUnnamed1860() { |
138 var o = new core.List<core.String>(); | 138 var o = new core.List<core.String>(); |
139 o.add("foo"); | 139 o.add("foo"); |
140 o.add("foo"); | 140 o.add("foo"); |
141 return o; | 141 return o; |
142 } | 142 } |
143 | 143 |
144 checkUnnamed2037(core.List<core.String> o) { | 144 checkUnnamed1860(core.List<core.String> o) { |
145 unittest.expect(o, unittest.hasLength(2)); | 145 unittest.expect(o, unittest.hasLength(2)); |
146 unittest.expect(o[0], unittest.equals('foo')); | 146 unittest.expect(o[0], unittest.equals('foo')); |
147 unittest.expect(o[1], unittest.equals('foo')); | 147 unittest.expect(o[1], unittest.equals('foo')); |
148 } | 148 } |
149 | 149 |
150 core.int buildCounterBinding = 0; | 150 core.int buildCounterBinding = 0; |
151 buildBinding() { | 151 buildBinding() { |
152 var o = new api.Binding(); | 152 var o = new api.Binding(); |
153 buildCounterBinding++; | 153 buildCounterBinding++; |
154 if (buildCounterBinding < 3) { | 154 if (buildCounterBinding < 3) { |
155 o.members = buildUnnamed2037(); | 155 o.members = buildUnnamed1860(); |
156 o.role = "foo"; | 156 o.role = "foo"; |
157 } | 157 } |
158 buildCounterBinding--; | 158 buildCounterBinding--; |
159 return o; | 159 return o; |
160 } | 160 } |
161 | 161 |
162 checkBinding(api.Binding o) { | 162 checkBinding(api.Binding o) { |
163 buildCounterBinding++; | 163 buildCounterBinding++; |
164 if (buildCounterBinding < 3) { | 164 if (buildCounterBinding < 3) { |
165 checkUnnamed2037(o.members); | 165 checkUnnamed1860(o.members); |
166 unittest.expect(o.role, unittest.equals('foo')); | 166 unittest.expect(o.role, unittest.equals('foo')); |
167 } | 167 } |
168 buildCounterBinding--; | 168 buildCounterBinding--; |
169 } | 169 } |
170 | 170 |
171 buildUnnamed2038() { | 171 buildUnnamed1861() { |
172 var o = new core.List<core.String>(); | 172 var o = new core.List<core.String>(); |
173 o.add("foo"); | 173 o.add("foo"); |
174 o.add("foo"); | 174 o.add("foo"); |
175 return o; | 175 return o; |
176 } | 176 } |
177 | 177 |
178 checkUnnamed2038(core.List<core.String> o) { | 178 checkUnnamed1861(core.List<core.String> o) { |
179 unittest.expect(o, unittest.hasLength(2)); | 179 unittest.expect(o, unittest.hasLength(2)); |
180 unittest.expect(o[0], unittest.equals('foo')); | 180 unittest.expect(o[0], unittest.equals('foo')); |
181 unittest.expect(o[1], unittest.equals('foo')); | 181 unittest.expect(o[1], unittest.equals('foo')); |
182 } | 182 } |
183 | 183 |
184 core.int buildCounterCondition = 0; | 184 core.int buildCounterCondition = 0; |
185 buildCondition() { | 185 buildCondition() { |
186 var o = new api.Condition(); | 186 var o = new api.Condition(); |
187 buildCounterCondition++; | 187 buildCounterCondition++; |
188 if (buildCounterCondition < 3) { | 188 if (buildCounterCondition < 3) { |
189 o.iam = "foo"; | 189 o.iam = "foo"; |
190 o.op = "foo"; | 190 o.op = "foo"; |
191 o.svc = "foo"; | 191 o.svc = "foo"; |
192 o.sys = "foo"; | 192 o.sys = "foo"; |
193 o.value = "foo"; | 193 o.value = "foo"; |
194 o.values = buildUnnamed2038(); | 194 o.values = buildUnnamed1861(); |
195 } | 195 } |
196 buildCounterCondition--; | 196 buildCounterCondition--; |
197 return o; | 197 return o; |
198 } | 198 } |
199 | 199 |
200 checkCondition(api.Condition o) { | 200 checkCondition(api.Condition o) { |
201 buildCounterCondition++; | 201 buildCounterCondition++; |
202 if (buildCounterCondition < 3) { | 202 if (buildCounterCondition < 3) { |
203 unittest.expect(o.iam, unittest.equals('foo')); | 203 unittest.expect(o.iam, unittest.equals('foo')); |
204 unittest.expect(o.op, unittest.equals('foo')); | 204 unittest.expect(o.op, unittest.equals('foo')); |
205 unittest.expect(o.svc, unittest.equals('foo')); | 205 unittest.expect(o.svc, unittest.equals('foo')); |
206 unittest.expect(o.sys, unittest.equals('foo')); | 206 unittest.expect(o.sys, unittest.equals('foo')); |
207 unittest.expect(o.value, unittest.equals('foo')); | 207 unittest.expect(o.value, unittest.equals('foo')); |
208 checkUnnamed2038(o.values); | 208 checkUnnamed1861(o.values); |
209 } | 209 } |
210 buildCounterCondition--; | 210 buildCounterCondition--; |
211 } | 211 } |
212 | 212 |
213 core.int buildCounterConfigFile = 0; | 213 core.int buildCounterConfigFile = 0; |
214 buildConfigFile() { | 214 buildConfigFile() { |
215 var o = new api.ConfigFile(); | 215 var o = new api.ConfigFile(); |
216 buildCounterConfigFile++; | 216 buildCounterConfigFile++; |
217 if (buildCounterConfigFile < 3) { | 217 if (buildCounterConfigFile < 3) { |
218 o.content = "foo"; | 218 o.content = "foo"; |
219 } | 219 } |
220 buildCounterConfigFile--; | 220 buildCounterConfigFile--; |
221 return o; | 221 return o; |
222 } | 222 } |
223 | 223 |
224 checkConfigFile(api.ConfigFile o) { | 224 checkConfigFile(api.ConfigFile o) { |
225 buildCounterConfigFile++; | 225 buildCounterConfigFile++; |
226 if (buildCounterConfigFile < 3) { | 226 if (buildCounterConfigFile < 3) { |
227 unittest.expect(o.content, unittest.equals('foo')); | 227 unittest.expect(o.content, unittest.equals('foo')); |
228 } | 228 } |
229 buildCounterConfigFile--; | 229 buildCounterConfigFile--; |
230 } | 230 } |
231 | 231 |
232 buildUnnamed2039() { | 232 buildUnnamed1862() { |
233 var o = new core.List<api.DeploymentLabelEntry>(); | 233 var o = new core.List<api.DeploymentLabelEntry>(); |
234 o.add(buildDeploymentLabelEntry()); | 234 o.add(buildDeploymentLabelEntry()); |
235 o.add(buildDeploymentLabelEntry()); | 235 o.add(buildDeploymentLabelEntry()); |
236 return o; | 236 return o; |
237 } | 237 } |
238 | 238 |
239 checkUnnamed2039(core.List<api.DeploymentLabelEntry> o) { | 239 checkUnnamed1862(core.List<api.DeploymentLabelEntry> o) { |
240 unittest.expect(o, unittest.hasLength(2)); | 240 unittest.expect(o, unittest.hasLength(2)); |
241 checkDeploymentLabelEntry(o[0]); | 241 checkDeploymentLabelEntry(o[0]); |
242 checkDeploymentLabelEntry(o[1]); | 242 checkDeploymentLabelEntry(o[1]); |
243 } | 243 } |
244 | 244 |
245 core.int buildCounterDeployment = 0; | 245 core.int buildCounterDeployment = 0; |
246 buildDeployment() { | 246 buildDeployment() { |
247 var o = new api.Deployment(); | 247 var o = new api.Deployment(); |
248 buildCounterDeployment++; | 248 buildCounterDeployment++; |
249 if (buildCounterDeployment < 3) { | 249 if (buildCounterDeployment < 3) { |
250 o.description = "foo"; | 250 o.description = "foo"; |
251 o.fingerprint = "foo"; | 251 o.fingerprint = "foo"; |
252 o.id = "foo"; | 252 o.id = "foo"; |
253 o.insertTime = "foo"; | 253 o.insertTime = "foo"; |
254 o.labels = buildUnnamed2039(); | 254 o.labels = buildUnnamed1862(); |
255 o.manifest = "foo"; | 255 o.manifest = "foo"; |
256 o.name = "foo"; | 256 o.name = "foo"; |
257 o.operation = buildOperation(); | 257 o.operation = buildOperation(); |
258 o.selfLink = "foo"; | 258 o.selfLink = "foo"; |
259 o.target = buildTargetConfiguration(); | 259 o.target = buildTargetConfiguration(); |
260 o.update = buildDeploymentUpdate(); | 260 o.update = buildDeploymentUpdate(); |
261 } | 261 } |
262 buildCounterDeployment--; | 262 buildCounterDeployment--; |
263 return o; | 263 return o; |
264 } | 264 } |
265 | 265 |
266 checkDeployment(api.Deployment o) { | 266 checkDeployment(api.Deployment o) { |
267 buildCounterDeployment++; | 267 buildCounterDeployment++; |
268 if (buildCounterDeployment < 3) { | 268 if (buildCounterDeployment < 3) { |
269 unittest.expect(o.description, unittest.equals('foo')); | 269 unittest.expect(o.description, unittest.equals('foo')); |
270 unittest.expect(o.fingerprint, unittest.equals('foo')); | 270 unittest.expect(o.fingerprint, unittest.equals('foo')); |
271 unittest.expect(o.id, unittest.equals('foo')); | 271 unittest.expect(o.id, unittest.equals('foo')); |
272 unittest.expect(o.insertTime, unittest.equals('foo')); | 272 unittest.expect(o.insertTime, unittest.equals('foo')); |
273 checkUnnamed2039(o.labels); | 273 checkUnnamed1862(o.labels); |
274 unittest.expect(o.manifest, unittest.equals('foo')); | 274 unittest.expect(o.manifest, unittest.equals('foo')); |
275 unittest.expect(o.name, unittest.equals('foo')); | 275 unittest.expect(o.name, unittest.equals('foo')); |
276 checkOperation(o.operation); | 276 checkOperation(o.operation); |
277 unittest.expect(o.selfLink, unittest.equals('foo')); | 277 unittest.expect(o.selfLink, unittest.equals('foo')); |
278 checkTargetConfiguration(o.target); | 278 checkTargetConfiguration(o.target); |
279 checkDeploymentUpdate(o.update); | 279 checkDeploymentUpdate(o.update); |
280 } | 280 } |
281 buildCounterDeployment--; | 281 buildCounterDeployment--; |
282 } | 282 } |
283 | 283 |
(...skipping 11 matching lines...) Expand all Loading... |
295 | 295 |
296 checkDeploymentLabelEntry(api.DeploymentLabelEntry o) { | 296 checkDeploymentLabelEntry(api.DeploymentLabelEntry o) { |
297 buildCounterDeploymentLabelEntry++; | 297 buildCounterDeploymentLabelEntry++; |
298 if (buildCounterDeploymentLabelEntry < 3) { | 298 if (buildCounterDeploymentLabelEntry < 3) { |
299 unittest.expect(o.key, unittest.equals('foo')); | 299 unittest.expect(o.key, unittest.equals('foo')); |
300 unittest.expect(o.value, unittest.equals('foo')); | 300 unittest.expect(o.value, unittest.equals('foo')); |
301 } | 301 } |
302 buildCounterDeploymentLabelEntry--; | 302 buildCounterDeploymentLabelEntry--; |
303 } | 303 } |
304 | 304 |
305 buildUnnamed2040() { | 305 buildUnnamed1863() { |
306 var o = new core.List<api.DeploymentUpdateLabelEntry>(); | 306 var o = new core.List<api.DeploymentUpdateLabelEntry>(); |
307 o.add(buildDeploymentUpdateLabelEntry()); | 307 o.add(buildDeploymentUpdateLabelEntry()); |
308 o.add(buildDeploymentUpdateLabelEntry()); | 308 o.add(buildDeploymentUpdateLabelEntry()); |
309 return o; | 309 return o; |
310 } | 310 } |
311 | 311 |
312 checkUnnamed2040(core.List<api.DeploymentUpdateLabelEntry> o) { | 312 checkUnnamed1863(core.List<api.DeploymentUpdateLabelEntry> o) { |
313 unittest.expect(o, unittest.hasLength(2)); | 313 unittest.expect(o, unittest.hasLength(2)); |
314 checkDeploymentUpdateLabelEntry(o[0]); | 314 checkDeploymentUpdateLabelEntry(o[0]); |
315 checkDeploymentUpdateLabelEntry(o[1]); | 315 checkDeploymentUpdateLabelEntry(o[1]); |
316 } | 316 } |
317 | 317 |
318 core.int buildCounterDeploymentUpdate = 0; | 318 core.int buildCounterDeploymentUpdate = 0; |
319 buildDeploymentUpdate() { | 319 buildDeploymentUpdate() { |
320 var o = new api.DeploymentUpdate(); | 320 var o = new api.DeploymentUpdate(); |
321 buildCounterDeploymentUpdate++; | 321 buildCounterDeploymentUpdate++; |
322 if (buildCounterDeploymentUpdate < 3) { | 322 if (buildCounterDeploymentUpdate < 3) { |
323 o.description = "foo"; | 323 o.description = "foo"; |
324 o.labels = buildUnnamed2040(); | 324 o.labels = buildUnnamed1863(); |
325 o.manifest = "foo"; | 325 o.manifest = "foo"; |
326 } | 326 } |
327 buildCounterDeploymentUpdate--; | 327 buildCounterDeploymentUpdate--; |
328 return o; | 328 return o; |
329 } | 329 } |
330 | 330 |
331 checkDeploymentUpdate(api.DeploymentUpdate o) { | 331 checkDeploymentUpdate(api.DeploymentUpdate o) { |
332 buildCounterDeploymentUpdate++; | 332 buildCounterDeploymentUpdate++; |
333 if (buildCounterDeploymentUpdate < 3) { | 333 if (buildCounterDeploymentUpdate < 3) { |
334 unittest.expect(o.description, unittest.equals('foo')); | 334 unittest.expect(o.description, unittest.equals('foo')); |
335 checkUnnamed2040(o.labels); | 335 checkUnnamed1863(o.labels); |
336 unittest.expect(o.manifest, unittest.equals('foo')); | 336 unittest.expect(o.manifest, unittest.equals('foo')); |
337 } | 337 } |
338 buildCounterDeploymentUpdate--; | 338 buildCounterDeploymentUpdate--; |
339 } | 339 } |
340 | 340 |
341 core.int buildCounterDeploymentUpdateLabelEntry = 0; | 341 core.int buildCounterDeploymentUpdateLabelEntry = 0; |
342 buildDeploymentUpdateLabelEntry() { | 342 buildDeploymentUpdateLabelEntry() { |
343 var o = new api.DeploymentUpdateLabelEntry(); | 343 var o = new api.DeploymentUpdateLabelEntry(); |
344 buildCounterDeploymentUpdateLabelEntry++; | 344 buildCounterDeploymentUpdateLabelEntry++; |
345 if (buildCounterDeploymentUpdateLabelEntry < 3) { | 345 if (buildCounterDeploymentUpdateLabelEntry < 3) { |
(...skipping 25 matching lines...) Expand all Loading... |
371 } | 371 } |
372 | 372 |
373 checkDeploymentsCancelPreviewRequest(api.DeploymentsCancelPreviewRequest o) { | 373 checkDeploymentsCancelPreviewRequest(api.DeploymentsCancelPreviewRequest o) { |
374 buildCounterDeploymentsCancelPreviewRequest++; | 374 buildCounterDeploymentsCancelPreviewRequest++; |
375 if (buildCounterDeploymentsCancelPreviewRequest < 3) { | 375 if (buildCounterDeploymentsCancelPreviewRequest < 3) { |
376 unittest.expect(o.fingerprint, unittest.equals('foo')); | 376 unittest.expect(o.fingerprint, unittest.equals('foo')); |
377 } | 377 } |
378 buildCounterDeploymentsCancelPreviewRequest--; | 378 buildCounterDeploymentsCancelPreviewRequest--; |
379 } | 379 } |
380 | 380 |
381 buildUnnamed2041() { | 381 buildUnnamed1864() { |
382 var o = new core.List<api.Deployment>(); | 382 var o = new core.List<api.Deployment>(); |
383 o.add(buildDeployment()); | 383 o.add(buildDeployment()); |
384 o.add(buildDeployment()); | 384 o.add(buildDeployment()); |
385 return o; | 385 return o; |
386 } | 386 } |
387 | 387 |
388 checkUnnamed2041(core.List<api.Deployment> o) { | 388 checkUnnamed1864(core.List<api.Deployment> o) { |
389 unittest.expect(o, unittest.hasLength(2)); | 389 unittest.expect(o, unittest.hasLength(2)); |
390 checkDeployment(o[0]); | 390 checkDeployment(o[0]); |
391 checkDeployment(o[1]); | 391 checkDeployment(o[1]); |
392 } | 392 } |
393 | 393 |
394 core.int buildCounterDeploymentsListResponse = 0; | 394 core.int buildCounterDeploymentsListResponse = 0; |
395 buildDeploymentsListResponse() { | 395 buildDeploymentsListResponse() { |
396 var o = new api.DeploymentsListResponse(); | 396 var o = new api.DeploymentsListResponse(); |
397 buildCounterDeploymentsListResponse++; | 397 buildCounterDeploymentsListResponse++; |
398 if (buildCounterDeploymentsListResponse < 3) { | 398 if (buildCounterDeploymentsListResponse < 3) { |
399 o.deployments = buildUnnamed2041(); | 399 o.deployments = buildUnnamed1864(); |
400 o.nextPageToken = "foo"; | 400 o.nextPageToken = "foo"; |
401 } | 401 } |
402 buildCounterDeploymentsListResponse--; | 402 buildCounterDeploymentsListResponse--; |
403 return o; | 403 return o; |
404 } | 404 } |
405 | 405 |
406 checkDeploymentsListResponse(api.DeploymentsListResponse o) { | 406 checkDeploymentsListResponse(api.DeploymentsListResponse o) { |
407 buildCounterDeploymentsListResponse++; | 407 buildCounterDeploymentsListResponse++; |
408 if (buildCounterDeploymentsListResponse < 3) { | 408 if (buildCounterDeploymentsListResponse < 3) { |
409 checkUnnamed2041(o.deployments); | 409 checkUnnamed1864(o.deployments); |
410 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 410 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
411 } | 411 } |
412 buildCounterDeploymentsListResponse--; | 412 buildCounterDeploymentsListResponse--; |
413 } | 413 } |
414 | 414 |
415 core.int buildCounterDeploymentsStopRequest = 0; | 415 core.int buildCounterDeploymentsStopRequest = 0; |
416 buildDeploymentsStopRequest() { | 416 buildDeploymentsStopRequest() { |
417 var o = new api.DeploymentsStopRequest(); | 417 var o = new api.DeploymentsStopRequest(); |
418 buildCounterDeploymentsStopRequest++; | 418 buildCounterDeploymentsStopRequest++; |
419 if (buildCounterDeploymentsStopRequest < 3) { | 419 if (buildCounterDeploymentsStopRequest < 3) { |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
485 | 485 |
486 checkLogConfigCounterOptions(api.LogConfigCounterOptions o) { | 486 checkLogConfigCounterOptions(api.LogConfigCounterOptions o) { |
487 buildCounterLogConfigCounterOptions++; | 487 buildCounterLogConfigCounterOptions++; |
488 if (buildCounterLogConfigCounterOptions < 3) { | 488 if (buildCounterLogConfigCounterOptions < 3) { |
489 unittest.expect(o.field, unittest.equals('foo')); | 489 unittest.expect(o.field, unittest.equals('foo')); |
490 unittest.expect(o.metric, unittest.equals('foo')); | 490 unittest.expect(o.metric, unittest.equals('foo')); |
491 } | 491 } |
492 buildCounterLogConfigCounterOptions--; | 492 buildCounterLogConfigCounterOptions--; |
493 } | 493 } |
494 | 494 |
495 buildUnnamed2042() { | 495 buildUnnamed1865() { |
496 var o = new core.List<api.ImportFile>(); | 496 var o = new core.List<api.ImportFile>(); |
497 o.add(buildImportFile()); | 497 o.add(buildImportFile()); |
498 o.add(buildImportFile()); | 498 o.add(buildImportFile()); |
499 return o; | 499 return o; |
500 } | 500 } |
501 | 501 |
502 checkUnnamed2042(core.List<api.ImportFile> o) { | 502 checkUnnamed1865(core.List<api.ImportFile> o) { |
503 unittest.expect(o, unittest.hasLength(2)); | 503 unittest.expect(o, unittest.hasLength(2)); |
504 checkImportFile(o[0]); | 504 checkImportFile(o[0]); |
505 checkImportFile(o[1]); | 505 checkImportFile(o[1]); |
506 } | 506 } |
507 | 507 |
508 core.int buildCounterManifest = 0; | 508 core.int buildCounterManifest = 0; |
509 buildManifest() { | 509 buildManifest() { |
510 var o = new api.Manifest(); | 510 var o = new api.Manifest(); |
511 buildCounterManifest++; | 511 buildCounterManifest++; |
512 if (buildCounterManifest < 3) { | 512 if (buildCounterManifest < 3) { |
513 o.config = buildConfigFile(); | 513 o.config = buildConfigFile(); |
514 o.expandedConfig = "foo"; | 514 o.expandedConfig = "foo"; |
515 o.id = "foo"; | 515 o.id = "foo"; |
516 o.imports = buildUnnamed2042(); | 516 o.imports = buildUnnamed1865(); |
517 o.insertTime = "foo"; | 517 o.insertTime = "foo"; |
518 o.layout = "foo"; | 518 o.layout = "foo"; |
519 o.name = "foo"; | 519 o.name = "foo"; |
520 o.selfLink = "foo"; | 520 o.selfLink = "foo"; |
521 } | 521 } |
522 buildCounterManifest--; | 522 buildCounterManifest--; |
523 return o; | 523 return o; |
524 } | 524 } |
525 | 525 |
526 checkManifest(api.Manifest o) { | 526 checkManifest(api.Manifest o) { |
527 buildCounterManifest++; | 527 buildCounterManifest++; |
528 if (buildCounterManifest < 3) { | 528 if (buildCounterManifest < 3) { |
529 checkConfigFile(o.config); | 529 checkConfigFile(o.config); |
530 unittest.expect(o.expandedConfig, unittest.equals('foo')); | 530 unittest.expect(o.expandedConfig, unittest.equals('foo')); |
531 unittest.expect(o.id, unittest.equals('foo')); | 531 unittest.expect(o.id, unittest.equals('foo')); |
532 checkUnnamed2042(o.imports); | 532 checkUnnamed1865(o.imports); |
533 unittest.expect(o.insertTime, unittest.equals('foo')); | 533 unittest.expect(o.insertTime, unittest.equals('foo')); |
534 unittest.expect(o.layout, unittest.equals('foo')); | 534 unittest.expect(o.layout, unittest.equals('foo')); |
535 unittest.expect(o.name, unittest.equals('foo')); | 535 unittest.expect(o.name, unittest.equals('foo')); |
536 unittest.expect(o.selfLink, unittest.equals('foo')); | 536 unittest.expect(o.selfLink, unittest.equals('foo')); |
537 } | 537 } |
538 buildCounterManifest--; | 538 buildCounterManifest--; |
539 } | 539 } |
540 | 540 |
541 buildUnnamed2043() { | 541 buildUnnamed1866() { |
542 var o = new core.List<api.Manifest>(); | 542 var o = new core.List<api.Manifest>(); |
543 o.add(buildManifest()); | 543 o.add(buildManifest()); |
544 o.add(buildManifest()); | 544 o.add(buildManifest()); |
545 return o; | 545 return o; |
546 } | 546 } |
547 | 547 |
548 checkUnnamed2043(core.List<api.Manifest> o) { | 548 checkUnnamed1866(core.List<api.Manifest> o) { |
549 unittest.expect(o, unittest.hasLength(2)); | 549 unittest.expect(o, unittest.hasLength(2)); |
550 checkManifest(o[0]); | 550 checkManifest(o[0]); |
551 checkManifest(o[1]); | 551 checkManifest(o[1]); |
552 } | 552 } |
553 | 553 |
554 core.int buildCounterManifestsListResponse = 0; | 554 core.int buildCounterManifestsListResponse = 0; |
555 buildManifestsListResponse() { | 555 buildManifestsListResponse() { |
556 var o = new api.ManifestsListResponse(); | 556 var o = new api.ManifestsListResponse(); |
557 buildCounterManifestsListResponse++; | 557 buildCounterManifestsListResponse++; |
558 if (buildCounterManifestsListResponse < 3) { | 558 if (buildCounterManifestsListResponse < 3) { |
559 o.manifests = buildUnnamed2043(); | 559 o.manifests = buildUnnamed1866(); |
560 o.nextPageToken = "foo"; | 560 o.nextPageToken = "foo"; |
561 } | 561 } |
562 buildCounterManifestsListResponse--; | 562 buildCounterManifestsListResponse--; |
563 return o; | 563 return o; |
564 } | 564 } |
565 | 565 |
566 checkManifestsListResponse(api.ManifestsListResponse o) { | 566 checkManifestsListResponse(api.ManifestsListResponse o) { |
567 buildCounterManifestsListResponse++; | 567 buildCounterManifestsListResponse++; |
568 if (buildCounterManifestsListResponse < 3) { | 568 if (buildCounterManifestsListResponse < 3) { |
569 checkUnnamed2043(o.manifests); | 569 checkUnnamed1866(o.manifests); |
570 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 570 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
571 } | 571 } |
572 buildCounterManifestsListResponse--; | 572 buildCounterManifestsListResponse--; |
573 } | 573 } |
574 | 574 |
575 core.int buildCounterOperationErrorErrors = 0; | 575 core.int buildCounterOperationErrorErrors = 0; |
576 buildOperationErrorErrors() { | 576 buildOperationErrorErrors() { |
577 var o = new api.OperationErrorErrors(); | 577 var o = new api.OperationErrorErrors(); |
578 buildCounterOperationErrorErrors++; | 578 buildCounterOperationErrorErrors++; |
579 if (buildCounterOperationErrorErrors < 3) { | 579 if (buildCounterOperationErrorErrors < 3) { |
580 o.code = "foo"; | 580 o.code = "foo"; |
581 o.location = "foo"; | 581 o.location = "foo"; |
582 o.message = "foo"; | 582 o.message = "foo"; |
583 } | 583 } |
584 buildCounterOperationErrorErrors--; | 584 buildCounterOperationErrorErrors--; |
585 return o; | 585 return o; |
586 } | 586 } |
587 | 587 |
588 checkOperationErrorErrors(api.OperationErrorErrors o) { | 588 checkOperationErrorErrors(api.OperationErrorErrors o) { |
589 buildCounterOperationErrorErrors++; | 589 buildCounterOperationErrorErrors++; |
590 if (buildCounterOperationErrorErrors < 3) { | 590 if (buildCounterOperationErrorErrors < 3) { |
591 unittest.expect(o.code, unittest.equals('foo')); | 591 unittest.expect(o.code, unittest.equals('foo')); |
592 unittest.expect(o.location, unittest.equals('foo')); | 592 unittest.expect(o.location, unittest.equals('foo')); |
593 unittest.expect(o.message, unittest.equals('foo')); | 593 unittest.expect(o.message, unittest.equals('foo')); |
594 } | 594 } |
595 buildCounterOperationErrorErrors--; | 595 buildCounterOperationErrorErrors--; |
596 } | 596 } |
597 | 597 |
598 buildUnnamed2044() { | 598 buildUnnamed1867() { |
599 var o = new core.List<api.OperationErrorErrors>(); | 599 var o = new core.List<api.OperationErrorErrors>(); |
600 o.add(buildOperationErrorErrors()); | 600 o.add(buildOperationErrorErrors()); |
601 o.add(buildOperationErrorErrors()); | 601 o.add(buildOperationErrorErrors()); |
602 return o; | 602 return o; |
603 } | 603 } |
604 | 604 |
605 checkUnnamed2044(core.List<api.OperationErrorErrors> o) { | 605 checkUnnamed1867(core.List<api.OperationErrorErrors> o) { |
606 unittest.expect(o, unittest.hasLength(2)); | 606 unittest.expect(o, unittest.hasLength(2)); |
607 checkOperationErrorErrors(o[0]); | 607 checkOperationErrorErrors(o[0]); |
608 checkOperationErrorErrors(o[1]); | 608 checkOperationErrorErrors(o[1]); |
609 } | 609 } |
610 | 610 |
611 core.int buildCounterOperationError = 0; | 611 core.int buildCounterOperationError = 0; |
612 buildOperationError() { | 612 buildOperationError() { |
613 var o = new api.OperationError(); | 613 var o = new api.OperationError(); |
614 buildCounterOperationError++; | 614 buildCounterOperationError++; |
615 if (buildCounterOperationError < 3) { | 615 if (buildCounterOperationError < 3) { |
616 o.errors = buildUnnamed2044(); | 616 o.errors = buildUnnamed1867(); |
617 } | 617 } |
618 buildCounterOperationError--; | 618 buildCounterOperationError--; |
619 return o; | 619 return o; |
620 } | 620 } |
621 | 621 |
622 checkOperationError(api.OperationError o) { | 622 checkOperationError(api.OperationError o) { |
623 buildCounterOperationError++; | 623 buildCounterOperationError++; |
624 if (buildCounterOperationError < 3) { | 624 if (buildCounterOperationError < 3) { |
625 checkUnnamed2044(o.errors); | 625 checkUnnamed1867(o.errors); |
626 } | 626 } |
627 buildCounterOperationError--; | 627 buildCounterOperationError--; |
628 } | 628 } |
629 | 629 |
630 core.int buildCounterOperationWarningsData = 0; | 630 core.int buildCounterOperationWarningsData = 0; |
631 buildOperationWarningsData() { | 631 buildOperationWarningsData() { |
632 var o = new api.OperationWarningsData(); | 632 var o = new api.OperationWarningsData(); |
633 buildCounterOperationWarningsData++; | 633 buildCounterOperationWarningsData++; |
634 if (buildCounterOperationWarningsData < 3) { | 634 if (buildCounterOperationWarningsData < 3) { |
635 o.key = "foo"; | 635 o.key = "foo"; |
636 o.value = "foo"; | 636 o.value = "foo"; |
637 } | 637 } |
638 buildCounterOperationWarningsData--; | 638 buildCounterOperationWarningsData--; |
639 return o; | 639 return o; |
640 } | 640 } |
641 | 641 |
642 checkOperationWarningsData(api.OperationWarningsData o) { | 642 checkOperationWarningsData(api.OperationWarningsData o) { |
643 buildCounterOperationWarningsData++; | 643 buildCounterOperationWarningsData++; |
644 if (buildCounterOperationWarningsData < 3) { | 644 if (buildCounterOperationWarningsData < 3) { |
645 unittest.expect(o.key, unittest.equals('foo')); | 645 unittest.expect(o.key, unittest.equals('foo')); |
646 unittest.expect(o.value, unittest.equals('foo')); | 646 unittest.expect(o.value, unittest.equals('foo')); |
647 } | 647 } |
648 buildCounterOperationWarningsData--; | 648 buildCounterOperationWarningsData--; |
649 } | 649 } |
650 | 650 |
651 buildUnnamed2045() { | 651 buildUnnamed1868() { |
652 var o = new core.List<api.OperationWarningsData>(); | 652 var o = new core.List<api.OperationWarningsData>(); |
653 o.add(buildOperationWarningsData()); | 653 o.add(buildOperationWarningsData()); |
654 o.add(buildOperationWarningsData()); | 654 o.add(buildOperationWarningsData()); |
655 return o; | 655 return o; |
656 } | 656 } |
657 | 657 |
658 checkUnnamed2045(core.List<api.OperationWarningsData> o) { | 658 checkUnnamed1868(core.List<api.OperationWarningsData> o) { |
659 unittest.expect(o, unittest.hasLength(2)); | 659 unittest.expect(o, unittest.hasLength(2)); |
660 checkOperationWarningsData(o[0]); | 660 checkOperationWarningsData(o[0]); |
661 checkOperationWarningsData(o[1]); | 661 checkOperationWarningsData(o[1]); |
662 } | 662 } |
663 | 663 |
664 core.int buildCounterOperationWarnings = 0; | 664 core.int buildCounterOperationWarnings = 0; |
665 buildOperationWarnings() { | 665 buildOperationWarnings() { |
666 var o = new api.OperationWarnings(); | 666 var o = new api.OperationWarnings(); |
667 buildCounterOperationWarnings++; | 667 buildCounterOperationWarnings++; |
668 if (buildCounterOperationWarnings < 3) { | 668 if (buildCounterOperationWarnings < 3) { |
669 o.code = "foo"; | 669 o.code = "foo"; |
670 o.data = buildUnnamed2045(); | 670 o.data = buildUnnamed1868(); |
671 o.message = "foo"; | 671 o.message = "foo"; |
672 } | 672 } |
673 buildCounterOperationWarnings--; | 673 buildCounterOperationWarnings--; |
674 return o; | 674 return o; |
675 } | 675 } |
676 | 676 |
677 checkOperationWarnings(api.OperationWarnings o) { | 677 checkOperationWarnings(api.OperationWarnings o) { |
678 buildCounterOperationWarnings++; | 678 buildCounterOperationWarnings++; |
679 if (buildCounterOperationWarnings < 3) { | 679 if (buildCounterOperationWarnings < 3) { |
680 unittest.expect(o.code, unittest.equals('foo')); | 680 unittest.expect(o.code, unittest.equals('foo')); |
681 checkUnnamed2045(o.data); | 681 checkUnnamed1868(o.data); |
682 unittest.expect(o.message, unittest.equals('foo')); | 682 unittest.expect(o.message, unittest.equals('foo')); |
683 } | 683 } |
684 buildCounterOperationWarnings--; | 684 buildCounterOperationWarnings--; |
685 } | 685 } |
686 | 686 |
687 buildUnnamed2046() { | 687 buildUnnamed1869() { |
688 var o = new core.List<api.OperationWarnings>(); | 688 var o = new core.List<api.OperationWarnings>(); |
689 o.add(buildOperationWarnings()); | 689 o.add(buildOperationWarnings()); |
690 o.add(buildOperationWarnings()); | 690 o.add(buildOperationWarnings()); |
691 return o; | 691 return o; |
692 } | 692 } |
693 | 693 |
694 checkUnnamed2046(core.List<api.OperationWarnings> o) { | 694 checkUnnamed1869(core.List<api.OperationWarnings> o) { |
695 unittest.expect(o, unittest.hasLength(2)); | 695 unittest.expect(o, unittest.hasLength(2)); |
696 checkOperationWarnings(o[0]); | 696 checkOperationWarnings(o[0]); |
697 checkOperationWarnings(o[1]); | 697 checkOperationWarnings(o[1]); |
698 } | 698 } |
699 | 699 |
700 core.int buildCounterOperation = 0; | 700 core.int buildCounterOperation = 0; |
701 buildOperation() { | 701 buildOperation() { |
702 var o = new api.Operation(); | 702 var o = new api.Operation(); |
703 buildCounterOperation++; | 703 buildCounterOperation++; |
704 if (buildCounterOperation < 3) { | 704 if (buildCounterOperation < 3) { |
(...skipping 11 matching lines...) Expand all Loading... |
716 o.operationType = "foo"; | 716 o.operationType = "foo"; |
717 o.progress = 42; | 717 o.progress = 42; |
718 o.region = "foo"; | 718 o.region = "foo"; |
719 o.selfLink = "foo"; | 719 o.selfLink = "foo"; |
720 o.startTime = "foo"; | 720 o.startTime = "foo"; |
721 o.status = "foo"; | 721 o.status = "foo"; |
722 o.statusMessage = "foo"; | 722 o.statusMessage = "foo"; |
723 o.targetId = "foo"; | 723 o.targetId = "foo"; |
724 o.targetLink = "foo"; | 724 o.targetLink = "foo"; |
725 o.user = "foo"; | 725 o.user = "foo"; |
726 o.warnings = buildUnnamed2046(); | 726 o.warnings = buildUnnamed1869(); |
727 o.zone = "foo"; | 727 o.zone = "foo"; |
728 } | 728 } |
729 buildCounterOperation--; | 729 buildCounterOperation--; |
730 return o; | 730 return o; |
731 } | 731 } |
732 | 732 |
733 checkOperation(api.Operation o) { | 733 checkOperation(api.Operation o) { |
734 buildCounterOperation++; | 734 buildCounterOperation++; |
735 if (buildCounterOperation < 3) { | 735 if (buildCounterOperation < 3) { |
736 unittest.expect(o.clientOperationId, unittest.equals('foo')); | 736 unittest.expect(o.clientOperationId, unittest.equals('foo')); |
(...skipping 10 matching lines...) Expand all Loading... |
747 unittest.expect(o.operationType, unittest.equals('foo')); | 747 unittest.expect(o.operationType, unittest.equals('foo')); |
748 unittest.expect(o.progress, unittest.equals(42)); | 748 unittest.expect(o.progress, unittest.equals(42)); |
749 unittest.expect(o.region, unittest.equals('foo')); | 749 unittest.expect(o.region, unittest.equals('foo')); |
750 unittest.expect(o.selfLink, unittest.equals('foo')); | 750 unittest.expect(o.selfLink, unittest.equals('foo')); |
751 unittest.expect(o.startTime, unittest.equals('foo')); | 751 unittest.expect(o.startTime, unittest.equals('foo')); |
752 unittest.expect(o.status, unittest.equals('foo')); | 752 unittest.expect(o.status, unittest.equals('foo')); |
753 unittest.expect(o.statusMessage, unittest.equals('foo')); | 753 unittest.expect(o.statusMessage, unittest.equals('foo')); |
754 unittest.expect(o.targetId, unittest.equals('foo')); | 754 unittest.expect(o.targetId, unittest.equals('foo')); |
755 unittest.expect(o.targetLink, unittest.equals('foo')); | 755 unittest.expect(o.targetLink, unittest.equals('foo')); |
756 unittest.expect(o.user, unittest.equals('foo')); | 756 unittest.expect(o.user, unittest.equals('foo')); |
757 checkUnnamed2046(o.warnings); | 757 checkUnnamed1869(o.warnings); |
758 unittest.expect(o.zone, unittest.equals('foo')); | 758 unittest.expect(o.zone, unittest.equals('foo')); |
759 } | 759 } |
760 buildCounterOperation--; | 760 buildCounterOperation--; |
761 } | 761 } |
762 | 762 |
763 buildUnnamed2047() { | 763 buildUnnamed1870() { |
764 var o = new core.List<api.Operation>(); | 764 var o = new core.List<api.Operation>(); |
765 o.add(buildOperation()); | 765 o.add(buildOperation()); |
766 o.add(buildOperation()); | 766 o.add(buildOperation()); |
767 return o; | 767 return o; |
768 } | 768 } |
769 | 769 |
770 checkUnnamed2047(core.List<api.Operation> o) { | 770 checkUnnamed1870(core.List<api.Operation> o) { |
771 unittest.expect(o, unittest.hasLength(2)); | 771 unittest.expect(o, unittest.hasLength(2)); |
772 checkOperation(o[0]); | 772 checkOperation(o[0]); |
773 checkOperation(o[1]); | 773 checkOperation(o[1]); |
774 } | 774 } |
775 | 775 |
776 core.int buildCounterOperationsListResponse = 0; | 776 core.int buildCounterOperationsListResponse = 0; |
777 buildOperationsListResponse() { | 777 buildOperationsListResponse() { |
778 var o = new api.OperationsListResponse(); | 778 var o = new api.OperationsListResponse(); |
779 buildCounterOperationsListResponse++; | 779 buildCounterOperationsListResponse++; |
780 if (buildCounterOperationsListResponse < 3) { | 780 if (buildCounterOperationsListResponse < 3) { |
781 o.nextPageToken = "foo"; | 781 o.nextPageToken = "foo"; |
782 o.operations = buildUnnamed2047(); | 782 o.operations = buildUnnamed1870(); |
783 } | 783 } |
784 buildCounterOperationsListResponse--; | 784 buildCounterOperationsListResponse--; |
785 return o; | 785 return o; |
786 } | 786 } |
787 | 787 |
788 checkOperationsListResponse(api.OperationsListResponse o) { | 788 checkOperationsListResponse(api.OperationsListResponse o) { |
789 buildCounterOperationsListResponse++; | 789 buildCounterOperationsListResponse++; |
790 if (buildCounterOperationsListResponse < 3) { | 790 if (buildCounterOperationsListResponse < 3) { |
791 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 791 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
792 checkUnnamed2047(o.operations); | 792 checkUnnamed1870(o.operations); |
793 } | 793 } |
794 buildCounterOperationsListResponse--; | 794 buildCounterOperationsListResponse--; |
795 } | 795 } |
796 | 796 |
797 buildUnnamed2048() { | 797 buildUnnamed1871() { |
798 var o = new core.List<api.AuditConfig>(); | 798 var o = new core.List<api.AuditConfig>(); |
799 o.add(buildAuditConfig()); | 799 o.add(buildAuditConfig()); |
800 o.add(buildAuditConfig()); | 800 o.add(buildAuditConfig()); |
801 return o; | 801 return o; |
802 } | 802 } |
803 | 803 |
804 checkUnnamed2048(core.List<api.AuditConfig> o) { | 804 checkUnnamed1871(core.List<api.AuditConfig> o) { |
805 unittest.expect(o, unittest.hasLength(2)); | 805 unittest.expect(o, unittest.hasLength(2)); |
806 checkAuditConfig(o[0]); | 806 checkAuditConfig(o[0]); |
807 checkAuditConfig(o[1]); | 807 checkAuditConfig(o[1]); |
808 } | 808 } |
809 | 809 |
810 buildUnnamed2049() { | 810 buildUnnamed1872() { |
811 var o = new core.List<api.Binding>(); | 811 var o = new core.List<api.Binding>(); |
812 o.add(buildBinding()); | 812 o.add(buildBinding()); |
813 o.add(buildBinding()); | 813 o.add(buildBinding()); |
814 return o; | 814 return o; |
815 } | 815 } |
816 | 816 |
817 checkUnnamed2049(core.List<api.Binding> o) { | 817 checkUnnamed1872(core.List<api.Binding> o) { |
818 unittest.expect(o, unittest.hasLength(2)); | 818 unittest.expect(o, unittest.hasLength(2)); |
819 checkBinding(o[0]); | 819 checkBinding(o[0]); |
820 checkBinding(o[1]); | 820 checkBinding(o[1]); |
821 } | 821 } |
822 | 822 |
823 buildUnnamed2050() { | 823 buildUnnamed1873() { |
824 var o = new core.List<api.Rule>(); | 824 var o = new core.List<api.Rule>(); |
825 o.add(buildRule()); | 825 o.add(buildRule()); |
826 o.add(buildRule()); | 826 o.add(buildRule()); |
827 return o; | 827 return o; |
828 } | 828 } |
829 | 829 |
830 checkUnnamed2050(core.List<api.Rule> o) { | 830 checkUnnamed1873(core.List<api.Rule> o) { |
831 unittest.expect(o, unittest.hasLength(2)); | 831 unittest.expect(o, unittest.hasLength(2)); |
832 checkRule(o[0]); | 832 checkRule(o[0]); |
833 checkRule(o[1]); | 833 checkRule(o[1]); |
834 } | 834 } |
835 | 835 |
836 core.int buildCounterPolicy = 0; | 836 core.int buildCounterPolicy = 0; |
837 buildPolicy() { | 837 buildPolicy() { |
838 var o = new api.Policy(); | 838 var o = new api.Policy(); |
839 buildCounterPolicy++; | 839 buildCounterPolicy++; |
840 if (buildCounterPolicy < 3) { | 840 if (buildCounterPolicy < 3) { |
841 o.auditConfigs = buildUnnamed2048(); | 841 o.auditConfigs = buildUnnamed1871(); |
842 o.bindings = buildUnnamed2049(); | 842 o.bindings = buildUnnamed1872(); |
843 o.etag = "foo"; | 843 o.etag = "foo"; |
844 o.iamOwned = true; | 844 o.iamOwned = true; |
845 o.rules = buildUnnamed2050(); | 845 o.rules = buildUnnamed1873(); |
846 o.version = 42; | 846 o.version = 42; |
847 } | 847 } |
848 buildCounterPolicy--; | 848 buildCounterPolicy--; |
849 return o; | 849 return o; |
850 } | 850 } |
851 | 851 |
852 checkPolicy(api.Policy o) { | 852 checkPolicy(api.Policy o) { |
853 buildCounterPolicy++; | 853 buildCounterPolicy++; |
854 if (buildCounterPolicy < 3) { | 854 if (buildCounterPolicy < 3) { |
855 checkUnnamed2048(o.auditConfigs); | 855 checkUnnamed1871(o.auditConfigs); |
856 checkUnnamed2049(o.bindings); | 856 checkUnnamed1872(o.bindings); |
857 unittest.expect(o.etag, unittest.equals('foo')); | 857 unittest.expect(o.etag, unittest.equals('foo')); |
858 unittest.expect(o.iamOwned, unittest.isTrue); | 858 unittest.expect(o.iamOwned, unittest.isTrue); |
859 checkUnnamed2050(o.rules); | 859 checkUnnamed1873(o.rules); |
860 unittest.expect(o.version, unittest.equals(42)); | 860 unittest.expect(o.version, unittest.equals(42)); |
861 } | 861 } |
862 buildCounterPolicy--; | 862 buildCounterPolicy--; |
863 } | 863 } |
864 | 864 |
865 core.int buildCounterResourceWarningsData = 0; | 865 core.int buildCounterResourceWarningsData = 0; |
866 buildResourceWarningsData() { | 866 buildResourceWarningsData() { |
867 var o = new api.ResourceWarningsData(); | 867 var o = new api.ResourceWarningsData(); |
868 buildCounterResourceWarningsData++; | 868 buildCounterResourceWarningsData++; |
869 if (buildCounterResourceWarningsData < 3) { | 869 if (buildCounterResourceWarningsData < 3) { |
870 o.key = "foo"; | 870 o.key = "foo"; |
871 o.value = "foo"; | 871 o.value = "foo"; |
872 } | 872 } |
873 buildCounterResourceWarningsData--; | 873 buildCounterResourceWarningsData--; |
874 return o; | 874 return o; |
875 } | 875 } |
876 | 876 |
877 checkResourceWarningsData(api.ResourceWarningsData o) { | 877 checkResourceWarningsData(api.ResourceWarningsData o) { |
878 buildCounterResourceWarningsData++; | 878 buildCounterResourceWarningsData++; |
879 if (buildCounterResourceWarningsData < 3) { | 879 if (buildCounterResourceWarningsData < 3) { |
880 unittest.expect(o.key, unittest.equals('foo')); | 880 unittest.expect(o.key, unittest.equals('foo')); |
881 unittest.expect(o.value, unittest.equals('foo')); | 881 unittest.expect(o.value, unittest.equals('foo')); |
882 } | 882 } |
883 buildCounterResourceWarningsData--; | 883 buildCounterResourceWarningsData--; |
884 } | 884 } |
885 | 885 |
886 buildUnnamed2051() { | 886 buildUnnamed1874() { |
887 var o = new core.List<api.ResourceWarningsData>(); | 887 var o = new core.List<api.ResourceWarningsData>(); |
888 o.add(buildResourceWarningsData()); | 888 o.add(buildResourceWarningsData()); |
889 o.add(buildResourceWarningsData()); | 889 o.add(buildResourceWarningsData()); |
890 return o; | 890 return o; |
891 } | 891 } |
892 | 892 |
893 checkUnnamed2051(core.List<api.ResourceWarningsData> o) { | 893 checkUnnamed1874(core.List<api.ResourceWarningsData> o) { |
894 unittest.expect(o, unittest.hasLength(2)); | 894 unittest.expect(o, unittest.hasLength(2)); |
895 checkResourceWarningsData(o[0]); | 895 checkResourceWarningsData(o[0]); |
896 checkResourceWarningsData(o[1]); | 896 checkResourceWarningsData(o[1]); |
897 } | 897 } |
898 | 898 |
899 core.int buildCounterResourceWarnings = 0; | 899 core.int buildCounterResourceWarnings = 0; |
900 buildResourceWarnings() { | 900 buildResourceWarnings() { |
901 var o = new api.ResourceWarnings(); | 901 var o = new api.ResourceWarnings(); |
902 buildCounterResourceWarnings++; | 902 buildCounterResourceWarnings++; |
903 if (buildCounterResourceWarnings < 3) { | 903 if (buildCounterResourceWarnings < 3) { |
904 o.code = "foo"; | 904 o.code = "foo"; |
905 o.data = buildUnnamed2051(); | 905 o.data = buildUnnamed1874(); |
906 o.message = "foo"; | 906 o.message = "foo"; |
907 } | 907 } |
908 buildCounterResourceWarnings--; | 908 buildCounterResourceWarnings--; |
909 return o; | 909 return o; |
910 } | 910 } |
911 | 911 |
912 checkResourceWarnings(api.ResourceWarnings o) { | 912 checkResourceWarnings(api.ResourceWarnings o) { |
913 buildCounterResourceWarnings++; | 913 buildCounterResourceWarnings++; |
914 if (buildCounterResourceWarnings < 3) { | 914 if (buildCounterResourceWarnings < 3) { |
915 unittest.expect(o.code, unittest.equals('foo')); | 915 unittest.expect(o.code, unittest.equals('foo')); |
916 checkUnnamed2051(o.data); | 916 checkUnnamed1874(o.data); |
917 unittest.expect(o.message, unittest.equals('foo')); | 917 unittest.expect(o.message, unittest.equals('foo')); |
918 } | 918 } |
919 buildCounterResourceWarnings--; | 919 buildCounterResourceWarnings--; |
920 } | 920 } |
921 | 921 |
922 buildUnnamed2052() { | 922 buildUnnamed1875() { |
923 var o = new core.List<api.ResourceWarnings>(); | 923 var o = new core.List<api.ResourceWarnings>(); |
924 o.add(buildResourceWarnings()); | 924 o.add(buildResourceWarnings()); |
925 o.add(buildResourceWarnings()); | 925 o.add(buildResourceWarnings()); |
926 return o; | 926 return o; |
927 } | 927 } |
928 | 928 |
929 checkUnnamed2052(core.List<api.ResourceWarnings> o) { | 929 checkUnnamed1875(core.List<api.ResourceWarnings> o) { |
930 unittest.expect(o, unittest.hasLength(2)); | 930 unittest.expect(o, unittest.hasLength(2)); |
931 checkResourceWarnings(o[0]); | 931 checkResourceWarnings(o[0]); |
932 checkResourceWarnings(o[1]); | 932 checkResourceWarnings(o[1]); |
933 } | 933 } |
934 | 934 |
935 core.int buildCounterResource = 0; | 935 core.int buildCounterResource = 0; |
936 buildResource() { | 936 buildResource() { |
937 var o = new api.Resource(); | 937 var o = new api.Resource(); |
938 buildCounterResource++; | 938 buildCounterResource++; |
939 if (buildCounterResource < 3) { | 939 if (buildCounterResource < 3) { |
940 o.accessControl = buildResourceAccessControl(); | 940 o.accessControl = buildResourceAccessControl(); |
941 o.finalProperties = "foo"; | 941 o.finalProperties = "foo"; |
942 o.id = "foo"; | 942 o.id = "foo"; |
943 o.insertTime = "foo"; | 943 o.insertTime = "foo"; |
944 o.manifest = "foo"; | 944 o.manifest = "foo"; |
945 o.name = "foo"; | 945 o.name = "foo"; |
946 o.properties = "foo"; | 946 o.properties = "foo"; |
947 o.type = "foo"; | 947 o.type = "foo"; |
948 o.update = buildResourceUpdate(); | 948 o.update = buildResourceUpdate(); |
949 o.updateTime = "foo"; | 949 o.updateTime = "foo"; |
950 o.url = "foo"; | 950 o.url = "foo"; |
951 o.warnings = buildUnnamed2052(); | 951 o.warnings = buildUnnamed1875(); |
952 } | 952 } |
953 buildCounterResource--; | 953 buildCounterResource--; |
954 return o; | 954 return o; |
955 } | 955 } |
956 | 956 |
957 checkResource(api.Resource o) { | 957 checkResource(api.Resource o) { |
958 buildCounterResource++; | 958 buildCounterResource++; |
959 if (buildCounterResource < 3) { | 959 if (buildCounterResource < 3) { |
960 checkResourceAccessControl(o.accessControl); | 960 checkResourceAccessControl(o.accessControl); |
961 unittest.expect(o.finalProperties, unittest.equals('foo')); | 961 unittest.expect(o.finalProperties, unittest.equals('foo')); |
962 unittest.expect(o.id, unittest.equals('foo')); | 962 unittest.expect(o.id, unittest.equals('foo')); |
963 unittest.expect(o.insertTime, unittest.equals('foo')); | 963 unittest.expect(o.insertTime, unittest.equals('foo')); |
964 unittest.expect(o.manifest, unittest.equals('foo')); | 964 unittest.expect(o.manifest, unittest.equals('foo')); |
965 unittest.expect(o.name, unittest.equals('foo')); | 965 unittest.expect(o.name, unittest.equals('foo')); |
966 unittest.expect(o.properties, unittest.equals('foo')); | 966 unittest.expect(o.properties, unittest.equals('foo')); |
967 unittest.expect(o.type, unittest.equals('foo')); | 967 unittest.expect(o.type, unittest.equals('foo')); |
968 checkResourceUpdate(o.update); | 968 checkResourceUpdate(o.update); |
969 unittest.expect(o.updateTime, unittest.equals('foo')); | 969 unittest.expect(o.updateTime, unittest.equals('foo')); |
970 unittest.expect(o.url, unittest.equals('foo')); | 970 unittest.expect(o.url, unittest.equals('foo')); |
971 checkUnnamed2052(o.warnings); | 971 checkUnnamed1875(o.warnings); |
972 } | 972 } |
973 buildCounterResource--; | 973 buildCounterResource--; |
974 } | 974 } |
975 | 975 |
976 core.int buildCounterResourceAccessControl = 0; | 976 core.int buildCounterResourceAccessControl = 0; |
977 buildResourceAccessControl() { | 977 buildResourceAccessControl() { |
978 var o = new api.ResourceAccessControl(); | 978 var o = new api.ResourceAccessControl(); |
979 buildCounterResourceAccessControl++; | 979 buildCounterResourceAccessControl++; |
980 if (buildCounterResourceAccessControl < 3) { | 980 if (buildCounterResourceAccessControl < 3) { |
981 o.gcpIamPolicy = "foo"; | 981 o.gcpIamPolicy = "foo"; |
(...skipping 26 matching lines...) Expand all Loading... |
1008 checkResourceUpdateErrorErrors(api.ResourceUpdateErrorErrors o) { | 1008 checkResourceUpdateErrorErrors(api.ResourceUpdateErrorErrors o) { |
1009 buildCounterResourceUpdateErrorErrors++; | 1009 buildCounterResourceUpdateErrorErrors++; |
1010 if (buildCounterResourceUpdateErrorErrors < 3) { | 1010 if (buildCounterResourceUpdateErrorErrors < 3) { |
1011 unittest.expect(o.code, unittest.equals('foo')); | 1011 unittest.expect(o.code, unittest.equals('foo')); |
1012 unittest.expect(o.location, unittest.equals('foo')); | 1012 unittest.expect(o.location, unittest.equals('foo')); |
1013 unittest.expect(o.message, unittest.equals('foo')); | 1013 unittest.expect(o.message, unittest.equals('foo')); |
1014 } | 1014 } |
1015 buildCounterResourceUpdateErrorErrors--; | 1015 buildCounterResourceUpdateErrorErrors--; |
1016 } | 1016 } |
1017 | 1017 |
1018 buildUnnamed2053() { | 1018 buildUnnamed1876() { |
1019 var o = new core.List<api.ResourceUpdateErrorErrors>(); | 1019 var o = new core.List<api.ResourceUpdateErrorErrors>(); |
1020 o.add(buildResourceUpdateErrorErrors()); | 1020 o.add(buildResourceUpdateErrorErrors()); |
1021 o.add(buildResourceUpdateErrorErrors()); | 1021 o.add(buildResourceUpdateErrorErrors()); |
1022 return o; | 1022 return o; |
1023 } | 1023 } |
1024 | 1024 |
1025 checkUnnamed2053(core.List<api.ResourceUpdateErrorErrors> o) { | 1025 checkUnnamed1876(core.List<api.ResourceUpdateErrorErrors> o) { |
1026 unittest.expect(o, unittest.hasLength(2)); | 1026 unittest.expect(o, unittest.hasLength(2)); |
1027 checkResourceUpdateErrorErrors(o[0]); | 1027 checkResourceUpdateErrorErrors(o[0]); |
1028 checkResourceUpdateErrorErrors(o[1]); | 1028 checkResourceUpdateErrorErrors(o[1]); |
1029 } | 1029 } |
1030 | 1030 |
1031 core.int buildCounterResourceUpdateError = 0; | 1031 core.int buildCounterResourceUpdateError = 0; |
1032 buildResourceUpdateError() { | 1032 buildResourceUpdateError() { |
1033 var o = new api.ResourceUpdateError(); | 1033 var o = new api.ResourceUpdateError(); |
1034 buildCounterResourceUpdateError++; | 1034 buildCounterResourceUpdateError++; |
1035 if (buildCounterResourceUpdateError < 3) { | 1035 if (buildCounterResourceUpdateError < 3) { |
1036 o.errors = buildUnnamed2053(); | 1036 o.errors = buildUnnamed1876(); |
1037 } | 1037 } |
1038 buildCounterResourceUpdateError--; | 1038 buildCounterResourceUpdateError--; |
1039 return o; | 1039 return o; |
1040 } | 1040 } |
1041 | 1041 |
1042 checkResourceUpdateError(api.ResourceUpdateError o) { | 1042 checkResourceUpdateError(api.ResourceUpdateError o) { |
1043 buildCounterResourceUpdateError++; | 1043 buildCounterResourceUpdateError++; |
1044 if (buildCounterResourceUpdateError < 3) { | 1044 if (buildCounterResourceUpdateError < 3) { |
1045 checkUnnamed2053(o.errors); | 1045 checkUnnamed1876(o.errors); |
1046 } | 1046 } |
1047 buildCounterResourceUpdateError--; | 1047 buildCounterResourceUpdateError--; |
1048 } | 1048 } |
1049 | 1049 |
1050 core.int buildCounterResourceUpdateWarningsData = 0; | 1050 core.int buildCounterResourceUpdateWarningsData = 0; |
1051 buildResourceUpdateWarningsData() { | 1051 buildResourceUpdateWarningsData() { |
1052 var o = new api.ResourceUpdateWarningsData(); | 1052 var o = new api.ResourceUpdateWarningsData(); |
1053 buildCounterResourceUpdateWarningsData++; | 1053 buildCounterResourceUpdateWarningsData++; |
1054 if (buildCounterResourceUpdateWarningsData < 3) { | 1054 if (buildCounterResourceUpdateWarningsData < 3) { |
1055 o.key = "foo"; | 1055 o.key = "foo"; |
1056 o.value = "foo"; | 1056 o.value = "foo"; |
1057 } | 1057 } |
1058 buildCounterResourceUpdateWarningsData--; | 1058 buildCounterResourceUpdateWarningsData--; |
1059 return o; | 1059 return o; |
1060 } | 1060 } |
1061 | 1061 |
1062 checkResourceUpdateWarningsData(api.ResourceUpdateWarningsData o) { | 1062 checkResourceUpdateWarningsData(api.ResourceUpdateWarningsData o) { |
1063 buildCounterResourceUpdateWarningsData++; | 1063 buildCounterResourceUpdateWarningsData++; |
1064 if (buildCounterResourceUpdateWarningsData < 3) { | 1064 if (buildCounterResourceUpdateWarningsData < 3) { |
1065 unittest.expect(o.key, unittest.equals('foo')); | 1065 unittest.expect(o.key, unittest.equals('foo')); |
1066 unittest.expect(o.value, unittest.equals('foo')); | 1066 unittest.expect(o.value, unittest.equals('foo')); |
1067 } | 1067 } |
1068 buildCounterResourceUpdateWarningsData--; | 1068 buildCounterResourceUpdateWarningsData--; |
1069 } | 1069 } |
1070 | 1070 |
1071 buildUnnamed2054() { | 1071 buildUnnamed1877() { |
1072 var o = new core.List<api.ResourceUpdateWarningsData>(); | 1072 var o = new core.List<api.ResourceUpdateWarningsData>(); |
1073 o.add(buildResourceUpdateWarningsData()); | 1073 o.add(buildResourceUpdateWarningsData()); |
1074 o.add(buildResourceUpdateWarningsData()); | 1074 o.add(buildResourceUpdateWarningsData()); |
1075 return o; | 1075 return o; |
1076 } | 1076 } |
1077 | 1077 |
1078 checkUnnamed2054(core.List<api.ResourceUpdateWarningsData> o) { | 1078 checkUnnamed1877(core.List<api.ResourceUpdateWarningsData> o) { |
1079 unittest.expect(o, unittest.hasLength(2)); | 1079 unittest.expect(o, unittest.hasLength(2)); |
1080 checkResourceUpdateWarningsData(o[0]); | 1080 checkResourceUpdateWarningsData(o[0]); |
1081 checkResourceUpdateWarningsData(o[1]); | 1081 checkResourceUpdateWarningsData(o[1]); |
1082 } | 1082 } |
1083 | 1083 |
1084 core.int buildCounterResourceUpdateWarnings = 0; | 1084 core.int buildCounterResourceUpdateWarnings = 0; |
1085 buildResourceUpdateWarnings() { | 1085 buildResourceUpdateWarnings() { |
1086 var o = new api.ResourceUpdateWarnings(); | 1086 var o = new api.ResourceUpdateWarnings(); |
1087 buildCounterResourceUpdateWarnings++; | 1087 buildCounterResourceUpdateWarnings++; |
1088 if (buildCounterResourceUpdateWarnings < 3) { | 1088 if (buildCounterResourceUpdateWarnings < 3) { |
1089 o.code = "foo"; | 1089 o.code = "foo"; |
1090 o.data = buildUnnamed2054(); | 1090 o.data = buildUnnamed1877(); |
1091 o.message = "foo"; | 1091 o.message = "foo"; |
1092 } | 1092 } |
1093 buildCounterResourceUpdateWarnings--; | 1093 buildCounterResourceUpdateWarnings--; |
1094 return o; | 1094 return o; |
1095 } | 1095 } |
1096 | 1096 |
1097 checkResourceUpdateWarnings(api.ResourceUpdateWarnings o) { | 1097 checkResourceUpdateWarnings(api.ResourceUpdateWarnings o) { |
1098 buildCounterResourceUpdateWarnings++; | 1098 buildCounterResourceUpdateWarnings++; |
1099 if (buildCounterResourceUpdateWarnings < 3) { | 1099 if (buildCounterResourceUpdateWarnings < 3) { |
1100 unittest.expect(o.code, unittest.equals('foo')); | 1100 unittest.expect(o.code, unittest.equals('foo')); |
1101 checkUnnamed2054(o.data); | 1101 checkUnnamed1877(o.data); |
1102 unittest.expect(o.message, unittest.equals('foo')); | 1102 unittest.expect(o.message, unittest.equals('foo')); |
1103 } | 1103 } |
1104 buildCounterResourceUpdateWarnings--; | 1104 buildCounterResourceUpdateWarnings--; |
1105 } | 1105 } |
1106 | 1106 |
1107 buildUnnamed2055() { | 1107 buildUnnamed1878() { |
1108 var o = new core.List<api.ResourceUpdateWarnings>(); | 1108 var o = new core.List<api.ResourceUpdateWarnings>(); |
1109 o.add(buildResourceUpdateWarnings()); | 1109 o.add(buildResourceUpdateWarnings()); |
1110 o.add(buildResourceUpdateWarnings()); | 1110 o.add(buildResourceUpdateWarnings()); |
1111 return o; | 1111 return o; |
1112 } | 1112 } |
1113 | 1113 |
1114 checkUnnamed2055(core.List<api.ResourceUpdateWarnings> o) { | 1114 checkUnnamed1878(core.List<api.ResourceUpdateWarnings> o) { |
1115 unittest.expect(o, unittest.hasLength(2)); | 1115 unittest.expect(o, unittest.hasLength(2)); |
1116 checkResourceUpdateWarnings(o[0]); | 1116 checkResourceUpdateWarnings(o[0]); |
1117 checkResourceUpdateWarnings(o[1]); | 1117 checkResourceUpdateWarnings(o[1]); |
1118 } | 1118 } |
1119 | 1119 |
1120 core.int buildCounterResourceUpdate = 0; | 1120 core.int buildCounterResourceUpdate = 0; |
1121 buildResourceUpdate() { | 1121 buildResourceUpdate() { |
1122 var o = new api.ResourceUpdate(); | 1122 var o = new api.ResourceUpdate(); |
1123 buildCounterResourceUpdate++; | 1123 buildCounterResourceUpdate++; |
1124 if (buildCounterResourceUpdate < 3) { | 1124 if (buildCounterResourceUpdate < 3) { |
1125 o.accessControl = buildResourceAccessControl(); | 1125 o.accessControl = buildResourceAccessControl(); |
1126 o.error = buildResourceUpdateError(); | 1126 o.error = buildResourceUpdateError(); |
1127 o.finalProperties = "foo"; | 1127 o.finalProperties = "foo"; |
1128 o.intent = "foo"; | 1128 o.intent = "foo"; |
1129 o.manifest = "foo"; | 1129 o.manifest = "foo"; |
1130 o.properties = "foo"; | 1130 o.properties = "foo"; |
1131 o.state = "foo"; | 1131 o.state = "foo"; |
1132 o.warnings = buildUnnamed2055(); | 1132 o.warnings = buildUnnamed1878(); |
1133 } | 1133 } |
1134 buildCounterResourceUpdate--; | 1134 buildCounterResourceUpdate--; |
1135 return o; | 1135 return o; |
1136 } | 1136 } |
1137 | 1137 |
1138 checkResourceUpdate(api.ResourceUpdate o) { | 1138 checkResourceUpdate(api.ResourceUpdate o) { |
1139 buildCounterResourceUpdate++; | 1139 buildCounterResourceUpdate++; |
1140 if (buildCounterResourceUpdate < 3) { | 1140 if (buildCounterResourceUpdate < 3) { |
1141 checkResourceAccessControl(o.accessControl); | 1141 checkResourceAccessControl(o.accessControl); |
1142 checkResourceUpdateError(o.error); | 1142 checkResourceUpdateError(o.error); |
1143 unittest.expect(o.finalProperties, unittest.equals('foo')); | 1143 unittest.expect(o.finalProperties, unittest.equals('foo')); |
1144 unittest.expect(o.intent, unittest.equals('foo')); | 1144 unittest.expect(o.intent, unittest.equals('foo')); |
1145 unittest.expect(o.manifest, unittest.equals('foo')); | 1145 unittest.expect(o.manifest, unittest.equals('foo')); |
1146 unittest.expect(o.properties, unittest.equals('foo')); | 1146 unittest.expect(o.properties, unittest.equals('foo')); |
1147 unittest.expect(o.state, unittest.equals('foo')); | 1147 unittest.expect(o.state, unittest.equals('foo')); |
1148 checkUnnamed2055(o.warnings); | 1148 checkUnnamed1878(o.warnings); |
1149 } | 1149 } |
1150 buildCounterResourceUpdate--; | 1150 buildCounterResourceUpdate--; |
1151 } | 1151 } |
1152 | 1152 |
1153 buildUnnamed2056() { | 1153 buildUnnamed1879() { |
1154 var o = new core.List<api.Resource>(); | 1154 var o = new core.List<api.Resource>(); |
1155 o.add(buildResource()); | 1155 o.add(buildResource()); |
1156 o.add(buildResource()); | 1156 o.add(buildResource()); |
1157 return o; | 1157 return o; |
1158 } | 1158 } |
1159 | 1159 |
1160 checkUnnamed2056(core.List<api.Resource> o) { | 1160 checkUnnamed1879(core.List<api.Resource> o) { |
1161 unittest.expect(o, unittest.hasLength(2)); | 1161 unittest.expect(o, unittest.hasLength(2)); |
1162 checkResource(o[0]); | 1162 checkResource(o[0]); |
1163 checkResource(o[1]); | 1163 checkResource(o[1]); |
1164 } | 1164 } |
1165 | 1165 |
1166 core.int buildCounterResourcesListResponse = 0; | 1166 core.int buildCounterResourcesListResponse = 0; |
1167 buildResourcesListResponse() { | 1167 buildResourcesListResponse() { |
1168 var o = new api.ResourcesListResponse(); | 1168 var o = new api.ResourcesListResponse(); |
1169 buildCounterResourcesListResponse++; | 1169 buildCounterResourcesListResponse++; |
1170 if (buildCounterResourcesListResponse < 3) { | 1170 if (buildCounterResourcesListResponse < 3) { |
1171 o.nextPageToken = "foo"; | 1171 o.nextPageToken = "foo"; |
1172 o.resources = buildUnnamed2056(); | 1172 o.resources = buildUnnamed1879(); |
1173 } | 1173 } |
1174 buildCounterResourcesListResponse--; | 1174 buildCounterResourcesListResponse--; |
1175 return o; | 1175 return o; |
1176 } | 1176 } |
1177 | 1177 |
1178 checkResourcesListResponse(api.ResourcesListResponse o) { | 1178 checkResourcesListResponse(api.ResourcesListResponse o) { |
1179 buildCounterResourcesListResponse++; | 1179 buildCounterResourcesListResponse++; |
1180 if (buildCounterResourcesListResponse < 3) { | 1180 if (buildCounterResourcesListResponse < 3) { |
1181 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1181 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1182 checkUnnamed2056(o.resources); | 1182 checkUnnamed1879(o.resources); |
1183 } | 1183 } |
1184 buildCounterResourcesListResponse--; | 1184 buildCounterResourcesListResponse--; |
1185 } | 1185 } |
1186 | 1186 |
1187 buildUnnamed2057() { | 1187 buildUnnamed1880() { |
1188 var o = new core.List<api.Condition>(); | 1188 var o = new core.List<api.Condition>(); |
1189 o.add(buildCondition()); | 1189 o.add(buildCondition()); |
1190 o.add(buildCondition()); | 1190 o.add(buildCondition()); |
1191 return o; | 1191 return o; |
1192 } | 1192 } |
1193 | 1193 |
1194 checkUnnamed2057(core.List<api.Condition> o) { | 1194 checkUnnamed1880(core.List<api.Condition> o) { |
1195 unittest.expect(o, unittest.hasLength(2)); | 1195 unittest.expect(o, unittest.hasLength(2)); |
1196 checkCondition(o[0]); | 1196 checkCondition(o[0]); |
1197 checkCondition(o[1]); | 1197 checkCondition(o[1]); |
1198 } | 1198 } |
1199 | 1199 |
1200 buildUnnamed2058() { | 1200 buildUnnamed1881() { |
1201 var o = new core.List<core.String>(); | 1201 var o = new core.List<core.String>(); |
1202 o.add("foo"); | 1202 o.add("foo"); |
1203 o.add("foo"); | 1203 o.add("foo"); |
1204 return o; | 1204 return o; |
1205 } | 1205 } |
1206 | 1206 |
1207 checkUnnamed2058(core.List<core.String> o) { | 1207 checkUnnamed1881(core.List<core.String> o) { |
1208 unittest.expect(o, unittest.hasLength(2)); | 1208 unittest.expect(o, unittest.hasLength(2)); |
1209 unittest.expect(o[0], unittest.equals('foo')); | 1209 unittest.expect(o[0], unittest.equals('foo')); |
1210 unittest.expect(o[1], unittest.equals('foo')); | 1210 unittest.expect(o[1], unittest.equals('foo')); |
1211 } | 1211 } |
1212 | 1212 |
1213 buildUnnamed2059() { | 1213 buildUnnamed1882() { |
1214 var o = new core.List<api.LogConfig>(); | 1214 var o = new core.List<api.LogConfig>(); |
1215 o.add(buildLogConfig()); | 1215 o.add(buildLogConfig()); |
1216 o.add(buildLogConfig()); | 1216 o.add(buildLogConfig()); |
1217 return o; | 1217 return o; |
1218 } | 1218 } |
1219 | 1219 |
1220 checkUnnamed2059(core.List<api.LogConfig> o) { | 1220 checkUnnamed1882(core.List<api.LogConfig> o) { |
1221 unittest.expect(o, unittest.hasLength(2)); | 1221 unittest.expect(o, unittest.hasLength(2)); |
1222 checkLogConfig(o[0]); | 1222 checkLogConfig(o[0]); |
1223 checkLogConfig(o[1]); | 1223 checkLogConfig(o[1]); |
1224 } | 1224 } |
1225 | 1225 |
1226 buildUnnamed2060() { | 1226 buildUnnamed1883() { |
1227 var o = new core.List<core.String>(); | 1227 var o = new core.List<core.String>(); |
1228 o.add("foo"); | 1228 o.add("foo"); |
1229 o.add("foo"); | 1229 o.add("foo"); |
1230 return o; | 1230 return o; |
1231 } | 1231 } |
1232 | 1232 |
1233 checkUnnamed2060(core.List<core.String> o) { | 1233 checkUnnamed1883(core.List<core.String> o) { |
1234 unittest.expect(o, unittest.hasLength(2)); | 1234 unittest.expect(o, unittest.hasLength(2)); |
1235 unittest.expect(o[0], unittest.equals('foo')); | 1235 unittest.expect(o[0], unittest.equals('foo')); |
1236 unittest.expect(o[1], unittest.equals('foo')); | 1236 unittest.expect(o[1], unittest.equals('foo')); |
1237 } | 1237 } |
1238 | 1238 |
1239 buildUnnamed2061() { | 1239 buildUnnamed1884() { |
1240 var o = new core.List<core.String>(); | 1240 var o = new core.List<core.String>(); |
1241 o.add("foo"); | 1241 o.add("foo"); |
1242 o.add("foo"); | 1242 o.add("foo"); |
1243 return o; | 1243 return o; |
1244 } | 1244 } |
1245 | 1245 |
1246 checkUnnamed2061(core.List<core.String> o) { | 1246 checkUnnamed1884(core.List<core.String> o) { |
1247 unittest.expect(o, unittest.hasLength(2)); | 1247 unittest.expect(o, unittest.hasLength(2)); |
1248 unittest.expect(o[0], unittest.equals('foo')); | 1248 unittest.expect(o[0], unittest.equals('foo')); |
1249 unittest.expect(o[1], unittest.equals('foo')); | 1249 unittest.expect(o[1], unittest.equals('foo')); |
1250 } | 1250 } |
1251 | 1251 |
1252 core.int buildCounterRule = 0; | 1252 core.int buildCounterRule = 0; |
1253 buildRule() { | 1253 buildRule() { |
1254 var o = new api.Rule(); | 1254 var o = new api.Rule(); |
1255 buildCounterRule++; | 1255 buildCounterRule++; |
1256 if (buildCounterRule < 3) { | 1256 if (buildCounterRule < 3) { |
1257 o.action = "foo"; | 1257 o.action = "foo"; |
1258 o.conditions = buildUnnamed2057(); | 1258 o.conditions = buildUnnamed1880(); |
1259 o.description = "foo"; | 1259 o.description = "foo"; |
1260 o.ins = buildUnnamed2058(); | 1260 o.ins = buildUnnamed1881(); |
1261 o.logConfigs = buildUnnamed2059(); | 1261 o.logConfigs = buildUnnamed1882(); |
1262 o.notIns = buildUnnamed2060(); | 1262 o.notIns = buildUnnamed1883(); |
1263 o.permissions = buildUnnamed2061(); | 1263 o.permissions = buildUnnamed1884(); |
1264 } | 1264 } |
1265 buildCounterRule--; | 1265 buildCounterRule--; |
1266 return o; | 1266 return o; |
1267 } | 1267 } |
1268 | 1268 |
1269 checkRule(api.Rule o) { | 1269 checkRule(api.Rule o) { |
1270 buildCounterRule++; | 1270 buildCounterRule++; |
1271 if (buildCounterRule < 3) { | 1271 if (buildCounterRule < 3) { |
1272 unittest.expect(o.action, unittest.equals('foo')); | 1272 unittest.expect(o.action, unittest.equals('foo')); |
1273 checkUnnamed2057(o.conditions); | 1273 checkUnnamed1880(o.conditions); |
1274 unittest.expect(o.description, unittest.equals('foo')); | 1274 unittest.expect(o.description, unittest.equals('foo')); |
1275 checkUnnamed2058(o.ins); | 1275 checkUnnamed1881(o.ins); |
1276 checkUnnamed2059(o.logConfigs); | 1276 checkUnnamed1882(o.logConfigs); |
1277 checkUnnamed2060(o.notIns); | 1277 checkUnnamed1883(o.notIns); |
1278 checkUnnamed2061(o.permissions); | 1278 checkUnnamed1884(o.permissions); |
1279 } | 1279 } |
1280 buildCounterRule--; | 1280 buildCounterRule--; |
1281 } | 1281 } |
1282 | 1282 |
1283 buildUnnamed2062() { | 1283 buildUnnamed1885() { |
1284 var o = new core.List<api.ImportFile>(); | 1284 var o = new core.List<api.ImportFile>(); |
1285 o.add(buildImportFile()); | 1285 o.add(buildImportFile()); |
1286 o.add(buildImportFile()); | 1286 o.add(buildImportFile()); |
1287 return o; | 1287 return o; |
1288 } | 1288 } |
1289 | 1289 |
1290 checkUnnamed2062(core.List<api.ImportFile> o) { | 1290 checkUnnamed1885(core.List<api.ImportFile> o) { |
1291 unittest.expect(o, unittest.hasLength(2)); | 1291 unittest.expect(o, unittest.hasLength(2)); |
1292 checkImportFile(o[0]); | 1292 checkImportFile(o[0]); |
1293 checkImportFile(o[1]); | 1293 checkImportFile(o[1]); |
1294 } | 1294 } |
1295 | 1295 |
1296 core.int buildCounterTargetConfiguration = 0; | 1296 core.int buildCounterTargetConfiguration = 0; |
1297 buildTargetConfiguration() { | 1297 buildTargetConfiguration() { |
1298 var o = new api.TargetConfiguration(); | 1298 var o = new api.TargetConfiguration(); |
1299 buildCounterTargetConfiguration++; | 1299 buildCounterTargetConfiguration++; |
1300 if (buildCounterTargetConfiguration < 3) { | 1300 if (buildCounterTargetConfiguration < 3) { |
1301 o.config = buildConfigFile(); | 1301 o.config = buildConfigFile(); |
1302 o.imports = buildUnnamed2062(); | 1302 o.imports = buildUnnamed1885(); |
1303 } | 1303 } |
1304 buildCounterTargetConfiguration--; | 1304 buildCounterTargetConfiguration--; |
1305 return o; | 1305 return o; |
1306 } | 1306 } |
1307 | 1307 |
1308 checkTargetConfiguration(api.TargetConfiguration o) { | 1308 checkTargetConfiguration(api.TargetConfiguration o) { |
1309 buildCounterTargetConfiguration++; | 1309 buildCounterTargetConfiguration++; |
1310 if (buildCounterTargetConfiguration < 3) { | 1310 if (buildCounterTargetConfiguration < 3) { |
1311 checkConfigFile(o.config); | 1311 checkConfigFile(o.config); |
1312 checkUnnamed2062(o.imports); | 1312 checkUnnamed1885(o.imports); |
1313 } | 1313 } |
1314 buildCounterTargetConfiguration--; | 1314 buildCounterTargetConfiguration--; |
1315 } | 1315 } |
1316 | 1316 |
1317 buildUnnamed2063() { | 1317 buildUnnamed1886() { |
1318 var o = new core.List<core.String>(); | 1318 var o = new core.List<core.String>(); |
1319 o.add("foo"); | 1319 o.add("foo"); |
1320 o.add("foo"); | 1320 o.add("foo"); |
1321 return o; | 1321 return o; |
1322 } | 1322 } |
1323 | 1323 |
1324 checkUnnamed2063(core.List<core.String> o) { | 1324 checkUnnamed1886(core.List<core.String> o) { |
1325 unittest.expect(o, unittest.hasLength(2)); | 1325 unittest.expect(o, unittest.hasLength(2)); |
1326 unittest.expect(o[0], unittest.equals('foo')); | 1326 unittest.expect(o[0], unittest.equals('foo')); |
1327 unittest.expect(o[1], unittest.equals('foo')); | 1327 unittest.expect(o[1], unittest.equals('foo')); |
1328 } | 1328 } |
1329 | 1329 |
1330 core.int buildCounterTestPermissionsRequest = 0; | 1330 core.int buildCounterTestPermissionsRequest = 0; |
1331 buildTestPermissionsRequest() { | 1331 buildTestPermissionsRequest() { |
1332 var o = new api.TestPermissionsRequest(); | 1332 var o = new api.TestPermissionsRequest(); |
1333 buildCounterTestPermissionsRequest++; | 1333 buildCounterTestPermissionsRequest++; |
1334 if (buildCounterTestPermissionsRequest < 3) { | 1334 if (buildCounterTestPermissionsRequest < 3) { |
1335 o.permissions = buildUnnamed2063(); | 1335 o.permissions = buildUnnamed1886(); |
1336 } | 1336 } |
1337 buildCounterTestPermissionsRequest--; | 1337 buildCounterTestPermissionsRequest--; |
1338 return o; | 1338 return o; |
1339 } | 1339 } |
1340 | 1340 |
1341 checkTestPermissionsRequest(api.TestPermissionsRequest o) { | 1341 checkTestPermissionsRequest(api.TestPermissionsRequest o) { |
1342 buildCounterTestPermissionsRequest++; | 1342 buildCounterTestPermissionsRequest++; |
1343 if (buildCounterTestPermissionsRequest < 3) { | 1343 if (buildCounterTestPermissionsRequest < 3) { |
1344 checkUnnamed2063(o.permissions); | 1344 checkUnnamed1886(o.permissions); |
1345 } | 1345 } |
1346 buildCounterTestPermissionsRequest--; | 1346 buildCounterTestPermissionsRequest--; |
1347 } | 1347 } |
1348 | 1348 |
1349 buildUnnamed2064() { | 1349 buildUnnamed1887() { |
1350 var o = new core.List<core.String>(); | 1350 var o = new core.List<core.String>(); |
1351 o.add("foo"); | 1351 o.add("foo"); |
1352 o.add("foo"); | 1352 o.add("foo"); |
1353 return o; | 1353 return o; |
1354 } | 1354 } |
1355 | 1355 |
1356 checkUnnamed2064(core.List<core.String> o) { | 1356 checkUnnamed1887(core.List<core.String> o) { |
1357 unittest.expect(o, unittest.hasLength(2)); | 1357 unittest.expect(o, unittest.hasLength(2)); |
1358 unittest.expect(o[0], unittest.equals('foo')); | 1358 unittest.expect(o[0], unittest.equals('foo')); |
1359 unittest.expect(o[1], unittest.equals('foo')); | 1359 unittest.expect(o[1], unittest.equals('foo')); |
1360 } | 1360 } |
1361 | 1361 |
1362 core.int buildCounterTestPermissionsResponse = 0; | 1362 core.int buildCounterTestPermissionsResponse = 0; |
1363 buildTestPermissionsResponse() { | 1363 buildTestPermissionsResponse() { |
1364 var o = new api.TestPermissionsResponse(); | 1364 var o = new api.TestPermissionsResponse(); |
1365 buildCounterTestPermissionsResponse++; | 1365 buildCounterTestPermissionsResponse++; |
1366 if (buildCounterTestPermissionsResponse < 3) { | 1366 if (buildCounterTestPermissionsResponse < 3) { |
1367 o.permissions = buildUnnamed2064(); | 1367 o.permissions = buildUnnamed1887(); |
1368 } | 1368 } |
1369 buildCounterTestPermissionsResponse--; | 1369 buildCounterTestPermissionsResponse--; |
1370 return o; | 1370 return o; |
1371 } | 1371 } |
1372 | 1372 |
1373 checkTestPermissionsResponse(api.TestPermissionsResponse o) { | 1373 checkTestPermissionsResponse(api.TestPermissionsResponse o) { |
1374 buildCounterTestPermissionsResponse++; | 1374 buildCounterTestPermissionsResponse++; |
1375 if (buildCounterTestPermissionsResponse < 3) { | 1375 if (buildCounterTestPermissionsResponse < 3) { |
1376 checkUnnamed2064(o.permissions); | 1376 checkUnnamed1887(o.permissions); |
1377 } | 1377 } |
1378 buildCounterTestPermissionsResponse--; | 1378 buildCounterTestPermissionsResponse--; |
1379 } | 1379 } |
1380 | 1380 |
1381 core.int buildCounterType = 0; | 1381 core.int buildCounterType = 0; |
1382 buildType() { | 1382 buildType() { |
1383 var o = new api.Type(); | 1383 var o = new api.Type(); |
1384 buildCounterType++; | 1384 buildCounterType++; |
1385 if (buildCounterType < 3) { | 1385 if (buildCounterType < 3) { |
1386 o.id = "foo"; | 1386 o.id = "foo"; |
(...skipping 11 matching lines...) Expand all Loading... |
1398 if (buildCounterType < 3) { | 1398 if (buildCounterType < 3) { |
1399 unittest.expect(o.id, unittest.equals('foo')); | 1399 unittest.expect(o.id, unittest.equals('foo')); |
1400 unittest.expect(o.insertTime, unittest.equals('foo')); | 1400 unittest.expect(o.insertTime, unittest.equals('foo')); |
1401 unittest.expect(o.name, unittest.equals('foo')); | 1401 unittest.expect(o.name, unittest.equals('foo')); |
1402 checkOperation(o.operation); | 1402 checkOperation(o.operation); |
1403 unittest.expect(o.selfLink, unittest.equals('foo')); | 1403 unittest.expect(o.selfLink, unittest.equals('foo')); |
1404 } | 1404 } |
1405 buildCounterType--; | 1405 buildCounterType--; |
1406 } | 1406 } |
1407 | 1407 |
1408 buildUnnamed2065() { | 1408 buildUnnamed1888() { |
1409 var o = new core.List<api.Type>(); | 1409 var o = new core.List<api.Type>(); |
1410 o.add(buildType()); | 1410 o.add(buildType()); |
1411 o.add(buildType()); | 1411 o.add(buildType()); |
1412 return o; | 1412 return o; |
1413 } | 1413 } |
1414 | 1414 |
1415 checkUnnamed2065(core.List<api.Type> o) { | 1415 checkUnnamed1888(core.List<api.Type> o) { |
1416 unittest.expect(o, unittest.hasLength(2)); | 1416 unittest.expect(o, unittest.hasLength(2)); |
1417 checkType(o[0]); | 1417 checkType(o[0]); |
1418 checkType(o[1]); | 1418 checkType(o[1]); |
1419 } | 1419 } |
1420 | 1420 |
1421 core.int buildCounterTypesListResponse = 0; | 1421 core.int buildCounterTypesListResponse = 0; |
1422 buildTypesListResponse() { | 1422 buildTypesListResponse() { |
1423 var o = new api.TypesListResponse(); | 1423 var o = new api.TypesListResponse(); |
1424 buildCounterTypesListResponse++; | 1424 buildCounterTypesListResponse++; |
1425 if (buildCounterTypesListResponse < 3) { | 1425 if (buildCounterTypesListResponse < 3) { |
1426 o.nextPageToken = "foo"; | 1426 o.nextPageToken = "foo"; |
1427 o.types = buildUnnamed2065(); | 1427 o.types = buildUnnamed1888(); |
1428 } | 1428 } |
1429 buildCounterTypesListResponse--; | 1429 buildCounterTypesListResponse--; |
1430 return o; | 1430 return o; |
1431 } | 1431 } |
1432 | 1432 |
1433 checkTypesListResponse(api.TypesListResponse o) { | 1433 checkTypesListResponse(api.TypesListResponse o) { |
1434 buildCounterTypesListResponse++; | 1434 buildCounterTypesListResponse++; |
1435 if (buildCounterTypesListResponse < 3) { | 1435 if (buildCounterTypesListResponse < 3) { |
1436 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1436 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1437 checkUnnamed2065(o.types); | 1437 checkUnnamed1888(o.types); |
1438 } | 1438 } |
1439 buildCounterTypesListResponse--; | 1439 buildCounterTypesListResponse--; |
1440 } | 1440 } |
1441 | 1441 |
1442 | 1442 |
1443 main() { | 1443 main() { |
1444 unittest.group("obj-schema-AuditConfig", () { | 1444 unittest.group("obj-schema-AuditConfig", () { |
1445 unittest.test("to-json--from-json", () { | 1445 unittest.test("to-json--from-json", () { |
1446 var o = buildAuditConfig(); | 1446 var o = buildAuditConfig(); |
1447 var od = new api.AuditConfig.fromJson(o.toJson()); | 1447 var od = new api.AuditConfig.fromJson(o.toJson()); |
(...skipping 1224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2672 res.list(arg_project, filter: arg_filter, maxResults: arg_maxResults, orde
rBy: arg_orderBy, pageToken: arg_pageToken).then(unittest.expectAsync(((api.Type
sListResponse response) { | 2672 res.list(arg_project, filter: arg_filter, maxResults: arg_maxResults, orde
rBy: arg_orderBy, pageToken: arg_pageToken).then(unittest.expectAsync(((api.Type
sListResponse response) { |
2673 checkTypesListResponse(response); | 2673 checkTypesListResponse(response); |
2674 }))); | 2674 }))); |
2675 }); | 2675 }); |
2676 | 2676 |
2677 }); | 2677 }); |
2678 | 2678 |
2679 | 2679 |
2680 } | 2680 } |
2681 | 2681 |
OLD | NEW |