OLD | NEW |
1 library googleapis.bigquery.v2.test; | 1 library googleapis.bigquery.v2.test; |
2 | 2 |
3 import "dart:core" as core; | 3 import "dart:core" as core; |
4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
5 import "dart:async" as async; | 5 import "dart:async" as async; |
6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
7 | 7 |
8 import 'package:http/http.dart' as http; | 8 import 'package:http/http.dart' as http; |
9 import 'package:http/testing.dart' as http_testing; | 9 import 'package:http/testing.dart' as http_testing; |
10 import 'package:unittest/unittest.dart' as unittest; | 10 import 'package:unittest/unittest.dart' as unittest; |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 unittest.expect(o.encoding, unittest.equals('foo')); | 73 unittest.expect(o.encoding, unittest.equals('foo')); |
74 unittest.expect(o.fieldName, unittest.equals('foo')); | 74 unittest.expect(o.fieldName, unittest.equals('foo')); |
75 unittest.expect(o.onlyReadLatest, unittest.isTrue); | 75 unittest.expect(o.onlyReadLatest, unittest.isTrue); |
76 unittest.expect(o.qualifierEncoded, unittest.equals('foo')); | 76 unittest.expect(o.qualifierEncoded, unittest.equals('foo')); |
77 unittest.expect(o.qualifierString, unittest.equals('foo')); | 77 unittest.expect(o.qualifierString, unittest.equals('foo')); |
78 unittest.expect(o.type, unittest.equals('foo')); | 78 unittest.expect(o.type, unittest.equals('foo')); |
79 } | 79 } |
80 buildCounterBigtableColumn--; | 80 buildCounterBigtableColumn--; |
81 } | 81 } |
82 | 82 |
83 buildUnnamed2974() { | 83 buildUnnamed3065() { |
84 var o = new core.List<api.BigtableColumn>(); | 84 var o = new core.List<api.BigtableColumn>(); |
85 o.add(buildBigtableColumn()); | 85 o.add(buildBigtableColumn()); |
86 o.add(buildBigtableColumn()); | 86 o.add(buildBigtableColumn()); |
87 return o; | 87 return o; |
88 } | 88 } |
89 | 89 |
90 checkUnnamed2974(core.List<api.BigtableColumn> o) { | 90 checkUnnamed3065(core.List<api.BigtableColumn> o) { |
91 unittest.expect(o, unittest.hasLength(2)); | 91 unittest.expect(o, unittest.hasLength(2)); |
92 checkBigtableColumn(o[0]); | 92 checkBigtableColumn(o[0]); |
93 checkBigtableColumn(o[1]); | 93 checkBigtableColumn(o[1]); |
94 } | 94 } |
95 | 95 |
96 core.int buildCounterBigtableColumnFamily = 0; | 96 core.int buildCounterBigtableColumnFamily = 0; |
97 buildBigtableColumnFamily() { | 97 buildBigtableColumnFamily() { |
98 var o = new api.BigtableColumnFamily(); | 98 var o = new api.BigtableColumnFamily(); |
99 buildCounterBigtableColumnFamily++; | 99 buildCounterBigtableColumnFamily++; |
100 if (buildCounterBigtableColumnFamily < 3) { | 100 if (buildCounterBigtableColumnFamily < 3) { |
101 o.columns = buildUnnamed2974(); | 101 o.columns = buildUnnamed3065(); |
102 o.encoding = "foo"; | 102 o.encoding = "foo"; |
103 o.familyId = "foo"; | 103 o.familyId = "foo"; |
104 o.onlyReadLatest = true; | 104 o.onlyReadLatest = true; |
105 o.type = "foo"; | 105 o.type = "foo"; |
106 } | 106 } |
107 buildCounterBigtableColumnFamily--; | 107 buildCounterBigtableColumnFamily--; |
108 return o; | 108 return o; |
109 } | 109 } |
110 | 110 |
111 checkBigtableColumnFamily(api.BigtableColumnFamily o) { | 111 checkBigtableColumnFamily(api.BigtableColumnFamily o) { |
112 buildCounterBigtableColumnFamily++; | 112 buildCounterBigtableColumnFamily++; |
113 if (buildCounterBigtableColumnFamily < 3) { | 113 if (buildCounterBigtableColumnFamily < 3) { |
114 checkUnnamed2974(o.columns); | 114 checkUnnamed3065(o.columns); |
115 unittest.expect(o.encoding, unittest.equals('foo')); | 115 unittest.expect(o.encoding, unittest.equals('foo')); |
116 unittest.expect(o.familyId, unittest.equals('foo')); | 116 unittest.expect(o.familyId, unittest.equals('foo')); |
117 unittest.expect(o.onlyReadLatest, unittest.isTrue); | 117 unittest.expect(o.onlyReadLatest, unittest.isTrue); |
118 unittest.expect(o.type, unittest.equals('foo')); | 118 unittest.expect(o.type, unittest.equals('foo')); |
119 } | 119 } |
120 buildCounterBigtableColumnFamily--; | 120 buildCounterBigtableColumnFamily--; |
121 } | 121 } |
122 | 122 |
123 buildUnnamed2975() { | 123 buildUnnamed3066() { |
124 var o = new core.List<api.BigtableColumnFamily>(); | 124 var o = new core.List<api.BigtableColumnFamily>(); |
125 o.add(buildBigtableColumnFamily()); | 125 o.add(buildBigtableColumnFamily()); |
126 o.add(buildBigtableColumnFamily()); | 126 o.add(buildBigtableColumnFamily()); |
127 return o; | 127 return o; |
128 } | 128 } |
129 | 129 |
130 checkUnnamed2975(core.List<api.BigtableColumnFamily> o) { | 130 checkUnnamed3066(core.List<api.BigtableColumnFamily> o) { |
131 unittest.expect(o, unittest.hasLength(2)); | 131 unittest.expect(o, unittest.hasLength(2)); |
132 checkBigtableColumnFamily(o[0]); | 132 checkBigtableColumnFamily(o[0]); |
133 checkBigtableColumnFamily(o[1]); | 133 checkBigtableColumnFamily(o[1]); |
134 } | 134 } |
135 | 135 |
136 core.int buildCounterBigtableOptions = 0; | 136 core.int buildCounterBigtableOptions = 0; |
137 buildBigtableOptions() { | 137 buildBigtableOptions() { |
138 var o = new api.BigtableOptions(); | 138 var o = new api.BigtableOptions(); |
139 buildCounterBigtableOptions++; | 139 buildCounterBigtableOptions++; |
140 if (buildCounterBigtableOptions < 3) { | 140 if (buildCounterBigtableOptions < 3) { |
141 o.columnFamilies = buildUnnamed2975(); | 141 o.columnFamilies = buildUnnamed3066(); |
142 o.ignoreUnspecifiedColumnFamilies = true; | 142 o.ignoreUnspecifiedColumnFamilies = true; |
143 o.readRowkeyAsString = true; | 143 o.readRowkeyAsString = true; |
144 } | 144 } |
145 buildCounterBigtableOptions--; | 145 buildCounterBigtableOptions--; |
146 return o; | 146 return o; |
147 } | 147 } |
148 | 148 |
149 checkBigtableOptions(api.BigtableOptions o) { | 149 checkBigtableOptions(api.BigtableOptions o) { |
150 buildCounterBigtableOptions++; | 150 buildCounterBigtableOptions++; |
151 if (buildCounterBigtableOptions < 3) { | 151 if (buildCounterBigtableOptions < 3) { |
152 checkUnnamed2975(o.columnFamilies); | 152 checkUnnamed3066(o.columnFamilies); |
153 unittest.expect(o.ignoreUnspecifiedColumnFamilies, unittest.isTrue); | 153 unittest.expect(o.ignoreUnspecifiedColumnFamilies, unittest.isTrue); |
154 unittest.expect(o.readRowkeyAsString, unittest.isTrue); | 154 unittest.expect(o.readRowkeyAsString, unittest.isTrue); |
155 } | 155 } |
156 buildCounterBigtableOptions--; | 156 buildCounterBigtableOptions--; |
157 } | 157 } |
158 | 158 |
159 core.int buildCounterCsvOptions = 0; | 159 core.int buildCounterCsvOptions = 0; |
160 buildCsvOptions() { | 160 buildCsvOptions() { |
161 var o = new api.CsvOptions(); | 161 var o = new api.CsvOptions(); |
162 buildCounterCsvOptions++; | 162 buildCounterCsvOptions++; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 unittest.expect(o.domain, unittest.equals('foo')); | 207 unittest.expect(o.domain, unittest.equals('foo')); |
208 unittest.expect(o.groupByEmail, unittest.equals('foo')); | 208 unittest.expect(o.groupByEmail, unittest.equals('foo')); |
209 unittest.expect(o.role, unittest.equals('foo')); | 209 unittest.expect(o.role, unittest.equals('foo')); |
210 unittest.expect(o.specialGroup, unittest.equals('foo')); | 210 unittest.expect(o.specialGroup, unittest.equals('foo')); |
211 unittest.expect(o.userByEmail, unittest.equals('foo')); | 211 unittest.expect(o.userByEmail, unittest.equals('foo')); |
212 checkTableReference(o.view); | 212 checkTableReference(o.view); |
213 } | 213 } |
214 buildCounterDatasetAccess--; | 214 buildCounterDatasetAccess--; |
215 } | 215 } |
216 | 216 |
217 buildUnnamed2976() { | 217 buildUnnamed3067() { |
218 var o = new core.List<api.DatasetAccess>(); | 218 var o = new core.List<api.DatasetAccess>(); |
219 o.add(buildDatasetAccess()); | 219 o.add(buildDatasetAccess()); |
220 o.add(buildDatasetAccess()); | 220 o.add(buildDatasetAccess()); |
221 return o; | 221 return o; |
222 } | 222 } |
223 | 223 |
224 checkUnnamed2976(core.List<api.DatasetAccess> o) { | 224 checkUnnamed3067(core.List<api.DatasetAccess> o) { |
225 unittest.expect(o, unittest.hasLength(2)); | 225 unittest.expect(o, unittest.hasLength(2)); |
226 checkDatasetAccess(o[0]); | 226 checkDatasetAccess(o[0]); |
227 checkDatasetAccess(o[1]); | 227 checkDatasetAccess(o[1]); |
228 } | 228 } |
229 | 229 |
230 buildUnnamed2977() { | 230 buildUnnamed3068() { |
231 var o = new core.Map<core.String, core.String>(); | 231 var o = new core.Map<core.String, core.String>(); |
232 o["x"] = "foo"; | 232 o["x"] = "foo"; |
233 o["y"] = "foo"; | 233 o["y"] = "foo"; |
234 return o; | 234 return o; |
235 } | 235 } |
236 | 236 |
237 checkUnnamed2977(core.Map<core.String, core.String> o) { | 237 checkUnnamed3068(core.Map<core.String, core.String> o) { |
238 unittest.expect(o, unittest.hasLength(2)); | 238 unittest.expect(o, unittest.hasLength(2)); |
239 unittest.expect(o["x"], unittest.equals('foo')); | 239 unittest.expect(o["x"], unittest.equals('foo')); |
240 unittest.expect(o["y"], unittest.equals('foo')); | 240 unittest.expect(o["y"], unittest.equals('foo')); |
241 } | 241 } |
242 | 242 |
243 core.int buildCounterDataset = 0; | 243 core.int buildCounterDataset = 0; |
244 buildDataset() { | 244 buildDataset() { |
245 var o = new api.Dataset(); | 245 var o = new api.Dataset(); |
246 buildCounterDataset++; | 246 buildCounterDataset++; |
247 if (buildCounterDataset < 3) { | 247 if (buildCounterDataset < 3) { |
248 o.access = buildUnnamed2976(); | 248 o.access = buildUnnamed3067(); |
249 o.creationTime = "foo"; | 249 o.creationTime = "foo"; |
250 o.datasetReference = buildDatasetReference(); | 250 o.datasetReference = buildDatasetReference(); |
251 o.defaultTableExpirationMs = "foo"; | 251 o.defaultTableExpirationMs = "foo"; |
252 o.description = "foo"; | 252 o.description = "foo"; |
253 o.etag = "foo"; | 253 o.etag = "foo"; |
254 o.friendlyName = "foo"; | 254 o.friendlyName = "foo"; |
255 o.id = "foo"; | 255 o.id = "foo"; |
256 o.kind = "foo"; | 256 o.kind = "foo"; |
257 o.labels = buildUnnamed2977(); | 257 o.labels = buildUnnamed3068(); |
258 o.lastModifiedTime = "foo"; | 258 o.lastModifiedTime = "foo"; |
259 o.location = "foo"; | 259 o.location = "foo"; |
260 o.selfLink = "foo"; | 260 o.selfLink = "foo"; |
261 } | 261 } |
262 buildCounterDataset--; | 262 buildCounterDataset--; |
263 return o; | 263 return o; |
264 } | 264 } |
265 | 265 |
266 checkDataset(api.Dataset o) { | 266 checkDataset(api.Dataset o) { |
267 buildCounterDataset++; | 267 buildCounterDataset++; |
268 if (buildCounterDataset < 3) { | 268 if (buildCounterDataset < 3) { |
269 checkUnnamed2976(o.access); | 269 checkUnnamed3067(o.access); |
270 unittest.expect(o.creationTime, unittest.equals('foo')); | 270 unittest.expect(o.creationTime, unittest.equals('foo')); |
271 checkDatasetReference(o.datasetReference); | 271 checkDatasetReference(o.datasetReference); |
272 unittest.expect(o.defaultTableExpirationMs, unittest.equals('foo')); | 272 unittest.expect(o.defaultTableExpirationMs, unittest.equals('foo')); |
273 unittest.expect(o.description, unittest.equals('foo')); | 273 unittest.expect(o.description, unittest.equals('foo')); |
274 unittest.expect(o.etag, unittest.equals('foo')); | 274 unittest.expect(o.etag, unittest.equals('foo')); |
275 unittest.expect(o.friendlyName, unittest.equals('foo')); | 275 unittest.expect(o.friendlyName, unittest.equals('foo')); |
276 unittest.expect(o.id, unittest.equals('foo')); | 276 unittest.expect(o.id, unittest.equals('foo')); |
277 unittest.expect(o.kind, unittest.equals('foo')); | 277 unittest.expect(o.kind, unittest.equals('foo')); |
278 checkUnnamed2977(o.labels); | 278 checkUnnamed3068(o.labels); |
279 unittest.expect(o.lastModifiedTime, unittest.equals('foo')); | 279 unittest.expect(o.lastModifiedTime, unittest.equals('foo')); |
280 unittest.expect(o.location, unittest.equals('foo')); | 280 unittest.expect(o.location, unittest.equals('foo')); |
281 unittest.expect(o.selfLink, unittest.equals('foo')); | 281 unittest.expect(o.selfLink, unittest.equals('foo')); |
282 } | 282 } |
283 buildCounterDataset--; | 283 buildCounterDataset--; |
284 } | 284 } |
285 | 285 |
286 buildUnnamed2978() { | 286 buildUnnamed3069() { |
287 var o = new core.Map<core.String, core.String>(); | 287 var o = new core.Map<core.String, core.String>(); |
288 o["x"] = "foo"; | 288 o["x"] = "foo"; |
289 o["y"] = "foo"; | 289 o["y"] = "foo"; |
290 return o; | 290 return o; |
291 } | 291 } |
292 | 292 |
293 checkUnnamed2978(core.Map<core.String, core.String> o) { | 293 checkUnnamed3069(core.Map<core.String, core.String> o) { |
294 unittest.expect(o, unittest.hasLength(2)); | 294 unittest.expect(o, unittest.hasLength(2)); |
295 unittest.expect(o["x"], unittest.equals('foo')); | 295 unittest.expect(o["x"], unittest.equals('foo')); |
296 unittest.expect(o["y"], unittest.equals('foo')); | 296 unittest.expect(o["y"], unittest.equals('foo')); |
297 } | 297 } |
298 | 298 |
299 core.int buildCounterDatasetListDatasets = 0; | 299 core.int buildCounterDatasetListDatasets = 0; |
300 buildDatasetListDatasets() { | 300 buildDatasetListDatasets() { |
301 var o = new api.DatasetListDatasets(); | 301 var o = new api.DatasetListDatasets(); |
302 buildCounterDatasetListDatasets++; | 302 buildCounterDatasetListDatasets++; |
303 if (buildCounterDatasetListDatasets < 3) { | 303 if (buildCounterDatasetListDatasets < 3) { |
304 o.datasetReference = buildDatasetReference(); | 304 o.datasetReference = buildDatasetReference(); |
305 o.friendlyName = "foo"; | 305 o.friendlyName = "foo"; |
306 o.id = "foo"; | 306 o.id = "foo"; |
307 o.kind = "foo"; | 307 o.kind = "foo"; |
308 o.labels = buildUnnamed2978(); | 308 o.labels = buildUnnamed3069(); |
309 } | 309 } |
310 buildCounterDatasetListDatasets--; | 310 buildCounterDatasetListDatasets--; |
311 return o; | 311 return o; |
312 } | 312 } |
313 | 313 |
314 checkDatasetListDatasets(api.DatasetListDatasets o) { | 314 checkDatasetListDatasets(api.DatasetListDatasets o) { |
315 buildCounterDatasetListDatasets++; | 315 buildCounterDatasetListDatasets++; |
316 if (buildCounterDatasetListDatasets < 3) { | 316 if (buildCounterDatasetListDatasets < 3) { |
317 checkDatasetReference(o.datasetReference); | 317 checkDatasetReference(o.datasetReference); |
318 unittest.expect(o.friendlyName, unittest.equals('foo')); | 318 unittest.expect(o.friendlyName, unittest.equals('foo')); |
319 unittest.expect(o.id, unittest.equals('foo')); | 319 unittest.expect(o.id, unittest.equals('foo')); |
320 unittest.expect(o.kind, unittest.equals('foo')); | 320 unittest.expect(o.kind, unittest.equals('foo')); |
321 checkUnnamed2978(o.labels); | 321 checkUnnamed3069(o.labels); |
322 } | 322 } |
323 buildCounterDatasetListDatasets--; | 323 buildCounterDatasetListDatasets--; |
324 } | 324 } |
325 | 325 |
326 buildUnnamed2979() { | 326 buildUnnamed3070() { |
327 var o = new core.List<api.DatasetListDatasets>(); | 327 var o = new core.List<api.DatasetListDatasets>(); |
328 o.add(buildDatasetListDatasets()); | 328 o.add(buildDatasetListDatasets()); |
329 o.add(buildDatasetListDatasets()); | 329 o.add(buildDatasetListDatasets()); |
330 return o; | 330 return o; |
331 } | 331 } |
332 | 332 |
333 checkUnnamed2979(core.List<api.DatasetListDatasets> o) { | 333 checkUnnamed3070(core.List<api.DatasetListDatasets> o) { |
334 unittest.expect(o, unittest.hasLength(2)); | 334 unittest.expect(o, unittest.hasLength(2)); |
335 checkDatasetListDatasets(o[0]); | 335 checkDatasetListDatasets(o[0]); |
336 checkDatasetListDatasets(o[1]); | 336 checkDatasetListDatasets(o[1]); |
337 } | 337 } |
338 | 338 |
339 core.int buildCounterDatasetList = 0; | 339 core.int buildCounterDatasetList = 0; |
340 buildDatasetList() { | 340 buildDatasetList() { |
341 var o = new api.DatasetList(); | 341 var o = new api.DatasetList(); |
342 buildCounterDatasetList++; | 342 buildCounterDatasetList++; |
343 if (buildCounterDatasetList < 3) { | 343 if (buildCounterDatasetList < 3) { |
344 o.datasets = buildUnnamed2979(); | 344 o.datasets = buildUnnamed3070(); |
345 o.etag = "foo"; | 345 o.etag = "foo"; |
346 o.kind = "foo"; | 346 o.kind = "foo"; |
347 o.nextPageToken = "foo"; | 347 o.nextPageToken = "foo"; |
348 } | 348 } |
349 buildCounterDatasetList--; | 349 buildCounterDatasetList--; |
350 return o; | 350 return o; |
351 } | 351 } |
352 | 352 |
353 checkDatasetList(api.DatasetList o) { | 353 checkDatasetList(api.DatasetList o) { |
354 buildCounterDatasetList++; | 354 buildCounterDatasetList++; |
355 if (buildCounterDatasetList < 3) { | 355 if (buildCounterDatasetList < 3) { |
356 checkUnnamed2979(o.datasets); | 356 checkUnnamed3070(o.datasets); |
357 unittest.expect(o.etag, unittest.equals('foo')); | 357 unittest.expect(o.etag, unittest.equals('foo')); |
358 unittest.expect(o.kind, unittest.equals('foo')); | 358 unittest.expect(o.kind, unittest.equals('foo')); |
359 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 359 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
360 } | 360 } |
361 buildCounterDatasetList--; | 361 buildCounterDatasetList--; |
362 } | 362 } |
363 | 363 |
364 core.int buildCounterDatasetReference = 0; | 364 core.int buildCounterDatasetReference = 0; |
365 buildDatasetReference() { | 365 buildDatasetReference() { |
366 var o = new api.DatasetReference(); | 366 var o = new api.DatasetReference(); |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
400 buildCounterErrorProto++; | 400 buildCounterErrorProto++; |
401 if (buildCounterErrorProto < 3) { | 401 if (buildCounterErrorProto < 3) { |
402 unittest.expect(o.debugInfo, unittest.equals('foo')); | 402 unittest.expect(o.debugInfo, unittest.equals('foo')); |
403 unittest.expect(o.location, unittest.equals('foo')); | 403 unittest.expect(o.location, unittest.equals('foo')); |
404 unittest.expect(o.message, unittest.equals('foo')); | 404 unittest.expect(o.message, unittest.equals('foo')); |
405 unittest.expect(o.reason, unittest.equals('foo')); | 405 unittest.expect(o.reason, unittest.equals('foo')); |
406 } | 406 } |
407 buildCounterErrorProto--; | 407 buildCounterErrorProto--; |
408 } | 408 } |
409 | 409 |
410 buildUnnamed2980() { | 410 buildUnnamed3071() { |
411 var o = new core.List<api.ExplainQueryStep>(); | 411 var o = new core.List<api.ExplainQueryStep>(); |
412 o.add(buildExplainQueryStep()); | 412 o.add(buildExplainQueryStep()); |
413 o.add(buildExplainQueryStep()); | 413 o.add(buildExplainQueryStep()); |
414 return o; | 414 return o; |
415 } | 415 } |
416 | 416 |
417 checkUnnamed2980(core.List<api.ExplainQueryStep> o) { | 417 checkUnnamed3071(core.List<api.ExplainQueryStep> o) { |
418 unittest.expect(o, unittest.hasLength(2)); | 418 unittest.expect(o, unittest.hasLength(2)); |
419 checkExplainQueryStep(o[0]); | 419 checkExplainQueryStep(o[0]); |
420 checkExplainQueryStep(o[1]); | 420 checkExplainQueryStep(o[1]); |
421 } | 421 } |
422 | 422 |
423 core.int buildCounterExplainQueryStage = 0; | 423 core.int buildCounterExplainQueryStage = 0; |
424 buildExplainQueryStage() { | 424 buildExplainQueryStage() { |
425 var o = new api.ExplainQueryStage(); | 425 var o = new api.ExplainQueryStage(); |
426 buildCounterExplainQueryStage++; | 426 buildCounterExplainQueryStage++; |
427 if (buildCounterExplainQueryStage < 3) { | 427 if (buildCounterExplainQueryStage < 3) { |
428 o.computeRatioAvg = 42.0; | 428 o.computeRatioAvg = 42.0; |
429 o.computeRatioMax = 42.0; | 429 o.computeRatioMax = 42.0; |
430 o.id = "foo"; | 430 o.id = "foo"; |
431 o.name = "foo"; | 431 o.name = "foo"; |
432 o.readRatioAvg = 42.0; | 432 o.readRatioAvg = 42.0; |
433 o.readRatioMax = 42.0; | 433 o.readRatioMax = 42.0; |
434 o.recordsRead = "foo"; | 434 o.recordsRead = "foo"; |
435 o.recordsWritten = "foo"; | 435 o.recordsWritten = "foo"; |
436 o.status = "foo"; | 436 o.status = "foo"; |
437 o.steps = buildUnnamed2980(); | 437 o.steps = buildUnnamed3071(); |
438 o.waitRatioAvg = 42.0; | 438 o.waitRatioAvg = 42.0; |
439 o.waitRatioMax = 42.0; | 439 o.waitRatioMax = 42.0; |
440 o.writeRatioAvg = 42.0; | 440 o.writeRatioAvg = 42.0; |
441 o.writeRatioMax = 42.0; | 441 o.writeRatioMax = 42.0; |
442 } | 442 } |
443 buildCounterExplainQueryStage--; | 443 buildCounterExplainQueryStage--; |
444 return o; | 444 return o; |
445 } | 445 } |
446 | 446 |
447 checkExplainQueryStage(api.ExplainQueryStage o) { | 447 checkExplainQueryStage(api.ExplainQueryStage o) { |
448 buildCounterExplainQueryStage++; | 448 buildCounterExplainQueryStage++; |
449 if (buildCounterExplainQueryStage < 3) { | 449 if (buildCounterExplainQueryStage < 3) { |
450 unittest.expect(o.computeRatioAvg, unittest.equals(42.0)); | 450 unittest.expect(o.computeRatioAvg, unittest.equals(42.0)); |
451 unittest.expect(o.computeRatioMax, unittest.equals(42.0)); | 451 unittest.expect(o.computeRatioMax, unittest.equals(42.0)); |
452 unittest.expect(o.id, unittest.equals('foo')); | 452 unittest.expect(o.id, unittest.equals('foo')); |
453 unittest.expect(o.name, unittest.equals('foo')); | 453 unittest.expect(o.name, unittest.equals('foo')); |
454 unittest.expect(o.readRatioAvg, unittest.equals(42.0)); | 454 unittest.expect(o.readRatioAvg, unittest.equals(42.0)); |
455 unittest.expect(o.readRatioMax, unittest.equals(42.0)); | 455 unittest.expect(o.readRatioMax, unittest.equals(42.0)); |
456 unittest.expect(o.recordsRead, unittest.equals('foo')); | 456 unittest.expect(o.recordsRead, unittest.equals('foo')); |
457 unittest.expect(o.recordsWritten, unittest.equals('foo')); | 457 unittest.expect(o.recordsWritten, unittest.equals('foo')); |
458 unittest.expect(o.status, unittest.equals('foo')); | 458 unittest.expect(o.status, unittest.equals('foo')); |
459 checkUnnamed2980(o.steps); | 459 checkUnnamed3071(o.steps); |
460 unittest.expect(o.waitRatioAvg, unittest.equals(42.0)); | 460 unittest.expect(o.waitRatioAvg, unittest.equals(42.0)); |
461 unittest.expect(o.waitRatioMax, unittest.equals(42.0)); | 461 unittest.expect(o.waitRatioMax, unittest.equals(42.0)); |
462 unittest.expect(o.writeRatioAvg, unittest.equals(42.0)); | 462 unittest.expect(o.writeRatioAvg, unittest.equals(42.0)); |
463 unittest.expect(o.writeRatioMax, unittest.equals(42.0)); | 463 unittest.expect(o.writeRatioMax, unittest.equals(42.0)); |
464 } | 464 } |
465 buildCounterExplainQueryStage--; | 465 buildCounterExplainQueryStage--; |
466 } | 466 } |
467 | 467 |
468 buildUnnamed2981() { | 468 buildUnnamed3072() { |
469 var o = new core.List<core.String>(); | 469 var o = new core.List<core.String>(); |
470 o.add("foo"); | 470 o.add("foo"); |
471 o.add("foo"); | 471 o.add("foo"); |
472 return o; | 472 return o; |
473 } | 473 } |
474 | 474 |
475 checkUnnamed2981(core.List<core.String> o) { | 475 checkUnnamed3072(core.List<core.String> o) { |
476 unittest.expect(o, unittest.hasLength(2)); | 476 unittest.expect(o, unittest.hasLength(2)); |
477 unittest.expect(o[0], unittest.equals('foo')); | 477 unittest.expect(o[0], unittest.equals('foo')); |
478 unittest.expect(o[1], unittest.equals('foo')); | 478 unittest.expect(o[1], unittest.equals('foo')); |
479 } | 479 } |
480 | 480 |
481 core.int buildCounterExplainQueryStep = 0; | 481 core.int buildCounterExplainQueryStep = 0; |
482 buildExplainQueryStep() { | 482 buildExplainQueryStep() { |
483 var o = new api.ExplainQueryStep(); | 483 var o = new api.ExplainQueryStep(); |
484 buildCounterExplainQueryStep++; | 484 buildCounterExplainQueryStep++; |
485 if (buildCounterExplainQueryStep < 3) { | 485 if (buildCounterExplainQueryStep < 3) { |
486 o.kind = "foo"; | 486 o.kind = "foo"; |
487 o.substeps = buildUnnamed2981(); | 487 o.substeps = buildUnnamed3072(); |
488 } | 488 } |
489 buildCounterExplainQueryStep--; | 489 buildCounterExplainQueryStep--; |
490 return o; | 490 return o; |
491 } | 491 } |
492 | 492 |
493 checkExplainQueryStep(api.ExplainQueryStep o) { | 493 checkExplainQueryStep(api.ExplainQueryStep o) { |
494 buildCounterExplainQueryStep++; | 494 buildCounterExplainQueryStep++; |
495 if (buildCounterExplainQueryStep < 3) { | 495 if (buildCounterExplainQueryStep < 3) { |
496 unittest.expect(o.kind, unittest.equals('foo')); | 496 unittest.expect(o.kind, unittest.equals('foo')); |
497 checkUnnamed2981(o.substeps); | 497 checkUnnamed3072(o.substeps); |
498 } | 498 } |
499 buildCounterExplainQueryStep--; | 499 buildCounterExplainQueryStep--; |
500 } | 500 } |
501 | 501 |
502 buildUnnamed2982() { | 502 buildUnnamed3073() { |
503 var o = new core.List<core.String>(); | 503 var o = new core.List<core.String>(); |
504 o.add("foo"); | 504 o.add("foo"); |
505 o.add("foo"); | 505 o.add("foo"); |
506 return o; | 506 return o; |
507 } | 507 } |
508 | 508 |
509 checkUnnamed2982(core.List<core.String> o) { | 509 checkUnnamed3073(core.List<core.String> o) { |
510 unittest.expect(o, unittest.hasLength(2)); | 510 unittest.expect(o, unittest.hasLength(2)); |
511 unittest.expect(o[0], unittest.equals('foo')); | 511 unittest.expect(o[0], unittest.equals('foo')); |
512 unittest.expect(o[1], unittest.equals('foo')); | 512 unittest.expect(o[1], unittest.equals('foo')); |
513 } | 513 } |
514 | 514 |
515 core.int buildCounterExternalDataConfiguration = 0; | 515 core.int buildCounterExternalDataConfiguration = 0; |
516 buildExternalDataConfiguration() { | 516 buildExternalDataConfiguration() { |
517 var o = new api.ExternalDataConfiguration(); | 517 var o = new api.ExternalDataConfiguration(); |
518 buildCounterExternalDataConfiguration++; | 518 buildCounterExternalDataConfiguration++; |
519 if (buildCounterExternalDataConfiguration < 3) { | 519 if (buildCounterExternalDataConfiguration < 3) { |
520 o.autodetect = true; | 520 o.autodetect = true; |
521 o.bigtableOptions = buildBigtableOptions(); | 521 o.bigtableOptions = buildBigtableOptions(); |
522 o.compression = "foo"; | 522 o.compression = "foo"; |
523 o.csvOptions = buildCsvOptions(); | 523 o.csvOptions = buildCsvOptions(); |
524 o.googleSheetsOptions = buildGoogleSheetsOptions(); | 524 o.googleSheetsOptions = buildGoogleSheetsOptions(); |
525 o.ignoreUnknownValues = true; | 525 o.ignoreUnknownValues = true; |
526 o.maxBadRecords = 42; | 526 o.maxBadRecords = 42; |
527 o.schema = buildTableSchema(); | 527 o.schema = buildTableSchema(); |
528 o.sourceFormat = "foo"; | 528 o.sourceFormat = "foo"; |
529 o.sourceUris = buildUnnamed2982(); | 529 o.sourceUris = buildUnnamed3073(); |
530 } | 530 } |
531 buildCounterExternalDataConfiguration--; | 531 buildCounterExternalDataConfiguration--; |
532 return o; | 532 return o; |
533 } | 533 } |
534 | 534 |
535 checkExternalDataConfiguration(api.ExternalDataConfiguration o) { | 535 checkExternalDataConfiguration(api.ExternalDataConfiguration o) { |
536 buildCounterExternalDataConfiguration++; | 536 buildCounterExternalDataConfiguration++; |
537 if (buildCounterExternalDataConfiguration < 3) { | 537 if (buildCounterExternalDataConfiguration < 3) { |
538 unittest.expect(o.autodetect, unittest.isTrue); | 538 unittest.expect(o.autodetect, unittest.isTrue); |
539 checkBigtableOptions(o.bigtableOptions); | 539 checkBigtableOptions(o.bigtableOptions); |
540 unittest.expect(o.compression, unittest.equals('foo')); | 540 unittest.expect(o.compression, unittest.equals('foo')); |
541 checkCsvOptions(o.csvOptions); | 541 checkCsvOptions(o.csvOptions); |
542 checkGoogleSheetsOptions(o.googleSheetsOptions); | 542 checkGoogleSheetsOptions(o.googleSheetsOptions); |
543 unittest.expect(o.ignoreUnknownValues, unittest.isTrue); | 543 unittest.expect(o.ignoreUnknownValues, unittest.isTrue); |
544 unittest.expect(o.maxBadRecords, unittest.equals(42)); | 544 unittest.expect(o.maxBadRecords, unittest.equals(42)); |
545 checkTableSchema(o.schema); | 545 checkTableSchema(o.schema); |
546 unittest.expect(o.sourceFormat, unittest.equals('foo')); | 546 unittest.expect(o.sourceFormat, unittest.equals('foo')); |
547 checkUnnamed2982(o.sourceUris); | 547 checkUnnamed3073(o.sourceUris); |
548 } | 548 } |
549 buildCounterExternalDataConfiguration--; | 549 buildCounterExternalDataConfiguration--; |
550 } | 550 } |
551 | 551 |
552 buildUnnamed2983() { | 552 buildUnnamed3074() { |
553 var o = new core.List<api.ErrorProto>(); | 553 var o = new core.List<api.ErrorProto>(); |
554 o.add(buildErrorProto()); | 554 o.add(buildErrorProto()); |
555 o.add(buildErrorProto()); | 555 o.add(buildErrorProto()); |
556 return o; | 556 return o; |
557 } | 557 } |
558 | 558 |
559 checkUnnamed2983(core.List<api.ErrorProto> o) { | 559 checkUnnamed3074(core.List<api.ErrorProto> o) { |
560 unittest.expect(o, unittest.hasLength(2)); | 560 unittest.expect(o, unittest.hasLength(2)); |
561 checkErrorProto(o[0]); | 561 checkErrorProto(o[0]); |
562 checkErrorProto(o[1]); | 562 checkErrorProto(o[1]); |
563 } | 563 } |
564 | 564 |
565 buildUnnamed2984() { | 565 buildUnnamed3075() { |
566 var o = new core.List<api.TableRow>(); | 566 var o = new core.List<api.TableRow>(); |
567 o.add(buildTableRow()); | 567 o.add(buildTableRow()); |
568 o.add(buildTableRow()); | 568 o.add(buildTableRow()); |
569 return o; | 569 return o; |
570 } | 570 } |
571 | 571 |
572 checkUnnamed2984(core.List<api.TableRow> o) { | 572 checkUnnamed3075(core.List<api.TableRow> o) { |
573 unittest.expect(o, unittest.hasLength(2)); | 573 unittest.expect(o, unittest.hasLength(2)); |
574 checkTableRow(o[0]); | 574 checkTableRow(o[0]); |
575 checkTableRow(o[1]); | 575 checkTableRow(o[1]); |
576 } | 576 } |
577 | 577 |
578 core.int buildCounterGetQueryResultsResponse = 0; | 578 core.int buildCounterGetQueryResultsResponse = 0; |
579 buildGetQueryResultsResponse() { | 579 buildGetQueryResultsResponse() { |
580 var o = new api.GetQueryResultsResponse(); | 580 var o = new api.GetQueryResultsResponse(); |
581 buildCounterGetQueryResultsResponse++; | 581 buildCounterGetQueryResultsResponse++; |
582 if (buildCounterGetQueryResultsResponse < 3) { | 582 if (buildCounterGetQueryResultsResponse < 3) { |
583 o.cacheHit = true; | 583 o.cacheHit = true; |
584 o.errors = buildUnnamed2983(); | 584 o.errors = buildUnnamed3074(); |
585 o.etag = "foo"; | 585 o.etag = "foo"; |
586 o.jobComplete = true; | 586 o.jobComplete = true; |
587 o.jobReference = buildJobReference(); | 587 o.jobReference = buildJobReference(); |
588 o.kind = "foo"; | 588 o.kind = "foo"; |
589 o.numDmlAffectedRows = "foo"; | 589 o.numDmlAffectedRows = "foo"; |
590 o.pageToken = "foo"; | 590 o.pageToken = "foo"; |
591 o.rows = buildUnnamed2984(); | 591 o.rows = buildUnnamed3075(); |
592 o.schema = buildTableSchema(); | 592 o.schema = buildTableSchema(); |
593 o.totalBytesProcessed = "foo"; | 593 o.totalBytesProcessed = "foo"; |
594 o.totalRows = "foo"; | 594 o.totalRows = "foo"; |
595 } | 595 } |
596 buildCounterGetQueryResultsResponse--; | 596 buildCounterGetQueryResultsResponse--; |
597 return o; | 597 return o; |
598 } | 598 } |
599 | 599 |
600 checkGetQueryResultsResponse(api.GetQueryResultsResponse o) { | 600 checkGetQueryResultsResponse(api.GetQueryResultsResponse o) { |
601 buildCounterGetQueryResultsResponse++; | 601 buildCounterGetQueryResultsResponse++; |
602 if (buildCounterGetQueryResultsResponse < 3) { | 602 if (buildCounterGetQueryResultsResponse < 3) { |
603 unittest.expect(o.cacheHit, unittest.isTrue); | 603 unittest.expect(o.cacheHit, unittest.isTrue); |
604 checkUnnamed2983(o.errors); | 604 checkUnnamed3074(o.errors); |
605 unittest.expect(o.etag, unittest.equals('foo')); | 605 unittest.expect(o.etag, unittest.equals('foo')); |
606 unittest.expect(o.jobComplete, unittest.isTrue); | 606 unittest.expect(o.jobComplete, unittest.isTrue); |
607 checkJobReference(o.jobReference); | 607 checkJobReference(o.jobReference); |
608 unittest.expect(o.kind, unittest.equals('foo')); | 608 unittest.expect(o.kind, unittest.equals('foo')); |
609 unittest.expect(o.numDmlAffectedRows, unittest.equals('foo')); | 609 unittest.expect(o.numDmlAffectedRows, unittest.equals('foo')); |
610 unittest.expect(o.pageToken, unittest.equals('foo')); | 610 unittest.expect(o.pageToken, unittest.equals('foo')); |
611 checkUnnamed2984(o.rows); | 611 checkUnnamed3075(o.rows); |
612 checkTableSchema(o.schema); | 612 checkTableSchema(o.schema); |
613 unittest.expect(o.totalBytesProcessed, unittest.equals('foo')); | 613 unittest.expect(o.totalBytesProcessed, unittest.equals('foo')); |
614 unittest.expect(o.totalRows, unittest.equals('foo')); | 614 unittest.expect(o.totalRows, unittest.equals('foo')); |
615 } | 615 } |
616 buildCounterGetQueryResultsResponse--; | 616 buildCounterGetQueryResultsResponse--; |
617 } | 617 } |
618 | 618 |
619 core.int buildCounterGoogleSheetsOptions = 0; | 619 core.int buildCounterGoogleSheetsOptions = 0; |
620 buildGoogleSheetsOptions() { | 620 buildGoogleSheetsOptions() { |
621 var o = new api.GoogleSheetsOptions(); | 621 var o = new api.GoogleSheetsOptions(); |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
684 | 684 |
685 checkJobCancelResponse(api.JobCancelResponse o) { | 685 checkJobCancelResponse(api.JobCancelResponse o) { |
686 buildCounterJobCancelResponse++; | 686 buildCounterJobCancelResponse++; |
687 if (buildCounterJobCancelResponse < 3) { | 687 if (buildCounterJobCancelResponse < 3) { |
688 checkJob(o.job); | 688 checkJob(o.job); |
689 unittest.expect(o.kind, unittest.equals('foo')); | 689 unittest.expect(o.kind, unittest.equals('foo')); |
690 } | 690 } |
691 buildCounterJobCancelResponse--; | 691 buildCounterJobCancelResponse--; |
692 } | 692 } |
693 | 693 |
694 buildUnnamed2985() { | 694 buildUnnamed3076() { |
695 var o = new core.Map<core.String, core.String>(); | 695 var o = new core.Map<core.String, core.String>(); |
696 o["x"] = "foo"; | 696 o["x"] = "foo"; |
697 o["y"] = "foo"; | 697 o["y"] = "foo"; |
698 return o; | 698 return o; |
699 } | 699 } |
700 | 700 |
701 checkUnnamed2985(core.Map<core.String, core.String> o) { | 701 checkUnnamed3076(core.Map<core.String, core.String> o) { |
702 unittest.expect(o, unittest.hasLength(2)); | 702 unittest.expect(o, unittest.hasLength(2)); |
703 unittest.expect(o["x"], unittest.equals('foo')); | 703 unittest.expect(o["x"], unittest.equals('foo')); |
704 unittest.expect(o["y"], unittest.equals('foo')); | 704 unittest.expect(o["y"], unittest.equals('foo')); |
705 } | 705 } |
706 | 706 |
707 core.int buildCounterJobConfiguration = 0; | 707 core.int buildCounterJobConfiguration = 0; |
708 buildJobConfiguration() { | 708 buildJobConfiguration() { |
709 var o = new api.JobConfiguration(); | 709 var o = new api.JobConfiguration(); |
710 buildCounterJobConfiguration++; | 710 buildCounterJobConfiguration++; |
711 if (buildCounterJobConfiguration < 3) { | 711 if (buildCounterJobConfiguration < 3) { |
712 o.copy = buildJobConfigurationTableCopy(); | 712 o.copy = buildJobConfigurationTableCopy(); |
713 o.dryRun = true; | 713 o.dryRun = true; |
714 o.extract = buildJobConfigurationExtract(); | 714 o.extract = buildJobConfigurationExtract(); |
715 o.labels = buildUnnamed2985(); | 715 o.labels = buildUnnamed3076(); |
716 o.load = buildJobConfigurationLoad(); | 716 o.load = buildJobConfigurationLoad(); |
717 o.query = buildJobConfigurationQuery(); | 717 o.query = buildJobConfigurationQuery(); |
718 } | 718 } |
719 buildCounterJobConfiguration--; | 719 buildCounterJobConfiguration--; |
720 return o; | 720 return o; |
721 } | 721 } |
722 | 722 |
723 checkJobConfiguration(api.JobConfiguration o) { | 723 checkJobConfiguration(api.JobConfiguration o) { |
724 buildCounterJobConfiguration++; | 724 buildCounterJobConfiguration++; |
725 if (buildCounterJobConfiguration < 3) { | 725 if (buildCounterJobConfiguration < 3) { |
726 checkJobConfigurationTableCopy(o.copy); | 726 checkJobConfigurationTableCopy(o.copy); |
727 unittest.expect(o.dryRun, unittest.isTrue); | 727 unittest.expect(o.dryRun, unittest.isTrue); |
728 checkJobConfigurationExtract(o.extract); | 728 checkJobConfigurationExtract(o.extract); |
729 checkUnnamed2985(o.labels); | 729 checkUnnamed3076(o.labels); |
730 checkJobConfigurationLoad(o.load); | 730 checkJobConfigurationLoad(o.load); |
731 checkJobConfigurationQuery(o.query); | 731 checkJobConfigurationQuery(o.query); |
732 } | 732 } |
733 buildCounterJobConfiguration--; | 733 buildCounterJobConfiguration--; |
734 } | 734 } |
735 | 735 |
736 buildUnnamed2986() { | 736 buildUnnamed3077() { |
737 var o = new core.List<core.String>(); | 737 var o = new core.List<core.String>(); |
738 o.add("foo"); | 738 o.add("foo"); |
739 o.add("foo"); | 739 o.add("foo"); |
740 return o; | 740 return o; |
741 } | 741 } |
742 | 742 |
743 checkUnnamed2986(core.List<core.String> o) { | 743 checkUnnamed3077(core.List<core.String> o) { |
744 unittest.expect(o, unittest.hasLength(2)); | 744 unittest.expect(o, unittest.hasLength(2)); |
745 unittest.expect(o[0], unittest.equals('foo')); | 745 unittest.expect(o[0], unittest.equals('foo')); |
746 unittest.expect(o[1], unittest.equals('foo')); | 746 unittest.expect(o[1], unittest.equals('foo')); |
747 } | 747 } |
748 | 748 |
749 core.int buildCounterJobConfigurationExtract = 0; | 749 core.int buildCounterJobConfigurationExtract = 0; |
750 buildJobConfigurationExtract() { | 750 buildJobConfigurationExtract() { |
751 var o = new api.JobConfigurationExtract(); | 751 var o = new api.JobConfigurationExtract(); |
752 buildCounterJobConfigurationExtract++; | 752 buildCounterJobConfigurationExtract++; |
753 if (buildCounterJobConfigurationExtract < 3) { | 753 if (buildCounterJobConfigurationExtract < 3) { |
754 o.compression = "foo"; | 754 o.compression = "foo"; |
755 o.destinationFormat = "foo"; | 755 o.destinationFormat = "foo"; |
756 o.destinationUri = "foo"; | 756 o.destinationUri = "foo"; |
757 o.destinationUris = buildUnnamed2986(); | 757 o.destinationUris = buildUnnamed3077(); |
758 o.fieldDelimiter = "foo"; | 758 o.fieldDelimiter = "foo"; |
759 o.printHeader = true; | 759 o.printHeader = true; |
760 o.sourceTable = buildTableReference(); | 760 o.sourceTable = buildTableReference(); |
761 } | 761 } |
762 buildCounterJobConfigurationExtract--; | 762 buildCounterJobConfigurationExtract--; |
763 return o; | 763 return o; |
764 } | 764 } |
765 | 765 |
766 checkJobConfigurationExtract(api.JobConfigurationExtract o) { | 766 checkJobConfigurationExtract(api.JobConfigurationExtract o) { |
767 buildCounterJobConfigurationExtract++; | 767 buildCounterJobConfigurationExtract++; |
768 if (buildCounterJobConfigurationExtract < 3) { | 768 if (buildCounterJobConfigurationExtract < 3) { |
769 unittest.expect(o.compression, unittest.equals('foo')); | 769 unittest.expect(o.compression, unittest.equals('foo')); |
770 unittest.expect(o.destinationFormat, unittest.equals('foo')); | 770 unittest.expect(o.destinationFormat, unittest.equals('foo')); |
771 unittest.expect(o.destinationUri, unittest.equals('foo')); | 771 unittest.expect(o.destinationUri, unittest.equals('foo')); |
772 checkUnnamed2986(o.destinationUris); | 772 checkUnnamed3077(o.destinationUris); |
773 unittest.expect(o.fieldDelimiter, unittest.equals('foo')); | 773 unittest.expect(o.fieldDelimiter, unittest.equals('foo')); |
774 unittest.expect(o.printHeader, unittest.isTrue); | 774 unittest.expect(o.printHeader, unittest.isTrue); |
775 checkTableReference(o.sourceTable); | 775 checkTableReference(o.sourceTable); |
776 } | 776 } |
777 buildCounterJobConfigurationExtract--; | 777 buildCounterJobConfigurationExtract--; |
778 } | 778 } |
779 | 779 |
780 buildUnnamed2987() { | 780 buildUnnamed3078() { |
781 var o = new core.List<core.String>(); | 781 var o = new core.List<core.String>(); |
782 o.add("foo"); | 782 o.add("foo"); |
783 o.add("foo"); | 783 o.add("foo"); |
784 return o; | 784 return o; |
785 } | 785 } |
786 | 786 |
787 checkUnnamed2987(core.List<core.String> o) { | 787 checkUnnamed3078(core.List<core.String> o) { |
788 unittest.expect(o, unittest.hasLength(2)); | 788 unittest.expect(o, unittest.hasLength(2)); |
789 unittest.expect(o[0], unittest.equals('foo')); | 789 unittest.expect(o[0], unittest.equals('foo')); |
790 unittest.expect(o[1], unittest.equals('foo')); | 790 unittest.expect(o[1], unittest.equals('foo')); |
791 } | 791 } |
792 | 792 |
793 buildUnnamed2988() { | 793 buildUnnamed3079() { |
794 var o = new core.List<core.String>(); | 794 var o = new core.List<core.String>(); |
795 o.add("foo"); | 795 o.add("foo"); |
796 o.add("foo"); | 796 o.add("foo"); |
797 return o; | 797 return o; |
798 } | 798 } |
799 | 799 |
800 checkUnnamed2988(core.List<core.String> o) { | 800 checkUnnamed3079(core.List<core.String> o) { |
801 unittest.expect(o, unittest.hasLength(2)); | 801 unittest.expect(o, unittest.hasLength(2)); |
802 unittest.expect(o[0], unittest.equals('foo')); | 802 unittest.expect(o[0], unittest.equals('foo')); |
803 unittest.expect(o[1], unittest.equals('foo')); | 803 unittest.expect(o[1], unittest.equals('foo')); |
804 } | 804 } |
805 | 805 |
806 buildUnnamed2989() { | 806 buildUnnamed3080() { |
807 var o = new core.List<core.String>(); | 807 var o = new core.List<core.String>(); |
808 o.add("foo"); | 808 o.add("foo"); |
809 o.add("foo"); | 809 o.add("foo"); |
810 return o; | 810 return o; |
811 } | 811 } |
812 | 812 |
813 checkUnnamed2989(core.List<core.String> o) { | 813 checkUnnamed3080(core.List<core.String> o) { |
814 unittest.expect(o, unittest.hasLength(2)); | 814 unittest.expect(o, unittest.hasLength(2)); |
815 unittest.expect(o[0], unittest.equals('foo')); | 815 unittest.expect(o[0], unittest.equals('foo')); |
816 unittest.expect(o[1], unittest.equals('foo')); | 816 unittest.expect(o[1], unittest.equals('foo')); |
817 } | 817 } |
818 | 818 |
819 core.int buildCounterJobConfigurationLoad = 0; | 819 core.int buildCounterJobConfigurationLoad = 0; |
820 buildJobConfigurationLoad() { | 820 buildJobConfigurationLoad() { |
821 var o = new api.JobConfigurationLoad(); | 821 var o = new api.JobConfigurationLoad(); |
822 buildCounterJobConfigurationLoad++; | 822 buildCounterJobConfigurationLoad++; |
823 if (buildCounterJobConfigurationLoad < 3) { | 823 if (buildCounterJobConfigurationLoad < 3) { |
824 o.allowJaggedRows = true; | 824 o.allowJaggedRows = true; |
825 o.allowQuotedNewlines = true; | 825 o.allowQuotedNewlines = true; |
826 o.autodetect = true; | 826 o.autodetect = true; |
827 o.createDisposition = "foo"; | 827 o.createDisposition = "foo"; |
828 o.destinationTable = buildTableReference(); | 828 o.destinationTable = buildTableReference(); |
829 o.encoding = "foo"; | 829 o.encoding = "foo"; |
830 o.fieldDelimiter = "foo"; | 830 o.fieldDelimiter = "foo"; |
831 o.ignoreUnknownValues = true; | 831 o.ignoreUnknownValues = true; |
832 o.maxBadRecords = 42; | 832 o.maxBadRecords = 42; |
833 o.nullMarker = "foo"; | 833 o.nullMarker = "foo"; |
834 o.projectionFields = buildUnnamed2987(); | 834 o.projectionFields = buildUnnamed3078(); |
835 o.quote = "foo"; | 835 o.quote = "foo"; |
836 o.schema = buildTableSchema(); | 836 o.schema = buildTableSchema(); |
837 o.schemaInline = "foo"; | 837 o.schemaInline = "foo"; |
838 o.schemaInlineFormat = "foo"; | 838 o.schemaInlineFormat = "foo"; |
839 o.schemaUpdateOptions = buildUnnamed2988(); | 839 o.schemaUpdateOptions = buildUnnamed3079(); |
840 o.skipLeadingRows = 42; | 840 o.skipLeadingRows = 42; |
841 o.sourceFormat = "foo"; | 841 o.sourceFormat = "foo"; |
842 o.sourceUris = buildUnnamed2989(); | 842 o.sourceUris = buildUnnamed3080(); |
843 o.writeDisposition = "foo"; | 843 o.writeDisposition = "foo"; |
844 } | 844 } |
845 buildCounterJobConfigurationLoad--; | 845 buildCounterJobConfigurationLoad--; |
846 return o; | 846 return o; |
847 } | 847 } |
848 | 848 |
849 checkJobConfigurationLoad(api.JobConfigurationLoad o) { | 849 checkJobConfigurationLoad(api.JobConfigurationLoad o) { |
850 buildCounterJobConfigurationLoad++; | 850 buildCounterJobConfigurationLoad++; |
851 if (buildCounterJobConfigurationLoad < 3) { | 851 if (buildCounterJobConfigurationLoad < 3) { |
852 unittest.expect(o.allowJaggedRows, unittest.isTrue); | 852 unittest.expect(o.allowJaggedRows, unittest.isTrue); |
853 unittest.expect(o.allowQuotedNewlines, unittest.isTrue); | 853 unittest.expect(o.allowQuotedNewlines, unittest.isTrue); |
854 unittest.expect(o.autodetect, unittest.isTrue); | 854 unittest.expect(o.autodetect, unittest.isTrue); |
855 unittest.expect(o.createDisposition, unittest.equals('foo')); | 855 unittest.expect(o.createDisposition, unittest.equals('foo')); |
856 checkTableReference(o.destinationTable); | 856 checkTableReference(o.destinationTable); |
857 unittest.expect(o.encoding, unittest.equals('foo')); | 857 unittest.expect(o.encoding, unittest.equals('foo')); |
858 unittest.expect(o.fieldDelimiter, unittest.equals('foo')); | 858 unittest.expect(o.fieldDelimiter, unittest.equals('foo')); |
859 unittest.expect(o.ignoreUnknownValues, unittest.isTrue); | 859 unittest.expect(o.ignoreUnknownValues, unittest.isTrue); |
860 unittest.expect(o.maxBadRecords, unittest.equals(42)); | 860 unittest.expect(o.maxBadRecords, unittest.equals(42)); |
861 unittest.expect(o.nullMarker, unittest.equals('foo')); | 861 unittest.expect(o.nullMarker, unittest.equals('foo')); |
862 checkUnnamed2987(o.projectionFields); | 862 checkUnnamed3078(o.projectionFields); |
863 unittest.expect(o.quote, unittest.equals('foo')); | 863 unittest.expect(o.quote, unittest.equals('foo')); |
864 checkTableSchema(o.schema); | 864 checkTableSchema(o.schema); |
865 unittest.expect(o.schemaInline, unittest.equals('foo')); | 865 unittest.expect(o.schemaInline, unittest.equals('foo')); |
866 unittest.expect(o.schemaInlineFormat, unittest.equals('foo')); | 866 unittest.expect(o.schemaInlineFormat, unittest.equals('foo')); |
867 checkUnnamed2988(o.schemaUpdateOptions); | 867 checkUnnamed3079(o.schemaUpdateOptions); |
868 unittest.expect(o.skipLeadingRows, unittest.equals(42)); | 868 unittest.expect(o.skipLeadingRows, unittest.equals(42)); |
869 unittest.expect(o.sourceFormat, unittest.equals('foo')); | 869 unittest.expect(o.sourceFormat, unittest.equals('foo')); |
870 checkUnnamed2989(o.sourceUris); | 870 checkUnnamed3080(o.sourceUris); |
871 unittest.expect(o.writeDisposition, unittest.equals('foo')); | 871 unittest.expect(o.writeDisposition, unittest.equals('foo')); |
872 } | 872 } |
873 buildCounterJobConfigurationLoad--; | 873 buildCounterJobConfigurationLoad--; |
874 } | 874 } |
875 | 875 |
876 buildUnnamed2990() { | 876 buildUnnamed3081() { |
877 var o = new core.List<api.QueryParameter>(); | 877 var o = new core.List<api.QueryParameter>(); |
878 o.add(buildQueryParameter()); | 878 o.add(buildQueryParameter()); |
879 o.add(buildQueryParameter()); | 879 o.add(buildQueryParameter()); |
880 return o; | 880 return o; |
881 } | 881 } |
882 | 882 |
883 checkUnnamed2990(core.List<api.QueryParameter> o) { | 883 checkUnnamed3081(core.List<api.QueryParameter> o) { |
884 unittest.expect(o, unittest.hasLength(2)); | 884 unittest.expect(o, unittest.hasLength(2)); |
885 checkQueryParameter(o[0]); | 885 checkQueryParameter(o[0]); |
886 checkQueryParameter(o[1]); | 886 checkQueryParameter(o[1]); |
887 } | 887 } |
888 | 888 |
889 buildUnnamed2991() { | 889 buildUnnamed3082() { |
890 var o = new core.List<core.String>(); | 890 var o = new core.List<core.String>(); |
891 o.add("foo"); | 891 o.add("foo"); |
892 o.add("foo"); | 892 o.add("foo"); |
893 return o; | 893 return o; |
894 } | 894 } |
895 | 895 |
896 checkUnnamed2991(core.List<core.String> o) { | 896 checkUnnamed3082(core.List<core.String> o) { |
897 unittest.expect(o, unittest.hasLength(2)); | 897 unittest.expect(o, unittest.hasLength(2)); |
898 unittest.expect(o[0], unittest.equals('foo')); | 898 unittest.expect(o[0], unittest.equals('foo')); |
899 unittest.expect(o[1], unittest.equals('foo')); | 899 unittest.expect(o[1], unittest.equals('foo')); |
900 } | 900 } |
901 | 901 |
902 buildUnnamed2992() { | 902 buildUnnamed3083() { |
903 var o = new core.Map<core.String, api.ExternalDataConfiguration>(); | 903 var o = new core.Map<core.String, api.ExternalDataConfiguration>(); |
904 o["x"] = buildExternalDataConfiguration(); | 904 o["x"] = buildExternalDataConfiguration(); |
905 o["y"] = buildExternalDataConfiguration(); | 905 o["y"] = buildExternalDataConfiguration(); |
906 return o; | 906 return o; |
907 } | 907 } |
908 | 908 |
909 checkUnnamed2992(core.Map<core.String, api.ExternalDataConfiguration> o) { | 909 checkUnnamed3083(core.Map<core.String, api.ExternalDataConfiguration> o) { |
910 unittest.expect(o, unittest.hasLength(2)); | 910 unittest.expect(o, unittest.hasLength(2)); |
911 checkExternalDataConfiguration(o["x"]); | 911 checkExternalDataConfiguration(o["x"]); |
912 checkExternalDataConfiguration(o["y"]); | 912 checkExternalDataConfiguration(o["y"]); |
913 } | 913 } |
914 | 914 |
915 buildUnnamed2993() { | 915 buildUnnamed3084() { |
916 var o = new core.List<api.UserDefinedFunctionResource>(); | 916 var o = new core.List<api.UserDefinedFunctionResource>(); |
917 o.add(buildUserDefinedFunctionResource()); | 917 o.add(buildUserDefinedFunctionResource()); |
918 o.add(buildUserDefinedFunctionResource()); | 918 o.add(buildUserDefinedFunctionResource()); |
919 return o; | 919 return o; |
920 } | 920 } |
921 | 921 |
922 checkUnnamed2993(core.List<api.UserDefinedFunctionResource> o) { | 922 checkUnnamed3084(core.List<api.UserDefinedFunctionResource> o) { |
923 unittest.expect(o, unittest.hasLength(2)); | 923 unittest.expect(o, unittest.hasLength(2)); |
924 checkUserDefinedFunctionResource(o[0]); | 924 checkUserDefinedFunctionResource(o[0]); |
925 checkUserDefinedFunctionResource(o[1]); | 925 checkUserDefinedFunctionResource(o[1]); |
926 } | 926 } |
927 | 927 |
928 core.int buildCounterJobConfigurationQuery = 0; | 928 core.int buildCounterJobConfigurationQuery = 0; |
929 buildJobConfigurationQuery() { | 929 buildJobConfigurationQuery() { |
930 var o = new api.JobConfigurationQuery(); | 930 var o = new api.JobConfigurationQuery(); |
931 buildCounterJobConfigurationQuery++; | 931 buildCounterJobConfigurationQuery++; |
932 if (buildCounterJobConfigurationQuery < 3) { | 932 if (buildCounterJobConfigurationQuery < 3) { |
933 o.allowLargeResults = true; | 933 o.allowLargeResults = true; |
934 o.createDisposition = "foo"; | 934 o.createDisposition = "foo"; |
935 o.defaultDataset = buildDatasetReference(); | 935 o.defaultDataset = buildDatasetReference(); |
936 o.destinationTable = buildTableReference(); | 936 o.destinationTable = buildTableReference(); |
937 o.flattenResults = true; | 937 o.flattenResults = true; |
938 o.maximumBillingTier = 42; | 938 o.maximumBillingTier = 42; |
939 o.maximumBytesBilled = "foo"; | 939 o.maximumBytesBilled = "foo"; |
940 o.parameterMode = "foo"; | 940 o.parameterMode = "foo"; |
941 o.preserveNulls = true; | 941 o.preserveNulls = true; |
942 o.priority = "foo"; | 942 o.priority = "foo"; |
943 o.query = "foo"; | 943 o.query = "foo"; |
944 o.queryParameters = buildUnnamed2990(); | 944 o.queryParameters = buildUnnamed3081(); |
945 o.schemaUpdateOptions = buildUnnamed2991(); | 945 o.schemaUpdateOptions = buildUnnamed3082(); |
946 o.tableDefinitions = buildUnnamed2992(); | 946 o.tableDefinitions = buildUnnamed3083(); |
947 o.useLegacySql = true; | 947 o.useLegacySql = true; |
948 o.useQueryCache = true; | 948 o.useQueryCache = true; |
949 o.userDefinedFunctionResources = buildUnnamed2993(); | 949 o.userDefinedFunctionResources = buildUnnamed3084(); |
950 o.writeDisposition = "foo"; | 950 o.writeDisposition = "foo"; |
951 } | 951 } |
952 buildCounterJobConfigurationQuery--; | 952 buildCounterJobConfigurationQuery--; |
953 return o; | 953 return o; |
954 } | 954 } |
955 | 955 |
956 checkJobConfigurationQuery(api.JobConfigurationQuery o) { | 956 checkJobConfigurationQuery(api.JobConfigurationQuery o) { |
957 buildCounterJobConfigurationQuery++; | 957 buildCounterJobConfigurationQuery++; |
958 if (buildCounterJobConfigurationQuery < 3) { | 958 if (buildCounterJobConfigurationQuery < 3) { |
959 unittest.expect(o.allowLargeResults, unittest.isTrue); | 959 unittest.expect(o.allowLargeResults, unittest.isTrue); |
960 unittest.expect(o.createDisposition, unittest.equals('foo')); | 960 unittest.expect(o.createDisposition, unittest.equals('foo')); |
961 checkDatasetReference(o.defaultDataset); | 961 checkDatasetReference(o.defaultDataset); |
962 checkTableReference(o.destinationTable); | 962 checkTableReference(o.destinationTable); |
963 unittest.expect(o.flattenResults, unittest.isTrue); | 963 unittest.expect(o.flattenResults, unittest.isTrue); |
964 unittest.expect(o.maximumBillingTier, unittest.equals(42)); | 964 unittest.expect(o.maximumBillingTier, unittest.equals(42)); |
965 unittest.expect(o.maximumBytesBilled, unittest.equals('foo')); | 965 unittest.expect(o.maximumBytesBilled, unittest.equals('foo')); |
966 unittest.expect(o.parameterMode, unittest.equals('foo')); | 966 unittest.expect(o.parameterMode, unittest.equals('foo')); |
967 unittest.expect(o.preserveNulls, unittest.isTrue); | 967 unittest.expect(o.preserveNulls, unittest.isTrue); |
968 unittest.expect(o.priority, unittest.equals('foo')); | 968 unittest.expect(o.priority, unittest.equals('foo')); |
969 unittest.expect(o.query, unittest.equals('foo')); | 969 unittest.expect(o.query, unittest.equals('foo')); |
970 checkUnnamed2990(o.queryParameters); | 970 checkUnnamed3081(o.queryParameters); |
971 checkUnnamed2991(o.schemaUpdateOptions); | 971 checkUnnamed3082(o.schemaUpdateOptions); |
972 checkUnnamed2992(o.tableDefinitions); | 972 checkUnnamed3083(o.tableDefinitions); |
973 unittest.expect(o.useLegacySql, unittest.isTrue); | 973 unittest.expect(o.useLegacySql, unittest.isTrue); |
974 unittest.expect(o.useQueryCache, unittest.isTrue); | 974 unittest.expect(o.useQueryCache, unittest.isTrue); |
975 checkUnnamed2993(o.userDefinedFunctionResources); | 975 checkUnnamed3084(o.userDefinedFunctionResources); |
976 unittest.expect(o.writeDisposition, unittest.equals('foo')); | 976 unittest.expect(o.writeDisposition, unittest.equals('foo')); |
977 } | 977 } |
978 buildCounterJobConfigurationQuery--; | 978 buildCounterJobConfigurationQuery--; |
979 } | 979 } |
980 | 980 |
981 buildUnnamed2994() { | 981 buildUnnamed3085() { |
982 var o = new core.List<api.TableReference>(); | 982 var o = new core.List<api.TableReference>(); |
983 o.add(buildTableReference()); | 983 o.add(buildTableReference()); |
984 o.add(buildTableReference()); | 984 o.add(buildTableReference()); |
985 return o; | 985 return o; |
986 } | 986 } |
987 | 987 |
988 checkUnnamed2994(core.List<api.TableReference> o) { | 988 checkUnnamed3085(core.List<api.TableReference> o) { |
989 unittest.expect(o, unittest.hasLength(2)); | 989 unittest.expect(o, unittest.hasLength(2)); |
990 checkTableReference(o[0]); | 990 checkTableReference(o[0]); |
991 checkTableReference(o[1]); | 991 checkTableReference(o[1]); |
992 } | 992 } |
993 | 993 |
994 core.int buildCounterJobConfigurationTableCopy = 0; | 994 core.int buildCounterJobConfigurationTableCopy = 0; |
995 buildJobConfigurationTableCopy() { | 995 buildJobConfigurationTableCopy() { |
996 var o = new api.JobConfigurationTableCopy(); | 996 var o = new api.JobConfigurationTableCopy(); |
997 buildCounterJobConfigurationTableCopy++; | 997 buildCounterJobConfigurationTableCopy++; |
998 if (buildCounterJobConfigurationTableCopy < 3) { | 998 if (buildCounterJobConfigurationTableCopy < 3) { |
999 o.createDisposition = "foo"; | 999 o.createDisposition = "foo"; |
1000 o.destinationTable = buildTableReference(); | 1000 o.destinationTable = buildTableReference(); |
1001 o.sourceTable = buildTableReference(); | 1001 o.sourceTable = buildTableReference(); |
1002 o.sourceTables = buildUnnamed2994(); | 1002 o.sourceTables = buildUnnamed3085(); |
1003 o.writeDisposition = "foo"; | 1003 o.writeDisposition = "foo"; |
1004 } | 1004 } |
1005 buildCounterJobConfigurationTableCopy--; | 1005 buildCounterJobConfigurationTableCopy--; |
1006 return o; | 1006 return o; |
1007 } | 1007 } |
1008 | 1008 |
1009 checkJobConfigurationTableCopy(api.JobConfigurationTableCopy o) { | 1009 checkJobConfigurationTableCopy(api.JobConfigurationTableCopy o) { |
1010 buildCounterJobConfigurationTableCopy++; | 1010 buildCounterJobConfigurationTableCopy++; |
1011 if (buildCounterJobConfigurationTableCopy < 3) { | 1011 if (buildCounterJobConfigurationTableCopy < 3) { |
1012 unittest.expect(o.createDisposition, unittest.equals('foo')); | 1012 unittest.expect(o.createDisposition, unittest.equals('foo')); |
1013 checkTableReference(o.destinationTable); | 1013 checkTableReference(o.destinationTable); |
1014 checkTableReference(o.sourceTable); | 1014 checkTableReference(o.sourceTable); |
1015 checkUnnamed2994(o.sourceTables); | 1015 checkUnnamed3085(o.sourceTables); |
1016 unittest.expect(o.writeDisposition, unittest.equals('foo')); | 1016 unittest.expect(o.writeDisposition, unittest.equals('foo')); |
1017 } | 1017 } |
1018 buildCounterJobConfigurationTableCopy--; | 1018 buildCounterJobConfigurationTableCopy--; |
1019 } | 1019 } |
1020 | 1020 |
1021 core.int buildCounterJobListJobs = 0; | 1021 core.int buildCounterJobListJobs = 0; |
1022 buildJobListJobs() { | 1022 buildJobListJobs() { |
1023 var o = new api.JobListJobs(); | 1023 var o = new api.JobListJobs(); |
1024 buildCounterJobListJobs++; | 1024 buildCounterJobListJobs++; |
1025 if (buildCounterJobListJobs < 3) { | 1025 if (buildCounterJobListJobs < 3) { |
(...skipping 20 matching lines...) Expand all Loading... |
1046 checkJobReference(o.jobReference); | 1046 checkJobReference(o.jobReference); |
1047 unittest.expect(o.kind, unittest.equals('foo')); | 1047 unittest.expect(o.kind, unittest.equals('foo')); |
1048 unittest.expect(o.state, unittest.equals('foo')); | 1048 unittest.expect(o.state, unittest.equals('foo')); |
1049 checkJobStatistics(o.statistics); | 1049 checkJobStatistics(o.statistics); |
1050 checkJobStatus(o.status); | 1050 checkJobStatus(o.status); |
1051 unittest.expect(o.userEmail, unittest.equals('foo')); | 1051 unittest.expect(o.userEmail, unittest.equals('foo')); |
1052 } | 1052 } |
1053 buildCounterJobListJobs--; | 1053 buildCounterJobListJobs--; |
1054 } | 1054 } |
1055 | 1055 |
1056 buildUnnamed2995() { | 1056 buildUnnamed3086() { |
1057 var o = new core.List<api.JobListJobs>(); | 1057 var o = new core.List<api.JobListJobs>(); |
1058 o.add(buildJobListJobs()); | 1058 o.add(buildJobListJobs()); |
1059 o.add(buildJobListJobs()); | 1059 o.add(buildJobListJobs()); |
1060 return o; | 1060 return o; |
1061 } | 1061 } |
1062 | 1062 |
1063 checkUnnamed2995(core.List<api.JobListJobs> o) { | 1063 checkUnnamed3086(core.List<api.JobListJobs> o) { |
1064 unittest.expect(o, unittest.hasLength(2)); | 1064 unittest.expect(o, unittest.hasLength(2)); |
1065 checkJobListJobs(o[0]); | 1065 checkJobListJobs(o[0]); |
1066 checkJobListJobs(o[1]); | 1066 checkJobListJobs(o[1]); |
1067 } | 1067 } |
1068 | 1068 |
1069 core.int buildCounterJobList = 0; | 1069 core.int buildCounterJobList = 0; |
1070 buildJobList() { | 1070 buildJobList() { |
1071 var o = new api.JobList(); | 1071 var o = new api.JobList(); |
1072 buildCounterJobList++; | 1072 buildCounterJobList++; |
1073 if (buildCounterJobList < 3) { | 1073 if (buildCounterJobList < 3) { |
1074 o.etag = "foo"; | 1074 o.etag = "foo"; |
1075 o.jobs = buildUnnamed2995(); | 1075 o.jobs = buildUnnamed3086(); |
1076 o.kind = "foo"; | 1076 o.kind = "foo"; |
1077 o.nextPageToken = "foo"; | 1077 o.nextPageToken = "foo"; |
1078 } | 1078 } |
1079 buildCounterJobList--; | 1079 buildCounterJobList--; |
1080 return o; | 1080 return o; |
1081 } | 1081 } |
1082 | 1082 |
1083 checkJobList(api.JobList o) { | 1083 checkJobList(api.JobList o) { |
1084 buildCounterJobList++; | 1084 buildCounterJobList++; |
1085 if (buildCounterJobList < 3) { | 1085 if (buildCounterJobList < 3) { |
1086 unittest.expect(o.etag, unittest.equals('foo')); | 1086 unittest.expect(o.etag, unittest.equals('foo')); |
1087 checkUnnamed2995(o.jobs); | 1087 checkUnnamed3086(o.jobs); |
1088 unittest.expect(o.kind, unittest.equals('foo')); | 1088 unittest.expect(o.kind, unittest.equals('foo')); |
1089 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1089 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1090 } | 1090 } |
1091 buildCounterJobList--; | 1091 buildCounterJobList--; |
1092 } | 1092 } |
1093 | 1093 |
1094 core.int buildCounterJobReference = 0; | 1094 core.int buildCounterJobReference = 0; |
1095 buildJobReference() { | 1095 buildJobReference() { |
1096 var o = new api.JobReference(); | 1096 var o = new api.JobReference(); |
1097 buildCounterJobReference++; | 1097 buildCounterJobReference++; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1136 unittest.expect(o.endTime, unittest.equals('foo')); | 1136 unittest.expect(o.endTime, unittest.equals('foo')); |
1137 checkJobStatistics4(o.extract); | 1137 checkJobStatistics4(o.extract); |
1138 checkJobStatistics3(o.load); | 1138 checkJobStatistics3(o.load); |
1139 checkJobStatistics2(o.query); | 1139 checkJobStatistics2(o.query); |
1140 unittest.expect(o.startTime, unittest.equals('foo')); | 1140 unittest.expect(o.startTime, unittest.equals('foo')); |
1141 unittest.expect(o.totalBytesProcessed, unittest.equals('foo')); | 1141 unittest.expect(o.totalBytesProcessed, unittest.equals('foo')); |
1142 } | 1142 } |
1143 buildCounterJobStatistics--; | 1143 buildCounterJobStatistics--; |
1144 } | 1144 } |
1145 | 1145 |
1146 buildUnnamed2996() { | 1146 buildUnnamed3087() { |
1147 var o = new core.List<api.ExplainQueryStage>(); | 1147 var o = new core.List<api.ExplainQueryStage>(); |
1148 o.add(buildExplainQueryStage()); | 1148 o.add(buildExplainQueryStage()); |
1149 o.add(buildExplainQueryStage()); | 1149 o.add(buildExplainQueryStage()); |
1150 return o; | 1150 return o; |
1151 } | 1151 } |
1152 | 1152 |
1153 checkUnnamed2996(core.List<api.ExplainQueryStage> o) { | 1153 checkUnnamed3087(core.List<api.ExplainQueryStage> o) { |
1154 unittest.expect(o, unittest.hasLength(2)); | 1154 unittest.expect(o, unittest.hasLength(2)); |
1155 checkExplainQueryStage(o[0]); | 1155 checkExplainQueryStage(o[0]); |
1156 checkExplainQueryStage(o[1]); | 1156 checkExplainQueryStage(o[1]); |
1157 } | 1157 } |
1158 | 1158 |
1159 buildUnnamed2997() { | 1159 buildUnnamed3088() { |
1160 var o = new core.List<api.TableReference>(); | 1160 var o = new core.List<api.TableReference>(); |
1161 o.add(buildTableReference()); | 1161 o.add(buildTableReference()); |
1162 o.add(buildTableReference()); | 1162 o.add(buildTableReference()); |
1163 return o; | 1163 return o; |
1164 } | 1164 } |
1165 | 1165 |
1166 checkUnnamed2997(core.List<api.TableReference> o) { | 1166 checkUnnamed3088(core.List<api.TableReference> o) { |
1167 unittest.expect(o, unittest.hasLength(2)); | 1167 unittest.expect(o, unittest.hasLength(2)); |
1168 checkTableReference(o[0]); | 1168 checkTableReference(o[0]); |
1169 checkTableReference(o[1]); | 1169 checkTableReference(o[1]); |
1170 } | 1170 } |
1171 | 1171 |
1172 buildUnnamed2998() { | 1172 buildUnnamed3089() { |
1173 var o = new core.List<api.QueryParameter>(); | 1173 var o = new core.List<api.QueryParameter>(); |
1174 o.add(buildQueryParameter()); | 1174 o.add(buildQueryParameter()); |
1175 o.add(buildQueryParameter()); | 1175 o.add(buildQueryParameter()); |
1176 return o; | 1176 return o; |
1177 } | 1177 } |
1178 | 1178 |
1179 checkUnnamed2998(core.List<api.QueryParameter> o) { | 1179 checkUnnamed3089(core.List<api.QueryParameter> o) { |
1180 unittest.expect(o, unittest.hasLength(2)); | 1180 unittest.expect(o, unittest.hasLength(2)); |
1181 checkQueryParameter(o[0]); | 1181 checkQueryParameter(o[0]); |
1182 checkQueryParameter(o[1]); | 1182 checkQueryParameter(o[1]); |
1183 } | 1183 } |
1184 | 1184 |
1185 core.int buildCounterJobStatistics2 = 0; | 1185 core.int buildCounterJobStatistics2 = 0; |
1186 buildJobStatistics2() { | 1186 buildJobStatistics2() { |
1187 var o = new api.JobStatistics2(); | 1187 var o = new api.JobStatistics2(); |
1188 buildCounterJobStatistics2++; | 1188 buildCounterJobStatistics2++; |
1189 if (buildCounterJobStatistics2 < 3) { | 1189 if (buildCounterJobStatistics2 < 3) { |
1190 o.billingTier = 42; | 1190 o.billingTier = 42; |
1191 o.cacheHit = true; | 1191 o.cacheHit = true; |
1192 o.numDmlAffectedRows = "foo"; | 1192 o.numDmlAffectedRows = "foo"; |
1193 o.queryPlan = buildUnnamed2996(); | 1193 o.queryPlan = buildUnnamed3087(); |
1194 o.referencedTables = buildUnnamed2997(); | 1194 o.referencedTables = buildUnnamed3088(); |
1195 o.schema = buildTableSchema(); | 1195 o.schema = buildTableSchema(); |
1196 o.statementType = "foo"; | 1196 o.statementType = "foo"; |
1197 o.totalBytesBilled = "foo"; | 1197 o.totalBytesBilled = "foo"; |
1198 o.totalBytesProcessed = "foo"; | 1198 o.totalBytesProcessed = "foo"; |
1199 o.undeclaredQueryParameters = buildUnnamed2998(); | 1199 o.undeclaredQueryParameters = buildUnnamed3089(); |
1200 } | 1200 } |
1201 buildCounterJobStatistics2--; | 1201 buildCounterJobStatistics2--; |
1202 return o; | 1202 return o; |
1203 } | 1203 } |
1204 | 1204 |
1205 checkJobStatistics2(api.JobStatistics2 o) { | 1205 checkJobStatistics2(api.JobStatistics2 o) { |
1206 buildCounterJobStatistics2++; | 1206 buildCounterJobStatistics2++; |
1207 if (buildCounterJobStatistics2 < 3) { | 1207 if (buildCounterJobStatistics2 < 3) { |
1208 unittest.expect(o.billingTier, unittest.equals(42)); | 1208 unittest.expect(o.billingTier, unittest.equals(42)); |
1209 unittest.expect(o.cacheHit, unittest.isTrue); | 1209 unittest.expect(o.cacheHit, unittest.isTrue); |
1210 unittest.expect(o.numDmlAffectedRows, unittest.equals('foo')); | 1210 unittest.expect(o.numDmlAffectedRows, unittest.equals('foo')); |
1211 checkUnnamed2996(o.queryPlan); | 1211 checkUnnamed3087(o.queryPlan); |
1212 checkUnnamed2997(o.referencedTables); | 1212 checkUnnamed3088(o.referencedTables); |
1213 checkTableSchema(o.schema); | 1213 checkTableSchema(o.schema); |
1214 unittest.expect(o.statementType, unittest.equals('foo')); | 1214 unittest.expect(o.statementType, unittest.equals('foo')); |
1215 unittest.expect(o.totalBytesBilled, unittest.equals('foo')); | 1215 unittest.expect(o.totalBytesBilled, unittest.equals('foo')); |
1216 unittest.expect(o.totalBytesProcessed, unittest.equals('foo')); | 1216 unittest.expect(o.totalBytesProcessed, unittest.equals('foo')); |
1217 checkUnnamed2998(o.undeclaredQueryParameters); | 1217 checkUnnamed3089(o.undeclaredQueryParameters); |
1218 } | 1218 } |
1219 buildCounterJobStatistics2--; | 1219 buildCounterJobStatistics2--; |
1220 } | 1220 } |
1221 | 1221 |
1222 core.int buildCounterJobStatistics3 = 0; | 1222 core.int buildCounterJobStatistics3 = 0; |
1223 buildJobStatistics3() { | 1223 buildJobStatistics3() { |
1224 var o = new api.JobStatistics3(); | 1224 var o = new api.JobStatistics3(); |
1225 buildCounterJobStatistics3++; | 1225 buildCounterJobStatistics3++; |
1226 if (buildCounterJobStatistics3 < 3) { | 1226 if (buildCounterJobStatistics3 < 3) { |
1227 o.inputFileBytes = "foo"; | 1227 o.inputFileBytes = "foo"; |
1228 o.inputFiles = "foo"; | 1228 o.inputFiles = "foo"; |
1229 o.outputBytes = "foo"; | 1229 o.outputBytes = "foo"; |
1230 o.outputRows = "foo"; | 1230 o.outputRows = "foo"; |
1231 } | 1231 } |
1232 buildCounterJobStatistics3--; | 1232 buildCounterJobStatistics3--; |
1233 return o; | 1233 return o; |
1234 } | 1234 } |
1235 | 1235 |
1236 checkJobStatistics3(api.JobStatistics3 o) { | 1236 checkJobStatistics3(api.JobStatistics3 o) { |
1237 buildCounterJobStatistics3++; | 1237 buildCounterJobStatistics3++; |
1238 if (buildCounterJobStatistics3 < 3) { | 1238 if (buildCounterJobStatistics3 < 3) { |
1239 unittest.expect(o.inputFileBytes, unittest.equals('foo')); | 1239 unittest.expect(o.inputFileBytes, unittest.equals('foo')); |
1240 unittest.expect(o.inputFiles, unittest.equals('foo')); | 1240 unittest.expect(o.inputFiles, unittest.equals('foo')); |
1241 unittest.expect(o.outputBytes, unittest.equals('foo')); | 1241 unittest.expect(o.outputBytes, unittest.equals('foo')); |
1242 unittest.expect(o.outputRows, unittest.equals('foo')); | 1242 unittest.expect(o.outputRows, unittest.equals('foo')); |
1243 } | 1243 } |
1244 buildCounterJobStatistics3--; | 1244 buildCounterJobStatistics3--; |
1245 } | 1245 } |
1246 | 1246 |
1247 buildUnnamed2999() { | 1247 buildUnnamed3090() { |
1248 var o = new core.List<core.String>(); | 1248 var o = new core.List<core.String>(); |
1249 o.add("foo"); | 1249 o.add("foo"); |
1250 o.add("foo"); | 1250 o.add("foo"); |
1251 return o; | 1251 return o; |
1252 } | 1252 } |
1253 | 1253 |
1254 checkUnnamed2999(core.List<core.String> o) { | 1254 checkUnnamed3090(core.List<core.String> o) { |
1255 unittest.expect(o, unittest.hasLength(2)); | 1255 unittest.expect(o, unittest.hasLength(2)); |
1256 unittest.expect(o[0], unittest.equals('foo')); | 1256 unittest.expect(o[0], unittest.equals('foo')); |
1257 unittest.expect(o[1], unittest.equals('foo')); | 1257 unittest.expect(o[1], unittest.equals('foo')); |
1258 } | 1258 } |
1259 | 1259 |
1260 core.int buildCounterJobStatistics4 = 0; | 1260 core.int buildCounterJobStatistics4 = 0; |
1261 buildJobStatistics4() { | 1261 buildJobStatistics4() { |
1262 var o = new api.JobStatistics4(); | 1262 var o = new api.JobStatistics4(); |
1263 buildCounterJobStatistics4++; | 1263 buildCounterJobStatistics4++; |
1264 if (buildCounterJobStatistics4 < 3) { | 1264 if (buildCounterJobStatistics4 < 3) { |
1265 o.destinationUriFileCounts = buildUnnamed2999(); | 1265 o.destinationUriFileCounts = buildUnnamed3090(); |
1266 } | 1266 } |
1267 buildCounterJobStatistics4--; | 1267 buildCounterJobStatistics4--; |
1268 return o; | 1268 return o; |
1269 } | 1269 } |
1270 | 1270 |
1271 checkJobStatistics4(api.JobStatistics4 o) { | 1271 checkJobStatistics4(api.JobStatistics4 o) { |
1272 buildCounterJobStatistics4++; | 1272 buildCounterJobStatistics4++; |
1273 if (buildCounterJobStatistics4 < 3) { | 1273 if (buildCounterJobStatistics4 < 3) { |
1274 checkUnnamed2999(o.destinationUriFileCounts); | 1274 checkUnnamed3090(o.destinationUriFileCounts); |
1275 } | 1275 } |
1276 buildCounterJobStatistics4--; | 1276 buildCounterJobStatistics4--; |
1277 } | 1277 } |
1278 | 1278 |
1279 buildUnnamed3000() { | 1279 buildUnnamed3091() { |
1280 var o = new core.List<api.ErrorProto>(); | 1280 var o = new core.List<api.ErrorProto>(); |
1281 o.add(buildErrorProto()); | 1281 o.add(buildErrorProto()); |
1282 o.add(buildErrorProto()); | 1282 o.add(buildErrorProto()); |
1283 return o; | 1283 return o; |
1284 } | 1284 } |
1285 | 1285 |
1286 checkUnnamed3000(core.List<api.ErrorProto> o) { | 1286 checkUnnamed3091(core.List<api.ErrorProto> o) { |
1287 unittest.expect(o, unittest.hasLength(2)); | 1287 unittest.expect(o, unittest.hasLength(2)); |
1288 checkErrorProto(o[0]); | 1288 checkErrorProto(o[0]); |
1289 checkErrorProto(o[1]); | 1289 checkErrorProto(o[1]); |
1290 } | 1290 } |
1291 | 1291 |
1292 core.int buildCounterJobStatus = 0; | 1292 core.int buildCounterJobStatus = 0; |
1293 buildJobStatus() { | 1293 buildJobStatus() { |
1294 var o = new api.JobStatus(); | 1294 var o = new api.JobStatus(); |
1295 buildCounterJobStatus++; | 1295 buildCounterJobStatus++; |
1296 if (buildCounterJobStatus < 3) { | 1296 if (buildCounterJobStatus < 3) { |
1297 o.errorResult = buildErrorProto(); | 1297 o.errorResult = buildErrorProto(); |
1298 o.errors = buildUnnamed3000(); | 1298 o.errors = buildUnnamed3091(); |
1299 o.state = "foo"; | 1299 o.state = "foo"; |
1300 } | 1300 } |
1301 buildCounterJobStatus--; | 1301 buildCounterJobStatus--; |
1302 return o; | 1302 return o; |
1303 } | 1303 } |
1304 | 1304 |
1305 checkJobStatus(api.JobStatus o) { | 1305 checkJobStatus(api.JobStatus o) { |
1306 buildCounterJobStatus++; | 1306 buildCounterJobStatus++; |
1307 if (buildCounterJobStatus < 3) { | 1307 if (buildCounterJobStatus < 3) { |
1308 checkErrorProto(o.errorResult); | 1308 checkErrorProto(o.errorResult); |
1309 checkUnnamed3000(o.errors); | 1309 checkUnnamed3091(o.errors); |
1310 unittest.expect(o.state, unittest.equals('foo')); | 1310 unittest.expect(o.state, unittest.equals('foo')); |
1311 } | 1311 } |
1312 buildCounterJobStatus--; | 1312 buildCounterJobStatus--; |
1313 } | 1313 } |
1314 | 1314 |
1315 buildJsonObject() { | 1315 buildJsonObject() { |
1316 var o = new api.JsonObject(); | 1316 var o = new api.JsonObject(); |
1317 o["a"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1317 o["a"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1318 o["b"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1318 o["b"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1319 return o; | 1319 return o; |
(...skipping 25 matching lines...) Expand all Loading... |
1345 if (buildCounterProjectListProjects < 3) { | 1345 if (buildCounterProjectListProjects < 3) { |
1346 unittest.expect(o.friendlyName, unittest.equals('foo')); | 1346 unittest.expect(o.friendlyName, unittest.equals('foo')); |
1347 unittest.expect(o.id, unittest.equals('foo')); | 1347 unittest.expect(o.id, unittest.equals('foo')); |
1348 unittest.expect(o.kind, unittest.equals('foo')); | 1348 unittest.expect(o.kind, unittest.equals('foo')); |
1349 unittest.expect(o.numericId, unittest.equals('foo')); | 1349 unittest.expect(o.numericId, unittest.equals('foo')); |
1350 checkProjectReference(o.projectReference); | 1350 checkProjectReference(o.projectReference); |
1351 } | 1351 } |
1352 buildCounterProjectListProjects--; | 1352 buildCounterProjectListProjects--; |
1353 } | 1353 } |
1354 | 1354 |
1355 buildUnnamed3001() { | 1355 buildUnnamed3092() { |
1356 var o = new core.List<api.ProjectListProjects>(); | 1356 var o = new core.List<api.ProjectListProjects>(); |
1357 o.add(buildProjectListProjects()); | 1357 o.add(buildProjectListProjects()); |
1358 o.add(buildProjectListProjects()); | 1358 o.add(buildProjectListProjects()); |
1359 return o; | 1359 return o; |
1360 } | 1360 } |
1361 | 1361 |
1362 checkUnnamed3001(core.List<api.ProjectListProjects> o) { | 1362 checkUnnamed3092(core.List<api.ProjectListProjects> o) { |
1363 unittest.expect(o, unittest.hasLength(2)); | 1363 unittest.expect(o, unittest.hasLength(2)); |
1364 checkProjectListProjects(o[0]); | 1364 checkProjectListProjects(o[0]); |
1365 checkProjectListProjects(o[1]); | 1365 checkProjectListProjects(o[1]); |
1366 } | 1366 } |
1367 | 1367 |
1368 core.int buildCounterProjectList = 0; | 1368 core.int buildCounterProjectList = 0; |
1369 buildProjectList() { | 1369 buildProjectList() { |
1370 var o = new api.ProjectList(); | 1370 var o = new api.ProjectList(); |
1371 buildCounterProjectList++; | 1371 buildCounterProjectList++; |
1372 if (buildCounterProjectList < 3) { | 1372 if (buildCounterProjectList < 3) { |
1373 o.etag = "foo"; | 1373 o.etag = "foo"; |
1374 o.kind = "foo"; | 1374 o.kind = "foo"; |
1375 o.nextPageToken = "foo"; | 1375 o.nextPageToken = "foo"; |
1376 o.projects = buildUnnamed3001(); | 1376 o.projects = buildUnnamed3092(); |
1377 o.totalItems = 42; | 1377 o.totalItems = 42; |
1378 } | 1378 } |
1379 buildCounterProjectList--; | 1379 buildCounterProjectList--; |
1380 return o; | 1380 return o; |
1381 } | 1381 } |
1382 | 1382 |
1383 checkProjectList(api.ProjectList o) { | 1383 checkProjectList(api.ProjectList o) { |
1384 buildCounterProjectList++; | 1384 buildCounterProjectList++; |
1385 if (buildCounterProjectList < 3) { | 1385 if (buildCounterProjectList < 3) { |
1386 unittest.expect(o.etag, unittest.equals('foo')); | 1386 unittest.expect(o.etag, unittest.equals('foo')); |
1387 unittest.expect(o.kind, unittest.equals('foo')); | 1387 unittest.expect(o.kind, unittest.equals('foo')); |
1388 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1388 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1389 checkUnnamed3001(o.projects); | 1389 checkUnnamed3092(o.projects); |
1390 unittest.expect(o.totalItems, unittest.equals(42)); | 1390 unittest.expect(o.totalItems, unittest.equals(42)); |
1391 } | 1391 } |
1392 buildCounterProjectList--; | 1392 buildCounterProjectList--; |
1393 } | 1393 } |
1394 | 1394 |
1395 core.int buildCounterProjectReference = 0; | 1395 core.int buildCounterProjectReference = 0; |
1396 buildProjectReference() { | 1396 buildProjectReference() { |
1397 var o = new api.ProjectReference(); | 1397 var o = new api.ProjectReference(); |
1398 buildCounterProjectReference++; | 1398 buildCounterProjectReference++; |
1399 if (buildCounterProjectReference < 3) { | 1399 if (buildCounterProjectReference < 3) { |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1450 checkQueryParameterTypeStructTypes(api.QueryParameterTypeStructTypes o) { | 1450 checkQueryParameterTypeStructTypes(api.QueryParameterTypeStructTypes o) { |
1451 buildCounterQueryParameterTypeStructTypes++; | 1451 buildCounterQueryParameterTypeStructTypes++; |
1452 if (buildCounterQueryParameterTypeStructTypes < 3) { | 1452 if (buildCounterQueryParameterTypeStructTypes < 3) { |
1453 unittest.expect(o.description, unittest.equals('foo')); | 1453 unittest.expect(o.description, unittest.equals('foo')); |
1454 unittest.expect(o.name, unittest.equals('foo')); | 1454 unittest.expect(o.name, unittest.equals('foo')); |
1455 checkQueryParameterType(o.type); | 1455 checkQueryParameterType(o.type); |
1456 } | 1456 } |
1457 buildCounterQueryParameterTypeStructTypes--; | 1457 buildCounterQueryParameterTypeStructTypes--; |
1458 } | 1458 } |
1459 | 1459 |
1460 buildUnnamed3002() { | 1460 buildUnnamed3093() { |
1461 var o = new core.List<api.QueryParameterTypeStructTypes>(); | 1461 var o = new core.List<api.QueryParameterTypeStructTypes>(); |
1462 o.add(buildQueryParameterTypeStructTypes()); | 1462 o.add(buildQueryParameterTypeStructTypes()); |
1463 o.add(buildQueryParameterTypeStructTypes()); | 1463 o.add(buildQueryParameterTypeStructTypes()); |
1464 return o; | 1464 return o; |
1465 } | 1465 } |
1466 | 1466 |
1467 checkUnnamed3002(core.List<api.QueryParameterTypeStructTypes> o) { | 1467 checkUnnamed3093(core.List<api.QueryParameterTypeStructTypes> o) { |
1468 unittest.expect(o, unittest.hasLength(2)); | 1468 unittest.expect(o, unittest.hasLength(2)); |
1469 checkQueryParameterTypeStructTypes(o[0]); | 1469 checkQueryParameterTypeStructTypes(o[0]); |
1470 checkQueryParameterTypeStructTypes(o[1]); | 1470 checkQueryParameterTypeStructTypes(o[1]); |
1471 } | 1471 } |
1472 | 1472 |
1473 core.int buildCounterQueryParameterType = 0; | 1473 core.int buildCounterQueryParameterType = 0; |
1474 buildQueryParameterType() { | 1474 buildQueryParameterType() { |
1475 var o = new api.QueryParameterType(); | 1475 var o = new api.QueryParameterType(); |
1476 buildCounterQueryParameterType++; | 1476 buildCounterQueryParameterType++; |
1477 if (buildCounterQueryParameterType < 3) { | 1477 if (buildCounterQueryParameterType < 3) { |
1478 o.arrayType = buildQueryParameterType(); | 1478 o.arrayType = buildQueryParameterType(); |
1479 o.structTypes = buildUnnamed3002(); | 1479 o.structTypes = buildUnnamed3093(); |
1480 o.type = "foo"; | 1480 o.type = "foo"; |
1481 } | 1481 } |
1482 buildCounterQueryParameterType--; | 1482 buildCounterQueryParameterType--; |
1483 return o; | 1483 return o; |
1484 } | 1484 } |
1485 | 1485 |
1486 checkQueryParameterType(api.QueryParameterType o) { | 1486 checkQueryParameterType(api.QueryParameterType o) { |
1487 buildCounterQueryParameterType++; | 1487 buildCounterQueryParameterType++; |
1488 if (buildCounterQueryParameterType < 3) { | 1488 if (buildCounterQueryParameterType < 3) { |
1489 checkQueryParameterType(o.arrayType); | 1489 checkQueryParameterType(o.arrayType); |
1490 checkUnnamed3002(o.structTypes); | 1490 checkUnnamed3093(o.structTypes); |
1491 unittest.expect(o.type, unittest.equals('foo')); | 1491 unittest.expect(o.type, unittest.equals('foo')); |
1492 } | 1492 } |
1493 buildCounterQueryParameterType--; | 1493 buildCounterQueryParameterType--; |
1494 } | 1494 } |
1495 | 1495 |
1496 buildUnnamed3003() { | 1496 buildUnnamed3094() { |
1497 var o = new core.List<api.QueryParameterValue>(); | 1497 var o = new core.List<api.QueryParameterValue>(); |
1498 o.add(buildQueryParameterValue()); | 1498 o.add(buildQueryParameterValue()); |
1499 o.add(buildQueryParameterValue()); | 1499 o.add(buildQueryParameterValue()); |
1500 return o; | 1500 return o; |
1501 } | 1501 } |
1502 | 1502 |
1503 checkUnnamed3003(core.List<api.QueryParameterValue> o) { | 1503 checkUnnamed3094(core.List<api.QueryParameterValue> o) { |
1504 unittest.expect(o, unittest.hasLength(2)); | 1504 unittest.expect(o, unittest.hasLength(2)); |
1505 checkQueryParameterValue(o[0]); | 1505 checkQueryParameterValue(o[0]); |
1506 checkQueryParameterValue(o[1]); | 1506 checkQueryParameterValue(o[1]); |
1507 } | 1507 } |
1508 | 1508 |
1509 buildUnnamed3004() { | 1509 buildUnnamed3095() { |
1510 var o = new core.Map<core.String, api.QueryParameterValue>(); | 1510 var o = new core.Map<core.String, api.QueryParameterValue>(); |
1511 o["x"] = buildQueryParameterValue(); | 1511 o["x"] = buildQueryParameterValue(); |
1512 o["y"] = buildQueryParameterValue(); | 1512 o["y"] = buildQueryParameterValue(); |
1513 return o; | 1513 return o; |
1514 } | 1514 } |
1515 | 1515 |
1516 checkUnnamed3004(core.Map<core.String, api.QueryParameterValue> o) { | 1516 checkUnnamed3095(core.Map<core.String, api.QueryParameterValue> o) { |
1517 unittest.expect(o, unittest.hasLength(2)); | 1517 unittest.expect(o, unittest.hasLength(2)); |
1518 checkQueryParameterValue(o["x"]); | 1518 checkQueryParameterValue(o["x"]); |
1519 checkQueryParameterValue(o["y"]); | 1519 checkQueryParameterValue(o["y"]); |
1520 } | 1520 } |
1521 | 1521 |
1522 core.int buildCounterQueryParameterValue = 0; | 1522 core.int buildCounterQueryParameterValue = 0; |
1523 buildQueryParameterValue() { | 1523 buildQueryParameterValue() { |
1524 var o = new api.QueryParameterValue(); | 1524 var o = new api.QueryParameterValue(); |
1525 buildCounterQueryParameterValue++; | 1525 buildCounterQueryParameterValue++; |
1526 if (buildCounterQueryParameterValue < 3) { | 1526 if (buildCounterQueryParameterValue < 3) { |
1527 o.arrayValues = buildUnnamed3003(); | 1527 o.arrayValues = buildUnnamed3094(); |
1528 o.structValues = buildUnnamed3004(); | 1528 o.structValues = buildUnnamed3095(); |
1529 o.value = "foo"; | 1529 o.value = "foo"; |
1530 } | 1530 } |
1531 buildCounterQueryParameterValue--; | 1531 buildCounterQueryParameterValue--; |
1532 return o; | 1532 return o; |
1533 } | 1533 } |
1534 | 1534 |
1535 checkQueryParameterValue(api.QueryParameterValue o) { | 1535 checkQueryParameterValue(api.QueryParameterValue o) { |
1536 buildCounterQueryParameterValue++; | 1536 buildCounterQueryParameterValue++; |
1537 if (buildCounterQueryParameterValue < 3) { | 1537 if (buildCounterQueryParameterValue < 3) { |
1538 checkUnnamed3003(o.arrayValues); | 1538 checkUnnamed3094(o.arrayValues); |
1539 checkUnnamed3004(o.structValues); | 1539 checkUnnamed3095(o.structValues); |
1540 unittest.expect(o.value, unittest.equals('foo')); | 1540 unittest.expect(o.value, unittest.equals('foo')); |
1541 } | 1541 } |
1542 buildCounterQueryParameterValue--; | 1542 buildCounterQueryParameterValue--; |
1543 } | 1543 } |
1544 | 1544 |
1545 buildUnnamed3005() { | 1545 buildUnnamed3096() { |
1546 var o = new core.List<api.QueryParameter>(); | 1546 var o = new core.List<api.QueryParameter>(); |
1547 o.add(buildQueryParameter()); | 1547 o.add(buildQueryParameter()); |
1548 o.add(buildQueryParameter()); | 1548 o.add(buildQueryParameter()); |
1549 return o; | 1549 return o; |
1550 } | 1550 } |
1551 | 1551 |
1552 checkUnnamed3005(core.List<api.QueryParameter> o) { | 1552 checkUnnamed3096(core.List<api.QueryParameter> o) { |
1553 unittest.expect(o, unittest.hasLength(2)); | 1553 unittest.expect(o, unittest.hasLength(2)); |
1554 checkQueryParameter(o[0]); | 1554 checkQueryParameter(o[0]); |
1555 checkQueryParameter(o[1]); | 1555 checkQueryParameter(o[1]); |
1556 } | 1556 } |
1557 | 1557 |
1558 core.int buildCounterQueryRequest = 0; | 1558 core.int buildCounterQueryRequest = 0; |
1559 buildQueryRequest() { | 1559 buildQueryRequest() { |
1560 var o = new api.QueryRequest(); | 1560 var o = new api.QueryRequest(); |
1561 buildCounterQueryRequest++; | 1561 buildCounterQueryRequest++; |
1562 if (buildCounterQueryRequest < 3) { | 1562 if (buildCounterQueryRequest < 3) { |
1563 o.defaultDataset = buildDatasetReference(); | 1563 o.defaultDataset = buildDatasetReference(); |
1564 o.dryRun = true; | 1564 o.dryRun = true; |
1565 o.kind = "foo"; | 1565 o.kind = "foo"; |
1566 o.maxResults = 42; | 1566 o.maxResults = 42; |
1567 o.parameterMode = "foo"; | 1567 o.parameterMode = "foo"; |
1568 o.preserveNulls = true; | 1568 o.preserveNulls = true; |
1569 o.query = "foo"; | 1569 o.query = "foo"; |
1570 o.queryParameters = buildUnnamed3005(); | 1570 o.queryParameters = buildUnnamed3096(); |
1571 o.timeoutMs = 42; | 1571 o.timeoutMs = 42; |
1572 o.useLegacySql = true; | 1572 o.useLegacySql = true; |
1573 o.useQueryCache = true; | 1573 o.useQueryCache = true; |
1574 } | 1574 } |
1575 buildCounterQueryRequest--; | 1575 buildCounterQueryRequest--; |
1576 return o; | 1576 return o; |
1577 } | 1577 } |
1578 | 1578 |
1579 checkQueryRequest(api.QueryRequest o) { | 1579 checkQueryRequest(api.QueryRequest o) { |
1580 buildCounterQueryRequest++; | 1580 buildCounterQueryRequest++; |
1581 if (buildCounterQueryRequest < 3) { | 1581 if (buildCounterQueryRequest < 3) { |
1582 checkDatasetReference(o.defaultDataset); | 1582 checkDatasetReference(o.defaultDataset); |
1583 unittest.expect(o.dryRun, unittest.isTrue); | 1583 unittest.expect(o.dryRun, unittest.isTrue); |
1584 unittest.expect(o.kind, unittest.equals('foo')); | 1584 unittest.expect(o.kind, unittest.equals('foo')); |
1585 unittest.expect(o.maxResults, unittest.equals(42)); | 1585 unittest.expect(o.maxResults, unittest.equals(42)); |
1586 unittest.expect(o.parameterMode, unittest.equals('foo')); | 1586 unittest.expect(o.parameterMode, unittest.equals('foo')); |
1587 unittest.expect(o.preserveNulls, unittest.isTrue); | 1587 unittest.expect(o.preserveNulls, unittest.isTrue); |
1588 unittest.expect(o.query, unittest.equals('foo')); | 1588 unittest.expect(o.query, unittest.equals('foo')); |
1589 checkUnnamed3005(o.queryParameters); | 1589 checkUnnamed3096(o.queryParameters); |
1590 unittest.expect(o.timeoutMs, unittest.equals(42)); | 1590 unittest.expect(o.timeoutMs, unittest.equals(42)); |
1591 unittest.expect(o.useLegacySql, unittest.isTrue); | 1591 unittest.expect(o.useLegacySql, unittest.isTrue); |
1592 unittest.expect(o.useQueryCache, unittest.isTrue); | 1592 unittest.expect(o.useQueryCache, unittest.isTrue); |
1593 } | 1593 } |
1594 buildCounterQueryRequest--; | 1594 buildCounterQueryRequest--; |
1595 } | 1595 } |
1596 | 1596 |
1597 buildUnnamed3006() { | 1597 buildUnnamed3097() { |
1598 var o = new core.List<api.ErrorProto>(); | 1598 var o = new core.List<api.ErrorProto>(); |
1599 o.add(buildErrorProto()); | 1599 o.add(buildErrorProto()); |
1600 o.add(buildErrorProto()); | 1600 o.add(buildErrorProto()); |
1601 return o; | 1601 return o; |
1602 } | 1602 } |
1603 | 1603 |
1604 checkUnnamed3006(core.List<api.ErrorProto> o) { | 1604 checkUnnamed3097(core.List<api.ErrorProto> o) { |
1605 unittest.expect(o, unittest.hasLength(2)); | 1605 unittest.expect(o, unittest.hasLength(2)); |
1606 checkErrorProto(o[0]); | 1606 checkErrorProto(o[0]); |
1607 checkErrorProto(o[1]); | 1607 checkErrorProto(o[1]); |
1608 } | 1608 } |
1609 | 1609 |
1610 buildUnnamed3007() { | 1610 buildUnnamed3098() { |
1611 var o = new core.List<api.TableRow>(); | 1611 var o = new core.List<api.TableRow>(); |
1612 o.add(buildTableRow()); | 1612 o.add(buildTableRow()); |
1613 o.add(buildTableRow()); | 1613 o.add(buildTableRow()); |
1614 return o; | 1614 return o; |
1615 } | 1615 } |
1616 | 1616 |
1617 checkUnnamed3007(core.List<api.TableRow> o) { | 1617 checkUnnamed3098(core.List<api.TableRow> o) { |
1618 unittest.expect(o, unittest.hasLength(2)); | 1618 unittest.expect(o, unittest.hasLength(2)); |
1619 checkTableRow(o[0]); | 1619 checkTableRow(o[0]); |
1620 checkTableRow(o[1]); | 1620 checkTableRow(o[1]); |
1621 } | 1621 } |
1622 | 1622 |
1623 core.int buildCounterQueryResponse = 0; | 1623 core.int buildCounterQueryResponse = 0; |
1624 buildQueryResponse() { | 1624 buildQueryResponse() { |
1625 var o = new api.QueryResponse(); | 1625 var o = new api.QueryResponse(); |
1626 buildCounterQueryResponse++; | 1626 buildCounterQueryResponse++; |
1627 if (buildCounterQueryResponse < 3) { | 1627 if (buildCounterQueryResponse < 3) { |
1628 o.cacheHit = true; | 1628 o.cacheHit = true; |
1629 o.errors = buildUnnamed3006(); | 1629 o.errors = buildUnnamed3097(); |
1630 o.jobComplete = true; | 1630 o.jobComplete = true; |
1631 o.jobReference = buildJobReference(); | 1631 o.jobReference = buildJobReference(); |
1632 o.kind = "foo"; | 1632 o.kind = "foo"; |
1633 o.numDmlAffectedRows = "foo"; | 1633 o.numDmlAffectedRows = "foo"; |
1634 o.pageToken = "foo"; | 1634 o.pageToken = "foo"; |
1635 o.rows = buildUnnamed3007(); | 1635 o.rows = buildUnnamed3098(); |
1636 o.schema = buildTableSchema(); | 1636 o.schema = buildTableSchema(); |
1637 o.totalBytesProcessed = "foo"; | 1637 o.totalBytesProcessed = "foo"; |
1638 o.totalRows = "foo"; | 1638 o.totalRows = "foo"; |
1639 } | 1639 } |
1640 buildCounterQueryResponse--; | 1640 buildCounterQueryResponse--; |
1641 return o; | 1641 return o; |
1642 } | 1642 } |
1643 | 1643 |
1644 checkQueryResponse(api.QueryResponse o) { | 1644 checkQueryResponse(api.QueryResponse o) { |
1645 buildCounterQueryResponse++; | 1645 buildCounterQueryResponse++; |
1646 if (buildCounterQueryResponse < 3) { | 1646 if (buildCounterQueryResponse < 3) { |
1647 unittest.expect(o.cacheHit, unittest.isTrue); | 1647 unittest.expect(o.cacheHit, unittest.isTrue); |
1648 checkUnnamed3006(o.errors); | 1648 checkUnnamed3097(o.errors); |
1649 unittest.expect(o.jobComplete, unittest.isTrue); | 1649 unittest.expect(o.jobComplete, unittest.isTrue); |
1650 checkJobReference(o.jobReference); | 1650 checkJobReference(o.jobReference); |
1651 unittest.expect(o.kind, unittest.equals('foo')); | 1651 unittest.expect(o.kind, unittest.equals('foo')); |
1652 unittest.expect(o.numDmlAffectedRows, unittest.equals('foo')); | 1652 unittest.expect(o.numDmlAffectedRows, unittest.equals('foo')); |
1653 unittest.expect(o.pageToken, unittest.equals('foo')); | 1653 unittest.expect(o.pageToken, unittest.equals('foo')); |
1654 checkUnnamed3007(o.rows); | 1654 checkUnnamed3098(o.rows); |
1655 checkTableSchema(o.schema); | 1655 checkTableSchema(o.schema); |
1656 unittest.expect(o.totalBytesProcessed, unittest.equals('foo')); | 1656 unittest.expect(o.totalBytesProcessed, unittest.equals('foo')); |
1657 unittest.expect(o.totalRows, unittest.equals('foo')); | 1657 unittest.expect(o.totalRows, unittest.equals('foo')); |
1658 } | 1658 } |
1659 buildCounterQueryResponse--; | 1659 buildCounterQueryResponse--; |
1660 } | 1660 } |
1661 | 1661 |
1662 core.int buildCounterStreamingbuffer = 0; | 1662 core.int buildCounterStreamingbuffer = 0; |
1663 buildStreamingbuffer() { | 1663 buildStreamingbuffer() { |
1664 var o = new api.Streamingbuffer(); | 1664 var o = new api.Streamingbuffer(); |
(...skipping 10 matching lines...) Expand all Loading... |
1675 checkStreamingbuffer(api.Streamingbuffer o) { | 1675 checkStreamingbuffer(api.Streamingbuffer o) { |
1676 buildCounterStreamingbuffer++; | 1676 buildCounterStreamingbuffer++; |
1677 if (buildCounterStreamingbuffer < 3) { | 1677 if (buildCounterStreamingbuffer < 3) { |
1678 unittest.expect(o.estimatedBytes, unittest.equals('foo')); | 1678 unittest.expect(o.estimatedBytes, unittest.equals('foo')); |
1679 unittest.expect(o.estimatedRows, unittest.equals('foo')); | 1679 unittest.expect(o.estimatedRows, unittest.equals('foo')); |
1680 unittest.expect(o.oldestEntryTime, unittest.equals('foo')); | 1680 unittest.expect(o.oldestEntryTime, unittest.equals('foo')); |
1681 } | 1681 } |
1682 buildCounterStreamingbuffer--; | 1682 buildCounterStreamingbuffer--; |
1683 } | 1683 } |
1684 | 1684 |
1685 buildUnnamed3008() { | 1685 buildUnnamed3099() { |
1686 var o = new core.Map<core.String, core.String>(); | 1686 var o = new core.Map<core.String, core.String>(); |
1687 o["x"] = "foo"; | 1687 o["x"] = "foo"; |
1688 o["y"] = "foo"; | 1688 o["y"] = "foo"; |
1689 return o; | 1689 return o; |
1690 } | 1690 } |
1691 | 1691 |
1692 checkUnnamed3008(core.Map<core.String, core.String> o) { | 1692 checkUnnamed3099(core.Map<core.String, core.String> o) { |
1693 unittest.expect(o, unittest.hasLength(2)); | 1693 unittest.expect(o, unittest.hasLength(2)); |
1694 unittest.expect(o["x"], unittest.equals('foo')); | 1694 unittest.expect(o["x"], unittest.equals('foo')); |
1695 unittest.expect(o["y"], unittest.equals('foo')); | 1695 unittest.expect(o["y"], unittest.equals('foo')); |
1696 } | 1696 } |
1697 | 1697 |
1698 core.int buildCounterTable = 0; | 1698 core.int buildCounterTable = 0; |
1699 buildTable() { | 1699 buildTable() { |
1700 var o = new api.Table(); | 1700 var o = new api.Table(); |
1701 buildCounterTable++; | 1701 buildCounterTable++; |
1702 if (buildCounterTable < 3) { | 1702 if (buildCounterTable < 3) { |
1703 o.creationTime = "foo"; | 1703 o.creationTime = "foo"; |
1704 o.description = "foo"; | 1704 o.description = "foo"; |
1705 o.etag = "foo"; | 1705 o.etag = "foo"; |
1706 o.expirationTime = "foo"; | 1706 o.expirationTime = "foo"; |
1707 o.externalDataConfiguration = buildExternalDataConfiguration(); | 1707 o.externalDataConfiguration = buildExternalDataConfiguration(); |
1708 o.friendlyName = "foo"; | 1708 o.friendlyName = "foo"; |
1709 o.id = "foo"; | 1709 o.id = "foo"; |
1710 o.kind = "foo"; | 1710 o.kind = "foo"; |
1711 o.labels = buildUnnamed3008(); | 1711 o.labels = buildUnnamed3099(); |
1712 o.lastModifiedTime = "foo"; | 1712 o.lastModifiedTime = "foo"; |
1713 o.location = "foo"; | 1713 o.location = "foo"; |
1714 o.numBytes = "foo"; | 1714 o.numBytes = "foo"; |
1715 o.numLongTermBytes = "foo"; | 1715 o.numLongTermBytes = "foo"; |
1716 o.numRows = "foo"; | 1716 o.numRows = "foo"; |
1717 o.schema = buildTableSchema(); | 1717 o.schema = buildTableSchema(); |
1718 o.selfLink = "foo"; | 1718 o.selfLink = "foo"; |
1719 o.streamingBuffer = buildStreamingbuffer(); | 1719 o.streamingBuffer = buildStreamingbuffer(); |
1720 o.tableReference = buildTableReference(); | 1720 o.tableReference = buildTableReference(); |
1721 o.timePartitioning = buildTimePartitioning(); | 1721 o.timePartitioning = buildTimePartitioning(); |
1722 o.type = "foo"; | 1722 o.type = "foo"; |
1723 o.view = buildViewDefinition(); | 1723 o.view = buildViewDefinition(); |
1724 } | 1724 } |
1725 buildCounterTable--; | 1725 buildCounterTable--; |
1726 return o; | 1726 return o; |
1727 } | 1727 } |
1728 | 1728 |
1729 checkTable(api.Table o) { | 1729 checkTable(api.Table o) { |
1730 buildCounterTable++; | 1730 buildCounterTable++; |
1731 if (buildCounterTable < 3) { | 1731 if (buildCounterTable < 3) { |
1732 unittest.expect(o.creationTime, unittest.equals('foo')); | 1732 unittest.expect(o.creationTime, unittest.equals('foo')); |
1733 unittest.expect(o.description, unittest.equals('foo')); | 1733 unittest.expect(o.description, unittest.equals('foo')); |
1734 unittest.expect(o.etag, unittest.equals('foo')); | 1734 unittest.expect(o.etag, unittest.equals('foo')); |
1735 unittest.expect(o.expirationTime, unittest.equals('foo')); | 1735 unittest.expect(o.expirationTime, unittest.equals('foo')); |
1736 checkExternalDataConfiguration(o.externalDataConfiguration); | 1736 checkExternalDataConfiguration(o.externalDataConfiguration); |
1737 unittest.expect(o.friendlyName, unittest.equals('foo')); | 1737 unittest.expect(o.friendlyName, unittest.equals('foo')); |
1738 unittest.expect(o.id, unittest.equals('foo')); | 1738 unittest.expect(o.id, unittest.equals('foo')); |
1739 unittest.expect(o.kind, unittest.equals('foo')); | 1739 unittest.expect(o.kind, unittest.equals('foo')); |
1740 checkUnnamed3008(o.labels); | 1740 checkUnnamed3099(o.labels); |
1741 unittest.expect(o.lastModifiedTime, unittest.equals('foo')); | 1741 unittest.expect(o.lastModifiedTime, unittest.equals('foo')); |
1742 unittest.expect(o.location, unittest.equals('foo')); | 1742 unittest.expect(o.location, unittest.equals('foo')); |
1743 unittest.expect(o.numBytes, unittest.equals('foo')); | 1743 unittest.expect(o.numBytes, unittest.equals('foo')); |
1744 unittest.expect(o.numLongTermBytes, unittest.equals('foo')); | 1744 unittest.expect(o.numLongTermBytes, unittest.equals('foo')); |
1745 unittest.expect(o.numRows, unittest.equals('foo')); | 1745 unittest.expect(o.numRows, unittest.equals('foo')); |
1746 checkTableSchema(o.schema); | 1746 checkTableSchema(o.schema); |
1747 unittest.expect(o.selfLink, unittest.equals('foo')); | 1747 unittest.expect(o.selfLink, unittest.equals('foo')); |
1748 checkStreamingbuffer(o.streamingBuffer); | 1748 checkStreamingbuffer(o.streamingBuffer); |
1749 checkTableReference(o.tableReference); | 1749 checkTableReference(o.tableReference); |
1750 checkTimePartitioning(o.timePartitioning); | 1750 checkTimePartitioning(o.timePartitioning); |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1787 | 1787 |
1788 checkTableDataInsertAllRequestRows(api.TableDataInsertAllRequestRows o) { | 1788 checkTableDataInsertAllRequestRows(api.TableDataInsertAllRequestRows o) { |
1789 buildCounterTableDataInsertAllRequestRows++; | 1789 buildCounterTableDataInsertAllRequestRows++; |
1790 if (buildCounterTableDataInsertAllRequestRows < 3) { | 1790 if (buildCounterTableDataInsertAllRequestRows < 3) { |
1791 unittest.expect(o.insertId, unittest.equals('foo')); | 1791 unittest.expect(o.insertId, unittest.equals('foo')); |
1792 checkJsonObject(o.json); | 1792 checkJsonObject(o.json); |
1793 } | 1793 } |
1794 buildCounterTableDataInsertAllRequestRows--; | 1794 buildCounterTableDataInsertAllRequestRows--; |
1795 } | 1795 } |
1796 | 1796 |
1797 buildUnnamed3009() { | 1797 buildUnnamed3100() { |
1798 var o = new core.List<api.TableDataInsertAllRequestRows>(); | 1798 var o = new core.List<api.TableDataInsertAllRequestRows>(); |
1799 o.add(buildTableDataInsertAllRequestRows()); | 1799 o.add(buildTableDataInsertAllRequestRows()); |
1800 o.add(buildTableDataInsertAllRequestRows()); | 1800 o.add(buildTableDataInsertAllRequestRows()); |
1801 return o; | 1801 return o; |
1802 } | 1802 } |
1803 | 1803 |
1804 checkUnnamed3009(core.List<api.TableDataInsertAllRequestRows> o) { | 1804 checkUnnamed3100(core.List<api.TableDataInsertAllRequestRows> o) { |
1805 unittest.expect(o, unittest.hasLength(2)); | 1805 unittest.expect(o, unittest.hasLength(2)); |
1806 checkTableDataInsertAllRequestRows(o[0]); | 1806 checkTableDataInsertAllRequestRows(o[0]); |
1807 checkTableDataInsertAllRequestRows(o[1]); | 1807 checkTableDataInsertAllRequestRows(o[1]); |
1808 } | 1808 } |
1809 | 1809 |
1810 core.int buildCounterTableDataInsertAllRequest = 0; | 1810 core.int buildCounterTableDataInsertAllRequest = 0; |
1811 buildTableDataInsertAllRequest() { | 1811 buildTableDataInsertAllRequest() { |
1812 var o = new api.TableDataInsertAllRequest(); | 1812 var o = new api.TableDataInsertAllRequest(); |
1813 buildCounterTableDataInsertAllRequest++; | 1813 buildCounterTableDataInsertAllRequest++; |
1814 if (buildCounterTableDataInsertAllRequest < 3) { | 1814 if (buildCounterTableDataInsertAllRequest < 3) { |
1815 o.ignoreUnknownValues = true; | 1815 o.ignoreUnknownValues = true; |
1816 o.kind = "foo"; | 1816 o.kind = "foo"; |
1817 o.rows = buildUnnamed3009(); | 1817 o.rows = buildUnnamed3100(); |
1818 o.skipInvalidRows = true; | 1818 o.skipInvalidRows = true; |
1819 o.templateSuffix = "foo"; | 1819 o.templateSuffix = "foo"; |
1820 } | 1820 } |
1821 buildCounterTableDataInsertAllRequest--; | 1821 buildCounterTableDataInsertAllRequest--; |
1822 return o; | 1822 return o; |
1823 } | 1823 } |
1824 | 1824 |
1825 checkTableDataInsertAllRequest(api.TableDataInsertAllRequest o) { | 1825 checkTableDataInsertAllRequest(api.TableDataInsertAllRequest o) { |
1826 buildCounterTableDataInsertAllRequest++; | 1826 buildCounterTableDataInsertAllRequest++; |
1827 if (buildCounterTableDataInsertAllRequest < 3) { | 1827 if (buildCounterTableDataInsertAllRequest < 3) { |
1828 unittest.expect(o.ignoreUnknownValues, unittest.isTrue); | 1828 unittest.expect(o.ignoreUnknownValues, unittest.isTrue); |
1829 unittest.expect(o.kind, unittest.equals('foo')); | 1829 unittest.expect(o.kind, unittest.equals('foo')); |
1830 checkUnnamed3009(o.rows); | 1830 checkUnnamed3100(o.rows); |
1831 unittest.expect(o.skipInvalidRows, unittest.isTrue); | 1831 unittest.expect(o.skipInvalidRows, unittest.isTrue); |
1832 unittest.expect(o.templateSuffix, unittest.equals('foo')); | 1832 unittest.expect(o.templateSuffix, unittest.equals('foo')); |
1833 } | 1833 } |
1834 buildCounterTableDataInsertAllRequest--; | 1834 buildCounterTableDataInsertAllRequest--; |
1835 } | 1835 } |
1836 | 1836 |
1837 buildUnnamed3010() { | 1837 buildUnnamed3101() { |
1838 var o = new core.List<api.ErrorProto>(); | 1838 var o = new core.List<api.ErrorProto>(); |
1839 o.add(buildErrorProto()); | 1839 o.add(buildErrorProto()); |
1840 o.add(buildErrorProto()); | 1840 o.add(buildErrorProto()); |
1841 return o; | 1841 return o; |
1842 } | 1842 } |
1843 | 1843 |
1844 checkUnnamed3010(core.List<api.ErrorProto> o) { | 1844 checkUnnamed3101(core.List<api.ErrorProto> o) { |
1845 unittest.expect(o, unittest.hasLength(2)); | 1845 unittest.expect(o, unittest.hasLength(2)); |
1846 checkErrorProto(o[0]); | 1846 checkErrorProto(o[0]); |
1847 checkErrorProto(o[1]); | 1847 checkErrorProto(o[1]); |
1848 } | 1848 } |
1849 | 1849 |
1850 core.int buildCounterTableDataInsertAllResponseInsertErrors = 0; | 1850 core.int buildCounterTableDataInsertAllResponseInsertErrors = 0; |
1851 buildTableDataInsertAllResponseInsertErrors() { | 1851 buildTableDataInsertAllResponseInsertErrors() { |
1852 var o = new api.TableDataInsertAllResponseInsertErrors(); | 1852 var o = new api.TableDataInsertAllResponseInsertErrors(); |
1853 buildCounterTableDataInsertAllResponseInsertErrors++; | 1853 buildCounterTableDataInsertAllResponseInsertErrors++; |
1854 if (buildCounterTableDataInsertAllResponseInsertErrors < 3) { | 1854 if (buildCounterTableDataInsertAllResponseInsertErrors < 3) { |
1855 o.errors = buildUnnamed3010(); | 1855 o.errors = buildUnnamed3101(); |
1856 o.index = 42; | 1856 o.index = 42; |
1857 } | 1857 } |
1858 buildCounterTableDataInsertAllResponseInsertErrors--; | 1858 buildCounterTableDataInsertAllResponseInsertErrors--; |
1859 return o; | 1859 return o; |
1860 } | 1860 } |
1861 | 1861 |
1862 checkTableDataInsertAllResponseInsertErrors(api.TableDataInsertAllResponseInsert
Errors o) { | 1862 checkTableDataInsertAllResponseInsertErrors(api.TableDataInsertAllResponseInsert
Errors o) { |
1863 buildCounterTableDataInsertAllResponseInsertErrors++; | 1863 buildCounterTableDataInsertAllResponseInsertErrors++; |
1864 if (buildCounterTableDataInsertAllResponseInsertErrors < 3) { | 1864 if (buildCounterTableDataInsertAllResponseInsertErrors < 3) { |
1865 checkUnnamed3010(o.errors); | 1865 checkUnnamed3101(o.errors); |
1866 unittest.expect(o.index, unittest.equals(42)); | 1866 unittest.expect(o.index, unittest.equals(42)); |
1867 } | 1867 } |
1868 buildCounterTableDataInsertAllResponseInsertErrors--; | 1868 buildCounterTableDataInsertAllResponseInsertErrors--; |
1869 } | 1869 } |
1870 | 1870 |
1871 buildUnnamed3011() { | 1871 buildUnnamed3102() { |
1872 var o = new core.List<api.TableDataInsertAllResponseInsertErrors>(); | 1872 var o = new core.List<api.TableDataInsertAllResponseInsertErrors>(); |
1873 o.add(buildTableDataInsertAllResponseInsertErrors()); | 1873 o.add(buildTableDataInsertAllResponseInsertErrors()); |
1874 o.add(buildTableDataInsertAllResponseInsertErrors()); | 1874 o.add(buildTableDataInsertAllResponseInsertErrors()); |
1875 return o; | 1875 return o; |
1876 } | 1876 } |
1877 | 1877 |
1878 checkUnnamed3011(core.List<api.TableDataInsertAllResponseInsertErrors> o) { | 1878 checkUnnamed3102(core.List<api.TableDataInsertAllResponseInsertErrors> o) { |
1879 unittest.expect(o, unittest.hasLength(2)); | 1879 unittest.expect(o, unittest.hasLength(2)); |
1880 checkTableDataInsertAllResponseInsertErrors(o[0]); | 1880 checkTableDataInsertAllResponseInsertErrors(o[0]); |
1881 checkTableDataInsertAllResponseInsertErrors(o[1]); | 1881 checkTableDataInsertAllResponseInsertErrors(o[1]); |
1882 } | 1882 } |
1883 | 1883 |
1884 core.int buildCounterTableDataInsertAllResponse = 0; | 1884 core.int buildCounterTableDataInsertAllResponse = 0; |
1885 buildTableDataInsertAllResponse() { | 1885 buildTableDataInsertAllResponse() { |
1886 var o = new api.TableDataInsertAllResponse(); | 1886 var o = new api.TableDataInsertAllResponse(); |
1887 buildCounterTableDataInsertAllResponse++; | 1887 buildCounterTableDataInsertAllResponse++; |
1888 if (buildCounterTableDataInsertAllResponse < 3) { | 1888 if (buildCounterTableDataInsertAllResponse < 3) { |
1889 o.insertErrors = buildUnnamed3011(); | 1889 o.insertErrors = buildUnnamed3102(); |
1890 o.kind = "foo"; | 1890 o.kind = "foo"; |
1891 } | 1891 } |
1892 buildCounterTableDataInsertAllResponse--; | 1892 buildCounterTableDataInsertAllResponse--; |
1893 return o; | 1893 return o; |
1894 } | 1894 } |
1895 | 1895 |
1896 checkTableDataInsertAllResponse(api.TableDataInsertAllResponse o) { | 1896 checkTableDataInsertAllResponse(api.TableDataInsertAllResponse o) { |
1897 buildCounterTableDataInsertAllResponse++; | 1897 buildCounterTableDataInsertAllResponse++; |
1898 if (buildCounterTableDataInsertAllResponse < 3) { | 1898 if (buildCounterTableDataInsertAllResponse < 3) { |
1899 checkUnnamed3011(o.insertErrors); | 1899 checkUnnamed3102(o.insertErrors); |
1900 unittest.expect(o.kind, unittest.equals('foo')); | 1900 unittest.expect(o.kind, unittest.equals('foo')); |
1901 } | 1901 } |
1902 buildCounterTableDataInsertAllResponse--; | 1902 buildCounterTableDataInsertAllResponse--; |
1903 } | 1903 } |
1904 | 1904 |
1905 buildUnnamed3012() { | 1905 buildUnnamed3103() { |
1906 var o = new core.List<api.TableRow>(); | 1906 var o = new core.List<api.TableRow>(); |
1907 o.add(buildTableRow()); | 1907 o.add(buildTableRow()); |
1908 o.add(buildTableRow()); | 1908 o.add(buildTableRow()); |
1909 return o; | 1909 return o; |
1910 } | 1910 } |
1911 | 1911 |
1912 checkUnnamed3012(core.List<api.TableRow> o) { | 1912 checkUnnamed3103(core.List<api.TableRow> o) { |
1913 unittest.expect(o, unittest.hasLength(2)); | 1913 unittest.expect(o, unittest.hasLength(2)); |
1914 checkTableRow(o[0]); | 1914 checkTableRow(o[0]); |
1915 checkTableRow(o[1]); | 1915 checkTableRow(o[1]); |
1916 } | 1916 } |
1917 | 1917 |
1918 core.int buildCounterTableDataList = 0; | 1918 core.int buildCounterTableDataList = 0; |
1919 buildTableDataList() { | 1919 buildTableDataList() { |
1920 var o = new api.TableDataList(); | 1920 var o = new api.TableDataList(); |
1921 buildCounterTableDataList++; | 1921 buildCounterTableDataList++; |
1922 if (buildCounterTableDataList < 3) { | 1922 if (buildCounterTableDataList < 3) { |
1923 o.etag = "foo"; | 1923 o.etag = "foo"; |
1924 o.kind = "foo"; | 1924 o.kind = "foo"; |
1925 o.pageToken = "foo"; | 1925 o.pageToken = "foo"; |
1926 o.rows = buildUnnamed3012(); | 1926 o.rows = buildUnnamed3103(); |
1927 o.totalRows = "foo"; | 1927 o.totalRows = "foo"; |
1928 } | 1928 } |
1929 buildCounterTableDataList--; | 1929 buildCounterTableDataList--; |
1930 return o; | 1930 return o; |
1931 } | 1931 } |
1932 | 1932 |
1933 checkTableDataList(api.TableDataList o) { | 1933 checkTableDataList(api.TableDataList o) { |
1934 buildCounterTableDataList++; | 1934 buildCounterTableDataList++; |
1935 if (buildCounterTableDataList < 3) { | 1935 if (buildCounterTableDataList < 3) { |
1936 unittest.expect(o.etag, unittest.equals('foo')); | 1936 unittest.expect(o.etag, unittest.equals('foo')); |
1937 unittest.expect(o.kind, unittest.equals('foo')); | 1937 unittest.expect(o.kind, unittest.equals('foo')); |
1938 unittest.expect(o.pageToken, unittest.equals('foo')); | 1938 unittest.expect(o.pageToken, unittest.equals('foo')); |
1939 checkUnnamed3012(o.rows); | 1939 checkUnnamed3103(o.rows); |
1940 unittest.expect(o.totalRows, unittest.equals('foo')); | 1940 unittest.expect(o.totalRows, unittest.equals('foo')); |
1941 } | 1941 } |
1942 buildCounterTableDataList--; | 1942 buildCounterTableDataList--; |
1943 } | 1943 } |
1944 | 1944 |
1945 buildUnnamed3013() { | 1945 buildUnnamed3104() { |
1946 var o = new core.List<api.TableFieldSchema>(); | 1946 var o = new core.List<api.TableFieldSchema>(); |
1947 o.add(buildTableFieldSchema()); | 1947 o.add(buildTableFieldSchema()); |
1948 o.add(buildTableFieldSchema()); | 1948 o.add(buildTableFieldSchema()); |
1949 return o; | 1949 return o; |
1950 } | 1950 } |
1951 | 1951 |
1952 checkUnnamed3013(core.List<api.TableFieldSchema> o) { | 1952 checkUnnamed3104(core.List<api.TableFieldSchema> o) { |
1953 unittest.expect(o, unittest.hasLength(2)); | 1953 unittest.expect(o, unittest.hasLength(2)); |
1954 checkTableFieldSchema(o[0]); | 1954 checkTableFieldSchema(o[0]); |
1955 checkTableFieldSchema(o[1]); | 1955 checkTableFieldSchema(o[1]); |
1956 } | 1956 } |
1957 | 1957 |
1958 core.int buildCounterTableFieldSchema = 0; | 1958 core.int buildCounterTableFieldSchema = 0; |
1959 buildTableFieldSchema() { | 1959 buildTableFieldSchema() { |
1960 var o = new api.TableFieldSchema(); | 1960 var o = new api.TableFieldSchema(); |
1961 buildCounterTableFieldSchema++; | 1961 buildCounterTableFieldSchema++; |
1962 if (buildCounterTableFieldSchema < 3) { | 1962 if (buildCounterTableFieldSchema < 3) { |
1963 o.description = "foo"; | 1963 o.description = "foo"; |
1964 o.fields = buildUnnamed3013(); | 1964 o.fields = buildUnnamed3104(); |
1965 o.mode = "foo"; | 1965 o.mode = "foo"; |
1966 o.name = "foo"; | 1966 o.name = "foo"; |
1967 o.type = "foo"; | 1967 o.type = "foo"; |
1968 } | 1968 } |
1969 buildCounterTableFieldSchema--; | 1969 buildCounterTableFieldSchema--; |
1970 return o; | 1970 return o; |
1971 } | 1971 } |
1972 | 1972 |
1973 checkTableFieldSchema(api.TableFieldSchema o) { | 1973 checkTableFieldSchema(api.TableFieldSchema o) { |
1974 buildCounterTableFieldSchema++; | 1974 buildCounterTableFieldSchema++; |
1975 if (buildCounterTableFieldSchema < 3) { | 1975 if (buildCounterTableFieldSchema < 3) { |
1976 unittest.expect(o.description, unittest.equals('foo')); | 1976 unittest.expect(o.description, unittest.equals('foo')); |
1977 checkUnnamed3013(o.fields); | 1977 checkUnnamed3104(o.fields); |
1978 unittest.expect(o.mode, unittest.equals('foo')); | 1978 unittest.expect(o.mode, unittest.equals('foo')); |
1979 unittest.expect(o.name, unittest.equals('foo')); | 1979 unittest.expect(o.name, unittest.equals('foo')); |
1980 unittest.expect(o.type, unittest.equals('foo')); | 1980 unittest.expect(o.type, unittest.equals('foo')); |
1981 } | 1981 } |
1982 buildCounterTableFieldSchema--; | 1982 buildCounterTableFieldSchema--; |
1983 } | 1983 } |
1984 | 1984 |
1985 buildUnnamed3014() { | 1985 buildUnnamed3105() { |
1986 var o = new core.Map<core.String, core.String>(); | 1986 var o = new core.Map<core.String, core.String>(); |
1987 o["x"] = "foo"; | 1987 o["x"] = "foo"; |
1988 o["y"] = "foo"; | 1988 o["y"] = "foo"; |
1989 return o; | 1989 return o; |
1990 } | 1990 } |
1991 | 1991 |
1992 checkUnnamed3014(core.Map<core.String, core.String> o) { | 1992 checkUnnamed3105(core.Map<core.String, core.String> o) { |
1993 unittest.expect(o, unittest.hasLength(2)); | 1993 unittest.expect(o, unittest.hasLength(2)); |
1994 unittest.expect(o["x"], unittest.equals('foo')); | 1994 unittest.expect(o["x"], unittest.equals('foo')); |
1995 unittest.expect(o["y"], unittest.equals('foo')); | 1995 unittest.expect(o["y"], unittest.equals('foo')); |
1996 } | 1996 } |
1997 | 1997 |
1998 core.int buildCounterTableListTables = 0; | 1998 core.int buildCounterTableListTables = 0; |
1999 buildTableListTables() { | 1999 buildTableListTables() { |
2000 var o = new api.TableListTables(); | 2000 var o = new api.TableListTables(); |
2001 buildCounterTableListTables++; | 2001 buildCounterTableListTables++; |
2002 if (buildCounterTableListTables < 3) { | 2002 if (buildCounterTableListTables < 3) { |
2003 o.friendlyName = "foo"; | 2003 o.friendlyName = "foo"; |
2004 o.id = "foo"; | 2004 o.id = "foo"; |
2005 o.kind = "foo"; | 2005 o.kind = "foo"; |
2006 o.labels = buildUnnamed3014(); | 2006 o.labels = buildUnnamed3105(); |
2007 o.tableReference = buildTableReference(); | 2007 o.tableReference = buildTableReference(); |
2008 o.type = "foo"; | 2008 o.type = "foo"; |
2009 } | 2009 } |
2010 buildCounterTableListTables--; | 2010 buildCounterTableListTables--; |
2011 return o; | 2011 return o; |
2012 } | 2012 } |
2013 | 2013 |
2014 checkTableListTables(api.TableListTables o) { | 2014 checkTableListTables(api.TableListTables o) { |
2015 buildCounterTableListTables++; | 2015 buildCounterTableListTables++; |
2016 if (buildCounterTableListTables < 3) { | 2016 if (buildCounterTableListTables < 3) { |
2017 unittest.expect(o.friendlyName, unittest.equals('foo')); | 2017 unittest.expect(o.friendlyName, unittest.equals('foo')); |
2018 unittest.expect(o.id, unittest.equals('foo')); | 2018 unittest.expect(o.id, unittest.equals('foo')); |
2019 unittest.expect(o.kind, unittest.equals('foo')); | 2019 unittest.expect(o.kind, unittest.equals('foo')); |
2020 checkUnnamed3014(o.labels); | 2020 checkUnnamed3105(o.labels); |
2021 checkTableReference(o.tableReference); | 2021 checkTableReference(o.tableReference); |
2022 unittest.expect(o.type, unittest.equals('foo')); | 2022 unittest.expect(o.type, unittest.equals('foo')); |
2023 } | 2023 } |
2024 buildCounterTableListTables--; | 2024 buildCounterTableListTables--; |
2025 } | 2025 } |
2026 | 2026 |
2027 buildUnnamed3015() { | 2027 buildUnnamed3106() { |
2028 var o = new core.List<api.TableListTables>(); | 2028 var o = new core.List<api.TableListTables>(); |
2029 o.add(buildTableListTables()); | 2029 o.add(buildTableListTables()); |
2030 o.add(buildTableListTables()); | 2030 o.add(buildTableListTables()); |
2031 return o; | 2031 return o; |
2032 } | 2032 } |
2033 | 2033 |
2034 checkUnnamed3015(core.List<api.TableListTables> o) { | 2034 checkUnnamed3106(core.List<api.TableListTables> o) { |
2035 unittest.expect(o, unittest.hasLength(2)); | 2035 unittest.expect(o, unittest.hasLength(2)); |
2036 checkTableListTables(o[0]); | 2036 checkTableListTables(o[0]); |
2037 checkTableListTables(o[1]); | 2037 checkTableListTables(o[1]); |
2038 } | 2038 } |
2039 | 2039 |
2040 core.int buildCounterTableList = 0; | 2040 core.int buildCounterTableList = 0; |
2041 buildTableList() { | 2041 buildTableList() { |
2042 var o = new api.TableList(); | 2042 var o = new api.TableList(); |
2043 buildCounterTableList++; | 2043 buildCounterTableList++; |
2044 if (buildCounterTableList < 3) { | 2044 if (buildCounterTableList < 3) { |
2045 o.etag = "foo"; | 2045 o.etag = "foo"; |
2046 o.kind = "foo"; | 2046 o.kind = "foo"; |
2047 o.nextPageToken = "foo"; | 2047 o.nextPageToken = "foo"; |
2048 o.tables = buildUnnamed3015(); | 2048 o.tables = buildUnnamed3106(); |
2049 o.totalItems = 42; | 2049 o.totalItems = 42; |
2050 } | 2050 } |
2051 buildCounterTableList--; | 2051 buildCounterTableList--; |
2052 return o; | 2052 return o; |
2053 } | 2053 } |
2054 | 2054 |
2055 checkTableList(api.TableList o) { | 2055 checkTableList(api.TableList o) { |
2056 buildCounterTableList++; | 2056 buildCounterTableList++; |
2057 if (buildCounterTableList < 3) { | 2057 if (buildCounterTableList < 3) { |
2058 unittest.expect(o.etag, unittest.equals('foo')); | 2058 unittest.expect(o.etag, unittest.equals('foo')); |
2059 unittest.expect(o.kind, unittest.equals('foo')); | 2059 unittest.expect(o.kind, unittest.equals('foo')); |
2060 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2060 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2061 checkUnnamed3015(o.tables); | 2061 checkUnnamed3106(o.tables); |
2062 unittest.expect(o.totalItems, unittest.equals(42)); | 2062 unittest.expect(o.totalItems, unittest.equals(42)); |
2063 } | 2063 } |
2064 buildCounterTableList--; | 2064 buildCounterTableList--; |
2065 } | 2065 } |
2066 | 2066 |
2067 core.int buildCounterTableReference = 0; | 2067 core.int buildCounterTableReference = 0; |
2068 buildTableReference() { | 2068 buildTableReference() { |
2069 var o = new api.TableReference(); | 2069 var o = new api.TableReference(); |
2070 buildCounterTableReference++; | 2070 buildCounterTableReference++; |
2071 if (buildCounterTableReference < 3) { | 2071 if (buildCounterTableReference < 3) { |
2072 o.datasetId = "foo"; | 2072 o.datasetId = "foo"; |
2073 o.projectId = "foo"; | 2073 o.projectId = "foo"; |
2074 o.tableId = "foo"; | 2074 o.tableId = "foo"; |
2075 } | 2075 } |
2076 buildCounterTableReference--; | 2076 buildCounterTableReference--; |
2077 return o; | 2077 return o; |
2078 } | 2078 } |
2079 | 2079 |
2080 checkTableReference(api.TableReference o) { | 2080 checkTableReference(api.TableReference o) { |
2081 buildCounterTableReference++; | 2081 buildCounterTableReference++; |
2082 if (buildCounterTableReference < 3) { | 2082 if (buildCounterTableReference < 3) { |
2083 unittest.expect(o.datasetId, unittest.equals('foo')); | 2083 unittest.expect(o.datasetId, unittest.equals('foo')); |
2084 unittest.expect(o.projectId, unittest.equals('foo')); | 2084 unittest.expect(o.projectId, unittest.equals('foo')); |
2085 unittest.expect(o.tableId, unittest.equals('foo')); | 2085 unittest.expect(o.tableId, unittest.equals('foo')); |
2086 } | 2086 } |
2087 buildCounterTableReference--; | 2087 buildCounterTableReference--; |
2088 } | 2088 } |
2089 | 2089 |
2090 buildUnnamed3016() { | 2090 buildUnnamed3107() { |
2091 var o = new core.List<api.TableCell>(); | 2091 var o = new core.List<api.TableCell>(); |
2092 o.add(buildTableCell()); | 2092 o.add(buildTableCell()); |
2093 o.add(buildTableCell()); | 2093 o.add(buildTableCell()); |
2094 return o; | 2094 return o; |
2095 } | 2095 } |
2096 | 2096 |
2097 checkUnnamed3016(core.List<api.TableCell> o) { | 2097 checkUnnamed3107(core.List<api.TableCell> o) { |
2098 unittest.expect(o, unittest.hasLength(2)); | 2098 unittest.expect(o, unittest.hasLength(2)); |
2099 checkTableCell(o[0]); | 2099 checkTableCell(o[0]); |
2100 checkTableCell(o[1]); | 2100 checkTableCell(o[1]); |
2101 } | 2101 } |
2102 | 2102 |
2103 core.int buildCounterTableRow = 0; | 2103 core.int buildCounterTableRow = 0; |
2104 buildTableRow() { | 2104 buildTableRow() { |
2105 var o = new api.TableRow(); | 2105 var o = new api.TableRow(); |
2106 buildCounterTableRow++; | 2106 buildCounterTableRow++; |
2107 if (buildCounterTableRow < 3) { | 2107 if (buildCounterTableRow < 3) { |
2108 o.f = buildUnnamed3016(); | 2108 o.f = buildUnnamed3107(); |
2109 } | 2109 } |
2110 buildCounterTableRow--; | 2110 buildCounterTableRow--; |
2111 return o; | 2111 return o; |
2112 } | 2112 } |
2113 | 2113 |
2114 checkTableRow(api.TableRow o) { | 2114 checkTableRow(api.TableRow o) { |
2115 buildCounterTableRow++; | 2115 buildCounterTableRow++; |
2116 if (buildCounterTableRow < 3) { | 2116 if (buildCounterTableRow < 3) { |
2117 checkUnnamed3016(o.f); | 2117 checkUnnamed3107(o.f); |
2118 } | 2118 } |
2119 buildCounterTableRow--; | 2119 buildCounterTableRow--; |
2120 } | 2120 } |
2121 | 2121 |
2122 buildUnnamed3017() { | 2122 buildUnnamed3108() { |
2123 var o = new core.List<api.TableFieldSchema>(); | 2123 var o = new core.List<api.TableFieldSchema>(); |
2124 o.add(buildTableFieldSchema()); | 2124 o.add(buildTableFieldSchema()); |
2125 o.add(buildTableFieldSchema()); | 2125 o.add(buildTableFieldSchema()); |
2126 return o; | 2126 return o; |
2127 } | 2127 } |
2128 | 2128 |
2129 checkUnnamed3017(core.List<api.TableFieldSchema> o) { | 2129 checkUnnamed3108(core.List<api.TableFieldSchema> o) { |
2130 unittest.expect(o, unittest.hasLength(2)); | 2130 unittest.expect(o, unittest.hasLength(2)); |
2131 checkTableFieldSchema(o[0]); | 2131 checkTableFieldSchema(o[0]); |
2132 checkTableFieldSchema(o[1]); | 2132 checkTableFieldSchema(o[1]); |
2133 } | 2133 } |
2134 | 2134 |
2135 core.int buildCounterTableSchema = 0; | 2135 core.int buildCounterTableSchema = 0; |
2136 buildTableSchema() { | 2136 buildTableSchema() { |
2137 var o = new api.TableSchema(); | 2137 var o = new api.TableSchema(); |
2138 buildCounterTableSchema++; | 2138 buildCounterTableSchema++; |
2139 if (buildCounterTableSchema < 3) { | 2139 if (buildCounterTableSchema < 3) { |
2140 o.fields = buildUnnamed3017(); | 2140 o.fields = buildUnnamed3108(); |
2141 } | 2141 } |
2142 buildCounterTableSchema--; | 2142 buildCounterTableSchema--; |
2143 return o; | 2143 return o; |
2144 } | 2144 } |
2145 | 2145 |
2146 checkTableSchema(api.TableSchema o) { | 2146 checkTableSchema(api.TableSchema o) { |
2147 buildCounterTableSchema++; | 2147 buildCounterTableSchema++; |
2148 if (buildCounterTableSchema < 3) { | 2148 if (buildCounterTableSchema < 3) { |
2149 checkUnnamed3017(o.fields); | 2149 checkUnnamed3108(o.fields); |
2150 } | 2150 } |
2151 buildCounterTableSchema--; | 2151 buildCounterTableSchema--; |
2152 } | 2152 } |
2153 | 2153 |
2154 core.int buildCounterTimePartitioning = 0; | 2154 core.int buildCounterTimePartitioning = 0; |
2155 buildTimePartitioning() { | 2155 buildTimePartitioning() { |
2156 var o = new api.TimePartitioning(); | 2156 var o = new api.TimePartitioning(); |
2157 buildCounterTimePartitioning++; | 2157 buildCounterTimePartitioning++; |
2158 if (buildCounterTimePartitioning < 3) { | 2158 if (buildCounterTimePartitioning < 3) { |
2159 o.expirationMs = "foo"; | 2159 o.expirationMs = "foo"; |
(...skipping 26 matching lines...) Expand all Loading... |
2186 | 2186 |
2187 checkUserDefinedFunctionResource(api.UserDefinedFunctionResource o) { | 2187 checkUserDefinedFunctionResource(api.UserDefinedFunctionResource o) { |
2188 buildCounterUserDefinedFunctionResource++; | 2188 buildCounterUserDefinedFunctionResource++; |
2189 if (buildCounterUserDefinedFunctionResource < 3) { | 2189 if (buildCounterUserDefinedFunctionResource < 3) { |
2190 unittest.expect(o.inlineCode, unittest.equals('foo')); | 2190 unittest.expect(o.inlineCode, unittest.equals('foo')); |
2191 unittest.expect(o.resourceUri, unittest.equals('foo')); | 2191 unittest.expect(o.resourceUri, unittest.equals('foo')); |
2192 } | 2192 } |
2193 buildCounterUserDefinedFunctionResource--; | 2193 buildCounterUserDefinedFunctionResource--; |
2194 } | 2194 } |
2195 | 2195 |
2196 buildUnnamed3018() { | 2196 buildUnnamed3109() { |
2197 var o = new core.List<api.UserDefinedFunctionResource>(); | 2197 var o = new core.List<api.UserDefinedFunctionResource>(); |
2198 o.add(buildUserDefinedFunctionResource()); | 2198 o.add(buildUserDefinedFunctionResource()); |
2199 o.add(buildUserDefinedFunctionResource()); | 2199 o.add(buildUserDefinedFunctionResource()); |
2200 return o; | 2200 return o; |
2201 } | 2201 } |
2202 | 2202 |
2203 checkUnnamed3018(core.List<api.UserDefinedFunctionResource> o) { | 2203 checkUnnamed3109(core.List<api.UserDefinedFunctionResource> o) { |
2204 unittest.expect(o, unittest.hasLength(2)); | 2204 unittest.expect(o, unittest.hasLength(2)); |
2205 checkUserDefinedFunctionResource(o[0]); | 2205 checkUserDefinedFunctionResource(o[0]); |
2206 checkUserDefinedFunctionResource(o[1]); | 2206 checkUserDefinedFunctionResource(o[1]); |
2207 } | 2207 } |
2208 | 2208 |
2209 core.int buildCounterViewDefinition = 0; | 2209 core.int buildCounterViewDefinition = 0; |
2210 buildViewDefinition() { | 2210 buildViewDefinition() { |
2211 var o = new api.ViewDefinition(); | 2211 var o = new api.ViewDefinition(); |
2212 buildCounterViewDefinition++; | 2212 buildCounterViewDefinition++; |
2213 if (buildCounterViewDefinition < 3) { | 2213 if (buildCounterViewDefinition < 3) { |
2214 o.query = "foo"; | 2214 o.query = "foo"; |
2215 o.useLegacySql = true; | 2215 o.useLegacySql = true; |
2216 o.userDefinedFunctionResources = buildUnnamed3018(); | 2216 o.userDefinedFunctionResources = buildUnnamed3109(); |
2217 } | 2217 } |
2218 buildCounterViewDefinition--; | 2218 buildCounterViewDefinition--; |
2219 return o; | 2219 return o; |
2220 } | 2220 } |
2221 | 2221 |
2222 checkViewDefinition(api.ViewDefinition o) { | 2222 checkViewDefinition(api.ViewDefinition o) { |
2223 buildCounterViewDefinition++; | 2223 buildCounterViewDefinition++; |
2224 if (buildCounterViewDefinition < 3) { | 2224 if (buildCounterViewDefinition < 3) { |
2225 unittest.expect(o.query, unittest.equals('foo')); | 2225 unittest.expect(o.query, unittest.equals('foo')); |
2226 unittest.expect(o.useLegacySql, unittest.isTrue); | 2226 unittest.expect(o.useLegacySql, unittest.isTrue); |
2227 checkUnnamed3018(o.userDefinedFunctionResources); | 2227 checkUnnamed3109(o.userDefinedFunctionResources); |
2228 } | 2228 } |
2229 buildCounterViewDefinition--; | 2229 buildCounterViewDefinition--; |
2230 } | 2230 } |
2231 | 2231 |
2232 buildUnnamed3019() { | 2232 buildUnnamed3110() { |
2233 var o = new core.List<core.String>(); | 2233 var o = new core.List<core.String>(); |
2234 o.add("foo"); | 2234 o.add("foo"); |
2235 o.add("foo"); | 2235 o.add("foo"); |
2236 return o; | 2236 return o; |
2237 } | 2237 } |
2238 | 2238 |
2239 checkUnnamed3019(core.List<core.String> o) { | 2239 checkUnnamed3110(core.List<core.String> o) { |
2240 unittest.expect(o, unittest.hasLength(2)); | 2240 unittest.expect(o, unittest.hasLength(2)); |
2241 unittest.expect(o[0], unittest.equals('foo')); | 2241 unittest.expect(o[0], unittest.equals('foo')); |
2242 unittest.expect(o[1], unittest.equals('foo')); | 2242 unittest.expect(o[1], unittest.equals('foo')); |
2243 } | 2243 } |
2244 | 2244 |
2245 | 2245 |
2246 main() { | 2246 main() { |
2247 unittest.group("obj-schema-BigtableColumn", () { | 2247 unittest.group("obj-schema-BigtableColumn", () { |
2248 unittest.test("to-json--from-json", () { | 2248 unittest.test("to-json--from-json", () { |
2249 var o = buildBigtableColumn(); | 2249 var o = buildBigtableColumn(); |
(...skipping 1110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3360 | 3360 |
3361 unittest.test("method--list", () { | 3361 unittest.test("method--list", () { |
3362 | 3362 |
3363 var mock = new HttpServerMock(); | 3363 var mock = new HttpServerMock(); |
3364 api.JobsResourceApi res = new api.BigqueryApi(mock).jobs; | 3364 api.JobsResourceApi res = new api.BigqueryApi(mock).jobs; |
3365 var arg_projectId = "foo"; | 3365 var arg_projectId = "foo"; |
3366 var arg_allUsers = true; | 3366 var arg_allUsers = true; |
3367 var arg_maxResults = 42; | 3367 var arg_maxResults = 42; |
3368 var arg_pageToken = "foo"; | 3368 var arg_pageToken = "foo"; |
3369 var arg_projection = "foo"; | 3369 var arg_projection = "foo"; |
3370 var arg_stateFilter = buildUnnamed3019(); | 3370 var arg_stateFilter = buildUnnamed3110(); |
3371 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 3371 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
3372 var path = (req.url).path; | 3372 var path = (req.url).path; |
3373 var pathOffset = 0; | 3373 var pathOffset = 0; |
3374 var index; | 3374 var index; |
3375 var subPart; | 3375 var subPart; |
3376 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 3376 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
3377 pathOffset += 1; | 3377 pathOffset += 1; |
3378 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("bigquery/v2/")); | 3378 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("bigquery/v2/")); |
3379 pathOffset += 12; | 3379 pathOffset += 12; |
3380 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("projects/")); | 3380 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("projects/")); |
(...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4081 res.update(arg_request, arg_projectId, arg_datasetId, arg_tableId).then(un
ittest.expectAsync(((api.Table response) { | 4081 res.update(arg_request, arg_projectId, arg_datasetId, arg_tableId).then(un
ittest.expectAsync(((api.Table response) { |
4082 checkTable(response); | 4082 checkTable(response); |
4083 }))); | 4083 }))); |
4084 }); | 4084 }); |
4085 | 4085 |
4086 }); | 4086 }); |
4087 | 4087 |
4088 | 4088 |
4089 } | 4089 } |
4090 | 4090 |
OLD | NEW |