OLD | NEW |
1 library googleapis.spanner.v1.test; | 1 library googleapis.spanner.v1.test; |
2 | 2 |
3 import "dart:core" as core; | 3 import "dart:core" as core; |
4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
5 import "dart:async" as async; | 5 import "dart:async" as async; |
6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
7 | 7 |
8 import 'package:http/http.dart' as http; | 8 import 'package:http/http.dart' as http; |
9 import 'package:http/testing.dart' as http_testing; | 9 import 'package:http/testing.dart' as http_testing; |
10 import 'package:test/test.dart' as unittest; | 10 import 'package:test/test.dart' as unittest; |
(...skipping 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 buildUnnamed2053() { | 54 buildUnnamed2087() { |
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 checkUnnamed2053(core.List<api.AuditLogConfig> o) { | 61 checkUnnamed2087(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 buildUnnamed2054() { | 67 buildUnnamed2088() { |
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 checkUnnamed2054(core.List<core.String> o) { | 74 checkUnnamed2088(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 = buildUnnamed2053(); | 85 o.auditLogConfigs = buildUnnamed2087(); |
86 o.exemptedMembers = buildUnnamed2054(); | 86 o.exemptedMembers = buildUnnamed2088(); |
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 checkUnnamed2053(o.auditLogConfigs); | 96 checkUnnamed2087(o.auditLogConfigs); |
97 checkUnnamed2054(o.exemptedMembers); | 97 checkUnnamed2088(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 buildUnnamed2055() { | 103 buildUnnamed2089() { |
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 checkUnnamed2055(core.List<core.String> o) { | 110 checkUnnamed2089(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 = buildUnnamed2055(); | 121 o.exemptedMembers = buildUnnamed2089(); |
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 checkUnnamed2055(o.exemptedMembers); | 131 checkUnnamed2089(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 core.int buildCounterBeginTransactionRequest = 0; | 137 core.int buildCounterBeginTransactionRequest = 0; |
138 buildBeginTransactionRequest() { | 138 buildBeginTransactionRequest() { |
139 var o = new api.BeginTransactionRequest(); | 139 var o = new api.BeginTransactionRequest(); |
140 buildCounterBeginTransactionRequest++; | 140 buildCounterBeginTransactionRequest++; |
141 if (buildCounterBeginTransactionRequest < 3) { | 141 if (buildCounterBeginTransactionRequest < 3) { |
142 o.options = buildTransactionOptions(); | 142 o.options = buildTransactionOptions(); |
143 } | 143 } |
144 buildCounterBeginTransactionRequest--; | 144 buildCounterBeginTransactionRequest--; |
145 return o; | 145 return o; |
146 } | 146 } |
147 | 147 |
148 checkBeginTransactionRequest(api.BeginTransactionRequest o) { | 148 checkBeginTransactionRequest(api.BeginTransactionRequest o) { |
149 buildCounterBeginTransactionRequest++; | 149 buildCounterBeginTransactionRequest++; |
150 if (buildCounterBeginTransactionRequest < 3) { | 150 if (buildCounterBeginTransactionRequest < 3) { |
151 checkTransactionOptions(o.options); | 151 checkTransactionOptions(o.options); |
152 } | 152 } |
153 buildCounterBeginTransactionRequest--; | 153 buildCounterBeginTransactionRequest--; |
154 } | 154 } |
155 | 155 |
156 buildUnnamed2056() { | 156 buildUnnamed2090() { |
157 var o = new core.List<core.String>(); | 157 var o = new core.List<core.String>(); |
158 o.add("foo"); | 158 o.add("foo"); |
159 o.add("foo"); | 159 o.add("foo"); |
160 return o; | 160 return o; |
161 } | 161 } |
162 | 162 |
163 checkUnnamed2056(core.List<core.String> o) { | 163 checkUnnamed2090(core.List<core.String> o) { |
164 unittest.expect(o, unittest.hasLength(2)); | 164 unittest.expect(o, unittest.hasLength(2)); |
165 unittest.expect(o[0], unittest.equals('foo')); | 165 unittest.expect(o[0], unittest.equals('foo')); |
166 unittest.expect(o[1], unittest.equals('foo')); | 166 unittest.expect(o[1], unittest.equals('foo')); |
167 } | 167 } |
168 | 168 |
169 core.int buildCounterBinding = 0; | 169 core.int buildCounterBinding = 0; |
170 buildBinding() { | 170 buildBinding() { |
171 var o = new api.Binding(); | 171 var o = new api.Binding(); |
172 buildCounterBinding++; | 172 buildCounterBinding++; |
173 if (buildCounterBinding < 3) { | 173 if (buildCounterBinding < 3) { |
174 o.condition = buildExpr(); | 174 o.condition = buildExpr(); |
175 o.members = buildUnnamed2056(); | 175 o.members = buildUnnamed2090(); |
176 o.role = "foo"; | 176 o.role = "foo"; |
177 } | 177 } |
178 buildCounterBinding--; | 178 buildCounterBinding--; |
179 return o; | 179 return o; |
180 } | 180 } |
181 | 181 |
182 checkBinding(api.Binding o) { | 182 checkBinding(api.Binding o) { |
183 buildCounterBinding++; | 183 buildCounterBinding++; |
184 if (buildCounterBinding < 3) { | 184 if (buildCounterBinding < 3) { |
185 checkExpr(o.condition); | 185 checkExpr(o.condition); |
186 checkUnnamed2056(o.members); | 186 checkUnnamed2090(o.members); |
187 unittest.expect(o.role, unittest.equals('foo')); | 187 unittest.expect(o.role, unittest.equals('foo')); |
188 } | 188 } |
189 buildCounterBinding--; | 189 buildCounterBinding--; |
190 } | 190 } |
191 | 191 |
192 core.int buildCounterChildLink = 0; | 192 core.int buildCounterChildLink = 0; |
193 buildChildLink() { | 193 buildChildLink() { |
194 var o = new api.ChildLink(); | 194 var o = new api.ChildLink(); |
195 buildCounterChildLink++; | 195 buildCounterChildLink++; |
196 if (buildCounterChildLink < 3) { | 196 if (buildCounterChildLink < 3) { |
(...skipping 27 matching lines...) Expand all Loading... |
224 } | 224 } |
225 | 225 |
226 checkCloudAuditOptions(api.CloudAuditOptions o) { | 226 checkCloudAuditOptions(api.CloudAuditOptions o) { |
227 buildCounterCloudAuditOptions++; | 227 buildCounterCloudAuditOptions++; |
228 if (buildCounterCloudAuditOptions < 3) { | 228 if (buildCounterCloudAuditOptions < 3) { |
229 unittest.expect(o.logName, unittest.equals('foo')); | 229 unittest.expect(o.logName, unittest.equals('foo')); |
230 } | 230 } |
231 buildCounterCloudAuditOptions--; | 231 buildCounterCloudAuditOptions--; |
232 } | 232 } |
233 | 233 |
234 buildUnnamed2057() { | 234 buildUnnamed2091() { |
235 var o = new core.List<api.Mutation>(); | 235 var o = new core.List<api.Mutation>(); |
236 o.add(buildMutation()); | 236 o.add(buildMutation()); |
237 o.add(buildMutation()); | 237 o.add(buildMutation()); |
238 return o; | 238 return o; |
239 } | 239 } |
240 | 240 |
241 checkUnnamed2057(core.List<api.Mutation> o) { | 241 checkUnnamed2091(core.List<api.Mutation> o) { |
242 unittest.expect(o, unittest.hasLength(2)); | 242 unittest.expect(o, unittest.hasLength(2)); |
243 checkMutation(o[0]); | 243 checkMutation(o[0]); |
244 checkMutation(o[1]); | 244 checkMutation(o[1]); |
245 } | 245 } |
246 | 246 |
247 core.int buildCounterCommitRequest = 0; | 247 core.int buildCounterCommitRequest = 0; |
248 buildCommitRequest() { | 248 buildCommitRequest() { |
249 var o = new api.CommitRequest(); | 249 var o = new api.CommitRequest(); |
250 buildCounterCommitRequest++; | 250 buildCounterCommitRequest++; |
251 if (buildCounterCommitRequest < 3) { | 251 if (buildCounterCommitRequest < 3) { |
252 o.mutations = buildUnnamed2057(); | 252 o.mutations = buildUnnamed2091(); |
253 o.singleUseTransaction = buildTransactionOptions(); | 253 o.singleUseTransaction = buildTransactionOptions(); |
254 o.transactionId = "foo"; | 254 o.transactionId = "foo"; |
255 } | 255 } |
256 buildCounterCommitRequest--; | 256 buildCounterCommitRequest--; |
257 return o; | 257 return o; |
258 } | 258 } |
259 | 259 |
260 checkCommitRequest(api.CommitRequest o) { | 260 checkCommitRequest(api.CommitRequest o) { |
261 buildCounterCommitRequest++; | 261 buildCounterCommitRequest++; |
262 if (buildCounterCommitRequest < 3) { | 262 if (buildCounterCommitRequest < 3) { |
263 checkUnnamed2057(o.mutations); | 263 checkUnnamed2091(o.mutations); |
264 checkTransactionOptions(o.singleUseTransaction); | 264 checkTransactionOptions(o.singleUseTransaction); |
265 unittest.expect(o.transactionId, unittest.equals('foo')); | 265 unittest.expect(o.transactionId, unittest.equals('foo')); |
266 } | 266 } |
267 buildCounterCommitRequest--; | 267 buildCounterCommitRequest--; |
268 } | 268 } |
269 | 269 |
270 core.int buildCounterCommitResponse = 0; | 270 core.int buildCounterCommitResponse = 0; |
271 buildCommitResponse() { | 271 buildCommitResponse() { |
272 var o = new api.CommitResponse(); | 272 var o = new api.CommitResponse(); |
273 buildCounterCommitResponse++; | 273 buildCounterCommitResponse++; |
274 if (buildCounterCommitResponse < 3) { | 274 if (buildCounterCommitResponse < 3) { |
275 o.commitTimestamp = "foo"; | 275 o.commitTimestamp = "foo"; |
276 } | 276 } |
277 buildCounterCommitResponse--; | 277 buildCounterCommitResponse--; |
278 return o; | 278 return o; |
279 } | 279 } |
280 | 280 |
281 checkCommitResponse(api.CommitResponse o) { | 281 checkCommitResponse(api.CommitResponse o) { |
282 buildCounterCommitResponse++; | 282 buildCounterCommitResponse++; |
283 if (buildCounterCommitResponse < 3) { | 283 if (buildCounterCommitResponse < 3) { |
284 unittest.expect(o.commitTimestamp, unittest.equals('foo')); | 284 unittest.expect(o.commitTimestamp, unittest.equals('foo')); |
285 } | 285 } |
286 buildCounterCommitResponse--; | 286 buildCounterCommitResponse--; |
287 } | 287 } |
288 | 288 |
289 buildUnnamed2058() { | 289 buildUnnamed2092() { |
290 var o = new core.List<core.String>(); | 290 var o = new core.List<core.String>(); |
291 o.add("foo"); | 291 o.add("foo"); |
292 o.add("foo"); | 292 o.add("foo"); |
293 return o; | 293 return o; |
294 } | 294 } |
295 | 295 |
296 checkUnnamed2058(core.List<core.String> o) { | 296 checkUnnamed2092(core.List<core.String> o) { |
297 unittest.expect(o, unittest.hasLength(2)); | 297 unittest.expect(o, unittest.hasLength(2)); |
298 unittest.expect(o[0], unittest.equals('foo')); | 298 unittest.expect(o[0], unittest.equals('foo')); |
299 unittest.expect(o[1], unittest.equals('foo')); | 299 unittest.expect(o[1], unittest.equals('foo')); |
300 } | 300 } |
301 | 301 |
302 core.int buildCounterCondition = 0; | 302 core.int buildCounterCondition = 0; |
303 buildCondition() { | 303 buildCondition() { |
304 var o = new api.Condition(); | 304 var o = new api.Condition(); |
305 buildCounterCondition++; | 305 buildCounterCondition++; |
306 if (buildCounterCondition < 3) { | 306 if (buildCounterCondition < 3) { |
307 o.iam = "foo"; | 307 o.iam = "foo"; |
308 o.op = "foo"; | 308 o.op = "foo"; |
309 o.svc = "foo"; | 309 o.svc = "foo"; |
310 o.sys = "foo"; | 310 o.sys = "foo"; |
311 o.value = "foo"; | 311 o.value = "foo"; |
312 o.values = buildUnnamed2058(); | 312 o.values = buildUnnamed2092(); |
313 } | 313 } |
314 buildCounterCondition--; | 314 buildCounterCondition--; |
315 return o; | 315 return o; |
316 } | 316 } |
317 | 317 |
318 checkCondition(api.Condition o) { | 318 checkCondition(api.Condition o) { |
319 buildCounterCondition++; | 319 buildCounterCondition++; |
320 if (buildCounterCondition < 3) { | 320 if (buildCounterCondition < 3) { |
321 unittest.expect(o.iam, unittest.equals('foo')); | 321 unittest.expect(o.iam, unittest.equals('foo')); |
322 unittest.expect(o.op, unittest.equals('foo')); | 322 unittest.expect(o.op, unittest.equals('foo')); |
323 unittest.expect(o.svc, unittest.equals('foo')); | 323 unittest.expect(o.svc, unittest.equals('foo')); |
324 unittest.expect(o.sys, unittest.equals('foo')); | 324 unittest.expect(o.sys, unittest.equals('foo')); |
325 unittest.expect(o.value, unittest.equals('foo')); | 325 unittest.expect(o.value, unittest.equals('foo')); |
326 checkUnnamed2058(o.values); | 326 checkUnnamed2092(o.values); |
327 } | 327 } |
328 buildCounterCondition--; | 328 buildCounterCondition--; |
329 } | 329 } |
330 | 330 |
331 core.int buildCounterCounterOptions = 0; | 331 core.int buildCounterCounterOptions = 0; |
332 buildCounterOptions() { | 332 buildCounterOptions() { |
333 var o = new api.CounterOptions(); | 333 var o = new api.CounterOptions(); |
334 buildCounterCounterOptions++; | 334 buildCounterCounterOptions++; |
335 if (buildCounterCounterOptions < 3) { | 335 if (buildCounterCounterOptions < 3) { |
336 o.field = "foo"; | 336 o.field = "foo"; |
(...skipping 24 matching lines...) Expand all Loading... |
361 } | 361 } |
362 | 362 |
363 checkCreateDatabaseMetadata(api.CreateDatabaseMetadata o) { | 363 checkCreateDatabaseMetadata(api.CreateDatabaseMetadata o) { |
364 buildCounterCreateDatabaseMetadata++; | 364 buildCounterCreateDatabaseMetadata++; |
365 if (buildCounterCreateDatabaseMetadata < 3) { | 365 if (buildCounterCreateDatabaseMetadata < 3) { |
366 unittest.expect(o.database, unittest.equals('foo')); | 366 unittest.expect(o.database, unittest.equals('foo')); |
367 } | 367 } |
368 buildCounterCreateDatabaseMetadata--; | 368 buildCounterCreateDatabaseMetadata--; |
369 } | 369 } |
370 | 370 |
371 buildUnnamed2059() { | 371 buildUnnamed2093() { |
372 var o = new core.List<core.String>(); | 372 var o = new core.List<core.String>(); |
373 o.add("foo"); | 373 o.add("foo"); |
374 o.add("foo"); | 374 o.add("foo"); |
375 return o; | 375 return o; |
376 } | 376 } |
377 | 377 |
378 checkUnnamed2059(core.List<core.String> o) { | 378 checkUnnamed2093(core.List<core.String> o) { |
379 unittest.expect(o, unittest.hasLength(2)); | 379 unittest.expect(o, unittest.hasLength(2)); |
380 unittest.expect(o[0], unittest.equals('foo')); | 380 unittest.expect(o[0], unittest.equals('foo')); |
381 unittest.expect(o[1], unittest.equals('foo')); | 381 unittest.expect(o[1], unittest.equals('foo')); |
382 } | 382 } |
383 | 383 |
384 core.int buildCounterCreateDatabaseRequest = 0; | 384 core.int buildCounterCreateDatabaseRequest = 0; |
385 buildCreateDatabaseRequest() { | 385 buildCreateDatabaseRequest() { |
386 var o = new api.CreateDatabaseRequest(); | 386 var o = new api.CreateDatabaseRequest(); |
387 buildCounterCreateDatabaseRequest++; | 387 buildCounterCreateDatabaseRequest++; |
388 if (buildCounterCreateDatabaseRequest < 3) { | 388 if (buildCounterCreateDatabaseRequest < 3) { |
389 o.createStatement = "foo"; | 389 o.createStatement = "foo"; |
390 o.extraStatements = buildUnnamed2059(); | 390 o.extraStatements = buildUnnamed2093(); |
391 } | 391 } |
392 buildCounterCreateDatabaseRequest--; | 392 buildCounterCreateDatabaseRequest--; |
393 return o; | 393 return o; |
394 } | 394 } |
395 | 395 |
396 checkCreateDatabaseRequest(api.CreateDatabaseRequest o) { | 396 checkCreateDatabaseRequest(api.CreateDatabaseRequest o) { |
397 buildCounterCreateDatabaseRequest++; | 397 buildCounterCreateDatabaseRequest++; |
398 if (buildCounterCreateDatabaseRequest < 3) { | 398 if (buildCounterCreateDatabaseRequest < 3) { |
399 unittest.expect(o.createStatement, unittest.equals('foo')); | 399 unittest.expect(o.createStatement, unittest.equals('foo')); |
400 checkUnnamed2059(o.extraStatements); | 400 checkUnnamed2093(o.extraStatements); |
401 } | 401 } |
402 buildCounterCreateDatabaseRequest--; | 402 buildCounterCreateDatabaseRequest--; |
403 } | 403 } |
404 | 404 |
405 core.int buildCounterCreateInstanceMetadata = 0; | 405 core.int buildCounterCreateInstanceMetadata = 0; |
406 buildCreateInstanceMetadata() { | 406 buildCreateInstanceMetadata() { |
407 var o = new api.CreateInstanceMetadata(); | 407 var o = new api.CreateInstanceMetadata(); |
408 buildCounterCreateInstanceMetadata++; | 408 buildCounterCreateInstanceMetadata++; |
409 if (buildCounterCreateInstanceMetadata < 3) { | 409 if (buildCounterCreateInstanceMetadata < 3) { |
410 o.cancelTime = "foo"; | 410 o.cancelTime = "foo"; |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
517 return o; | 517 return o; |
518 } | 518 } |
519 | 519 |
520 checkEmpty(api.Empty o) { | 520 checkEmpty(api.Empty o) { |
521 buildCounterEmpty++; | 521 buildCounterEmpty++; |
522 if (buildCounterEmpty < 3) { | 522 if (buildCounterEmpty < 3) { |
523 } | 523 } |
524 buildCounterEmpty--; | 524 buildCounterEmpty--; |
525 } | 525 } |
526 | 526 |
527 buildUnnamed2060() { | 527 buildUnnamed2094() { |
528 var o = new core.Map<core.String, api.Type>(); | 528 var o = new core.Map<core.String, api.Type>(); |
529 o["x"] = buildType(); | 529 o["x"] = buildType(); |
530 o["y"] = buildType(); | 530 o["y"] = buildType(); |
531 return o; | 531 return o; |
532 } | 532 } |
533 | 533 |
534 checkUnnamed2060(core.Map<core.String, api.Type> o) { | 534 checkUnnamed2094(core.Map<core.String, api.Type> o) { |
535 unittest.expect(o, unittest.hasLength(2)); | 535 unittest.expect(o, unittest.hasLength(2)); |
536 checkType(o["x"]); | 536 checkType(o["x"]); |
537 checkType(o["y"]); | 537 checkType(o["y"]); |
538 } | 538 } |
539 | 539 |
540 buildUnnamed2061() { | 540 buildUnnamed2095() { |
541 var o = new core.Map<core.String, core.Object>(); | 541 var o = new core.Map<core.String, core.Object>(); |
542 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 542 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
543 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 543 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
544 return o; | 544 return o; |
545 } | 545 } |
546 | 546 |
547 checkUnnamed2061(core.Map<core.String, core.Object> o) { | 547 checkUnnamed2095(core.Map<core.String, core.Object> o) { |
548 unittest.expect(o, unittest.hasLength(2)); | 548 unittest.expect(o, unittest.hasLength(2)); |
549 var casted1 = (o["x"]) as core.Map; unittest.expect(casted1, unittest.hasLengt
h(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"],
unittest.equals('foo')); | 549 var casted1 = (o["x"]) as core.Map; unittest.expect(casted1, unittest.hasLengt
h(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"],
unittest.equals('foo')); |
550 var casted2 = (o["y"]) as core.Map; unittest.expect(casted2, unittest.hasLengt
h(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"],
unittest.equals('foo')); | 550 var casted2 = (o["y"]) as core.Map; unittest.expect(casted2, unittest.hasLengt
h(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"],
unittest.equals('foo')); |
551 } | 551 } |
552 | 552 |
553 core.int buildCounterExecuteSqlRequest = 0; | 553 core.int buildCounterExecuteSqlRequest = 0; |
554 buildExecuteSqlRequest() { | 554 buildExecuteSqlRequest() { |
555 var o = new api.ExecuteSqlRequest(); | 555 var o = new api.ExecuteSqlRequest(); |
556 buildCounterExecuteSqlRequest++; | 556 buildCounterExecuteSqlRequest++; |
557 if (buildCounterExecuteSqlRequest < 3) { | 557 if (buildCounterExecuteSqlRequest < 3) { |
558 o.paramTypes = buildUnnamed2060(); | 558 o.paramTypes = buildUnnamed2094(); |
559 o.params = buildUnnamed2061(); | 559 o.params = buildUnnamed2095(); |
560 o.queryMode = "foo"; | 560 o.queryMode = "foo"; |
561 o.resumeToken = "foo"; | 561 o.resumeToken = "foo"; |
562 o.sql = "foo"; | 562 o.sql = "foo"; |
563 o.transaction = buildTransactionSelector(); | 563 o.transaction = buildTransactionSelector(); |
564 } | 564 } |
565 buildCounterExecuteSqlRequest--; | 565 buildCounterExecuteSqlRequest--; |
566 return o; | 566 return o; |
567 } | 567 } |
568 | 568 |
569 checkExecuteSqlRequest(api.ExecuteSqlRequest o) { | 569 checkExecuteSqlRequest(api.ExecuteSqlRequest o) { |
570 buildCounterExecuteSqlRequest++; | 570 buildCounterExecuteSqlRequest++; |
571 if (buildCounterExecuteSqlRequest < 3) { | 571 if (buildCounterExecuteSqlRequest < 3) { |
572 checkUnnamed2060(o.paramTypes); | 572 checkUnnamed2094(o.paramTypes); |
573 checkUnnamed2061(o.params); | 573 checkUnnamed2095(o.params); |
574 unittest.expect(o.queryMode, unittest.equals('foo')); | 574 unittest.expect(o.queryMode, unittest.equals('foo')); |
575 unittest.expect(o.resumeToken, unittest.equals('foo')); | 575 unittest.expect(o.resumeToken, unittest.equals('foo')); |
576 unittest.expect(o.sql, unittest.equals('foo')); | 576 unittest.expect(o.sql, unittest.equals('foo')); |
577 checkTransactionSelector(o.transaction); | 577 checkTransactionSelector(o.transaction); |
578 } | 578 } |
579 buildCounterExecuteSqlRequest--; | 579 buildCounterExecuteSqlRequest--; |
580 } | 580 } |
581 | 581 |
582 core.int buildCounterExpr = 0; | 582 core.int buildCounterExpr = 0; |
583 buildExpr() { | 583 buildExpr() { |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
618 | 618 |
619 checkField(api.Field o) { | 619 checkField(api.Field o) { |
620 buildCounterField++; | 620 buildCounterField++; |
621 if (buildCounterField < 3) { | 621 if (buildCounterField < 3) { |
622 unittest.expect(o.name, unittest.equals('foo')); | 622 unittest.expect(o.name, unittest.equals('foo')); |
623 checkType(o.type); | 623 checkType(o.type); |
624 } | 624 } |
625 buildCounterField--; | 625 buildCounterField--; |
626 } | 626 } |
627 | 627 |
628 buildUnnamed2062() { | 628 buildUnnamed2096() { |
629 var o = new core.List<core.String>(); | 629 var o = new core.List<core.String>(); |
630 o.add("foo"); | 630 o.add("foo"); |
631 o.add("foo"); | 631 o.add("foo"); |
632 return o; | 632 return o; |
633 } | 633 } |
634 | 634 |
635 checkUnnamed2062(core.List<core.String> o) { | 635 checkUnnamed2096(core.List<core.String> o) { |
636 unittest.expect(o, unittest.hasLength(2)); | 636 unittest.expect(o, unittest.hasLength(2)); |
637 unittest.expect(o[0], unittest.equals('foo')); | 637 unittest.expect(o[0], unittest.equals('foo')); |
638 unittest.expect(o[1], unittest.equals('foo')); | 638 unittest.expect(o[1], unittest.equals('foo')); |
639 } | 639 } |
640 | 640 |
641 core.int buildCounterGetDatabaseDdlResponse = 0; | 641 core.int buildCounterGetDatabaseDdlResponse = 0; |
642 buildGetDatabaseDdlResponse() { | 642 buildGetDatabaseDdlResponse() { |
643 var o = new api.GetDatabaseDdlResponse(); | 643 var o = new api.GetDatabaseDdlResponse(); |
644 buildCounterGetDatabaseDdlResponse++; | 644 buildCounterGetDatabaseDdlResponse++; |
645 if (buildCounterGetDatabaseDdlResponse < 3) { | 645 if (buildCounterGetDatabaseDdlResponse < 3) { |
646 o.statements = buildUnnamed2062(); | 646 o.statements = buildUnnamed2096(); |
647 } | 647 } |
648 buildCounterGetDatabaseDdlResponse--; | 648 buildCounterGetDatabaseDdlResponse--; |
649 return o; | 649 return o; |
650 } | 650 } |
651 | 651 |
652 checkGetDatabaseDdlResponse(api.GetDatabaseDdlResponse o) { | 652 checkGetDatabaseDdlResponse(api.GetDatabaseDdlResponse o) { |
653 buildCounterGetDatabaseDdlResponse++; | 653 buildCounterGetDatabaseDdlResponse++; |
654 if (buildCounterGetDatabaseDdlResponse < 3) { | 654 if (buildCounterGetDatabaseDdlResponse < 3) { |
655 checkUnnamed2062(o.statements); | 655 checkUnnamed2096(o.statements); |
656 } | 656 } |
657 buildCounterGetDatabaseDdlResponse--; | 657 buildCounterGetDatabaseDdlResponse--; |
658 } | 658 } |
659 | 659 |
660 core.int buildCounterGetIamPolicyRequest = 0; | 660 core.int buildCounterGetIamPolicyRequest = 0; |
661 buildGetIamPolicyRequest() { | 661 buildGetIamPolicyRequest() { |
662 var o = new api.GetIamPolicyRequest(); | 662 var o = new api.GetIamPolicyRequest(); |
663 buildCounterGetIamPolicyRequest++; | 663 buildCounterGetIamPolicyRequest++; |
664 if (buildCounterGetIamPolicyRequest < 3) { | 664 if (buildCounterGetIamPolicyRequest < 3) { |
665 } | 665 } |
666 buildCounterGetIamPolicyRequest--; | 666 buildCounterGetIamPolicyRequest--; |
667 return o; | 667 return o; |
668 } | 668 } |
669 | 669 |
670 checkGetIamPolicyRequest(api.GetIamPolicyRequest o) { | 670 checkGetIamPolicyRequest(api.GetIamPolicyRequest o) { |
671 buildCounterGetIamPolicyRequest++; | 671 buildCounterGetIamPolicyRequest++; |
672 if (buildCounterGetIamPolicyRequest < 3) { | 672 if (buildCounterGetIamPolicyRequest < 3) { |
673 } | 673 } |
674 buildCounterGetIamPolicyRequest--; | 674 buildCounterGetIamPolicyRequest--; |
675 } | 675 } |
676 | 676 |
677 buildUnnamed2063() { | 677 buildUnnamed2097() { |
678 var o = new core.Map<core.String, core.String>(); | 678 var o = new core.Map<core.String, core.String>(); |
679 o["x"] = "foo"; | 679 o["x"] = "foo"; |
680 o["y"] = "foo"; | 680 o["y"] = "foo"; |
681 return o; | 681 return o; |
682 } | 682 } |
683 | 683 |
684 checkUnnamed2063(core.Map<core.String, core.String> o) { | 684 checkUnnamed2097(core.Map<core.String, core.String> o) { |
685 unittest.expect(o, unittest.hasLength(2)); | 685 unittest.expect(o, unittest.hasLength(2)); |
686 unittest.expect(o["x"], unittest.equals('foo')); | 686 unittest.expect(o["x"], unittest.equals('foo')); |
687 unittest.expect(o["y"], unittest.equals('foo')); | 687 unittest.expect(o["y"], unittest.equals('foo')); |
688 } | 688 } |
689 | 689 |
690 core.int buildCounterInstance = 0; | 690 core.int buildCounterInstance = 0; |
691 buildInstance() { | 691 buildInstance() { |
692 var o = new api.Instance(); | 692 var o = new api.Instance(); |
693 buildCounterInstance++; | 693 buildCounterInstance++; |
694 if (buildCounterInstance < 3) { | 694 if (buildCounterInstance < 3) { |
695 o.config = "foo"; | 695 o.config = "foo"; |
696 o.displayName = "foo"; | 696 o.displayName = "foo"; |
697 o.labels = buildUnnamed2063(); | 697 o.labels = buildUnnamed2097(); |
698 o.name = "foo"; | 698 o.name = "foo"; |
699 o.nodeCount = 42; | 699 o.nodeCount = 42; |
700 o.state = "foo"; | 700 o.state = "foo"; |
701 } | 701 } |
702 buildCounterInstance--; | 702 buildCounterInstance--; |
703 return o; | 703 return o; |
704 } | 704 } |
705 | 705 |
706 checkInstance(api.Instance o) { | 706 checkInstance(api.Instance o) { |
707 buildCounterInstance++; | 707 buildCounterInstance++; |
708 if (buildCounterInstance < 3) { | 708 if (buildCounterInstance < 3) { |
709 unittest.expect(o.config, unittest.equals('foo')); | 709 unittest.expect(o.config, unittest.equals('foo')); |
710 unittest.expect(o.displayName, unittest.equals('foo')); | 710 unittest.expect(o.displayName, unittest.equals('foo')); |
711 checkUnnamed2063(o.labels); | 711 checkUnnamed2097(o.labels); |
712 unittest.expect(o.name, unittest.equals('foo')); | 712 unittest.expect(o.name, unittest.equals('foo')); |
713 unittest.expect(o.nodeCount, unittest.equals(42)); | 713 unittest.expect(o.nodeCount, unittest.equals(42)); |
714 unittest.expect(o.state, unittest.equals('foo')); | 714 unittest.expect(o.state, unittest.equals('foo')); |
715 } | 715 } |
716 buildCounterInstance--; | 716 buildCounterInstance--; |
717 } | 717 } |
718 | 718 |
719 core.int buildCounterInstanceConfig = 0; | 719 core.int buildCounterInstanceConfig = 0; |
720 buildInstanceConfig() { | 720 buildInstanceConfig() { |
721 var o = new api.InstanceConfig(); | 721 var o = new api.InstanceConfig(); |
722 buildCounterInstanceConfig++; | 722 buildCounterInstanceConfig++; |
723 if (buildCounterInstanceConfig < 3) { | 723 if (buildCounterInstanceConfig < 3) { |
724 o.displayName = "foo"; | 724 o.displayName = "foo"; |
725 o.name = "foo"; | 725 o.name = "foo"; |
726 } | 726 } |
727 buildCounterInstanceConfig--; | 727 buildCounterInstanceConfig--; |
728 return o; | 728 return o; |
729 } | 729 } |
730 | 730 |
731 checkInstanceConfig(api.InstanceConfig o) { | 731 checkInstanceConfig(api.InstanceConfig o) { |
732 buildCounterInstanceConfig++; | 732 buildCounterInstanceConfig++; |
733 if (buildCounterInstanceConfig < 3) { | 733 if (buildCounterInstanceConfig < 3) { |
734 unittest.expect(o.displayName, unittest.equals('foo')); | 734 unittest.expect(o.displayName, unittest.equals('foo')); |
735 unittest.expect(o.name, unittest.equals('foo')); | 735 unittest.expect(o.name, unittest.equals('foo')); |
736 } | 736 } |
737 buildCounterInstanceConfig--; | 737 buildCounterInstanceConfig--; |
738 } | 738 } |
739 | 739 |
740 buildUnnamed2064() { | 740 buildUnnamed2098() { |
741 var o = new core.List<core.Object>(); | 741 var o = new core.List<core.Object>(); |
742 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 742 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
743 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 743 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
744 return o; | 744 return o; |
745 } | 745 } |
746 | 746 |
747 checkUnnamed2064(core.List<core.Object> o) { | 747 checkUnnamed2098(core.List<core.Object> o) { |
748 unittest.expect(o, unittest.hasLength(2)); | 748 unittest.expect(o, unittest.hasLength(2)); |
749 var casted3 = (o[0]) as core.Map; unittest.expect(casted3, unittest.hasLength(
3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"], u
nittest.equals('foo')); | 749 var casted3 = (o[0]) as core.Map; unittest.expect(casted3, unittest.hasLength(
3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"], u
nittest.equals('foo')); |
750 var casted4 = (o[1]) as core.Map; unittest.expect(casted4, unittest.hasLength(
3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], u
nittest.equals('foo')); | 750 var casted4 = (o[1]) as core.Map; unittest.expect(casted4, unittest.hasLength(
3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], u
nittest.equals('foo')); |
751 } | 751 } |
752 | 752 |
753 buildUnnamed2065() { | 753 buildUnnamed2099() { |
754 var o = new core.List<core.Object>(); | 754 var o = new core.List<core.Object>(); |
755 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 755 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
756 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 756 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
757 return o; | 757 return o; |
758 } | 758 } |
759 | 759 |
760 checkUnnamed2065(core.List<core.Object> o) { | 760 checkUnnamed2099(core.List<core.Object> o) { |
761 unittest.expect(o, unittest.hasLength(2)); | 761 unittest.expect(o, unittest.hasLength(2)); |
762 var casted5 = (o[0]) as core.Map; unittest.expect(casted5, unittest.hasLength(
3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"], u
nittest.equals('foo')); | 762 var casted5 = (o[0]) as core.Map; unittest.expect(casted5, unittest.hasLength(
3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"], u
nittest.equals('foo')); |
763 var casted6 = (o[1]) as core.Map; unittest.expect(casted6, unittest.hasLength(
3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"], u
nittest.equals('foo')); | 763 var casted6 = (o[1]) as core.Map; unittest.expect(casted6, unittest.hasLength(
3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"], u
nittest.equals('foo')); |
764 } | 764 } |
765 | 765 |
766 buildUnnamed2066() { | 766 buildUnnamed2100() { |
767 var o = new core.List<core.Object>(); | 767 var o = new core.List<core.Object>(); |
768 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 768 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
769 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 769 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
770 return o; | 770 return o; |
771 } | 771 } |
772 | 772 |
773 checkUnnamed2066(core.List<core.Object> o) { | 773 checkUnnamed2100(core.List<core.Object> o) { |
774 unittest.expect(o, unittest.hasLength(2)); | 774 unittest.expect(o, unittest.hasLength(2)); |
775 var casted7 = (o[0]) as core.Map; unittest.expect(casted7, unittest.hasLength(
3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string"], u
nittest.equals('foo')); | 775 var casted7 = (o[0]) as core.Map; unittest.expect(casted7, unittest.hasLength(
3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string"], u
nittest.equals('foo')); |
776 var casted8 = (o[1]) as core.Map; unittest.expect(casted8, unittest.hasLength(
3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"], u
nittest.equals('foo')); | 776 var casted8 = (o[1]) as core.Map; unittest.expect(casted8, unittest.hasLength(
3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"], u
nittest.equals('foo')); |
777 } | 777 } |
778 | 778 |
779 buildUnnamed2067() { | 779 buildUnnamed2101() { |
780 var o = new core.List<core.Object>(); | 780 var o = new core.List<core.Object>(); |
781 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 781 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
782 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 782 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
783 return o; | 783 return o; |
784 } | 784 } |
785 | 785 |
786 checkUnnamed2067(core.List<core.Object> o) { | 786 checkUnnamed2101(core.List<core.Object> o) { |
787 unittest.expect(o, unittest.hasLength(2)); | 787 unittest.expect(o, unittest.hasLength(2)); |
788 var casted9 = (o[0]) as core.Map; unittest.expect(casted9, unittest.hasLength(
3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"], u
nittest.equals('foo')); | 788 var casted9 = (o[0]) as core.Map; unittest.expect(casted9, unittest.hasLength(
3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"], u
nittest.equals('foo')); |
789 var casted10 = (o[1]) as core.Map; unittest.expect(casted10, unittest.hasLengt
h(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["string
"], unittest.equals('foo')); | 789 var casted10 = (o[1]) as core.Map; unittest.expect(casted10, unittest.hasLengt
h(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["string
"], unittest.equals('foo')); |
790 } | 790 } |
791 | 791 |
792 core.int buildCounterKeyRange = 0; | 792 core.int buildCounterKeyRange = 0; |
793 buildKeyRange() { | 793 buildKeyRange() { |
794 var o = new api.KeyRange(); | 794 var o = new api.KeyRange(); |
795 buildCounterKeyRange++; | 795 buildCounterKeyRange++; |
796 if (buildCounterKeyRange < 3) { | 796 if (buildCounterKeyRange < 3) { |
797 o.endClosed = buildUnnamed2064(); | 797 o.endClosed = buildUnnamed2098(); |
798 o.endOpen = buildUnnamed2065(); | 798 o.endOpen = buildUnnamed2099(); |
799 o.startClosed = buildUnnamed2066(); | 799 o.startClosed = buildUnnamed2100(); |
800 o.startOpen = buildUnnamed2067(); | 800 o.startOpen = buildUnnamed2101(); |
801 } | 801 } |
802 buildCounterKeyRange--; | 802 buildCounterKeyRange--; |
803 return o; | 803 return o; |
804 } | 804 } |
805 | 805 |
806 checkKeyRange(api.KeyRange o) { | 806 checkKeyRange(api.KeyRange o) { |
807 buildCounterKeyRange++; | 807 buildCounterKeyRange++; |
808 if (buildCounterKeyRange < 3) { | 808 if (buildCounterKeyRange < 3) { |
809 checkUnnamed2064(o.endClosed); | 809 checkUnnamed2098(o.endClosed); |
810 checkUnnamed2065(o.endOpen); | 810 checkUnnamed2099(o.endOpen); |
811 checkUnnamed2066(o.startClosed); | 811 checkUnnamed2100(o.startClosed); |
812 checkUnnamed2067(o.startOpen); | 812 checkUnnamed2101(o.startOpen); |
813 } | 813 } |
814 buildCounterKeyRange--; | 814 buildCounterKeyRange--; |
815 } | 815 } |
816 | 816 |
817 buildUnnamed2068() { | 817 buildUnnamed2102() { |
818 var o = new core.List<core.Object>(); | 818 var o = new core.List<core.Object>(); |
819 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 819 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
820 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 820 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
821 return o; | 821 return o; |
822 } | 822 } |
823 | 823 |
824 checkUnnamed2068(core.List<core.Object> o) { | 824 checkUnnamed2102(core.List<core.Object> o) { |
825 unittest.expect(o, unittest.hasLength(2)); | 825 unittest.expect(o, unittest.hasLength(2)); |
826 var casted11 = (o[0]) as core.Map; unittest.expect(casted11, unittest.hasLengt
h(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["string
"], unittest.equals('foo')); | 826 var casted11 = (o[0]) as core.Map; unittest.expect(casted11, unittest.hasLengt
h(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["string
"], unittest.equals('foo')); |
827 var casted12 = (o[1]) as core.Map; unittest.expect(casted12, unittest.hasLengt
h(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["string
"], unittest.equals('foo')); | 827 var casted12 = (o[1]) as core.Map; unittest.expect(casted12, unittest.hasLengt
h(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["string
"], unittest.equals('foo')); |
828 } | 828 } |
829 | 829 |
830 buildUnnamed2069() { | 830 buildUnnamed2103() { |
831 var o = new core.List<core.List<core.Object>>(); | 831 var o = new core.List<core.List<core.Object>>(); |
832 o.add(buildUnnamed2068()); | 832 o.add(buildUnnamed2102()); |
833 o.add(buildUnnamed2068()); | 833 o.add(buildUnnamed2102()); |
834 return o; | 834 return o; |
835 } | 835 } |
836 | 836 |
837 checkUnnamed2069(core.List<core.List<core.Object>> o) { | 837 checkUnnamed2103(core.List<core.List<core.Object>> o) { |
838 unittest.expect(o, unittest.hasLength(2)); | 838 unittest.expect(o, unittest.hasLength(2)); |
839 checkUnnamed2068(o[0]); | 839 checkUnnamed2102(o[0]); |
840 checkUnnamed2068(o[1]); | 840 checkUnnamed2102(o[1]); |
841 } | 841 } |
842 | 842 |
843 buildUnnamed2070() { | 843 buildUnnamed2104() { |
844 var o = new core.List<api.KeyRange>(); | 844 var o = new core.List<api.KeyRange>(); |
845 o.add(buildKeyRange()); | 845 o.add(buildKeyRange()); |
846 o.add(buildKeyRange()); | 846 o.add(buildKeyRange()); |
847 return o; | 847 return o; |
848 } | 848 } |
849 | 849 |
850 checkUnnamed2070(core.List<api.KeyRange> o) { | 850 checkUnnamed2104(core.List<api.KeyRange> o) { |
851 unittest.expect(o, unittest.hasLength(2)); | 851 unittest.expect(o, unittest.hasLength(2)); |
852 checkKeyRange(o[0]); | 852 checkKeyRange(o[0]); |
853 checkKeyRange(o[1]); | 853 checkKeyRange(o[1]); |
854 } | 854 } |
855 | 855 |
856 core.int buildCounterKeySet = 0; | 856 core.int buildCounterKeySet = 0; |
857 buildKeySet() { | 857 buildKeySet() { |
858 var o = new api.KeySet(); | 858 var o = new api.KeySet(); |
859 buildCounterKeySet++; | 859 buildCounterKeySet++; |
860 if (buildCounterKeySet < 3) { | 860 if (buildCounterKeySet < 3) { |
861 o.all = true; | 861 o.all = true; |
862 o.keys = buildUnnamed2069(); | 862 o.keys = buildUnnamed2103(); |
863 o.ranges = buildUnnamed2070(); | 863 o.ranges = buildUnnamed2104(); |
864 } | 864 } |
865 buildCounterKeySet--; | 865 buildCounterKeySet--; |
866 return o; | 866 return o; |
867 } | 867 } |
868 | 868 |
869 checkKeySet(api.KeySet o) { | 869 checkKeySet(api.KeySet o) { |
870 buildCounterKeySet++; | 870 buildCounterKeySet++; |
871 if (buildCounterKeySet < 3) { | 871 if (buildCounterKeySet < 3) { |
872 unittest.expect(o.all, unittest.isTrue); | 872 unittest.expect(o.all, unittest.isTrue); |
873 checkUnnamed2069(o.keys); | 873 checkUnnamed2103(o.keys); |
874 checkUnnamed2070(o.ranges); | 874 checkUnnamed2104(o.ranges); |
875 } | 875 } |
876 buildCounterKeySet--; | 876 buildCounterKeySet--; |
877 } | 877 } |
878 | 878 |
879 buildUnnamed2071() { | 879 buildUnnamed2105() { |
880 var o = new core.List<api.Database>(); | 880 var o = new core.List<api.Database>(); |
881 o.add(buildDatabase()); | 881 o.add(buildDatabase()); |
882 o.add(buildDatabase()); | 882 o.add(buildDatabase()); |
883 return o; | 883 return o; |
884 } | 884 } |
885 | 885 |
886 checkUnnamed2071(core.List<api.Database> o) { | 886 checkUnnamed2105(core.List<api.Database> o) { |
887 unittest.expect(o, unittest.hasLength(2)); | 887 unittest.expect(o, unittest.hasLength(2)); |
888 checkDatabase(o[0]); | 888 checkDatabase(o[0]); |
889 checkDatabase(o[1]); | 889 checkDatabase(o[1]); |
890 } | 890 } |
891 | 891 |
892 core.int buildCounterListDatabasesResponse = 0; | 892 core.int buildCounterListDatabasesResponse = 0; |
893 buildListDatabasesResponse() { | 893 buildListDatabasesResponse() { |
894 var o = new api.ListDatabasesResponse(); | 894 var o = new api.ListDatabasesResponse(); |
895 buildCounterListDatabasesResponse++; | 895 buildCounterListDatabasesResponse++; |
896 if (buildCounterListDatabasesResponse < 3) { | 896 if (buildCounterListDatabasesResponse < 3) { |
897 o.databases = buildUnnamed2071(); | 897 o.databases = buildUnnamed2105(); |
898 o.nextPageToken = "foo"; | 898 o.nextPageToken = "foo"; |
899 } | 899 } |
900 buildCounterListDatabasesResponse--; | 900 buildCounterListDatabasesResponse--; |
901 return o; | 901 return o; |
902 } | 902 } |
903 | 903 |
904 checkListDatabasesResponse(api.ListDatabasesResponse o) { | 904 checkListDatabasesResponse(api.ListDatabasesResponse o) { |
905 buildCounterListDatabasesResponse++; | 905 buildCounterListDatabasesResponse++; |
906 if (buildCounterListDatabasesResponse < 3) { | 906 if (buildCounterListDatabasesResponse < 3) { |
907 checkUnnamed2071(o.databases); | 907 checkUnnamed2105(o.databases); |
908 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 908 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
909 } | 909 } |
910 buildCounterListDatabasesResponse--; | 910 buildCounterListDatabasesResponse--; |
911 } | 911 } |
912 | 912 |
913 buildUnnamed2072() { | 913 buildUnnamed2106() { |
914 var o = new core.List<api.InstanceConfig>(); | 914 var o = new core.List<api.InstanceConfig>(); |
915 o.add(buildInstanceConfig()); | 915 o.add(buildInstanceConfig()); |
916 o.add(buildInstanceConfig()); | 916 o.add(buildInstanceConfig()); |
917 return o; | 917 return o; |
918 } | 918 } |
919 | 919 |
920 checkUnnamed2072(core.List<api.InstanceConfig> o) { | 920 checkUnnamed2106(core.List<api.InstanceConfig> o) { |
921 unittest.expect(o, unittest.hasLength(2)); | 921 unittest.expect(o, unittest.hasLength(2)); |
922 checkInstanceConfig(o[0]); | 922 checkInstanceConfig(o[0]); |
923 checkInstanceConfig(o[1]); | 923 checkInstanceConfig(o[1]); |
924 } | 924 } |
925 | 925 |
926 core.int buildCounterListInstanceConfigsResponse = 0; | 926 core.int buildCounterListInstanceConfigsResponse = 0; |
927 buildListInstanceConfigsResponse() { | 927 buildListInstanceConfigsResponse() { |
928 var o = new api.ListInstanceConfigsResponse(); | 928 var o = new api.ListInstanceConfigsResponse(); |
929 buildCounterListInstanceConfigsResponse++; | 929 buildCounterListInstanceConfigsResponse++; |
930 if (buildCounterListInstanceConfigsResponse < 3) { | 930 if (buildCounterListInstanceConfigsResponse < 3) { |
931 o.instanceConfigs = buildUnnamed2072(); | 931 o.instanceConfigs = buildUnnamed2106(); |
932 o.nextPageToken = "foo"; | 932 o.nextPageToken = "foo"; |
933 } | 933 } |
934 buildCounterListInstanceConfigsResponse--; | 934 buildCounterListInstanceConfigsResponse--; |
935 return o; | 935 return o; |
936 } | 936 } |
937 | 937 |
938 checkListInstanceConfigsResponse(api.ListInstanceConfigsResponse o) { | 938 checkListInstanceConfigsResponse(api.ListInstanceConfigsResponse o) { |
939 buildCounterListInstanceConfigsResponse++; | 939 buildCounterListInstanceConfigsResponse++; |
940 if (buildCounterListInstanceConfigsResponse < 3) { | 940 if (buildCounterListInstanceConfigsResponse < 3) { |
941 checkUnnamed2072(o.instanceConfigs); | 941 checkUnnamed2106(o.instanceConfigs); |
942 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 942 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
943 } | 943 } |
944 buildCounterListInstanceConfigsResponse--; | 944 buildCounterListInstanceConfigsResponse--; |
945 } | 945 } |
946 | 946 |
947 buildUnnamed2073() { | 947 buildUnnamed2107() { |
948 var o = new core.List<api.Instance>(); | 948 var o = new core.List<api.Instance>(); |
949 o.add(buildInstance()); | 949 o.add(buildInstance()); |
950 o.add(buildInstance()); | 950 o.add(buildInstance()); |
951 return o; | 951 return o; |
952 } | 952 } |
953 | 953 |
954 checkUnnamed2073(core.List<api.Instance> o) { | 954 checkUnnamed2107(core.List<api.Instance> o) { |
955 unittest.expect(o, unittest.hasLength(2)); | 955 unittest.expect(o, unittest.hasLength(2)); |
956 checkInstance(o[0]); | 956 checkInstance(o[0]); |
957 checkInstance(o[1]); | 957 checkInstance(o[1]); |
958 } | 958 } |
959 | 959 |
960 core.int buildCounterListInstancesResponse = 0; | 960 core.int buildCounterListInstancesResponse = 0; |
961 buildListInstancesResponse() { | 961 buildListInstancesResponse() { |
962 var o = new api.ListInstancesResponse(); | 962 var o = new api.ListInstancesResponse(); |
963 buildCounterListInstancesResponse++; | 963 buildCounterListInstancesResponse++; |
964 if (buildCounterListInstancesResponse < 3) { | 964 if (buildCounterListInstancesResponse < 3) { |
965 o.instances = buildUnnamed2073(); | 965 o.instances = buildUnnamed2107(); |
966 o.nextPageToken = "foo"; | 966 o.nextPageToken = "foo"; |
967 } | 967 } |
968 buildCounterListInstancesResponse--; | 968 buildCounterListInstancesResponse--; |
969 return o; | 969 return o; |
970 } | 970 } |
971 | 971 |
972 checkListInstancesResponse(api.ListInstancesResponse o) { | 972 checkListInstancesResponse(api.ListInstancesResponse o) { |
973 buildCounterListInstancesResponse++; | 973 buildCounterListInstancesResponse++; |
974 if (buildCounterListInstancesResponse < 3) { | 974 if (buildCounterListInstancesResponse < 3) { |
975 checkUnnamed2073(o.instances); | 975 checkUnnamed2107(o.instances); |
976 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 976 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
977 } | 977 } |
978 buildCounterListInstancesResponse--; | 978 buildCounterListInstancesResponse--; |
979 } | 979 } |
980 | 980 |
981 buildUnnamed2074() { | 981 buildUnnamed2108() { |
982 var o = new core.List<api.Operation>(); | 982 var o = new core.List<api.Operation>(); |
983 o.add(buildOperation()); | 983 o.add(buildOperation()); |
984 o.add(buildOperation()); | 984 o.add(buildOperation()); |
985 return o; | 985 return o; |
986 } | 986 } |
987 | 987 |
988 checkUnnamed2074(core.List<api.Operation> o) { | 988 checkUnnamed2108(core.List<api.Operation> o) { |
989 unittest.expect(o, unittest.hasLength(2)); | 989 unittest.expect(o, unittest.hasLength(2)); |
990 checkOperation(o[0]); | 990 checkOperation(o[0]); |
991 checkOperation(o[1]); | 991 checkOperation(o[1]); |
992 } | 992 } |
993 | 993 |
994 core.int buildCounterListOperationsResponse = 0; | 994 core.int buildCounterListOperationsResponse = 0; |
995 buildListOperationsResponse() { | 995 buildListOperationsResponse() { |
996 var o = new api.ListOperationsResponse(); | 996 var o = new api.ListOperationsResponse(); |
997 buildCounterListOperationsResponse++; | 997 buildCounterListOperationsResponse++; |
998 if (buildCounterListOperationsResponse < 3) { | 998 if (buildCounterListOperationsResponse < 3) { |
999 o.nextPageToken = "foo"; | 999 o.nextPageToken = "foo"; |
1000 o.operations = buildUnnamed2074(); | 1000 o.operations = buildUnnamed2108(); |
1001 } | 1001 } |
1002 buildCounterListOperationsResponse--; | 1002 buildCounterListOperationsResponse--; |
1003 return o; | 1003 return o; |
1004 } | 1004 } |
1005 | 1005 |
1006 checkListOperationsResponse(api.ListOperationsResponse o) { | 1006 checkListOperationsResponse(api.ListOperationsResponse o) { |
1007 buildCounterListOperationsResponse++; | 1007 buildCounterListOperationsResponse++; |
1008 if (buildCounterListOperationsResponse < 3) { | 1008 if (buildCounterListOperationsResponse < 3) { |
1009 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1009 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1010 checkUnnamed2074(o.operations); | 1010 checkUnnamed2108(o.operations); |
1011 } | 1011 } |
1012 buildCounterListOperationsResponse--; | 1012 buildCounterListOperationsResponse--; |
1013 } | 1013 } |
1014 | 1014 |
1015 core.int buildCounterLogConfig = 0; | 1015 core.int buildCounterLogConfig = 0; |
1016 buildLogConfig() { | 1016 buildLogConfig() { |
1017 var o = new api.LogConfig(); | 1017 var o = new api.LogConfig(); |
1018 buildCounterLogConfig++; | 1018 buildCounterLogConfig++; |
1019 if (buildCounterLogConfig < 3) { | 1019 if (buildCounterLogConfig < 3) { |
1020 o.cloudAudit = buildCloudAuditOptions(); | 1020 o.cloudAudit = buildCloudAuditOptions(); |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1055 if (buildCounterMutation < 3) { | 1055 if (buildCounterMutation < 3) { |
1056 checkDelete(o.delete); | 1056 checkDelete(o.delete); |
1057 checkWrite(o.insert); | 1057 checkWrite(o.insert); |
1058 checkWrite(o.insertOrUpdate); | 1058 checkWrite(o.insertOrUpdate); |
1059 checkWrite(o.replace); | 1059 checkWrite(o.replace); |
1060 checkWrite(o.update); | 1060 checkWrite(o.update); |
1061 } | 1061 } |
1062 buildCounterMutation--; | 1062 buildCounterMutation--; |
1063 } | 1063 } |
1064 | 1064 |
1065 buildUnnamed2075() { | 1065 buildUnnamed2109() { |
1066 var o = new core.Map<core.String, core.Object>(); | 1066 var o = new core.Map<core.String, core.Object>(); |
1067 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1067 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1068 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1068 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1069 return o; | 1069 return o; |
1070 } | 1070 } |
1071 | 1071 |
1072 checkUnnamed2075(core.Map<core.String, core.Object> o) { | 1072 checkUnnamed2109(core.Map<core.String, core.Object> o) { |
1073 unittest.expect(o, unittest.hasLength(2)); | 1073 unittest.expect(o, unittest.hasLength(2)); |
1074 var casted13 = (o["x"]) as core.Map; unittest.expect(casted13, unittest.hasLen
gth(3)); unittest.expect(casted13["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted13["bool"], unittest.equals(true)); unittest.expect(casted13["stri
ng"], unittest.equals('foo')); | 1074 var casted13 = (o["x"]) as core.Map; unittest.expect(casted13, unittest.hasLen
gth(3)); unittest.expect(casted13["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted13["bool"], unittest.equals(true)); unittest.expect(casted13["stri
ng"], unittest.equals('foo')); |
1075 var casted14 = (o["y"]) as core.Map; unittest.expect(casted14, unittest.hasLen
gth(3)); unittest.expect(casted14["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted14["bool"], unittest.equals(true)); unittest.expect(casted14["stri
ng"], unittest.equals('foo')); | 1075 var casted14 = (o["y"]) as core.Map; unittest.expect(casted14, unittest.hasLen
gth(3)); unittest.expect(casted14["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted14["bool"], unittest.equals(true)); unittest.expect(casted14["stri
ng"], unittest.equals('foo')); |
1076 } | 1076 } |
1077 | 1077 |
1078 buildUnnamed2076() { | 1078 buildUnnamed2110() { |
1079 var o = new core.Map<core.String, core.Object>(); | 1079 var o = new core.Map<core.String, core.Object>(); |
1080 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1080 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1081 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1081 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1082 return o; | 1082 return o; |
1083 } | 1083 } |
1084 | 1084 |
1085 checkUnnamed2076(core.Map<core.String, core.Object> o) { | 1085 checkUnnamed2110(core.Map<core.String, core.Object> o) { |
1086 unittest.expect(o, unittest.hasLength(2)); | 1086 unittest.expect(o, unittest.hasLength(2)); |
1087 var casted15 = (o["x"]) as core.Map; unittest.expect(casted15, unittest.hasLen
gth(3)); unittest.expect(casted15["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted15["bool"], unittest.equals(true)); unittest.expect(casted15["stri
ng"], unittest.equals('foo')); | 1087 var casted15 = (o["x"]) as core.Map; unittest.expect(casted15, unittest.hasLen
gth(3)); unittest.expect(casted15["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted15["bool"], unittest.equals(true)); unittest.expect(casted15["stri
ng"], unittest.equals('foo')); |
1088 var casted16 = (o["y"]) as core.Map; unittest.expect(casted16, unittest.hasLen
gth(3)); unittest.expect(casted16["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted16["bool"], unittest.equals(true)); unittest.expect(casted16["stri
ng"], unittest.equals('foo')); | 1088 var casted16 = (o["y"]) as core.Map; unittest.expect(casted16, unittest.hasLen
gth(3)); unittest.expect(casted16["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted16["bool"], unittest.equals(true)); unittest.expect(casted16["stri
ng"], unittest.equals('foo')); |
1089 } | 1089 } |
1090 | 1090 |
1091 core.int buildCounterOperation = 0; | 1091 core.int buildCounterOperation = 0; |
1092 buildOperation() { | 1092 buildOperation() { |
1093 var o = new api.Operation(); | 1093 var o = new api.Operation(); |
1094 buildCounterOperation++; | 1094 buildCounterOperation++; |
1095 if (buildCounterOperation < 3) { | 1095 if (buildCounterOperation < 3) { |
1096 o.done = true; | 1096 o.done = true; |
1097 o.error = buildStatus(); | 1097 o.error = buildStatus(); |
1098 o.metadata = buildUnnamed2075(); | 1098 o.metadata = buildUnnamed2109(); |
1099 o.name = "foo"; | 1099 o.name = "foo"; |
1100 o.response = buildUnnamed2076(); | 1100 o.response = buildUnnamed2110(); |
1101 } | 1101 } |
1102 buildCounterOperation--; | 1102 buildCounterOperation--; |
1103 return o; | 1103 return o; |
1104 } | 1104 } |
1105 | 1105 |
1106 checkOperation(api.Operation o) { | 1106 checkOperation(api.Operation o) { |
1107 buildCounterOperation++; | 1107 buildCounterOperation++; |
1108 if (buildCounterOperation < 3) { | 1108 if (buildCounterOperation < 3) { |
1109 unittest.expect(o.done, unittest.isTrue); | 1109 unittest.expect(o.done, unittest.isTrue); |
1110 checkStatus(o.error); | 1110 checkStatus(o.error); |
1111 checkUnnamed2075(o.metadata); | 1111 checkUnnamed2109(o.metadata); |
1112 unittest.expect(o.name, unittest.equals('foo')); | 1112 unittest.expect(o.name, unittest.equals('foo')); |
1113 checkUnnamed2076(o.response); | 1113 checkUnnamed2110(o.response); |
1114 } | 1114 } |
1115 buildCounterOperation--; | 1115 buildCounterOperation--; |
1116 } | 1116 } |
1117 | 1117 |
1118 buildUnnamed2077() { | 1118 buildUnnamed2111() { |
1119 var o = new core.List<core.Object>(); | 1119 var o = new core.List<core.Object>(); |
1120 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 1120 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
1121 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 1121 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
1122 return o; | 1122 return o; |
1123 } | 1123 } |
1124 | 1124 |
1125 checkUnnamed2077(core.List<core.Object> o) { | 1125 checkUnnamed2111(core.List<core.Object> o) { |
1126 unittest.expect(o, unittest.hasLength(2)); | 1126 unittest.expect(o, unittest.hasLength(2)); |
1127 var casted17 = (o[0]) as core.Map; unittest.expect(casted17, unittest.hasLengt
h(3)); unittest.expect(casted17["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted17["bool"], unittest.equals(true)); unittest.expect(casted17["string
"], unittest.equals('foo')); | 1127 var casted17 = (o[0]) as core.Map; unittest.expect(casted17, unittest.hasLengt
h(3)); unittest.expect(casted17["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted17["bool"], unittest.equals(true)); unittest.expect(casted17["string
"], unittest.equals('foo')); |
1128 var casted18 = (o[1]) as core.Map; unittest.expect(casted18, unittest.hasLengt
h(3)); unittest.expect(casted18["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted18["bool"], unittest.equals(true)); unittest.expect(casted18["string
"], unittest.equals('foo')); | 1128 var casted18 = (o[1]) as core.Map; unittest.expect(casted18, unittest.hasLengt
h(3)); unittest.expect(casted18["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted18["bool"], unittest.equals(true)); unittest.expect(casted18["string
"], unittest.equals('foo')); |
1129 } | 1129 } |
1130 | 1130 |
1131 core.int buildCounterPartialResultSet = 0; | 1131 core.int buildCounterPartialResultSet = 0; |
1132 buildPartialResultSet() { | 1132 buildPartialResultSet() { |
1133 var o = new api.PartialResultSet(); | 1133 var o = new api.PartialResultSet(); |
1134 buildCounterPartialResultSet++; | 1134 buildCounterPartialResultSet++; |
1135 if (buildCounterPartialResultSet < 3) { | 1135 if (buildCounterPartialResultSet < 3) { |
1136 o.chunkedValue = true; | 1136 o.chunkedValue = true; |
1137 o.metadata = buildResultSetMetadata(); | 1137 o.metadata = buildResultSetMetadata(); |
1138 o.resumeToken = "foo"; | 1138 o.resumeToken = "foo"; |
1139 o.stats = buildResultSetStats(); | 1139 o.stats = buildResultSetStats(); |
1140 o.values = buildUnnamed2077(); | 1140 o.values = buildUnnamed2111(); |
1141 } | 1141 } |
1142 buildCounterPartialResultSet--; | 1142 buildCounterPartialResultSet--; |
1143 return o; | 1143 return o; |
1144 } | 1144 } |
1145 | 1145 |
1146 checkPartialResultSet(api.PartialResultSet o) { | 1146 checkPartialResultSet(api.PartialResultSet o) { |
1147 buildCounterPartialResultSet++; | 1147 buildCounterPartialResultSet++; |
1148 if (buildCounterPartialResultSet < 3) { | 1148 if (buildCounterPartialResultSet < 3) { |
1149 unittest.expect(o.chunkedValue, unittest.isTrue); | 1149 unittest.expect(o.chunkedValue, unittest.isTrue); |
1150 checkResultSetMetadata(o.metadata); | 1150 checkResultSetMetadata(o.metadata); |
1151 unittest.expect(o.resumeToken, unittest.equals('foo')); | 1151 unittest.expect(o.resumeToken, unittest.equals('foo')); |
1152 checkResultSetStats(o.stats); | 1152 checkResultSetStats(o.stats); |
1153 checkUnnamed2077(o.values); | 1153 checkUnnamed2111(o.values); |
1154 } | 1154 } |
1155 buildCounterPartialResultSet--; | 1155 buildCounterPartialResultSet--; |
1156 } | 1156 } |
1157 | 1157 |
1158 buildUnnamed2078() { | 1158 buildUnnamed2112() { |
1159 var o = new core.List<api.ChildLink>(); | 1159 var o = new core.List<api.ChildLink>(); |
1160 o.add(buildChildLink()); | 1160 o.add(buildChildLink()); |
1161 o.add(buildChildLink()); | 1161 o.add(buildChildLink()); |
1162 return o; | 1162 return o; |
1163 } | 1163 } |
1164 | 1164 |
1165 checkUnnamed2078(core.List<api.ChildLink> o) { | 1165 checkUnnamed2112(core.List<api.ChildLink> o) { |
1166 unittest.expect(o, unittest.hasLength(2)); | 1166 unittest.expect(o, unittest.hasLength(2)); |
1167 checkChildLink(o[0]); | 1167 checkChildLink(o[0]); |
1168 checkChildLink(o[1]); | 1168 checkChildLink(o[1]); |
1169 } | 1169 } |
1170 | 1170 |
1171 buildUnnamed2079() { | 1171 buildUnnamed2113() { |
1172 var o = new core.Map<core.String, core.Object>(); | 1172 var o = new core.Map<core.String, core.Object>(); |
1173 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1173 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1174 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1174 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1175 return o; | 1175 return o; |
1176 } | 1176 } |
1177 | 1177 |
1178 checkUnnamed2079(core.Map<core.String, core.Object> o) { | 1178 checkUnnamed2113(core.Map<core.String, core.Object> o) { |
1179 unittest.expect(o, unittest.hasLength(2)); | 1179 unittest.expect(o, unittest.hasLength(2)); |
1180 var casted19 = (o["x"]) as core.Map; unittest.expect(casted19, unittest.hasLen
gth(3)); unittest.expect(casted19["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted19["bool"], unittest.equals(true)); unittest.expect(casted19["stri
ng"], unittest.equals('foo')); | 1180 var casted19 = (o["x"]) as core.Map; unittest.expect(casted19, unittest.hasLen
gth(3)); unittest.expect(casted19["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted19["bool"], unittest.equals(true)); unittest.expect(casted19["stri
ng"], unittest.equals('foo')); |
1181 var casted20 = (o["y"]) as core.Map; unittest.expect(casted20, unittest.hasLen
gth(3)); unittest.expect(casted20["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted20["bool"], unittest.equals(true)); unittest.expect(casted20["stri
ng"], unittest.equals('foo')); | 1181 var casted20 = (o["y"]) as core.Map; unittest.expect(casted20, unittest.hasLen
gth(3)); unittest.expect(casted20["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted20["bool"], unittest.equals(true)); unittest.expect(casted20["stri
ng"], unittest.equals('foo')); |
1182 } | 1182 } |
1183 | 1183 |
1184 buildUnnamed2080() { | 1184 buildUnnamed2114() { |
1185 var o = new core.Map<core.String, core.Object>(); | 1185 var o = new core.Map<core.String, core.Object>(); |
1186 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1186 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1187 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1187 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1188 return o; | 1188 return o; |
1189 } | 1189 } |
1190 | 1190 |
1191 checkUnnamed2080(core.Map<core.String, core.Object> o) { | 1191 checkUnnamed2114(core.Map<core.String, core.Object> o) { |
1192 unittest.expect(o, unittest.hasLength(2)); | 1192 unittest.expect(o, unittest.hasLength(2)); |
1193 var casted21 = (o["x"]) as core.Map; unittest.expect(casted21, unittest.hasLen
gth(3)); unittest.expect(casted21["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted21["bool"], unittest.equals(true)); unittest.expect(casted21["stri
ng"], unittest.equals('foo')); | 1193 var casted21 = (o["x"]) as core.Map; unittest.expect(casted21, unittest.hasLen
gth(3)); unittest.expect(casted21["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted21["bool"], unittest.equals(true)); unittest.expect(casted21["stri
ng"], unittest.equals('foo')); |
1194 var casted22 = (o["y"]) as core.Map; unittest.expect(casted22, unittest.hasLen
gth(3)); unittest.expect(casted22["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted22["bool"], unittest.equals(true)); unittest.expect(casted22["stri
ng"], unittest.equals('foo')); | 1194 var casted22 = (o["y"]) as core.Map; unittest.expect(casted22, unittest.hasLen
gth(3)); unittest.expect(casted22["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted22["bool"], unittest.equals(true)); unittest.expect(casted22["stri
ng"], unittest.equals('foo')); |
1195 } | 1195 } |
1196 | 1196 |
1197 core.int buildCounterPlanNode = 0; | 1197 core.int buildCounterPlanNode = 0; |
1198 buildPlanNode() { | 1198 buildPlanNode() { |
1199 var o = new api.PlanNode(); | 1199 var o = new api.PlanNode(); |
1200 buildCounterPlanNode++; | 1200 buildCounterPlanNode++; |
1201 if (buildCounterPlanNode < 3) { | 1201 if (buildCounterPlanNode < 3) { |
1202 o.childLinks = buildUnnamed2078(); | 1202 o.childLinks = buildUnnamed2112(); |
1203 o.displayName = "foo"; | 1203 o.displayName = "foo"; |
1204 o.executionStats = buildUnnamed2079(); | 1204 o.executionStats = buildUnnamed2113(); |
1205 o.index = 42; | 1205 o.index = 42; |
1206 o.kind = "foo"; | 1206 o.kind = "foo"; |
1207 o.metadata = buildUnnamed2080(); | 1207 o.metadata = buildUnnamed2114(); |
1208 o.shortRepresentation = buildShortRepresentation(); | 1208 o.shortRepresentation = buildShortRepresentation(); |
1209 } | 1209 } |
1210 buildCounterPlanNode--; | 1210 buildCounterPlanNode--; |
1211 return o; | 1211 return o; |
1212 } | 1212 } |
1213 | 1213 |
1214 checkPlanNode(api.PlanNode o) { | 1214 checkPlanNode(api.PlanNode o) { |
1215 buildCounterPlanNode++; | 1215 buildCounterPlanNode++; |
1216 if (buildCounterPlanNode < 3) { | 1216 if (buildCounterPlanNode < 3) { |
1217 checkUnnamed2078(o.childLinks); | 1217 checkUnnamed2112(o.childLinks); |
1218 unittest.expect(o.displayName, unittest.equals('foo')); | 1218 unittest.expect(o.displayName, unittest.equals('foo')); |
1219 checkUnnamed2079(o.executionStats); | 1219 checkUnnamed2113(o.executionStats); |
1220 unittest.expect(o.index, unittest.equals(42)); | 1220 unittest.expect(o.index, unittest.equals(42)); |
1221 unittest.expect(o.kind, unittest.equals('foo')); | 1221 unittest.expect(o.kind, unittest.equals('foo')); |
1222 checkUnnamed2080(o.metadata); | 1222 checkUnnamed2114(o.metadata); |
1223 checkShortRepresentation(o.shortRepresentation); | 1223 checkShortRepresentation(o.shortRepresentation); |
1224 } | 1224 } |
1225 buildCounterPlanNode--; | 1225 buildCounterPlanNode--; |
1226 } | 1226 } |
1227 | 1227 |
1228 buildUnnamed2081() { | 1228 buildUnnamed2115() { |
1229 var o = new core.List<api.AuditConfig>(); | 1229 var o = new core.List<api.AuditConfig>(); |
1230 o.add(buildAuditConfig()); | 1230 o.add(buildAuditConfig()); |
1231 o.add(buildAuditConfig()); | 1231 o.add(buildAuditConfig()); |
1232 return o; | 1232 return o; |
1233 } | 1233 } |
1234 | 1234 |
1235 checkUnnamed2081(core.List<api.AuditConfig> o) { | 1235 checkUnnamed2115(core.List<api.AuditConfig> o) { |
1236 unittest.expect(o, unittest.hasLength(2)); | 1236 unittest.expect(o, unittest.hasLength(2)); |
1237 checkAuditConfig(o[0]); | 1237 checkAuditConfig(o[0]); |
1238 checkAuditConfig(o[1]); | 1238 checkAuditConfig(o[1]); |
1239 } | 1239 } |
1240 | 1240 |
1241 buildUnnamed2082() { | 1241 buildUnnamed2116() { |
1242 var o = new core.List<api.Binding>(); | 1242 var o = new core.List<api.Binding>(); |
1243 o.add(buildBinding()); | 1243 o.add(buildBinding()); |
1244 o.add(buildBinding()); | 1244 o.add(buildBinding()); |
1245 return o; | 1245 return o; |
1246 } | 1246 } |
1247 | 1247 |
1248 checkUnnamed2082(core.List<api.Binding> o) { | 1248 checkUnnamed2116(core.List<api.Binding> o) { |
1249 unittest.expect(o, unittest.hasLength(2)); | 1249 unittest.expect(o, unittest.hasLength(2)); |
1250 checkBinding(o[0]); | 1250 checkBinding(o[0]); |
1251 checkBinding(o[1]); | 1251 checkBinding(o[1]); |
1252 } | 1252 } |
1253 | 1253 |
1254 buildUnnamed2083() { | 1254 buildUnnamed2117() { |
1255 var o = new core.List<api.Rule>(); | 1255 var o = new core.List<api.Rule>(); |
1256 o.add(buildRule()); | 1256 o.add(buildRule()); |
1257 o.add(buildRule()); | 1257 o.add(buildRule()); |
1258 return o; | 1258 return o; |
1259 } | 1259 } |
1260 | 1260 |
1261 checkUnnamed2083(core.List<api.Rule> o) { | 1261 checkUnnamed2117(core.List<api.Rule> o) { |
1262 unittest.expect(o, unittest.hasLength(2)); | 1262 unittest.expect(o, unittest.hasLength(2)); |
1263 checkRule(o[0]); | 1263 checkRule(o[0]); |
1264 checkRule(o[1]); | 1264 checkRule(o[1]); |
1265 } | 1265 } |
1266 | 1266 |
1267 core.int buildCounterPolicy = 0; | 1267 core.int buildCounterPolicy = 0; |
1268 buildPolicy() { | 1268 buildPolicy() { |
1269 var o = new api.Policy(); | 1269 var o = new api.Policy(); |
1270 buildCounterPolicy++; | 1270 buildCounterPolicy++; |
1271 if (buildCounterPolicy < 3) { | 1271 if (buildCounterPolicy < 3) { |
1272 o.auditConfigs = buildUnnamed2081(); | 1272 o.auditConfigs = buildUnnamed2115(); |
1273 o.bindings = buildUnnamed2082(); | 1273 o.bindings = buildUnnamed2116(); |
1274 o.etag = "foo"; | 1274 o.etag = "foo"; |
1275 o.iamOwned = true; | 1275 o.iamOwned = true; |
1276 o.rules = buildUnnamed2083(); | 1276 o.rules = buildUnnamed2117(); |
1277 o.version = 42; | 1277 o.version = 42; |
1278 } | 1278 } |
1279 buildCounterPolicy--; | 1279 buildCounterPolicy--; |
1280 return o; | 1280 return o; |
1281 } | 1281 } |
1282 | 1282 |
1283 checkPolicy(api.Policy o) { | 1283 checkPolicy(api.Policy o) { |
1284 buildCounterPolicy++; | 1284 buildCounterPolicy++; |
1285 if (buildCounterPolicy < 3) { | 1285 if (buildCounterPolicy < 3) { |
1286 checkUnnamed2081(o.auditConfigs); | 1286 checkUnnamed2115(o.auditConfigs); |
1287 checkUnnamed2082(o.bindings); | 1287 checkUnnamed2116(o.bindings); |
1288 unittest.expect(o.etag, unittest.equals('foo')); | 1288 unittest.expect(o.etag, unittest.equals('foo')); |
1289 unittest.expect(o.iamOwned, unittest.isTrue); | 1289 unittest.expect(o.iamOwned, unittest.isTrue); |
1290 checkUnnamed2083(o.rules); | 1290 checkUnnamed2117(o.rules); |
1291 unittest.expect(o.version, unittest.equals(42)); | 1291 unittest.expect(o.version, unittest.equals(42)); |
1292 } | 1292 } |
1293 buildCounterPolicy--; | 1293 buildCounterPolicy--; |
1294 } | 1294 } |
1295 | 1295 |
1296 buildUnnamed2084() { | 1296 buildUnnamed2118() { |
1297 var o = new core.List<api.PlanNode>(); | 1297 var o = new core.List<api.PlanNode>(); |
1298 o.add(buildPlanNode()); | 1298 o.add(buildPlanNode()); |
1299 o.add(buildPlanNode()); | 1299 o.add(buildPlanNode()); |
1300 return o; | 1300 return o; |
1301 } | 1301 } |
1302 | 1302 |
1303 checkUnnamed2084(core.List<api.PlanNode> o) { | 1303 checkUnnamed2118(core.List<api.PlanNode> o) { |
1304 unittest.expect(o, unittest.hasLength(2)); | 1304 unittest.expect(o, unittest.hasLength(2)); |
1305 checkPlanNode(o[0]); | 1305 checkPlanNode(o[0]); |
1306 checkPlanNode(o[1]); | 1306 checkPlanNode(o[1]); |
1307 } | 1307 } |
1308 | 1308 |
1309 core.int buildCounterQueryPlan = 0; | 1309 core.int buildCounterQueryPlan = 0; |
1310 buildQueryPlan() { | 1310 buildQueryPlan() { |
1311 var o = new api.QueryPlan(); | 1311 var o = new api.QueryPlan(); |
1312 buildCounterQueryPlan++; | 1312 buildCounterQueryPlan++; |
1313 if (buildCounterQueryPlan < 3) { | 1313 if (buildCounterQueryPlan < 3) { |
1314 o.planNodes = buildUnnamed2084(); | 1314 o.planNodes = buildUnnamed2118(); |
1315 } | 1315 } |
1316 buildCounterQueryPlan--; | 1316 buildCounterQueryPlan--; |
1317 return o; | 1317 return o; |
1318 } | 1318 } |
1319 | 1319 |
1320 checkQueryPlan(api.QueryPlan o) { | 1320 checkQueryPlan(api.QueryPlan o) { |
1321 buildCounterQueryPlan++; | 1321 buildCounterQueryPlan++; |
1322 if (buildCounterQueryPlan < 3) { | 1322 if (buildCounterQueryPlan < 3) { |
1323 checkUnnamed2084(o.planNodes); | 1323 checkUnnamed2118(o.planNodes); |
1324 } | 1324 } |
1325 buildCounterQueryPlan--; | 1325 buildCounterQueryPlan--; |
1326 } | 1326 } |
1327 | 1327 |
1328 core.int buildCounterReadOnly = 0; | 1328 core.int buildCounterReadOnly = 0; |
1329 buildReadOnly() { | 1329 buildReadOnly() { |
1330 var o = new api.ReadOnly(); | 1330 var o = new api.ReadOnly(); |
1331 buildCounterReadOnly++; | 1331 buildCounterReadOnly++; |
1332 if (buildCounterReadOnly < 3) { | 1332 if (buildCounterReadOnly < 3) { |
1333 o.exactStaleness = "foo"; | 1333 o.exactStaleness = "foo"; |
(...skipping 13 matching lines...) Expand all Loading... |
1347 unittest.expect(o.exactStaleness, unittest.equals('foo')); | 1347 unittest.expect(o.exactStaleness, unittest.equals('foo')); |
1348 unittest.expect(o.maxStaleness, unittest.equals('foo')); | 1348 unittest.expect(o.maxStaleness, unittest.equals('foo')); |
1349 unittest.expect(o.minReadTimestamp, unittest.equals('foo')); | 1349 unittest.expect(o.minReadTimestamp, unittest.equals('foo')); |
1350 unittest.expect(o.readTimestamp, unittest.equals('foo')); | 1350 unittest.expect(o.readTimestamp, unittest.equals('foo')); |
1351 unittest.expect(o.returnReadTimestamp, unittest.isTrue); | 1351 unittest.expect(o.returnReadTimestamp, unittest.isTrue); |
1352 unittest.expect(o.strong, unittest.isTrue); | 1352 unittest.expect(o.strong, unittest.isTrue); |
1353 } | 1353 } |
1354 buildCounterReadOnly--; | 1354 buildCounterReadOnly--; |
1355 } | 1355 } |
1356 | 1356 |
1357 buildUnnamed2085() { | 1357 buildUnnamed2119() { |
1358 var o = new core.List<core.String>(); | 1358 var o = new core.List<core.String>(); |
1359 o.add("foo"); | 1359 o.add("foo"); |
1360 o.add("foo"); | 1360 o.add("foo"); |
1361 return o; | 1361 return o; |
1362 } | 1362 } |
1363 | 1363 |
1364 checkUnnamed2085(core.List<core.String> o) { | 1364 checkUnnamed2119(core.List<core.String> o) { |
1365 unittest.expect(o, unittest.hasLength(2)); | 1365 unittest.expect(o, unittest.hasLength(2)); |
1366 unittest.expect(o[0], unittest.equals('foo')); | 1366 unittest.expect(o[0], unittest.equals('foo')); |
1367 unittest.expect(o[1], unittest.equals('foo')); | 1367 unittest.expect(o[1], unittest.equals('foo')); |
1368 } | 1368 } |
1369 | 1369 |
1370 core.int buildCounterReadRequest = 0; | 1370 core.int buildCounterReadRequest = 0; |
1371 buildReadRequest() { | 1371 buildReadRequest() { |
1372 var o = new api.ReadRequest(); | 1372 var o = new api.ReadRequest(); |
1373 buildCounterReadRequest++; | 1373 buildCounterReadRequest++; |
1374 if (buildCounterReadRequest < 3) { | 1374 if (buildCounterReadRequest < 3) { |
1375 o.columns = buildUnnamed2085(); | 1375 o.columns = buildUnnamed2119(); |
1376 o.index = "foo"; | 1376 o.index = "foo"; |
1377 o.keySet = buildKeySet(); | 1377 o.keySet = buildKeySet(); |
1378 o.limit = "foo"; | 1378 o.limit = "foo"; |
1379 o.resumeToken = "foo"; | 1379 o.resumeToken = "foo"; |
1380 o.table = "foo"; | 1380 o.table = "foo"; |
1381 o.transaction = buildTransactionSelector(); | 1381 o.transaction = buildTransactionSelector(); |
1382 } | 1382 } |
1383 buildCounterReadRequest--; | 1383 buildCounterReadRequest--; |
1384 return o; | 1384 return o; |
1385 } | 1385 } |
1386 | 1386 |
1387 checkReadRequest(api.ReadRequest o) { | 1387 checkReadRequest(api.ReadRequest o) { |
1388 buildCounterReadRequest++; | 1388 buildCounterReadRequest++; |
1389 if (buildCounterReadRequest < 3) { | 1389 if (buildCounterReadRequest < 3) { |
1390 checkUnnamed2085(o.columns); | 1390 checkUnnamed2119(o.columns); |
1391 unittest.expect(o.index, unittest.equals('foo')); | 1391 unittest.expect(o.index, unittest.equals('foo')); |
1392 checkKeySet(o.keySet); | 1392 checkKeySet(o.keySet); |
1393 unittest.expect(o.limit, unittest.equals('foo')); | 1393 unittest.expect(o.limit, unittest.equals('foo')); |
1394 unittest.expect(o.resumeToken, unittest.equals('foo')); | 1394 unittest.expect(o.resumeToken, unittest.equals('foo')); |
1395 unittest.expect(o.table, unittest.equals('foo')); | 1395 unittest.expect(o.table, unittest.equals('foo')); |
1396 checkTransactionSelector(o.transaction); | 1396 checkTransactionSelector(o.transaction); |
1397 } | 1397 } |
1398 buildCounterReadRequest--; | 1398 buildCounterReadRequest--; |
1399 } | 1399 } |
1400 | 1400 |
1401 core.int buildCounterReadWrite = 0; | 1401 core.int buildCounterReadWrite = 0; |
1402 buildReadWrite() { | 1402 buildReadWrite() { |
1403 var o = new api.ReadWrite(); | 1403 var o = new api.ReadWrite(); |
1404 buildCounterReadWrite++; | 1404 buildCounterReadWrite++; |
1405 if (buildCounterReadWrite < 3) { | 1405 if (buildCounterReadWrite < 3) { |
1406 } | 1406 } |
1407 buildCounterReadWrite--; | 1407 buildCounterReadWrite--; |
1408 return o; | 1408 return o; |
1409 } | 1409 } |
1410 | 1410 |
1411 checkReadWrite(api.ReadWrite o) { | 1411 checkReadWrite(api.ReadWrite o) { |
1412 buildCounterReadWrite++; | 1412 buildCounterReadWrite++; |
1413 if (buildCounterReadWrite < 3) { | 1413 if (buildCounterReadWrite < 3) { |
1414 } | 1414 } |
1415 buildCounterReadWrite--; | 1415 buildCounterReadWrite--; |
1416 } | 1416 } |
1417 | 1417 |
1418 buildUnnamed2086() { | 1418 buildUnnamed2120() { |
1419 var o = new core.List<core.Object>(); | 1419 var o = new core.List<core.Object>(); |
1420 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 1420 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
1421 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 1421 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
1422 return o; | 1422 return o; |
1423 } | 1423 } |
1424 | 1424 |
1425 checkUnnamed2086(core.List<core.Object> o) { | 1425 checkUnnamed2120(core.List<core.Object> o) { |
1426 unittest.expect(o, unittest.hasLength(2)); | 1426 unittest.expect(o, unittest.hasLength(2)); |
1427 var casted23 = (o[0]) as core.Map; unittest.expect(casted23, unittest.hasLengt
h(3)); unittest.expect(casted23["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted23["bool"], unittest.equals(true)); unittest.expect(casted23["string
"], unittest.equals('foo')); | 1427 var casted23 = (o[0]) as core.Map; unittest.expect(casted23, unittest.hasLengt
h(3)); unittest.expect(casted23["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted23["bool"], unittest.equals(true)); unittest.expect(casted23["string
"], unittest.equals('foo')); |
1428 var casted24 = (o[1]) as core.Map; unittest.expect(casted24, unittest.hasLengt
h(3)); unittest.expect(casted24["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted24["bool"], unittest.equals(true)); unittest.expect(casted24["string
"], unittest.equals('foo')); | 1428 var casted24 = (o[1]) as core.Map; unittest.expect(casted24, unittest.hasLengt
h(3)); unittest.expect(casted24["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted24["bool"], unittest.equals(true)); unittest.expect(casted24["string
"], unittest.equals('foo')); |
1429 } | 1429 } |
1430 | 1430 |
1431 buildUnnamed2087() { | 1431 buildUnnamed2121() { |
1432 var o = new core.List<core.List<core.Object>>(); | 1432 var o = new core.List<core.List<core.Object>>(); |
1433 o.add(buildUnnamed2086()); | 1433 o.add(buildUnnamed2120()); |
1434 o.add(buildUnnamed2086()); | 1434 o.add(buildUnnamed2120()); |
1435 return o; | 1435 return o; |
1436 } | 1436 } |
1437 | 1437 |
1438 checkUnnamed2087(core.List<core.List<core.Object>> o) { | 1438 checkUnnamed2121(core.List<core.List<core.Object>> o) { |
1439 unittest.expect(o, unittest.hasLength(2)); | 1439 unittest.expect(o, unittest.hasLength(2)); |
1440 checkUnnamed2086(o[0]); | 1440 checkUnnamed2120(o[0]); |
1441 checkUnnamed2086(o[1]); | 1441 checkUnnamed2120(o[1]); |
1442 } | 1442 } |
1443 | 1443 |
1444 core.int buildCounterResultSet = 0; | 1444 core.int buildCounterResultSet = 0; |
1445 buildResultSet() { | 1445 buildResultSet() { |
1446 var o = new api.ResultSet(); | 1446 var o = new api.ResultSet(); |
1447 buildCounterResultSet++; | 1447 buildCounterResultSet++; |
1448 if (buildCounterResultSet < 3) { | 1448 if (buildCounterResultSet < 3) { |
1449 o.metadata = buildResultSetMetadata(); | 1449 o.metadata = buildResultSetMetadata(); |
1450 o.rows = buildUnnamed2087(); | 1450 o.rows = buildUnnamed2121(); |
1451 o.stats = buildResultSetStats(); | 1451 o.stats = buildResultSetStats(); |
1452 } | 1452 } |
1453 buildCounterResultSet--; | 1453 buildCounterResultSet--; |
1454 return o; | 1454 return o; |
1455 } | 1455 } |
1456 | 1456 |
1457 checkResultSet(api.ResultSet o) { | 1457 checkResultSet(api.ResultSet o) { |
1458 buildCounterResultSet++; | 1458 buildCounterResultSet++; |
1459 if (buildCounterResultSet < 3) { | 1459 if (buildCounterResultSet < 3) { |
1460 checkResultSetMetadata(o.metadata); | 1460 checkResultSetMetadata(o.metadata); |
1461 checkUnnamed2087(o.rows); | 1461 checkUnnamed2121(o.rows); |
1462 checkResultSetStats(o.stats); | 1462 checkResultSetStats(o.stats); |
1463 } | 1463 } |
1464 buildCounterResultSet--; | 1464 buildCounterResultSet--; |
1465 } | 1465 } |
1466 | 1466 |
1467 core.int buildCounterResultSetMetadata = 0; | 1467 core.int buildCounterResultSetMetadata = 0; |
1468 buildResultSetMetadata() { | 1468 buildResultSetMetadata() { |
1469 var o = new api.ResultSetMetadata(); | 1469 var o = new api.ResultSetMetadata(); |
1470 buildCounterResultSetMetadata++; | 1470 buildCounterResultSetMetadata++; |
1471 if (buildCounterResultSetMetadata < 3) { | 1471 if (buildCounterResultSetMetadata < 3) { |
1472 o.rowType = buildStructType(); | 1472 o.rowType = buildStructType(); |
1473 o.transaction = buildTransaction(); | 1473 o.transaction = buildTransaction(); |
1474 } | 1474 } |
1475 buildCounterResultSetMetadata--; | 1475 buildCounterResultSetMetadata--; |
1476 return o; | 1476 return o; |
1477 } | 1477 } |
1478 | 1478 |
1479 checkResultSetMetadata(api.ResultSetMetadata o) { | 1479 checkResultSetMetadata(api.ResultSetMetadata o) { |
1480 buildCounterResultSetMetadata++; | 1480 buildCounterResultSetMetadata++; |
1481 if (buildCounterResultSetMetadata < 3) { | 1481 if (buildCounterResultSetMetadata < 3) { |
1482 checkStructType(o.rowType); | 1482 checkStructType(o.rowType); |
1483 checkTransaction(o.transaction); | 1483 checkTransaction(o.transaction); |
1484 } | 1484 } |
1485 buildCounterResultSetMetadata--; | 1485 buildCounterResultSetMetadata--; |
1486 } | 1486 } |
1487 | 1487 |
1488 buildUnnamed2088() { | 1488 buildUnnamed2122() { |
1489 var o = new core.Map<core.String, core.Object>(); | 1489 var o = new core.Map<core.String, core.Object>(); |
1490 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1490 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1491 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1491 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1492 return o; | 1492 return o; |
1493 } | 1493 } |
1494 | 1494 |
1495 checkUnnamed2088(core.Map<core.String, core.Object> o) { | 1495 checkUnnamed2122(core.Map<core.String, core.Object> o) { |
1496 unittest.expect(o, unittest.hasLength(2)); | 1496 unittest.expect(o, unittest.hasLength(2)); |
1497 var casted25 = (o["x"]) as core.Map; unittest.expect(casted25, unittest.hasLen
gth(3)); unittest.expect(casted25["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted25["bool"], unittest.equals(true)); unittest.expect(casted25["stri
ng"], unittest.equals('foo')); | 1497 var casted25 = (o["x"]) as core.Map; unittest.expect(casted25, unittest.hasLen
gth(3)); unittest.expect(casted25["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted25["bool"], unittest.equals(true)); unittest.expect(casted25["stri
ng"], unittest.equals('foo')); |
1498 var casted26 = (o["y"]) as core.Map; unittest.expect(casted26, unittest.hasLen
gth(3)); unittest.expect(casted26["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted26["bool"], unittest.equals(true)); unittest.expect(casted26["stri
ng"], unittest.equals('foo')); | 1498 var casted26 = (o["y"]) as core.Map; unittest.expect(casted26, unittest.hasLen
gth(3)); unittest.expect(casted26["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted26["bool"], unittest.equals(true)); unittest.expect(casted26["stri
ng"], unittest.equals('foo')); |
1499 } | 1499 } |
1500 | 1500 |
1501 core.int buildCounterResultSetStats = 0; | 1501 core.int buildCounterResultSetStats = 0; |
1502 buildResultSetStats() { | 1502 buildResultSetStats() { |
1503 var o = new api.ResultSetStats(); | 1503 var o = new api.ResultSetStats(); |
1504 buildCounterResultSetStats++; | 1504 buildCounterResultSetStats++; |
1505 if (buildCounterResultSetStats < 3) { | 1505 if (buildCounterResultSetStats < 3) { |
1506 o.queryPlan = buildQueryPlan(); | 1506 o.queryPlan = buildQueryPlan(); |
1507 o.queryStats = buildUnnamed2088(); | 1507 o.queryStats = buildUnnamed2122(); |
1508 } | 1508 } |
1509 buildCounterResultSetStats--; | 1509 buildCounterResultSetStats--; |
1510 return o; | 1510 return o; |
1511 } | 1511 } |
1512 | 1512 |
1513 checkResultSetStats(api.ResultSetStats o) { | 1513 checkResultSetStats(api.ResultSetStats o) { |
1514 buildCounterResultSetStats++; | 1514 buildCounterResultSetStats++; |
1515 if (buildCounterResultSetStats < 3) { | 1515 if (buildCounterResultSetStats < 3) { |
1516 checkQueryPlan(o.queryPlan); | 1516 checkQueryPlan(o.queryPlan); |
1517 checkUnnamed2088(o.queryStats); | 1517 checkUnnamed2122(o.queryStats); |
1518 } | 1518 } |
1519 buildCounterResultSetStats--; | 1519 buildCounterResultSetStats--; |
1520 } | 1520 } |
1521 | 1521 |
1522 core.int buildCounterRollbackRequest = 0; | 1522 core.int buildCounterRollbackRequest = 0; |
1523 buildRollbackRequest() { | 1523 buildRollbackRequest() { |
1524 var o = new api.RollbackRequest(); | 1524 var o = new api.RollbackRequest(); |
1525 buildCounterRollbackRequest++; | 1525 buildCounterRollbackRequest++; |
1526 if (buildCounterRollbackRequest < 3) { | 1526 if (buildCounterRollbackRequest < 3) { |
1527 o.transactionId = "foo"; | 1527 o.transactionId = "foo"; |
1528 } | 1528 } |
1529 buildCounterRollbackRequest--; | 1529 buildCounterRollbackRequest--; |
1530 return o; | 1530 return o; |
1531 } | 1531 } |
1532 | 1532 |
1533 checkRollbackRequest(api.RollbackRequest o) { | 1533 checkRollbackRequest(api.RollbackRequest o) { |
1534 buildCounterRollbackRequest++; | 1534 buildCounterRollbackRequest++; |
1535 if (buildCounterRollbackRequest < 3) { | 1535 if (buildCounterRollbackRequest < 3) { |
1536 unittest.expect(o.transactionId, unittest.equals('foo')); | 1536 unittest.expect(o.transactionId, unittest.equals('foo')); |
1537 } | 1537 } |
1538 buildCounterRollbackRequest--; | 1538 buildCounterRollbackRequest--; |
1539 } | 1539 } |
1540 | 1540 |
1541 buildUnnamed2089() { | 1541 buildUnnamed2123() { |
1542 var o = new core.List<api.Condition>(); | 1542 var o = new core.List<api.Condition>(); |
1543 o.add(buildCondition()); | 1543 o.add(buildCondition()); |
1544 o.add(buildCondition()); | 1544 o.add(buildCondition()); |
1545 return o; | 1545 return o; |
1546 } | 1546 } |
1547 | 1547 |
1548 checkUnnamed2089(core.List<api.Condition> o) { | 1548 checkUnnamed2123(core.List<api.Condition> o) { |
1549 unittest.expect(o, unittest.hasLength(2)); | 1549 unittest.expect(o, unittest.hasLength(2)); |
1550 checkCondition(o[0]); | 1550 checkCondition(o[0]); |
1551 checkCondition(o[1]); | 1551 checkCondition(o[1]); |
1552 } | 1552 } |
1553 | 1553 |
1554 buildUnnamed2090() { | 1554 buildUnnamed2124() { |
1555 var o = new core.List<core.String>(); | 1555 var o = new core.List<core.String>(); |
1556 o.add("foo"); | 1556 o.add("foo"); |
1557 o.add("foo"); | 1557 o.add("foo"); |
1558 return o; | 1558 return o; |
1559 } | 1559 } |
1560 | 1560 |
1561 checkUnnamed2090(core.List<core.String> o) { | 1561 checkUnnamed2124(core.List<core.String> o) { |
1562 unittest.expect(o, unittest.hasLength(2)); | 1562 unittest.expect(o, unittest.hasLength(2)); |
1563 unittest.expect(o[0], unittest.equals('foo')); | 1563 unittest.expect(o[0], unittest.equals('foo')); |
1564 unittest.expect(o[1], unittest.equals('foo')); | 1564 unittest.expect(o[1], unittest.equals('foo')); |
1565 } | 1565 } |
1566 | 1566 |
1567 buildUnnamed2091() { | 1567 buildUnnamed2125() { |
1568 var o = new core.List<api.LogConfig>(); | 1568 var o = new core.List<api.LogConfig>(); |
1569 o.add(buildLogConfig()); | 1569 o.add(buildLogConfig()); |
1570 o.add(buildLogConfig()); | 1570 o.add(buildLogConfig()); |
1571 return o; | 1571 return o; |
1572 } | 1572 } |
1573 | 1573 |
1574 checkUnnamed2091(core.List<api.LogConfig> o) { | 1574 checkUnnamed2125(core.List<api.LogConfig> o) { |
1575 unittest.expect(o, unittest.hasLength(2)); | 1575 unittest.expect(o, unittest.hasLength(2)); |
1576 checkLogConfig(o[0]); | 1576 checkLogConfig(o[0]); |
1577 checkLogConfig(o[1]); | 1577 checkLogConfig(o[1]); |
1578 } | 1578 } |
1579 | 1579 |
1580 buildUnnamed2092() { | 1580 buildUnnamed2126() { |
1581 var o = new core.List<core.String>(); | 1581 var o = new core.List<core.String>(); |
1582 o.add("foo"); | 1582 o.add("foo"); |
1583 o.add("foo"); | 1583 o.add("foo"); |
1584 return o; | 1584 return o; |
1585 } | 1585 } |
1586 | 1586 |
1587 checkUnnamed2092(core.List<core.String> o) { | 1587 checkUnnamed2126(core.List<core.String> o) { |
1588 unittest.expect(o, unittest.hasLength(2)); | 1588 unittest.expect(o, unittest.hasLength(2)); |
1589 unittest.expect(o[0], unittest.equals('foo')); | 1589 unittest.expect(o[0], unittest.equals('foo')); |
1590 unittest.expect(o[1], unittest.equals('foo')); | 1590 unittest.expect(o[1], unittest.equals('foo')); |
1591 } | 1591 } |
1592 | 1592 |
1593 buildUnnamed2093() { | 1593 buildUnnamed2127() { |
1594 var o = new core.List<core.String>(); | 1594 var o = new core.List<core.String>(); |
1595 o.add("foo"); | 1595 o.add("foo"); |
1596 o.add("foo"); | 1596 o.add("foo"); |
1597 return o; | 1597 return o; |
1598 } | 1598 } |
1599 | 1599 |
1600 checkUnnamed2093(core.List<core.String> o) { | 1600 checkUnnamed2127(core.List<core.String> o) { |
1601 unittest.expect(o, unittest.hasLength(2)); | 1601 unittest.expect(o, unittest.hasLength(2)); |
1602 unittest.expect(o[0], unittest.equals('foo')); | 1602 unittest.expect(o[0], unittest.equals('foo')); |
1603 unittest.expect(o[1], unittest.equals('foo')); | 1603 unittest.expect(o[1], unittest.equals('foo')); |
1604 } | 1604 } |
1605 | 1605 |
1606 core.int buildCounterRule = 0; | 1606 core.int buildCounterRule = 0; |
1607 buildRule() { | 1607 buildRule() { |
1608 var o = new api.Rule(); | 1608 var o = new api.Rule(); |
1609 buildCounterRule++; | 1609 buildCounterRule++; |
1610 if (buildCounterRule < 3) { | 1610 if (buildCounterRule < 3) { |
1611 o.action = "foo"; | 1611 o.action = "foo"; |
1612 o.conditions = buildUnnamed2089(); | 1612 o.conditions = buildUnnamed2123(); |
1613 o.description = "foo"; | 1613 o.description = "foo"; |
1614 o.in_ = buildUnnamed2090(); | 1614 o.in_ = buildUnnamed2124(); |
1615 o.logConfig = buildUnnamed2091(); | 1615 o.logConfig = buildUnnamed2125(); |
1616 o.notIn = buildUnnamed2092(); | 1616 o.notIn = buildUnnamed2126(); |
1617 o.permissions = buildUnnamed2093(); | 1617 o.permissions = buildUnnamed2127(); |
1618 } | 1618 } |
1619 buildCounterRule--; | 1619 buildCounterRule--; |
1620 return o; | 1620 return o; |
1621 } | 1621 } |
1622 | 1622 |
1623 checkRule(api.Rule o) { | 1623 checkRule(api.Rule o) { |
1624 buildCounterRule++; | 1624 buildCounterRule++; |
1625 if (buildCounterRule < 3) { | 1625 if (buildCounterRule < 3) { |
1626 unittest.expect(o.action, unittest.equals('foo')); | 1626 unittest.expect(o.action, unittest.equals('foo')); |
1627 checkUnnamed2089(o.conditions); | 1627 checkUnnamed2123(o.conditions); |
1628 unittest.expect(o.description, unittest.equals('foo')); | 1628 unittest.expect(o.description, unittest.equals('foo')); |
1629 checkUnnamed2090(o.in_); | 1629 checkUnnamed2124(o.in_); |
1630 checkUnnamed2091(o.logConfig); | 1630 checkUnnamed2125(o.logConfig); |
1631 checkUnnamed2092(o.notIn); | 1631 checkUnnamed2126(o.notIn); |
1632 checkUnnamed2093(o.permissions); | 1632 checkUnnamed2127(o.permissions); |
1633 } | 1633 } |
1634 buildCounterRule--; | 1634 buildCounterRule--; |
1635 } | 1635 } |
1636 | 1636 |
1637 core.int buildCounterSession = 0; | 1637 core.int buildCounterSession = 0; |
1638 buildSession() { | 1638 buildSession() { |
1639 var o = new api.Session(); | 1639 var o = new api.Session(); |
1640 buildCounterSession++; | 1640 buildCounterSession++; |
1641 if (buildCounterSession < 3) { | 1641 if (buildCounterSession < 3) { |
1642 o.name = "foo"; | 1642 o.name = "foo"; |
(...skipping 24 matching lines...) Expand all Loading... |
1667 | 1667 |
1668 checkSetIamPolicyRequest(api.SetIamPolicyRequest o) { | 1668 checkSetIamPolicyRequest(api.SetIamPolicyRequest o) { |
1669 buildCounterSetIamPolicyRequest++; | 1669 buildCounterSetIamPolicyRequest++; |
1670 if (buildCounterSetIamPolicyRequest < 3) { | 1670 if (buildCounterSetIamPolicyRequest < 3) { |
1671 checkPolicy(o.policy); | 1671 checkPolicy(o.policy); |
1672 unittest.expect(o.updateMask, unittest.equals('foo')); | 1672 unittest.expect(o.updateMask, unittest.equals('foo')); |
1673 } | 1673 } |
1674 buildCounterSetIamPolicyRequest--; | 1674 buildCounterSetIamPolicyRequest--; |
1675 } | 1675 } |
1676 | 1676 |
1677 buildUnnamed2094() { | 1677 buildUnnamed2128() { |
1678 var o = new core.Map<core.String, core.int>(); | 1678 var o = new core.Map<core.String, core.int>(); |
1679 o["x"] = 42; | 1679 o["x"] = 42; |
1680 o["y"] = 42; | 1680 o["y"] = 42; |
1681 return o; | 1681 return o; |
1682 } | 1682 } |
1683 | 1683 |
1684 checkUnnamed2094(core.Map<core.String, core.int> o) { | 1684 checkUnnamed2128(core.Map<core.String, core.int> o) { |
1685 unittest.expect(o, unittest.hasLength(2)); | 1685 unittest.expect(o, unittest.hasLength(2)); |
1686 unittest.expect(o["x"], unittest.equals(42)); | 1686 unittest.expect(o["x"], unittest.equals(42)); |
1687 unittest.expect(o["y"], unittest.equals(42)); | 1687 unittest.expect(o["y"], unittest.equals(42)); |
1688 } | 1688 } |
1689 | 1689 |
1690 core.int buildCounterShortRepresentation = 0; | 1690 core.int buildCounterShortRepresentation = 0; |
1691 buildShortRepresentation() { | 1691 buildShortRepresentation() { |
1692 var o = new api.ShortRepresentation(); | 1692 var o = new api.ShortRepresentation(); |
1693 buildCounterShortRepresentation++; | 1693 buildCounterShortRepresentation++; |
1694 if (buildCounterShortRepresentation < 3) { | 1694 if (buildCounterShortRepresentation < 3) { |
1695 o.description = "foo"; | 1695 o.description = "foo"; |
1696 o.subqueries = buildUnnamed2094(); | 1696 o.subqueries = buildUnnamed2128(); |
1697 } | 1697 } |
1698 buildCounterShortRepresentation--; | 1698 buildCounterShortRepresentation--; |
1699 return o; | 1699 return o; |
1700 } | 1700 } |
1701 | 1701 |
1702 checkShortRepresentation(api.ShortRepresentation o) { | 1702 checkShortRepresentation(api.ShortRepresentation o) { |
1703 buildCounterShortRepresentation++; | 1703 buildCounterShortRepresentation++; |
1704 if (buildCounterShortRepresentation < 3) { | 1704 if (buildCounterShortRepresentation < 3) { |
1705 unittest.expect(o.description, unittest.equals('foo')); | 1705 unittest.expect(o.description, unittest.equals('foo')); |
1706 checkUnnamed2094(o.subqueries); | 1706 checkUnnamed2128(o.subqueries); |
1707 } | 1707 } |
1708 buildCounterShortRepresentation--; | 1708 buildCounterShortRepresentation--; |
1709 } | 1709 } |
1710 | 1710 |
1711 buildUnnamed2095() { | 1711 buildUnnamed2129() { |
1712 var o = new core.Map<core.String, core.Object>(); | 1712 var o = new core.Map<core.String, core.Object>(); |
1713 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1713 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1714 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1714 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1715 return o; | 1715 return o; |
1716 } | 1716 } |
1717 | 1717 |
1718 checkUnnamed2095(core.Map<core.String, core.Object> o) { | 1718 checkUnnamed2129(core.Map<core.String, core.Object> o) { |
1719 unittest.expect(o, unittest.hasLength(2)); | 1719 unittest.expect(o, unittest.hasLength(2)); |
1720 var casted27 = (o["x"]) as core.Map; unittest.expect(casted27, unittest.hasLen
gth(3)); unittest.expect(casted27["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted27["bool"], unittest.equals(true)); unittest.expect(casted27["stri
ng"], unittest.equals('foo')); | 1720 var casted27 = (o["x"]) as core.Map; unittest.expect(casted27, unittest.hasLen
gth(3)); unittest.expect(casted27["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted27["bool"], unittest.equals(true)); unittest.expect(casted27["stri
ng"], unittest.equals('foo')); |
1721 var casted28 = (o["y"]) as core.Map; unittest.expect(casted28, unittest.hasLen
gth(3)); unittest.expect(casted28["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted28["bool"], unittest.equals(true)); unittest.expect(casted28["stri
ng"], unittest.equals('foo')); | 1721 var casted28 = (o["y"]) as core.Map; unittest.expect(casted28, unittest.hasLen
gth(3)); unittest.expect(casted28["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted28["bool"], unittest.equals(true)); unittest.expect(casted28["stri
ng"], unittest.equals('foo')); |
1722 } | 1722 } |
1723 | 1723 |
1724 buildUnnamed2096() { | 1724 buildUnnamed2130() { |
1725 var o = new core.List<core.Map<core.String, core.Object>>(); | 1725 var o = new core.List<core.Map<core.String, core.Object>>(); |
1726 o.add(buildUnnamed2095()); | 1726 o.add(buildUnnamed2129()); |
1727 o.add(buildUnnamed2095()); | 1727 o.add(buildUnnamed2129()); |
1728 return o; | 1728 return o; |
1729 } | 1729 } |
1730 | 1730 |
1731 checkUnnamed2096(core.List<core.Map<core.String, core.Object>> o) { | 1731 checkUnnamed2130(core.List<core.Map<core.String, core.Object>> o) { |
1732 unittest.expect(o, unittest.hasLength(2)); | 1732 unittest.expect(o, unittest.hasLength(2)); |
1733 checkUnnamed2095(o[0]); | 1733 checkUnnamed2129(o[0]); |
1734 checkUnnamed2095(o[1]); | 1734 checkUnnamed2129(o[1]); |
1735 } | 1735 } |
1736 | 1736 |
1737 core.int buildCounterStatus = 0; | 1737 core.int buildCounterStatus = 0; |
1738 buildStatus() { | 1738 buildStatus() { |
1739 var o = new api.Status(); | 1739 var o = new api.Status(); |
1740 buildCounterStatus++; | 1740 buildCounterStatus++; |
1741 if (buildCounterStatus < 3) { | 1741 if (buildCounterStatus < 3) { |
1742 o.code = 42; | 1742 o.code = 42; |
1743 o.details = buildUnnamed2096(); | 1743 o.details = buildUnnamed2130(); |
1744 o.message = "foo"; | 1744 o.message = "foo"; |
1745 } | 1745 } |
1746 buildCounterStatus--; | 1746 buildCounterStatus--; |
1747 return o; | 1747 return o; |
1748 } | 1748 } |
1749 | 1749 |
1750 checkStatus(api.Status o) { | 1750 checkStatus(api.Status o) { |
1751 buildCounterStatus++; | 1751 buildCounterStatus++; |
1752 if (buildCounterStatus < 3) { | 1752 if (buildCounterStatus < 3) { |
1753 unittest.expect(o.code, unittest.equals(42)); | 1753 unittest.expect(o.code, unittest.equals(42)); |
1754 checkUnnamed2096(o.details); | 1754 checkUnnamed2130(o.details); |
1755 unittest.expect(o.message, unittest.equals('foo')); | 1755 unittest.expect(o.message, unittest.equals('foo')); |
1756 } | 1756 } |
1757 buildCounterStatus--; | 1757 buildCounterStatus--; |
1758 } | 1758 } |
1759 | 1759 |
1760 buildUnnamed2097() { | 1760 buildUnnamed2131() { |
1761 var o = new core.List<api.Field>(); | 1761 var o = new core.List<api.Field>(); |
1762 o.add(buildField()); | 1762 o.add(buildField()); |
1763 o.add(buildField()); | 1763 o.add(buildField()); |
1764 return o; | 1764 return o; |
1765 } | 1765 } |
1766 | 1766 |
1767 checkUnnamed2097(core.List<api.Field> o) { | 1767 checkUnnamed2131(core.List<api.Field> o) { |
1768 unittest.expect(o, unittest.hasLength(2)); | 1768 unittest.expect(o, unittest.hasLength(2)); |
1769 checkField(o[0]); | 1769 checkField(o[0]); |
1770 checkField(o[1]); | 1770 checkField(o[1]); |
1771 } | 1771 } |
1772 | 1772 |
1773 core.int buildCounterStructType = 0; | 1773 core.int buildCounterStructType = 0; |
1774 buildStructType() { | 1774 buildStructType() { |
1775 var o = new api.StructType(); | 1775 var o = new api.StructType(); |
1776 buildCounterStructType++; | 1776 buildCounterStructType++; |
1777 if (buildCounterStructType < 3) { | 1777 if (buildCounterStructType < 3) { |
1778 o.fields = buildUnnamed2097(); | 1778 o.fields = buildUnnamed2131(); |
1779 } | 1779 } |
1780 buildCounterStructType--; | 1780 buildCounterStructType--; |
1781 return o; | 1781 return o; |
1782 } | 1782 } |
1783 | 1783 |
1784 checkStructType(api.StructType o) { | 1784 checkStructType(api.StructType o) { |
1785 buildCounterStructType++; | 1785 buildCounterStructType++; |
1786 if (buildCounterStructType < 3) { | 1786 if (buildCounterStructType < 3) { |
1787 checkUnnamed2097(o.fields); | 1787 checkUnnamed2131(o.fields); |
1788 } | 1788 } |
1789 buildCounterStructType--; | 1789 buildCounterStructType--; |
1790 } | 1790 } |
1791 | 1791 |
1792 buildUnnamed2098() { | 1792 buildUnnamed2132() { |
1793 var o = new core.List<core.String>(); | 1793 var o = new core.List<core.String>(); |
1794 o.add("foo"); | 1794 o.add("foo"); |
1795 o.add("foo"); | 1795 o.add("foo"); |
1796 return o; | 1796 return o; |
1797 } | 1797 } |
1798 | 1798 |
1799 checkUnnamed2098(core.List<core.String> o) { | 1799 checkUnnamed2132(core.List<core.String> o) { |
1800 unittest.expect(o, unittest.hasLength(2)); | 1800 unittest.expect(o, unittest.hasLength(2)); |
1801 unittest.expect(o[0], unittest.equals('foo')); | 1801 unittest.expect(o[0], unittest.equals('foo')); |
1802 unittest.expect(o[1], unittest.equals('foo')); | 1802 unittest.expect(o[1], unittest.equals('foo')); |
1803 } | 1803 } |
1804 | 1804 |
1805 core.int buildCounterTestIamPermissionsRequest = 0; | 1805 core.int buildCounterTestIamPermissionsRequest = 0; |
1806 buildTestIamPermissionsRequest() { | 1806 buildTestIamPermissionsRequest() { |
1807 var o = new api.TestIamPermissionsRequest(); | 1807 var o = new api.TestIamPermissionsRequest(); |
1808 buildCounterTestIamPermissionsRequest++; | 1808 buildCounterTestIamPermissionsRequest++; |
1809 if (buildCounterTestIamPermissionsRequest < 3) { | 1809 if (buildCounterTestIamPermissionsRequest < 3) { |
1810 o.permissions = buildUnnamed2098(); | 1810 o.permissions = buildUnnamed2132(); |
1811 } | 1811 } |
1812 buildCounterTestIamPermissionsRequest--; | 1812 buildCounterTestIamPermissionsRequest--; |
1813 return o; | 1813 return o; |
1814 } | 1814 } |
1815 | 1815 |
1816 checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { | 1816 checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { |
1817 buildCounterTestIamPermissionsRequest++; | 1817 buildCounterTestIamPermissionsRequest++; |
1818 if (buildCounterTestIamPermissionsRequest < 3) { | 1818 if (buildCounterTestIamPermissionsRequest < 3) { |
1819 checkUnnamed2098(o.permissions); | 1819 checkUnnamed2132(o.permissions); |
1820 } | 1820 } |
1821 buildCounterTestIamPermissionsRequest--; | 1821 buildCounterTestIamPermissionsRequest--; |
1822 } | 1822 } |
1823 | 1823 |
1824 buildUnnamed2099() { | 1824 buildUnnamed2133() { |
1825 var o = new core.List<core.String>(); | 1825 var o = new core.List<core.String>(); |
1826 o.add("foo"); | 1826 o.add("foo"); |
1827 o.add("foo"); | 1827 o.add("foo"); |
1828 return o; | 1828 return o; |
1829 } | 1829 } |
1830 | 1830 |
1831 checkUnnamed2099(core.List<core.String> o) { | 1831 checkUnnamed2133(core.List<core.String> o) { |
1832 unittest.expect(o, unittest.hasLength(2)); | 1832 unittest.expect(o, unittest.hasLength(2)); |
1833 unittest.expect(o[0], unittest.equals('foo')); | 1833 unittest.expect(o[0], unittest.equals('foo')); |
1834 unittest.expect(o[1], unittest.equals('foo')); | 1834 unittest.expect(o[1], unittest.equals('foo')); |
1835 } | 1835 } |
1836 | 1836 |
1837 core.int buildCounterTestIamPermissionsResponse = 0; | 1837 core.int buildCounterTestIamPermissionsResponse = 0; |
1838 buildTestIamPermissionsResponse() { | 1838 buildTestIamPermissionsResponse() { |
1839 var o = new api.TestIamPermissionsResponse(); | 1839 var o = new api.TestIamPermissionsResponse(); |
1840 buildCounterTestIamPermissionsResponse++; | 1840 buildCounterTestIamPermissionsResponse++; |
1841 if (buildCounterTestIamPermissionsResponse < 3) { | 1841 if (buildCounterTestIamPermissionsResponse < 3) { |
1842 o.permissions = buildUnnamed2099(); | 1842 o.permissions = buildUnnamed2133(); |
1843 } | 1843 } |
1844 buildCounterTestIamPermissionsResponse--; | 1844 buildCounterTestIamPermissionsResponse--; |
1845 return o; | 1845 return o; |
1846 } | 1846 } |
1847 | 1847 |
1848 checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { | 1848 checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { |
1849 buildCounterTestIamPermissionsResponse++; | 1849 buildCounterTestIamPermissionsResponse++; |
1850 if (buildCounterTestIamPermissionsResponse < 3) { | 1850 if (buildCounterTestIamPermissionsResponse < 3) { |
1851 checkUnnamed2099(o.permissions); | 1851 checkUnnamed2133(o.permissions); |
1852 } | 1852 } |
1853 buildCounterTestIamPermissionsResponse--; | 1853 buildCounterTestIamPermissionsResponse--; |
1854 } | 1854 } |
1855 | 1855 |
1856 core.int buildCounterTransaction = 0; | 1856 core.int buildCounterTransaction = 0; |
1857 buildTransaction() { | 1857 buildTransaction() { |
1858 var o = new api.Transaction(); | 1858 var o = new api.Transaction(); |
1859 buildCounterTransaction++; | 1859 buildCounterTransaction++; |
1860 if (buildCounterTransaction < 3) { | 1860 if (buildCounterTransaction < 3) { |
1861 o.id = "foo"; | 1861 o.id = "foo"; |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1934 checkType(api.Type o) { | 1934 checkType(api.Type o) { |
1935 buildCounterType++; | 1935 buildCounterType++; |
1936 if (buildCounterType < 3) { | 1936 if (buildCounterType < 3) { |
1937 checkType(o.arrayElementType); | 1937 checkType(o.arrayElementType); |
1938 unittest.expect(o.code, unittest.equals('foo')); | 1938 unittest.expect(o.code, unittest.equals('foo')); |
1939 checkStructType(o.structType); | 1939 checkStructType(o.structType); |
1940 } | 1940 } |
1941 buildCounterType--; | 1941 buildCounterType--; |
1942 } | 1942 } |
1943 | 1943 |
1944 buildUnnamed2100() { | 1944 buildUnnamed2134() { |
1945 var o = new core.List<core.String>(); | 1945 var o = new core.List<core.String>(); |
1946 o.add("foo"); | 1946 o.add("foo"); |
1947 o.add("foo"); | 1947 o.add("foo"); |
1948 return o; | 1948 return o; |
1949 } | 1949 } |
1950 | 1950 |
1951 checkUnnamed2100(core.List<core.String> o) { | 1951 checkUnnamed2134(core.List<core.String> o) { |
1952 unittest.expect(o, unittest.hasLength(2)); | 1952 unittest.expect(o, unittest.hasLength(2)); |
1953 unittest.expect(o[0], unittest.equals('foo')); | 1953 unittest.expect(o[0], unittest.equals('foo')); |
1954 unittest.expect(o[1], unittest.equals('foo')); | 1954 unittest.expect(o[1], unittest.equals('foo')); |
1955 } | 1955 } |
1956 | 1956 |
1957 buildUnnamed2101() { | 1957 buildUnnamed2135() { |
1958 var o = new core.List<core.String>(); | 1958 var o = new core.List<core.String>(); |
1959 o.add("foo"); | 1959 o.add("foo"); |
1960 o.add("foo"); | 1960 o.add("foo"); |
1961 return o; | 1961 return o; |
1962 } | 1962 } |
1963 | 1963 |
1964 checkUnnamed2101(core.List<core.String> o) { | 1964 checkUnnamed2135(core.List<core.String> o) { |
1965 unittest.expect(o, unittest.hasLength(2)); | 1965 unittest.expect(o, unittest.hasLength(2)); |
1966 unittest.expect(o[0], unittest.equals('foo')); | 1966 unittest.expect(o[0], unittest.equals('foo')); |
1967 unittest.expect(o[1], unittest.equals('foo')); | 1967 unittest.expect(o[1], unittest.equals('foo')); |
1968 } | 1968 } |
1969 | 1969 |
1970 core.int buildCounterUpdateDatabaseDdlMetadata = 0; | 1970 core.int buildCounterUpdateDatabaseDdlMetadata = 0; |
1971 buildUpdateDatabaseDdlMetadata() { | 1971 buildUpdateDatabaseDdlMetadata() { |
1972 var o = new api.UpdateDatabaseDdlMetadata(); | 1972 var o = new api.UpdateDatabaseDdlMetadata(); |
1973 buildCounterUpdateDatabaseDdlMetadata++; | 1973 buildCounterUpdateDatabaseDdlMetadata++; |
1974 if (buildCounterUpdateDatabaseDdlMetadata < 3) { | 1974 if (buildCounterUpdateDatabaseDdlMetadata < 3) { |
1975 o.commitTimestamps = buildUnnamed2100(); | 1975 o.commitTimestamps = buildUnnamed2134(); |
1976 o.database = "foo"; | 1976 o.database = "foo"; |
1977 o.statements = buildUnnamed2101(); | 1977 o.statements = buildUnnamed2135(); |
1978 } | 1978 } |
1979 buildCounterUpdateDatabaseDdlMetadata--; | 1979 buildCounterUpdateDatabaseDdlMetadata--; |
1980 return o; | 1980 return o; |
1981 } | 1981 } |
1982 | 1982 |
1983 checkUpdateDatabaseDdlMetadata(api.UpdateDatabaseDdlMetadata o) { | 1983 checkUpdateDatabaseDdlMetadata(api.UpdateDatabaseDdlMetadata o) { |
1984 buildCounterUpdateDatabaseDdlMetadata++; | 1984 buildCounterUpdateDatabaseDdlMetadata++; |
1985 if (buildCounterUpdateDatabaseDdlMetadata < 3) { | 1985 if (buildCounterUpdateDatabaseDdlMetadata < 3) { |
1986 checkUnnamed2100(o.commitTimestamps); | 1986 checkUnnamed2134(o.commitTimestamps); |
1987 unittest.expect(o.database, unittest.equals('foo')); | 1987 unittest.expect(o.database, unittest.equals('foo')); |
1988 checkUnnamed2101(o.statements); | 1988 checkUnnamed2135(o.statements); |
1989 } | 1989 } |
1990 buildCounterUpdateDatabaseDdlMetadata--; | 1990 buildCounterUpdateDatabaseDdlMetadata--; |
1991 } | 1991 } |
1992 | 1992 |
1993 buildUnnamed2102() { | 1993 buildUnnamed2136() { |
1994 var o = new core.List<core.String>(); | 1994 var o = new core.List<core.String>(); |
1995 o.add("foo"); | 1995 o.add("foo"); |
1996 o.add("foo"); | 1996 o.add("foo"); |
1997 return o; | 1997 return o; |
1998 } | 1998 } |
1999 | 1999 |
2000 checkUnnamed2102(core.List<core.String> o) { | 2000 checkUnnamed2136(core.List<core.String> o) { |
2001 unittest.expect(o, unittest.hasLength(2)); | 2001 unittest.expect(o, unittest.hasLength(2)); |
2002 unittest.expect(o[0], unittest.equals('foo')); | 2002 unittest.expect(o[0], unittest.equals('foo')); |
2003 unittest.expect(o[1], unittest.equals('foo')); | 2003 unittest.expect(o[1], unittest.equals('foo')); |
2004 } | 2004 } |
2005 | 2005 |
2006 core.int buildCounterUpdateDatabaseDdlRequest = 0; | 2006 core.int buildCounterUpdateDatabaseDdlRequest = 0; |
2007 buildUpdateDatabaseDdlRequest() { | 2007 buildUpdateDatabaseDdlRequest() { |
2008 var o = new api.UpdateDatabaseDdlRequest(); | 2008 var o = new api.UpdateDatabaseDdlRequest(); |
2009 buildCounterUpdateDatabaseDdlRequest++; | 2009 buildCounterUpdateDatabaseDdlRequest++; |
2010 if (buildCounterUpdateDatabaseDdlRequest < 3) { | 2010 if (buildCounterUpdateDatabaseDdlRequest < 3) { |
2011 o.operationId = "foo"; | 2011 o.operationId = "foo"; |
2012 o.statements = buildUnnamed2102(); | 2012 o.statements = buildUnnamed2136(); |
2013 } | 2013 } |
2014 buildCounterUpdateDatabaseDdlRequest--; | 2014 buildCounterUpdateDatabaseDdlRequest--; |
2015 return o; | 2015 return o; |
2016 } | 2016 } |
2017 | 2017 |
2018 checkUpdateDatabaseDdlRequest(api.UpdateDatabaseDdlRequest o) { | 2018 checkUpdateDatabaseDdlRequest(api.UpdateDatabaseDdlRequest o) { |
2019 buildCounterUpdateDatabaseDdlRequest++; | 2019 buildCounterUpdateDatabaseDdlRequest++; |
2020 if (buildCounterUpdateDatabaseDdlRequest < 3) { | 2020 if (buildCounterUpdateDatabaseDdlRequest < 3) { |
2021 unittest.expect(o.operationId, unittest.equals('foo')); | 2021 unittest.expect(o.operationId, unittest.equals('foo')); |
2022 checkUnnamed2102(o.statements); | 2022 checkUnnamed2136(o.statements); |
2023 } | 2023 } |
2024 buildCounterUpdateDatabaseDdlRequest--; | 2024 buildCounterUpdateDatabaseDdlRequest--; |
2025 } | 2025 } |
2026 | 2026 |
2027 core.int buildCounterUpdateInstanceMetadata = 0; | 2027 core.int buildCounterUpdateInstanceMetadata = 0; |
2028 buildUpdateInstanceMetadata() { | 2028 buildUpdateInstanceMetadata() { |
2029 var o = new api.UpdateInstanceMetadata(); | 2029 var o = new api.UpdateInstanceMetadata(); |
2030 buildCounterUpdateInstanceMetadata++; | 2030 buildCounterUpdateInstanceMetadata++; |
2031 if (buildCounterUpdateInstanceMetadata < 3) { | 2031 if (buildCounterUpdateInstanceMetadata < 3) { |
2032 o.cancelTime = "foo"; | 2032 o.cancelTime = "foo"; |
(...skipping 30 matching lines...) Expand all Loading... |
2063 | 2063 |
2064 checkUpdateInstanceRequest(api.UpdateInstanceRequest o) { | 2064 checkUpdateInstanceRequest(api.UpdateInstanceRequest o) { |
2065 buildCounterUpdateInstanceRequest++; | 2065 buildCounterUpdateInstanceRequest++; |
2066 if (buildCounterUpdateInstanceRequest < 3) { | 2066 if (buildCounterUpdateInstanceRequest < 3) { |
2067 unittest.expect(o.fieldMask, unittest.equals('foo')); | 2067 unittest.expect(o.fieldMask, unittest.equals('foo')); |
2068 checkInstance(o.instance); | 2068 checkInstance(o.instance); |
2069 } | 2069 } |
2070 buildCounterUpdateInstanceRequest--; | 2070 buildCounterUpdateInstanceRequest--; |
2071 } | 2071 } |
2072 | 2072 |
2073 buildUnnamed2103() { | 2073 buildUnnamed2137() { |
2074 var o = new core.List<core.String>(); | 2074 var o = new core.List<core.String>(); |
2075 o.add("foo"); | 2075 o.add("foo"); |
2076 o.add("foo"); | 2076 o.add("foo"); |
2077 return o; | 2077 return o; |
2078 } | 2078 } |
2079 | 2079 |
2080 checkUnnamed2103(core.List<core.String> o) { | 2080 checkUnnamed2137(core.List<core.String> o) { |
2081 unittest.expect(o, unittest.hasLength(2)); | 2081 unittest.expect(o, unittest.hasLength(2)); |
2082 unittest.expect(o[0], unittest.equals('foo')); | 2082 unittest.expect(o[0], unittest.equals('foo')); |
2083 unittest.expect(o[1], unittest.equals('foo')); | 2083 unittest.expect(o[1], unittest.equals('foo')); |
2084 } | 2084 } |
2085 | 2085 |
2086 buildUnnamed2104() { | 2086 buildUnnamed2138() { |
2087 var o = new core.List<core.Object>(); | 2087 var o = new core.List<core.Object>(); |
2088 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2088 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
2089 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2089 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
2090 return o; | 2090 return o; |
2091 } | 2091 } |
2092 | 2092 |
2093 checkUnnamed2104(core.List<core.Object> o) { | 2093 checkUnnamed2138(core.List<core.Object> o) { |
2094 unittest.expect(o, unittest.hasLength(2)); | 2094 unittest.expect(o, unittest.hasLength(2)); |
2095 var casted29 = (o[0]) as core.Map; unittest.expect(casted29, unittest.hasLengt
h(3)); unittest.expect(casted29["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted29["bool"], unittest.equals(true)); unittest.expect(casted29["string
"], unittest.equals('foo')); | 2095 var casted29 = (o[0]) as core.Map; unittest.expect(casted29, unittest.hasLengt
h(3)); unittest.expect(casted29["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted29["bool"], unittest.equals(true)); unittest.expect(casted29["string
"], unittest.equals('foo')); |
2096 var casted30 = (o[1]) as core.Map; unittest.expect(casted30, unittest.hasLengt
h(3)); unittest.expect(casted30["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted30["bool"], unittest.equals(true)); unittest.expect(casted30["string
"], unittest.equals('foo')); | 2096 var casted30 = (o[1]) as core.Map; unittest.expect(casted30, unittest.hasLengt
h(3)); unittest.expect(casted30["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted30["bool"], unittest.equals(true)); unittest.expect(casted30["string
"], unittest.equals('foo')); |
2097 } | 2097 } |
2098 | 2098 |
2099 buildUnnamed2105() { | 2099 buildUnnamed2139() { |
2100 var o = new core.List<core.List<core.Object>>(); | 2100 var o = new core.List<core.List<core.Object>>(); |
2101 o.add(buildUnnamed2104()); | 2101 o.add(buildUnnamed2138()); |
2102 o.add(buildUnnamed2104()); | 2102 o.add(buildUnnamed2138()); |
2103 return o; | 2103 return o; |
2104 } | 2104 } |
2105 | 2105 |
2106 checkUnnamed2105(core.List<core.List<core.Object>> o) { | 2106 checkUnnamed2139(core.List<core.List<core.Object>> o) { |
2107 unittest.expect(o, unittest.hasLength(2)); | 2107 unittest.expect(o, unittest.hasLength(2)); |
2108 checkUnnamed2104(o[0]); | 2108 checkUnnamed2138(o[0]); |
2109 checkUnnamed2104(o[1]); | 2109 checkUnnamed2138(o[1]); |
2110 } | 2110 } |
2111 | 2111 |
2112 core.int buildCounterWrite = 0; | 2112 core.int buildCounterWrite = 0; |
2113 buildWrite() { | 2113 buildWrite() { |
2114 var o = new api.Write(); | 2114 var o = new api.Write(); |
2115 buildCounterWrite++; | 2115 buildCounterWrite++; |
2116 if (buildCounterWrite < 3) { | 2116 if (buildCounterWrite < 3) { |
2117 o.columns = buildUnnamed2103(); | 2117 o.columns = buildUnnamed2137(); |
2118 o.table = "foo"; | 2118 o.table = "foo"; |
2119 o.values = buildUnnamed2105(); | 2119 o.values = buildUnnamed2139(); |
2120 } | 2120 } |
2121 buildCounterWrite--; | 2121 buildCounterWrite--; |
2122 return o; | 2122 return o; |
2123 } | 2123 } |
2124 | 2124 |
2125 checkWrite(api.Write o) { | 2125 checkWrite(api.Write o) { |
2126 buildCounterWrite++; | 2126 buildCounterWrite++; |
2127 if (buildCounterWrite < 3) { | 2127 if (buildCounterWrite < 3) { |
2128 checkUnnamed2103(o.columns); | 2128 checkUnnamed2137(o.columns); |
2129 unittest.expect(o.table, unittest.equals('foo')); | 2129 unittest.expect(o.table, unittest.equals('foo')); |
2130 checkUnnamed2105(o.values); | 2130 checkUnnamed2139(o.values); |
2131 } | 2131 } |
2132 buildCounterWrite--; | 2132 buildCounterWrite--; |
2133 } | 2133 } |
2134 | 2134 |
2135 | 2135 |
2136 main() { | 2136 main() { |
2137 unittest.group("obj-schema-AuditConfig", () { | 2137 unittest.group("obj-schema-AuditConfig", () { |
2138 unittest.test("to-json--from-json", () { | 2138 unittest.test("to-json--from-json", () { |
2139 var o = buildAuditConfig(); | 2139 var o = buildAuditConfig(); |
2140 var od = new api.AuditConfig.fromJson(o.toJson()); | 2140 var od = new api.AuditConfig.fromJson(o.toJson()); |
(...skipping 2329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4470 res.list(arg_name, filter: arg_filter, pageToken: arg_pageToken, pageSize:
arg_pageSize).then(unittest.expectAsync1(((api.ListOperationsResponse response)
{ | 4470 res.list(arg_name, filter: arg_filter, pageToken: arg_pageToken, pageSize:
arg_pageSize).then(unittest.expectAsync1(((api.ListOperationsResponse response)
{ |
4471 checkListOperationsResponse(response); | 4471 checkListOperationsResponse(response); |
4472 }))); | 4472 }))); |
4473 }); | 4473 }); |
4474 | 4474 |
4475 }); | 4475 }); |
4476 | 4476 |
4477 | 4477 |
4478 } | 4478 } |
4479 | 4479 |
OLD | NEW |