| 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 buildUnnamed469() { | 83 buildUnnamed2922() { |
| 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 checkUnnamed469(core.List<api.BigtableColumn> o) { | 90 checkUnnamed2922(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 = buildUnnamed469(); | 101 o.columns = buildUnnamed2922(); |
| 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 checkUnnamed469(o.columns); | 114 checkUnnamed2922(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 buildUnnamed470() { | 123 buildUnnamed2923() { |
| 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 checkUnnamed470(core.List<api.BigtableColumnFamily> o) { | 130 checkUnnamed2923(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 = buildUnnamed470(); | 141 o.columnFamilies = buildUnnamed2923(); |
| 142 o.ignoreUnspecifiedColumnFamilies = true; | 142 o.ignoreUnspecifiedColumnFamilies = true; |
| 143 } | 143 } |
| 144 buildCounterBigtableOptions--; | 144 buildCounterBigtableOptions--; |
| 145 return o; | 145 return o; |
| 146 } | 146 } |
| 147 | 147 |
| 148 checkBigtableOptions(api.BigtableOptions o) { | 148 checkBigtableOptions(api.BigtableOptions o) { |
| 149 buildCounterBigtableOptions++; | 149 buildCounterBigtableOptions++; |
| 150 if (buildCounterBigtableOptions < 3) { | 150 if (buildCounterBigtableOptions < 3) { |
| 151 checkUnnamed470(o.columnFamilies); | 151 checkUnnamed2923(o.columnFamilies); |
| 152 unittest.expect(o.ignoreUnspecifiedColumnFamilies, unittest.isTrue); | 152 unittest.expect(o.ignoreUnspecifiedColumnFamilies, unittest.isTrue); |
| 153 } | 153 } |
| 154 buildCounterBigtableOptions--; | 154 buildCounterBigtableOptions--; |
| 155 } | 155 } |
| 156 | 156 |
| 157 core.int buildCounterCsvOptions = 0; | 157 core.int buildCounterCsvOptions = 0; |
| 158 buildCsvOptions() { | 158 buildCsvOptions() { |
| 159 var o = new api.CsvOptions(); | 159 var o = new api.CsvOptions(); |
| 160 buildCounterCsvOptions++; | 160 buildCounterCsvOptions++; |
| 161 if (buildCounterCsvOptions < 3) { | 161 if (buildCounterCsvOptions < 3) { |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 unittest.expect(o.domain, unittest.equals('foo')); | 205 unittest.expect(o.domain, unittest.equals('foo')); |
| 206 unittest.expect(o.groupByEmail, unittest.equals('foo')); | 206 unittest.expect(o.groupByEmail, unittest.equals('foo')); |
| 207 unittest.expect(o.role, unittest.equals('foo')); | 207 unittest.expect(o.role, unittest.equals('foo')); |
| 208 unittest.expect(o.specialGroup, unittest.equals('foo')); | 208 unittest.expect(o.specialGroup, unittest.equals('foo')); |
| 209 unittest.expect(o.userByEmail, unittest.equals('foo')); | 209 unittest.expect(o.userByEmail, unittest.equals('foo')); |
| 210 checkTableReference(o.view); | 210 checkTableReference(o.view); |
| 211 } | 211 } |
| 212 buildCounterDatasetAccess--; | 212 buildCounterDatasetAccess--; |
| 213 } | 213 } |
| 214 | 214 |
| 215 buildUnnamed471() { | 215 buildUnnamed2924() { |
| 216 var o = new core.List<api.DatasetAccess>(); | 216 var o = new core.List<api.DatasetAccess>(); |
| 217 o.add(buildDatasetAccess()); | 217 o.add(buildDatasetAccess()); |
| 218 o.add(buildDatasetAccess()); | 218 o.add(buildDatasetAccess()); |
| 219 return o; | 219 return o; |
| 220 } | 220 } |
| 221 | 221 |
| 222 checkUnnamed471(core.List<api.DatasetAccess> o) { | 222 checkUnnamed2924(core.List<api.DatasetAccess> o) { |
| 223 unittest.expect(o, unittest.hasLength(2)); | 223 unittest.expect(o, unittest.hasLength(2)); |
| 224 checkDatasetAccess(o[0]); | 224 checkDatasetAccess(o[0]); |
| 225 checkDatasetAccess(o[1]); | 225 checkDatasetAccess(o[1]); |
| 226 } | 226 } |
| 227 | 227 |
| 228 buildUnnamed2925() { |
| 229 var o = new core.Map<core.String, core.String>(); |
| 230 o["x"] = "foo"; |
| 231 o["y"] = "foo"; |
| 232 return o; |
| 233 } |
| 234 |
| 235 checkUnnamed2925(core.Map<core.String, core.String> o) { |
| 236 unittest.expect(o, unittest.hasLength(2)); |
| 237 unittest.expect(o["x"], unittest.equals('foo')); |
| 238 unittest.expect(o["y"], unittest.equals('foo')); |
| 239 } |
| 240 |
| 228 core.int buildCounterDataset = 0; | 241 core.int buildCounterDataset = 0; |
| 229 buildDataset() { | 242 buildDataset() { |
| 230 var o = new api.Dataset(); | 243 var o = new api.Dataset(); |
| 231 buildCounterDataset++; | 244 buildCounterDataset++; |
| 232 if (buildCounterDataset < 3) { | 245 if (buildCounterDataset < 3) { |
| 233 o.access = buildUnnamed471(); | 246 o.access = buildUnnamed2924(); |
| 234 o.creationTime = "foo"; | 247 o.creationTime = "foo"; |
| 235 o.datasetReference = buildDatasetReference(); | 248 o.datasetReference = buildDatasetReference(); |
| 236 o.defaultTableExpirationMs = "foo"; | 249 o.defaultTableExpirationMs = "foo"; |
| 237 o.description = "foo"; | 250 o.description = "foo"; |
| 238 o.etag = "foo"; | 251 o.etag = "foo"; |
| 239 o.friendlyName = "foo"; | 252 o.friendlyName = "foo"; |
| 240 o.id = "foo"; | 253 o.id = "foo"; |
| 241 o.kind = "foo"; | 254 o.kind = "foo"; |
| 255 o.labels = buildUnnamed2925(); |
| 242 o.lastModifiedTime = "foo"; | 256 o.lastModifiedTime = "foo"; |
| 243 o.location = "foo"; | 257 o.location = "foo"; |
| 244 o.selfLink = "foo"; | 258 o.selfLink = "foo"; |
| 245 } | 259 } |
| 246 buildCounterDataset--; | 260 buildCounterDataset--; |
| 247 return o; | 261 return o; |
| 248 } | 262 } |
| 249 | 263 |
| 250 checkDataset(api.Dataset o) { | 264 checkDataset(api.Dataset o) { |
| 251 buildCounterDataset++; | 265 buildCounterDataset++; |
| 252 if (buildCounterDataset < 3) { | 266 if (buildCounterDataset < 3) { |
| 253 checkUnnamed471(o.access); | 267 checkUnnamed2924(o.access); |
| 254 unittest.expect(o.creationTime, unittest.equals('foo')); | 268 unittest.expect(o.creationTime, unittest.equals('foo')); |
| 255 checkDatasetReference(o.datasetReference); | 269 checkDatasetReference(o.datasetReference); |
| 256 unittest.expect(o.defaultTableExpirationMs, unittest.equals('foo')); | 270 unittest.expect(o.defaultTableExpirationMs, unittest.equals('foo')); |
| 257 unittest.expect(o.description, unittest.equals('foo')); | 271 unittest.expect(o.description, unittest.equals('foo')); |
| 258 unittest.expect(o.etag, unittest.equals('foo')); | 272 unittest.expect(o.etag, unittest.equals('foo')); |
| 259 unittest.expect(o.friendlyName, unittest.equals('foo')); | 273 unittest.expect(o.friendlyName, unittest.equals('foo')); |
| 260 unittest.expect(o.id, unittest.equals('foo')); | 274 unittest.expect(o.id, unittest.equals('foo')); |
| 261 unittest.expect(o.kind, unittest.equals('foo')); | 275 unittest.expect(o.kind, unittest.equals('foo')); |
| 276 checkUnnamed2925(o.labels); |
| 262 unittest.expect(o.lastModifiedTime, unittest.equals('foo')); | 277 unittest.expect(o.lastModifiedTime, unittest.equals('foo')); |
| 263 unittest.expect(o.location, unittest.equals('foo')); | 278 unittest.expect(o.location, unittest.equals('foo')); |
| 264 unittest.expect(o.selfLink, unittest.equals('foo')); | 279 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 265 } | 280 } |
| 266 buildCounterDataset--; | 281 buildCounterDataset--; |
| 267 } | 282 } |
| 268 | 283 |
| 284 buildUnnamed2926() { |
| 285 var o = new core.Map<core.String, core.String>(); |
| 286 o["x"] = "foo"; |
| 287 o["y"] = "foo"; |
| 288 return o; |
| 289 } |
| 290 |
| 291 checkUnnamed2926(core.Map<core.String, core.String> o) { |
| 292 unittest.expect(o, unittest.hasLength(2)); |
| 293 unittest.expect(o["x"], unittest.equals('foo')); |
| 294 unittest.expect(o["y"], unittest.equals('foo')); |
| 295 } |
| 296 |
| 269 core.int buildCounterDatasetListDatasets = 0; | 297 core.int buildCounterDatasetListDatasets = 0; |
| 270 buildDatasetListDatasets() { | 298 buildDatasetListDatasets() { |
| 271 var o = new api.DatasetListDatasets(); | 299 var o = new api.DatasetListDatasets(); |
| 272 buildCounterDatasetListDatasets++; | 300 buildCounterDatasetListDatasets++; |
| 273 if (buildCounterDatasetListDatasets < 3) { | 301 if (buildCounterDatasetListDatasets < 3) { |
| 274 o.datasetReference = buildDatasetReference(); | 302 o.datasetReference = buildDatasetReference(); |
| 275 o.friendlyName = "foo"; | 303 o.friendlyName = "foo"; |
| 276 o.id = "foo"; | 304 o.id = "foo"; |
| 277 o.kind = "foo"; | 305 o.kind = "foo"; |
| 306 o.labels = buildUnnamed2926(); |
| 278 } | 307 } |
| 279 buildCounterDatasetListDatasets--; | 308 buildCounterDatasetListDatasets--; |
| 280 return o; | 309 return o; |
| 281 } | 310 } |
| 282 | 311 |
| 283 checkDatasetListDatasets(api.DatasetListDatasets o) { | 312 checkDatasetListDatasets(api.DatasetListDatasets o) { |
| 284 buildCounterDatasetListDatasets++; | 313 buildCounterDatasetListDatasets++; |
| 285 if (buildCounterDatasetListDatasets < 3) { | 314 if (buildCounterDatasetListDatasets < 3) { |
| 286 checkDatasetReference(o.datasetReference); | 315 checkDatasetReference(o.datasetReference); |
| 287 unittest.expect(o.friendlyName, unittest.equals('foo')); | 316 unittest.expect(o.friendlyName, unittest.equals('foo')); |
| 288 unittest.expect(o.id, unittest.equals('foo')); | 317 unittest.expect(o.id, unittest.equals('foo')); |
| 289 unittest.expect(o.kind, unittest.equals('foo')); | 318 unittest.expect(o.kind, unittest.equals('foo')); |
| 319 checkUnnamed2926(o.labels); |
| 290 } | 320 } |
| 291 buildCounterDatasetListDatasets--; | 321 buildCounterDatasetListDatasets--; |
| 292 } | 322 } |
| 293 | 323 |
| 294 buildUnnamed472() { | 324 buildUnnamed2927() { |
| 295 var o = new core.List<api.DatasetListDatasets>(); | 325 var o = new core.List<api.DatasetListDatasets>(); |
| 296 o.add(buildDatasetListDatasets()); | 326 o.add(buildDatasetListDatasets()); |
| 297 o.add(buildDatasetListDatasets()); | 327 o.add(buildDatasetListDatasets()); |
| 298 return o; | 328 return o; |
| 299 } | 329 } |
| 300 | 330 |
| 301 checkUnnamed472(core.List<api.DatasetListDatasets> o) { | 331 checkUnnamed2927(core.List<api.DatasetListDatasets> o) { |
| 302 unittest.expect(o, unittest.hasLength(2)); | 332 unittest.expect(o, unittest.hasLength(2)); |
| 303 checkDatasetListDatasets(o[0]); | 333 checkDatasetListDatasets(o[0]); |
| 304 checkDatasetListDatasets(o[1]); | 334 checkDatasetListDatasets(o[1]); |
| 305 } | 335 } |
| 306 | 336 |
| 307 core.int buildCounterDatasetList = 0; | 337 core.int buildCounterDatasetList = 0; |
| 308 buildDatasetList() { | 338 buildDatasetList() { |
| 309 var o = new api.DatasetList(); | 339 var o = new api.DatasetList(); |
| 310 buildCounterDatasetList++; | 340 buildCounterDatasetList++; |
| 311 if (buildCounterDatasetList < 3) { | 341 if (buildCounterDatasetList < 3) { |
| 312 o.datasets = buildUnnamed472(); | 342 o.datasets = buildUnnamed2927(); |
| 313 o.etag = "foo"; | 343 o.etag = "foo"; |
| 314 o.kind = "foo"; | 344 o.kind = "foo"; |
| 315 o.nextPageToken = "foo"; | 345 o.nextPageToken = "foo"; |
| 316 } | 346 } |
| 317 buildCounterDatasetList--; | 347 buildCounterDatasetList--; |
| 318 return o; | 348 return o; |
| 319 } | 349 } |
| 320 | 350 |
| 321 checkDatasetList(api.DatasetList o) { | 351 checkDatasetList(api.DatasetList o) { |
| 322 buildCounterDatasetList++; | 352 buildCounterDatasetList++; |
| 323 if (buildCounterDatasetList < 3) { | 353 if (buildCounterDatasetList < 3) { |
| 324 checkUnnamed472(o.datasets); | 354 checkUnnamed2927(o.datasets); |
| 325 unittest.expect(o.etag, unittest.equals('foo')); | 355 unittest.expect(o.etag, unittest.equals('foo')); |
| 326 unittest.expect(o.kind, unittest.equals('foo')); | 356 unittest.expect(o.kind, unittest.equals('foo')); |
| 327 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 357 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 328 } | 358 } |
| 329 buildCounterDatasetList--; | 359 buildCounterDatasetList--; |
| 330 } | 360 } |
| 331 | 361 |
| 332 core.int buildCounterDatasetReference = 0; | 362 core.int buildCounterDatasetReference = 0; |
| 333 buildDatasetReference() { | 363 buildDatasetReference() { |
| 334 var o = new api.DatasetReference(); | 364 var o = new api.DatasetReference(); |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 368 buildCounterErrorProto++; | 398 buildCounterErrorProto++; |
| 369 if (buildCounterErrorProto < 3) { | 399 if (buildCounterErrorProto < 3) { |
| 370 unittest.expect(o.debugInfo, unittest.equals('foo')); | 400 unittest.expect(o.debugInfo, unittest.equals('foo')); |
| 371 unittest.expect(o.location, unittest.equals('foo')); | 401 unittest.expect(o.location, unittest.equals('foo')); |
| 372 unittest.expect(o.message, unittest.equals('foo')); | 402 unittest.expect(o.message, unittest.equals('foo')); |
| 373 unittest.expect(o.reason, unittest.equals('foo')); | 403 unittest.expect(o.reason, unittest.equals('foo')); |
| 374 } | 404 } |
| 375 buildCounterErrorProto--; | 405 buildCounterErrorProto--; |
| 376 } | 406 } |
| 377 | 407 |
| 378 buildUnnamed473() { | 408 buildUnnamed2928() { |
| 379 var o = new core.List<api.ExplainQueryStep>(); | 409 var o = new core.List<api.ExplainQueryStep>(); |
| 380 o.add(buildExplainQueryStep()); | 410 o.add(buildExplainQueryStep()); |
| 381 o.add(buildExplainQueryStep()); | 411 o.add(buildExplainQueryStep()); |
| 382 return o; | 412 return o; |
| 383 } | 413 } |
| 384 | 414 |
| 385 checkUnnamed473(core.List<api.ExplainQueryStep> o) { | 415 checkUnnamed2928(core.List<api.ExplainQueryStep> o) { |
| 386 unittest.expect(o, unittest.hasLength(2)); | 416 unittest.expect(o, unittest.hasLength(2)); |
| 387 checkExplainQueryStep(o[0]); | 417 checkExplainQueryStep(o[0]); |
| 388 checkExplainQueryStep(o[1]); | 418 checkExplainQueryStep(o[1]); |
| 389 } | 419 } |
| 390 | 420 |
| 391 core.int buildCounterExplainQueryStage = 0; | 421 core.int buildCounterExplainQueryStage = 0; |
| 392 buildExplainQueryStage() { | 422 buildExplainQueryStage() { |
| 393 var o = new api.ExplainQueryStage(); | 423 var o = new api.ExplainQueryStage(); |
| 394 buildCounterExplainQueryStage++; | 424 buildCounterExplainQueryStage++; |
| 395 if (buildCounterExplainQueryStage < 3) { | 425 if (buildCounterExplainQueryStage < 3) { |
| 396 o.computeRatioAvg = 42.0; | 426 o.computeRatioAvg = 42.0; |
| 397 o.computeRatioMax = 42.0; | 427 o.computeRatioMax = 42.0; |
| 398 o.id = "foo"; | 428 o.id = "foo"; |
| 399 o.name = "foo"; | 429 o.name = "foo"; |
| 400 o.readRatioAvg = 42.0; | 430 o.readRatioAvg = 42.0; |
| 401 o.readRatioMax = 42.0; | 431 o.readRatioMax = 42.0; |
| 402 o.recordsRead = "foo"; | 432 o.recordsRead = "foo"; |
| 403 o.recordsWritten = "foo"; | 433 o.recordsWritten = "foo"; |
| 404 o.steps = buildUnnamed473(); | 434 o.steps = buildUnnamed2928(); |
| 405 o.waitRatioAvg = 42.0; | 435 o.waitRatioAvg = 42.0; |
| 406 o.waitRatioMax = 42.0; | 436 o.waitRatioMax = 42.0; |
| 407 o.writeRatioAvg = 42.0; | 437 o.writeRatioAvg = 42.0; |
| 408 o.writeRatioMax = 42.0; | 438 o.writeRatioMax = 42.0; |
| 409 } | 439 } |
| 410 buildCounterExplainQueryStage--; | 440 buildCounterExplainQueryStage--; |
| 411 return o; | 441 return o; |
| 412 } | 442 } |
| 413 | 443 |
| 414 checkExplainQueryStage(api.ExplainQueryStage o) { | 444 checkExplainQueryStage(api.ExplainQueryStage o) { |
| 415 buildCounterExplainQueryStage++; | 445 buildCounterExplainQueryStage++; |
| 416 if (buildCounterExplainQueryStage < 3) { | 446 if (buildCounterExplainQueryStage < 3) { |
| 417 unittest.expect(o.computeRatioAvg, unittest.equals(42.0)); | 447 unittest.expect(o.computeRatioAvg, unittest.equals(42.0)); |
| 418 unittest.expect(o.computeRatioMax, unittest.equals(42.0)); | 448 unittest.expect(o.computeRatioMax, unittest.equals(42.0)); |
| 419 unittest.expect(o.id, unittest.equals('foo')); | 449 unittest.expect(o.id, unittest.equals('foo')); |
| 420 unittest.expect(o.name, unittest.equals('foo')); | 450 unittest.expect(o.name, unittest.equals('foo')); |
| 421 unittest.expect(o.readRatioAvg, unittest.equals(42.0)); | 451 unittest.expect(o.readRatioAvg, unittest.equals(42.0)); |
| 422 unittest.expect(o.readRatioMax, unittest.equals(42.0)); | 452 unittest.expect(o.readRatioMax, unittest.equals(42.0)); |
| 423 unittest.expect(o.recordsRead, unittest.equals('foo')); | 453 unittest.expect(o.recordsRead, unittest.equals('foo')); |
| 424 unittest.expect(o.recordsWritten, unittest.equals('foo')); | 454 unittest.expect(o.recordsWritten, unittest.equals('foo')); |
| 425 checkUnnamed473(o.steps); | 455 checkUnnamed2928(o.steps); |
| 426 unittest.expect(o.waitRatioAvg, unittest.equals(42.0)); | 456 unittest.expect(o.waitRatioAvg, unittest.equals(42.0)); |
| 427 unittest.expect(o.waitRatioMax, unittest.equals(42.0)); | 457 unittest.expect(o.waitRatioMax, unittest.equals(42.0)); |
| 428 unittest.expect(o.writeRatioAvg, unittest.equals(42.0)); | 458 unittest.expect(o.writeRatioAvg, unittest.equals(42.0)); |
| 429 unittest.expect(o.writeRatioMax, unittest.equals(42.0)); | 459 unittest.expect(o.writeRatioMax, unittest.equals(42.0)); |
| 430 } | 460 } |
| 431 buildCounterExplainQueryStage--; | 461 buildCounterExplainQueryStage--; |
| 432 } | 462 } |
| 433 | 463 |
| 434 buildUnnamed474() { | 464 buildUnnamed2929() { |
| 435 var o = new core.List<core.String>(); | 465 var o = new core.List<core.String>(); |
| 436 o.add("foo"); | 466 o.add("foo"); |
| 437 o.add("foo"); | 467 o.add("foo"); |
| 438 return o; | 468 return o; |
| 439 } | 469 } |
| 440 | 470 |
| 441 checkUnnamed474(core.List<core.String> o) { | 471 checkUnnamed2929(core.List<core.String> o) { |
| 442 unittest.expect(o, unittest.hasLength(2)); | 472 unittest.expect(o, unittest.hasLength(2)); |
| 443 unittest.expect(o[0], unittest.equals('foo')); | 473 unittest.expect(o[0], unittest.equals('foo')); |
| 444 unittest.expect(o[1], unittest.equals('foo')); | 474 unittest.expect(o[1], unittest.equals('foo')); |
| 445 } | 475 } |
| 446 | 476 |
| 447 core.int buildCounterExplainQueryStep = 0; | 477 core.int buildCounterExplainQueryStep = 0; |
| 448 buildExplainQueryStep() { | 478 buildExplainQueryStep() { |
| 449 var o = new api.ExplainQueryStep(); | 479 var o = new api.ExplainQueryStep(); |
| 450 buildCounterExplainQueryStep++; | 480 buildCounterExplainQueryStep++; |
| 451 if (buildCounterExplainQueryStep < 3) { | 481 if (buildCounterExplainQueryStep < 3) { |
| 452 o.kind = "foo"; | 482 o.kind = "foo"; |
| 453 o.substeps = buildUnnamed474(); | 483 o.substeps = buildUnnamed2929(); |
| 454 } | 484 } |
| 455 buildCounterExplainQueryStep--; | 485 buildCounterExplainQueryStep--; |
| 456 return o; | 486 return o; |
| 457 } | 487 } |
| 458 | 488 |
| 459 checkExplainQueryStep(api.ExplainQueryStep o) { | 489 checkExplainQueryStep(api.ExplainQueryStep o) { |
| 460 buildCounterExplainQueryStep++; | 490 buildCounterExplainQueryStep++; |
| 461 if (buildCounterExplainQueryStep < 3) { | 491 if (buildCounterExplainQueryStep < 3) { |
| 462 unittest.expect(o.kind, unittest.equals('foo')); | 492 unittest.expect(o.kind, unittest.equals('foo')); |
| 463 checkUnnamed474(o.substeps); | 493 checkUnnamed2929(o.substeps); |
| 464 } | 494 } |
| 465 buildCounterExplainQueryStep--; | 495 buildCounterExplainQueryStep--; |
| 466 } | 496 } |
| 467 | 497 |
| 468 buildUnnamed475() { | 498 buildUnnamed2930() { |
| 469 var o = new core.List<core.String>(); | 499 var o = new core.List<core.String>(); |
| 470 o.add("foo"); | 500 o.add("foo"); |
| 471 o.add("foo"); | 501 o.add("foo"); |
| 472 return o; | 502 return o; |
| 473 } | 503 } |
| 474 | 504 |
| 475 checkUnnamed475(core.List<core.String> o) { | 505 checkUnnamed2930(core.List<core.String> o) { |
| 476 unittest.expect(o, unittest.hasLength(2)); | 506 unittest.expect(o, unittest.hasLength(2)); |
| 477 unittest.expect(o[0], unittest.equals('foo')); | 507 unittest.expect(o[0], unittest.equals('foo')); |
| 478 unittest.expect(o[1], unittest.equals('foo')); | 508 unittest.expect(o[1], unittest.equals('foo')); |
| 479 } | 509 } |
| 480 | 510 |
| 481 core.int buildCounterExternalDataConfiguration = 0; | 511 core.int buildCounterExternalDataConfiguration = 0; |
| 482 buildExternalDataConfiguration() { | 512 buildExternalDataConfiguration() { |
| 483 var o = new api.ExternalDataConfiguration(); | 513 var o = new api.ExternalDataConfiguration(); |
| 484 buildCounterExternalDataConfiguration++; | 514 buildCounterExternalDataConfiguration++; |
| 485 if (buildCounterExternalDataConfiguration < 3) { | 515 if (buildCounterExternalDataConfiguration < 3) { |
| 486 o.autodetect = true; | 516 o.autodetect = true; |
| 487 o.bigtableOptions = buildBigtableOptions(); | 517 o.bigtableOptions = buildBigtableOptions(); |
| 488 o.compression = "foo"; | 518 o.compression = "foo"; |
| 489 o.csvOptions = buildCsvOptions(); | 519 o.csvOptions = buildCsvOptions(); |
| 490 o.googleSheetsOptions = buildGoogleSheetsOptions(); | 520 o.googleSheetsOptions = buildGoogleSheetsOptions(); |
| 491 o.ignoreUnknownValues = true; | 521 o.ignoreUnknownValues = true; |
| 492 o.maxBadRecords = 42; | 522 o.maxBadRecords = 42; |
| 493 o.schema = buildTableSchema(); | 523 o.schema = buildTableSchema(); |
| 494 o.sourceFormat = "foo"; | 524 o.sourceFormat = "foo"; |
| 495 o.sourceUris = buildUnnamed475(); | 525 o.sourceUris = buildUnnamed2930(); |
| 496 } | 526 } |
| 497 buildCounterExternalDataConfiguration--; | 527 buildCounterExternalDataConfiguration--; |
| 498 return o; | 528 return o; |
| 499 } | 529 } |
| 500 | 530 |
| 501 checkExternalDataConfiguration(api.ExternalDataConfiguration o) { | 531 checkExternalDataConfiguration(api.ExternalDataConfiguration o) { |
| 502 buildCounterExternalDataConfiguration++; | 532 buildCounterExternalDataConfiguration++; |
| 503 if (buildCounterExternalDataConfiguration < 3) { | 533 if (buildCounterExternalDataConfiguration < 3) { |
| 504 unittest.expect(o.autodetect, unittest.isTrue); | 534 unittest.expect(o.autodetect, unittest.isTrue); |
| 505 checkBigtableOptions(o.bigtableOptions); | 535 checkBigtableOptions(o.bigtableOptions); |
| 506 unittest.expect(o.compression, unittest.equals('foo')); | 536 unittest.expect(o.compression, unittest.equals('foo')); |
| 507 checkCsvOptions(o.csvOptions); | 537 checkCsvOptions(o.csvOptions); |
| 508 checkGoogleSheetsOptions(o.googleSheetsOptions); | 538 checkGoogleSheetsOptions(o.googleSheetsOptions); |
| 509 unittest.expect(o.ignoreUnknownValues, unittest.isTrue); | 539 unittest.expect(o.ignoreUnknownValues, unittest.isTrue); |
| 510 unittest.expect(o.maxBadRecords, unittest.equals(42)); | 540 unittest.expect(o.maxBadRecords, unittest.equals(42)); |
| 511 checkTableSchema(o.schema); | 541 checkTableSchema(o.schema); |
| 512 unittest.expect(o.sourceFormat, unittest.equals('foo')); | 542 unittest.expect(o.sourceFormat, unittest.equals('foo')); |
| 513 checkUnnamed475(o.sourceUris); | 543 checkUnnamed2930(o.sourceUris); |
| 514 } | 544 } |
| 515 buildCounterExternalDataConfiguration--; | 545 buildCounterExternalDataConfiguration--; |
| 516 } | 546 } |
| 517 | 547 |
| 518 buildUnnamed476() { | 548 buildUnnamed2931() { |
| 519 var o = new core.List<api.ErrorProto>(); | 549 var o = new core.List<api.ErrorProto>(); |
| 520 o.add(buildErrorProto()); | 550 o.add(buildErrorProto()); |
| 521 o.add(buildErrorProto()); | 551 o.add(buildErrorProto()); |
| 522 return o; | 552 return o; |
| 523 } | 553 } |
| 524 | 554 |
| 525 checkUnnamed476(core.List<api.ErrorProto> o) { | 555 checkUnnamed2931(core.List<api.ErrorProto> o) { |
| 526 unittest.expect(o, unittest.hasLength(2)); | 556 unittest.expect(o, unittest.hasLength(2)); |
| 527 checkErrorProto(o[0]); | 557 checkErrorProto(o[0]); |
| 528 checkErrorProto(o[1]); | 558 checkErrorProto(o[1]); |
| 529 } | 559 } |
| 530 | 560 |
| 531 buildUnnamed477() { | 561 buildUnnamed2932() { |
| 532 var o = new core.List<api.TableRow>(); | 562 var o = new core.List<api.TableRow>(); |
| 533 o.add(buildTableRow()); | 563 o.add(buildTableRow()); |
| 534 o.add(buildTableRow()); | 564 o.add(buildTableRow()); |
| 535 return o; | 565 return o; |
| 536 } | 566 } |
| 537 | 567 |
| 538 checkUnnamed477(core.List<api.TableRow> o) { | 568 checkUnnamed2932(core.List<api.TableRow> o) { |
| 539 unittest.expect(o, unittest.hasLength(2)); | 569 unittest.expect(o, unittest.hasLength(2)); |
| 540 checkTableRow(o[0]); | 570 checkTableRow(o[0]); |
| 541 checkTableRow(o[1]); | 571 checkTableRow(o[1]); |
| 542 } | 572 } |
| 543 | 573 |
| 544 core.int buildCounterGetQueryResultsResponse = 0; | 574 core.int buildCounterGetQueryResultsResponse = 0; |
| 545 buildGetQueryResultsResponse() { | 575 buildGetQueryResultsResponse() { |
| 546 var o = new api.GetQueryResultsResponse(); | 576 var o = new api.GetQueryResultsResponse(); |
| 547 buildCounterGetQueryResultsResponse++; | 577 buildCounterGetQueryResultsResponse++; |
| 548 if (buildCounterGetQueryResultsResponse < 3) { | 578 if (buildCounterGetQueryResultsResponse < 3) { |
| 549 o.cacheHit = true; | 579 o.cacheHit = true; |
| 550 o.errors = buildUnnamed476(); | 580 o.errors = buildUnnamed2931(); |
| 551 o.etag = "foo"; | 581 o.etag = "foo"; |
| 552 o.jobComplete = true; | 582 o.jobComplete = true; |
| 553 o.jobReference = buildJobReference(); | 583 o.jobReference = buildJobReference(); |
| 554 o.kind = "foo"; | 584 o.kind = "foo"; |
| 555 o.pageToken = "foo"; | 585 o.pageToken = "foo"; |
| 556 o.rows = buildUnnamed477(); | 586 o.rows = buildUnnamed2932(); |
| 557 o.schema = buildTableSchema(); | 587 o.schema = buildTableSchema(); |
| 558 o.totalBytesProcessed = "foo"; | 588 o.totalBytesProcessed = "foo"; |
| 559 o.totalRows = "foo"; | 589 o.totalRows = "foo"; |
| 560 } | 590 } |
| 561 buildCounterGetQueryResultsResponse--; | 591 buildCounterGetQueryResultsResponse--; |
| 562 return o; | 592 return o; |
| 563 } | 593 } |
| 564 | 594 |
| 565 checkGetQueryResultsResponse(api.GetQueryResultsResponse o) { | 595 checkGetQueryResultsResponse(api.GetQueryResultsResponse o) { |
| 566 buildCounterGetQueryResultsResponse++; | 596 buildCounterGetQueryResultsResponse++; |
| 567 if (buildCounterGetQueryResultsResponse < 3) { | 597 if (buildCounterGetQueryResultsResponse < 3) { |
| 568 unittest.expect(o.cacheHit, unittest.isTrue); | 598 unittest.expect(o.cacheHit, unittest.isTrue); |
| 569 checkUnnamed476(o.errors); | 599 checkUnnamed2931(o.errors); |
| 570 unittest.expect(o.etag, unittest.equals('foo')); | 600 unittest.expect(o.etag, unittest.equals('foo')); |
| 571 unittest.expect(o.jobComplete, unittest.isTrue); | 601 unittest.expect(o.jobComplete, unittest.isTrue); |
| 572 checkJobReference(o.jobReference); | 602 checkJobReference(o.jobReference); |
| 573 unittest.expect(o.kind, unittest.equals('foo')); | 603 unittest.expect(o.kind, unittest.equals('foo')); |
| 574 unittest.expect(o.pageToken, unittest.equals('foo')); | 604 unittest.expect(o.pageToken, unittest.equals('foo')); |
| 575 checkUnnamed477(o.rows); | 605 checkUnnamed2932(o.rows); |
| 576 checkTableSchema(o.schema); | 606 checkTableSchema(o.schema); |
| 577 unittest.expect(o.totalBytesProcessed, unittest.equals('foo')); | 607 unittest.expect(o.totalBytesProcessed, unittest.equals('foo')); |
| 578 unittest.expect(o.totalRows, unittest.equals('foo')); | 608 unittest.expect(o.totalRows, unittest.equals('foo')); |
| 579 } | 609 } |
| 580 buildCounterGetQueryResultsResponse--; | 610 buildCounterGetQueryResultsResponse--; |
| 581 } | 611 } |
| 582 | 612 |
| 583 core.int buildCounterGoogleSheetsOptions = 0; | 613 core.int buildCounterGoogleSheetsOptions = 0; |
| 584 buildGoogleSheetsOptions() { | 614 buildGoogleSheetsOptions() { |
| 585 var o = new api.GoogleSheetsOptions(); | 615 var o = new api.GoogleSheetsOptions(); |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 675 if (buildCounterJobConfiguration < 3) { | 705 if (buildCounterJobConfiguration < 3) { |
| 676 checkJobConfigurationTableCopy(o.copy); | 706 checkJobConfigurationTableCopy(o.copy); |
| 677 unittest.expect(o.dryRun, unittest.isTrue); | 707 unittest.expect(o.dryRun, unittest.isTrue); |
| 678 checkJobConfigurationExtract(o.extract); | 708 checkJobConfigurationExtract(o.extract); |
| 679 checkJobConfigurationLoad(o.load); | 709 checkJobConfigurationLoad(o.load); |
| 680 checkJobConfigurationQuery(o.query); | 710 checkJobConfigurationQuery(o.query); |
| 681 } | 711 } |
| 682 buildCounterJobConfiguration--; | 712 buildCounterJobConfiguration--; |
| 683 } | 713 } |
| 684 | 714 |
| 685 buildUnnamed478() { | 715 buildUnnamed2933() { |
| 686 var o = new core.List<core.String>(); | 716 var o = new core.List<core.String>(); |
| 687 o.add("foo"); | 717 o.add("foo"); |
| 688 o.add("foo"); | 718 o.add("foo"); |
| 689 return o; | 719 return o; |
| 690 } | 720 } |
| 691 | 721 |
| 692 checkUnnamed478(core.List<core.String> o) { | 722 checkUnnamed2933(core.List<core.String> o) { |
| 693 unittest.expect(o, unittest.hasLength(2)); | 723 unittest.expect(o, unittest.hasLength(2)); |
| 694 unittest.expect(o[0], unittest.equals('foo')); | 724 unittest.expect(o[0], unittest.equals('foo')); |
| 695 unittest.expect(o[1], unittest.equals('foo')); | 725 unittest.expect(o[1], unittest.equals('foo')); |
| 696 } | 726 } |
| 697 | 727 |
| 698 core.int buildCounterJobConfigurationExtract = 0; | 728 core.int buildCounterJobConfigurationExtract = 0; |
| 699 buildJobConfigurationExtract() { | 729 buildJobConfigurationExtract() { |
| 700 var o = new api.JobConfigurationExtract(); | 730 var o = new api.JobConfigurationExtract(); |
| 701 buildCounterJobConfigurationExtract++; | 731 buildCounterJobConfigurationExtract++; |
| 702 if (buildCounterJobConfigurationExtract < 3) { | 732 if (buildCounterJobConfigurationExtract < 3) { |
| 703 o.compression = "foo"; | 733 o.compression = "foo"; |
| 704 o.destinationFormat = "foo"; | 734 o.destinationFormat = "foo"; |
| 705 o.destinationUri = "foo"; | 735 o.destinationUri = "foo"; |
| 706 o.destinationUris = buildUnnamed478(); | 736 o.destinationUris = buildUnnamed2933(); |
| 707 o.fieldDelimiter = "foo"; | 737 o.fieldDelimiter = "foo"; |
| 708 o.printHeader = true; | 738 o.printHeader = true; |
| 709 o.sourceTable = buildTableReference(); | 739 o.sourceTable = buildTableReference(); |
| 710 } | 740 } |
| 711 buildCounterJobConfigurationExtract--; | 741 buildCounterJobConfigurationExtract--; |
| 712 return o; | 742 return o; |
| 713 } | 743 } |
| 714 | 744 |
| 715 checkJobConfigurationExtract(api.JobConfigurationExtract o) { | 745 checkJobConfigurationExtract(api.JobConfigurationExtract o) { |
| 716 buildCounterJobConfigurationExtract++; | 746 buildCounterJobConfigurationExtract++; |
| 717 if (buildCounterJobConfigurationExtract < 3) { | 747 if (buildCounterJobConfigurationExtract < 3) { |
| 718 unittest.expect(o.compression, unittest.equals('foo')); | 748 unittest.expect(o.compression, unittest.equals('foo')); |
| 719 unittest.expect(o.destinationFormat, unittest.equals('foo')); | 749 unittest.expect(o.destinationFormat, unittest.equals('foo')); |
| 720 unittest.expect(o.destinationUri, unittest.equals('foo')); | 750 unittest.expect(o.destinationUri, unittest.equals('foo')); |
| 721 checkUnnamed478(o.destinationUris); | 751 checkUnnamed2933(o.destinationUris); |
| 722 unittest.expect(o.fieldDelimiter, unittest.equals('foo')); | 752 unittest.expect(o.fieldDelimiter, unittest.equals('foo')); |
| 723 unittest.expect(o.printHeader, unittest.isTrue); | 753 unittest.expect(o.printHeader, unittest.isTrue); |
| 724 checkTableReference(o.sourceTable); | 754 checkTableReference(o.sourceTable); |
| 725 } | 755 } |
| 726 buildCounterJobConfigurationExtract--; | 756 buildCounterJobConfigurationExtract--; |
| 727 } | 757 } |
| 728 | 758 |
| 729 buildUnnamed479() { | 759 buildUnnamed2934() { |
| 730 var o = new core.List<core.String>(); | 760 var o = new core.List<core.String>(); |
| 731 o.add("foo"); | 761 o.add("foo"); |
| 732 o.add("foo"); | 762 o.add("foo"); |
| 733 return o; | 763 return o; |
| 734 } | 764 } |
| 735 | 765 |
| 736 checkUnnamed479(core.List<core.String> o) { | 766 checkUnnamed2934(core.List<core.String> o) { |
| 737 unittest.expect(o, unittest.hasLength(2)); | 767 unittest.expect(o, unittest.hasLength(2)); |
| 738 unittest.expect(o[0], unittest.equals('foo')); | 768 unittest.expect(o[0], unittest.equals('foo')); |
| 739 unittest.expect(o[1], unittest.equals('foo')); | 769 unittest.expect(o[1], unittest.equals('foo')); |
| 740 } | 770 } |
| 741 | 771 |
| 742 buildUnnamed480() { | 772 buildUnnamed2935() { |
| 743 var o = new core.List<core.String>(); | 773 var o = new core.List<core.String>(); |
| 744 o.add("foo"); | 774 o.add("foo"); |
| 745 o.add("foo"); | 775 o.add("foo"); |
| 746 return o; | 776 return o; |
| 747 } | 777 } |
| 748 | 778 |
| 749 checkUnnamed480(core.List<core.String> o) { | 779 checkUnnamed2935(core.List<core.String> o) { |
| 750 unittest.expect(o, unittest.hasLength(2)); | 780 unittest.expect(o, unittest.hasLength(2)); |
| 751 unittest.expect(o[0], unittest.equals('foo')); | 781 unittest.expect(o[0], unittest.equals('foo')); |
| 752 unittest.expect(o[1], unittest.equals('foo')); | 782 unittest.expect(o[1], unittest.equals('foo')); |
| 753 } | 783 } |
| 754 | 784 |
| 755 core.int buildCounterJobConfigurationLoad = 0; | 785 core.int buildCounterJobConfigurationLoad = 0; |
| 756 buildJobConfigurationLoad() { | 786 buildJobConfigurationLoad() { |
| 757 var o = new api.JobConfigurationLoad(); | 787 var o = new api.JobConfigurationLoad(); |
| 758 buildCounterJobConfigurationLoad++; | 788 buildCounterJobConfigurationLoad++; |
| 759 if (buildCounterJobConfigurationLoad < 3) { | 789 if (buildCounterJobConfigurationLoad < 3) { |
| 760 o.allowJaggedRows = true; | 790 o.allowJaggedRows = true; |
| 761 o.allowQuotedNewlines = true; | 791 o.allowQuotedNewlines = true; |
| 762 o.autodetect = true; | 792 o.autodetect = true; |
| 763 o.createDisposition = "foo"; | 793 o.createDisposition = "foo"; |
| 764 o.destinationTable = buildTableReference(); | 794 o.destinationTable = buildTableReference(); |
| 765 o.encoding = "foo"; | 795 o.encoding = "foo"; |
| 766 o.fieldDelimiter = "foo"; | 796 o.fieldDelimiter = "foo"; |
| 767 o.ignoreUnknownValues = true; | 797 o.ignoreUnknownValues = true; |
| 768 o.maxBadRecords = 42; | 798 o.maxBadRecords = 42; |
| 769 o.projectionFields = buildUnnamed479(); | 799 o.projectionFields = buildUnnamed2934(); |
| 770 o.quote = "foo"; | 800 o.quote = "foo"; |
| 771 o.schema = buildTableSchema(); | 801 o.schema = buildTableSchema(); |
| 772 o.schemaInline = "foo"; | 802 o.schemaInline = "foo"; |
| 773 o.schemaInlineFormat = "foo"; | 803 o.schemaInlineFormat = "foo"; |
| 774 o.skipLeadingRows = 42; | 804 o.skipLeadingRows = 42; |
| 775 o.sourceFormat = "foo"; | 805 o.sourceFormat = "foo"; |
| 776 o.sourceUris = buildUnnamed480(); | 806 o.sourceUris = buildUnnamed2935(); |
| 777 o.writeDisposition = "foo"; | 807 o.writeDisposition = "foo"; |
| 778 } | 808 } |
| 779 buildCounterJobConfigurationLoad--; | 809 buildCounterJobConfigurationLoad--; |
| 780 return o; | 810 return o; |
| 781 } | 811 } |
| 782 | 812 |
| 783 checkJobConfigurationLoad(api.JobConfigurationLoad o) { | 813 checkJobConfigurationLoad(api.JobConfigurationLoad o) { |
| 784 buildCounterJobConfigurationLoad++; | 814 buildCounterJobConfigurationLoad++; |
| 785 if (buildCounterJobConfigurationLoad < 3) { | 815 if (buildCounterJobConfigurationLoad < 3) { |
| 786 unittest.expect(o.allowJaggedRows, unittest.isTrue); | 816 unittest.expect(o.allowJaggedRows, unittest.isTrue); |
| 787 unittest.expect(o.allowQuotedNewlines, unittest.isTrue); | 817 unittest.expect(o.allowQuotedNewlines, unittest.isTrue); |
| 788 unittest.expect(o.autodetect, unittest.isTrue); | 818 unittest.expect(o.autodetect, unittest.isTrue); |
| 789 unittest.expect(o.createDisposition, unittest.equals('foo')); | 819 unittest.expect(o.createDisposition, unittest.equals('foo')); |
| 790 checkTableReference(o.destinationTable); | 820 checkTableReference(o.destinationTable); |
| 791 unittest.expect(o.encoding, unittest.equals('foo')); | 821 unittest.expect(o.encoding, unittest.equals('foo')); |
| 792 unittest.expect(o.fieldDelimiter, unittest.equals('foo')); | 822 unittest.expect(o.fieldDelimiter, unittest.equals('foo')); |
| 793 unittest.expect(o.ignoreUnknownValues, unittest.isTrue); | 823 unittest.expect(o.ignoreUnknownValues, unittest.isTrue); |
| 794 unittest.expect(o.maxBadRecords, unittest.equals(42)); | 824 unittest.expect(o.maxBadRecords, unittest.equals(42)); |
| 795 checkUnnamed479(o.projectionFields); | 825 checkUnnamed2934(o.projectionFields); |
| 796 unittest.expect(o.quote, unittest.equals('foo')); | 826 unittest.expect(o.quote, unittest.equals('foo')); |
| 797 checkTableSchema(o.schema); | 827 checkTableSchema(o.schema); |
| 798 unittest.expect(o.schemaInline, unittest.equals('foo')); | 828 unittest.expect(o.schemaInline, unittest.equals('foo')); |
| 799 unittest.expect(o.schemaInlineFormat, unittest.equals('foo')); | 829 unittest.expect(o.schemaInlineFormat, unittest.equals('foo')); |
| 800 unittest.expect(o.skipLeadingRows, unittest.equals(42)); | 830 unittest.expect(o.skipLeadingRows, unittest.equals(42)); |
| 801 unittest.expect(o.sourceFormat, unittest.equals('foo')); | 831 unittest.expect(o.sourceFormat, unittest.equals('foo')); |
| 802 checkUnnamed480(o.sourceUris); | 832 checkUnnamed2935(o.sourceUris); |
| 803 unittest.expect(o.writeDisposition, unittest.equals('foo')); | 833 unittest.expect(o.writeDisposition, unittest.equals('foo')); |
| 804 } | 834 } |
| 805 buildCounterJobConfigurationLoad--; | 835 buildCounterJobConfigurationLoad--; |
| 806 } | 836 } |
| 807 | 837 |
| 808 buildUnnamed481() { | 838 buildUnnamed2936() { |
| 809 var o = new core.Map<core.String, api.ExternalDataConfiguration>(); | 839 var o = new core.Map<core.String, api.ExternalDataConfiguration>(); |
| 810 o["x"] = buildExternalDataConfiguration(); | 840 o["x"] = buildExternalDataConfiguration(); |
| 811 o["y"] = buildExternalDataConfiguration(); | 841 o["y"] = buildExternalDataConfiguration(); |
| 812 return o; | 842 return o; |
| 813 } | 843 } |
| 814 | 844 |
| 815 checkUnnamed481(core.Map<core.String, api.ExternalDataConfiguration> o) { | 845 checkUnnamed2936(core.Map<core.String, api.ExternalDataConfiguration> o) { |
| 816 unittest.expect(o, unittest.hasLength(2)); | 846 unittest.expect(o, unittest.hasLength(2)); |
| 817 checkExternalDataConfiguration(o["x"]); | 847 checkExternalDataConfiguration(o["x"]); |
| 818 checkExternalDataConfiguration(o["y"]); | 848 checkExternalDataConfiguration(o["y"]); |
| 819 } | 849 } |
| 820 | 850 |
| 821 buildUnnamed482() { | 851 buildUnnamed2937() { |
| 822 var o = new core.List<api.UserDefinedFunctionResource>(); | 852 var o = new core.List<api.UserDefinedFunctionResource>(); |
| 823 o.add(buildUserDefinedFunctionResource()); | 853 o.add(buildUserDefinedFunctionResource()); |
| 824 o.add(buildUserDefinedFunctionResource()); | 854 o.add(buildUserDefinedFunctionResource()); |
| 825 return o; | 855 return o; |
| 826 } | 856 } |
| 827 | 857 |
| 828 checkUnnamed482(core.List<api.UserDefinedFunctionResource> o) { | 858 checkUnnamed2937(core.List<api.UserDefinedFunctionResource> o) { |
| 829 unittest.expect(o, unittest.hasLength(2)); | 859 unittest.expect(o, unittest.hasLength(2)); |
| 830 checkUserDefinedFunctionResource(o[0]); | 860 checkUserDefinedFunctionResource(o[0]); |
| 831 checkUserDefinedFunctionResource(o[1]); | 861 checkUserDefinedFunctionResource(o[1]); |
| 832 } | 862 } |
| 833 | 863 |
| 834 core.int buildCounterJobConfigurationQuery = 0; | 864 core.int buildCounterJobConfigurationQuery = 0; |
| 835 buildJobConfigurationQuery() { | 865 buildJobConfigurationQuery() { |
| 836 var o = new api.JobConfigurationQuery(); | 866 var o = new api.JobConfigurationQuery(); |
| 837 buildCounterJobConfigurationQuery++; | 867 buildCounterJobConfigurationQuery++; |
| 838 if (buildCounterJobConfigurationQuery < 3) { | 868 if (buildCounterJobConfigurationQuery < 3) { |
| 839 o.allowLargeResults = true; | 869 o.allowLargeResults = true; |
| 840 o.createDisposition = "foo"; | 870 o.createDisposition = "foo"; |
| 841 o.defaultDataset = buildDatasetReference(); | 871 o.defaultDataset = buildDatasetReference(); |
| 842 o.destinationTable = buildTableReference(); | 872 o.destinationTable = buildTableReference(); |
| 843 o.flattenResults = true; | 873 o.flattenResults = true; |
| 844 o.maximumBillingTier = 42; | 874 o.maximumBillingTier = 42; |
| 845 o.maximumBytesBilled = "foo"; | 875 o.maximumBytesBilled = "foo"; |
| 846 o.preserveNulls = true; | 876 o.preserveNulls = true; |
| 847 o.priority = "foo"; | 877 o.priority = "foo"; |
| 848 o.query = "foo"; | 878 o.query = "foo"; |
| 849 o.tableDefinitions = buildUnnamed481(); | 879 o.tableDefinitions = buildUnnamed2936(); |
| 850 o.useLegacySql = true; | 880 o.useLegacySql = true; |
| 851 o.useQueryCache = true; | 881 o.useQueryCache = true; |
| 852 o.userDefinedFunctionResources = buildUnnamed482(); | 882 o.userDefinedFunctionResources = buildUnnamed2937(); |
| 853 o.writeDisposition = "foo"; | 883 o.writeDisposition = "foo"; |
| 854 } | 884 } |
| 855 buildCounterJobConfigurationQuery--; | 885 buildCounterJobConfigurationQuery--; |
| 856 return o; | 886 return o; |
| 857 } | 887 } |
| 858 | 888 |
| 859 checkJobConfigurationQuery(api.JobConfigurationQuery o) { | 889 checkJobConfigurationQuery(api.JobConfigurationQuery o) { |
| 860 buildCounterJobConfigurationQuery++; | 890 buildCounterJobConfigurationQuery++; |
| 861 if (buildCounterJobConfigurationQuery < 3) { | 891 if (buildCounterJobConfigurationQuery < 3) { |
| 862 unittest.expect(o.allowLargeResults, unittest.isTrue); | 892 unittest.expect(o.allowLargeResults, unittest.isTrue); |
| 863 unittest.expect(o.createDisposition, unittest.equals('foo')); | 893 unittest.expect(o.createDisposition, unittest.equals('foo')); |
| 864 checkDatasetReference(o.defaultDataset); | 894 checkDatasetReference(o.defaultDataset); |
| 865 checkTableReference(o.destinationTable); | 895 checkTableReference(o.destinationTable); |
| 866 unittest.expect(o.flattenResults, unittest.isTrue); | 896 unittest.expect(o.flattenResults, unittest.isTrue); |
| 867 unittest.expect(o.maximumBillingTier, unittest.equals(42)); | 897 unittest.expect(o.maximumBillingTier, unittest.equals(42)); |
| 868 unittest.expect(o.maximumBytesBilled, unittest.equals('foo')); | 898 unittest.expect(o.maximumBytesBilled, unittest.equals('foo')); |
| 869 unittest.expect(o.preserveNulls, unittest.isTrue); | 899 unittest.expect(o.preserveNulls, unittest.isTrue); |
| 870 unittest.expect(o.priority, unittest.equals('foo')); | 900 unittest.expect(o.priority, unittest.equals('foo')); |
| 871 unittest.expect(o.query, unittest.equals('foo')); | 901 unittest.expect(o.query, unittest.equals('foo')); |
| 872 checkUnnamed481(o.tableDefinitions); | 902 checkUnnamed2936(o.tableDefinitions); |
| 873 unittest.expect(o.useLegacySql, unittest.isTrue); | 903 unittest.expect(o.useLegacySql, unittest.isTrue); |
| 874 unittest.expect(o.useQueryCache, unittest.isTrue); | 904 unittest.expect(o.useQueryCache, unittest.isTrue); |
| 875 checkUnnamed482(o.userDefinedFunctionResources); | 905 checkUnnamed2937(o.userDefinedFunctionResources); |
| 876 unittest.expect(o.writeDisposition, unittest.equals('foo')); | 906 unittest.expect(o.writeDisposition, unittest.equals('foo')); |
| 877 } | 907 } |
| 878 buildCounterJobConfigurationQuery--; | 908 buildCounterJobConfigurationQuery--; |
| 879 } | 909 } |
| 880 | 910 |
| 881 buildUnnamed483() { | 911 buildUnnamed2938() { |
| 882 var o = new core.List<api.TableReference>(); | 912 var o = new core.List<api.TableReference>(); |
| 883 o.add(buildTableReference()); | 913 o.add(buildTableReference()); |
| 884 o.add(buildTableReference()); | 914 o.add(buildTableReference()); |
| 885 return o; | 915 return o; |
| 886 } | 916 } |
| 887 | 917 |
| 888 checkUnnamed483(core.List<api.TableReference> o) { | 918 checkUnnamed2938(core.List<api.TableReference> o) { |
| 889 unittest.expect(o, unittest.hasLength(2)); | 919 unittest.expect(o, unittest.hasLength(2)); |
| 890 checkTableReference(o[0]); | 920 checkTableReference(o[0]); |
| 891 checkTableReference(o[1]); | 921 checkTableReference(o[1]); |
| 892 } | 922 } |
| 893 | 923 |
| 894 core.int buildCounterJobConfigurationTableCopy = 0; | 924 core.int buildCounterJobConfigurationTableCopy = 0; |
| 895 buildJobConfigurationTableCopy() { | 925 buildJobConfigurationTableCopy() { |
| 896 var o = new api.JobConfigurationTableCopy(); | 926 var o = new api.JobConfigurationTableCopy(); |
| 897 buildCounterJobConfigurationTableCopy++; | 927 buildCounterJobConfigurationTableCopy++; |
| 898 if (buildCounterJobConfigurationTableCopy < 3) { | 928 if (buildCounterJobConfigurationTableCopy < 3) { |
| 899 o.createDisposition = "foo"; | 929 o.createDisposition = "foo"; |
| 900 o.destinationTable = buildTableReference(); | 930 o.destinationTable = buildTableReference(); |
| 901 o.sourceTable = buildTableReference(); | 931 o.sourceTable = buildTableReference(); |
| 902 o.sourceTables = buildUnnamed483(); | 932 o.sourceTables = buildUnnamed2938(); |
| 903 o.writeDisposition = "foo"; | 933 o.writeDisposition = "foo"; |
| 904 } | 934 } |
| 905 buildCounterJobConfigurationTableCopy--; | 935 buildCounterJobConfigurationTableCopy--; |
| 906 return o; | 936 return o; |
| 907 } | 937 } |
| 908 | 938 |
| 909 checkJobConfigurationTableCopy(api.JobConfigurationTableCopy o) { | 939 checkJobConfigurationTableCopy(api.JobConfigurationTableCopy o) { |
| 910 buildCounterJobConfigurationTableCopy++; | 940 buildCounterJobConfigurationTableCopy++; |
| 911 if (buildCounterJobConfigurationTableCopy < 3) { | 941 if (buildCounterJobConfigurationTableCopy < 3) { |
| 912 unittest.expect(o.createDisposition, unittest.equals('foo')); | 942 unittest.expect(o.createDisposition, unittest.equals('foo')); |
| 913 checkTableReference(o.destinationTable); | 943 checkTableReference(o.destinationTable); |
| 914 checkTableReference(o.sourceTable); | 944 checkTableReference(o.sourceTable); |
| 915 checkUnnamed483(o.sourceTables); | 945 checkUnnamed2938(o.sourceTables); |
| 916 unittest.expect(o.writeDisposition, unittest.equals('foo')); | 946 unittest.expect(o.writeDisposition, unittest.equals('foo')); |
| 917 } | 947 } |
| 918 buildCounterJobConfigurationTableCopy--; | 948 buildCounterJobConfigurationTableCopy--; |
| 919 } | 949 } |
| 920 | 950 |
| 921 core.int buildCounterJobListJobs = 0; | 951 core.int buildCounterJobListJobs = 0; |
| 922 buildJobListJobs() { | 952 buildJobListJobs() { |
| 923 var o = new api.JobListJobs(); | 953 var o = new api.JobListJobs(); |
| 924 buildCounterJobListJobs++; | 954 buildCounterJobListJobs++; |
| 925 if (buildCounterJobListJobs < 3) { | 955 if (buildCounterJobListJobs < 3) { |
| (...skipping 20 matching lines...) Expand all Loading... |
| 946 checkJobReference(o.jobReference); | 976 checkJobReference(o.jobReference); |
| 947 unittest.expect(o.kind, unittest.equals('foo')); | 977 unittest.expect(o.kind, unittest.equals('foo')); |
| 948 unittest.expect(o.state, unittest.equals('foo')); | 978 unittest.expect(o.state, unittest.equals('foo')); |
| 949 checkJobStatistics(o.statistics); | 979 checkJobStatistics(o.statistics); |
| 950 checkJobStatus(o.status); | 980 checkJobStatus(o.status); |
| 951 unittest.expect(o.userEmail, unittest.equals('foo')); | 981 unittest.expect(o.userEmail, unittest.equals('foo')); |
| 952 } | 982 } |
| 953 buildCounterJobListJobs--; | 983 buildCounterJobListJobs--; |
| 954 } | 984 } |
| 955 | 985 |
| 956 buildUnnamed484() { | 986 buildUnnamed2939() { |
| 957 var o = new core.List<api.JobListJobs>(); | 987 var o = new core.List<api.JobListJobs>(); |
| 958 o.add(buildJobListJobs()); | 988 o.add(buildJobListJobs()); |
| 959 o.add(buildJobListJobs()); | 989 o.add(buildJobListJobs()); |
| 960 return o; | 990 return o; |
| 961 } | 991 } |
| 962 | 992 |
| 963 checkUnnamed484(core.List<api.JobListJobs> o) { | 993 checkUnnamed2939(core.List<api.JobListJobs> o) { |
| 964 unittest.expect(o, unittest.hasLength(2)); | 994 unittest.expect(o, unittest.hasLength(2)); |
| 965 checkJobListJobs(o[0]); | 995 checkJobListJobs(o[0]); |
| 966 checkJobListJobs(o[1]); | 996 checkJobListJobs(o[1]); |
| 967 } | 997 } |
| 968 | 998 |
| 969 core.int buildCounterJobList = 0; | 999 core.int buildCounterJobList = 0; |
| 970 buildJobList() { | 1000 buildJobList() { |
| 971 var o = new api.JobList(); | 1001 var o = new api.JobList(); |
| 972 buildCounterJobList++; | 1002 buildCounterJobList++; |
| 973 if (buildCounterJobList < 3) { | 1003 if (buildCounterJobList < 3) { |
| 974 o.etag = "foo"; | 1004 o.etag = "foo"; |
| 975 o.jobs = buildUnnamed484(); | 1005 o.jobs = buildUnnamed2939(); |
| 976 o.kind = "foo"; | 1006 o.kind = "foo"; |
| 977 o.nextPageToken = "foo"; | 1007 o.nextPageToken = "foo"; |
| 978 } | 1008 } |
| 979 buildCounterJobList--; | 1009 buildCounterJobList--; |
| 980 return o; | 1010 return o; |
| 981 } | 1011 } |
| 982 | 1012 |
| 983 checkJobList(api.JobList o) { | 1013 checkJobList(api.JobList o) { |
| 984 buildCounterJobList++; | 1014 buildCounterJobList++; |
| 985 if (buildCounterJobList < 3) { | 1015 if (buildCounterJobList < 3) { |
| 986 unittest.expect(o.etag, unittest.equals('foo')); | 1016 unittest.expect(o.etag, unittest.equals('foo')); |
| 987 checkUnnamed484(o.jobs); | 1017 checkUnnamed2939(o.jobs); |
| 988 unittest.expect(o.kind, unittest.equals('foo')); | 1018 unittest.expect(o.kind, unittest.equals('foo')); |
| 989 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1019 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 990 } | 1020 } |
| 991 buildCounterJobList--; | 1021 buildCounterJobList--; |
| 992 } | 1022 } |
| 993 | 1023 |
| 994 core.int buildCounterJobReference = 0; | 1024 core.int buildCounterJobReference = 0; |
| 995 buildJobReference() { | 1025 buildJobReference() { |
| 996 var o = new api.JobReference(); | 1026 var o = new api.JobReference(); |
| 997 buildCounterJobReference++; | 1027 buildCounterJobReference++; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1036 unittest.expect(o.endTime, unittest.equals('foo')); | 1066 unittest.expect(o.endTime, unittest.equals('foo')); |
| 1037 checkJobStatistics4(o.extract); | 1067 checkJobStatistics4(o.extract); |
| 1038 checkJobStatistics3(o.load); | 1068 checkJobStatistics3(o.load); |
| 1039 checkJobStatistics2(o.query); | 1069 checkJobStatistics2(o.query); |
| 1040 unittest.expect(o.startTime, unittest.equals('foo')); | 1070 unittest.expect(o.startTime, unittest.equals('foo')); |
| 1041 unittest.expect(o.totalBytesProcessed, unittest.equals('foo')); | 1071 unittest.expect(o.totalBytesProcessed, unittest.equals('foo')); |
| 1042 } | 1072 } |
| 1043 buildCounterJobStatistics--; | 1073 buildCounterJobStatistics--; |
| 1044 } | 1074 } |
| 1045 | 1075 |
| 1046 buildUnnamed485() { | 1076 buildUnnamed2940() { |
| 1047 var o = new core.List<api.ExplainQueryStage>(); | 1077 var o = new core.List<api.ExplainQueryStage>(); |
| 1048 o.add(buildExplainQueryStage()); | 1078 o.add(buildExplainQueryStage()); |
| 1049 o.add(buildExplainQueryStage()); | 1079 o.add(buildExplainQueryStage()); |
| 1050 return o; | 1080 return o; |
| 1051 } | 1081 } |
| 1052 | 1082 |
| 1053 checkUnnamed485(core.List<api.ExplainQueryStage> o) { | 1083 checkUnnamed2940(core.List<api.ExplainQueryStage> o) { |
| 1054 unittest.expect(o, unittest.hasLength(2)); | 1084 unittest.expect(o, unittest.hasLength(2)); |
| 1055 checkExplainQueryStage(o[0]); | 1085 checkExplainQueryStage(o[0]); |
| 1056 checkExplainQueryStage(o[1]); | 1086 checkExplainQueryStage(o[1]); |
| 1057 } | 1087 } |
| 1058 | 1088 |
| 1059 buildUnnamed486() { | 1089 buildUnnamed2941() { |
| 1060 var o = new core.List<api.TableReference>(); | 1090 var o = new core.List<api.TableReference>(); |
| 1061 o.add(buildTableReference()); | 1091 o.add(buildTableReference()); |
| 1062 o.add(buildTableReference()); | 1092 o.add(buildTableReference()); |
| 1063 return o; | 1093 return o; |
| 1064 } | 1094 } |
| 1065 | 1095 |
| 1066 checkUnnamed486(core.List<api.TableReference> o) { | 1096 checkUnnamed2941(core.List<api.TableReference> o) { |
| 1067 unittest.expect(o, unittest.hasLength(2)); | 1097 unittest.expect(o, unittest.hasLength(2)); |
| 1068 checkTableReference(o[0]); | 1098 checkTableReference(o[0]); |
| 1069 checkTableReference(o[1]); | 1099 checkTableReference(o[1]); |
| 1070 } | 1100 } |
| 1071 | 1101 |
| 1072 core.int buildCounterJobStatistics2 = 0; | 1102 core.int buildCounterJobStatistics2 = 0; |
| 1073 buildJobStatistics2() { | 1103 buildJobStatistics2() { |
| 1074 var o = new api.JobStatistics2(); | 1104 var o = new api.JobStatistics2(); |
| 1075 buildCounterJobStatistics2++; | 1105 buildCounterJobStatistics2++; |
| 1076 if (buildCounterJobStatistics2 < 3) { | 1106 if (buildCounterJobStatistics2 < 3) { |
| 1077 o.billingTier = 42; | 1107 o.billingTier = 42; |
| 1078 o.cacheHit = true; | 1108 o.cacheHit = true; |
| 1079 o.queryPlan = buildUnnamed485(); | 1109 o.queryPlan = buildUnnamed2940(); |
| 1080 o.referencedTables = buildUnnamed486(); | 1110 o.referencedTables = buildUnnamed2941(); |
| 1081 o.schema = buildTableSchema(); | 1111 o.schema = buildTableSchema(); |
| 1082 o.totalBytesBilled = "foo"; | 1112 o.totalBytesBilled = "foo"; |
| 1083 o.totalBytesProcessed = "foo"; | 1113 o.totalBytesProcessed = "foo"; |
| 1084 } | 1114 } |
| 1085 buildCounterJobStatistics2--; | 1115 buildCounterJobStatistics2--; |
| 1086 return o; | 1116 return o; |
| 1087 } | 1117 } |
| 1088 | 1118 |
| 1089 checkJobStatistics2(api.JobStatistics2 o) { | 1119 checkJobStatistics2(api.JobStatistics2 o) { |
| 1090 buildCounterJobStatistics2++; | 1120 buildCounterJobStatistics2++; |
| 1091 if (buildCounterJobStatistics2 < 3) { | 1121 if (buildCounterJobStatistics2 < 3) { |
| 1092 unittest.expect(o.billingTier, unittest.equals(42)); | 1122 unittest.expect(o.billingTier, unittest.equals(42)); |
| 1093 unittest.expect(o.cacheHit, unittest.isTrue); | 1123 unittest.expect(o.cacheHit, unittest.isTrue); |
| 1094 checkUnnamed485(o.queryPlan); | 1124 checkUnnamed2940(o.queryPlan); |
| 1095 checkUnnamed486(o.referencedTables); | 1125 checkUnnamed2941(o.referencedTables); |
| 1096 checkTableSchema(o.schema); | 1126 checkTableSchema(o.schema); |
| 1097 unittest.expect(o.totalBytesBilled, unittest.equals('foo')); | 1127 unittest.expect(o.totalBytesBilled, unittest.equals('foo')); |
| 1098 unittest.expect(o.totalBytesProcessed, unittest.equals('foo')); | 1128 unittest.expect(o.totalBytesProcessed, unittest.equals('foo')); |
| 1099 } | 1129 } |
| 1100 buildCounterJobStatistics2--; | 1130 buildCounterJobStatistics2--; |
| 1101 } | 1131 } |
| 1102 | 1132 |
| 1103 core.int buildCounterJobStatistics3 = 0; | 1133 core.int buildCounterJobStatistics3 = 0; |
| 1104 buildJobStatistics3() { | 1134 buildJobStatistics3() { |
| 1105 var o = new api.JobStatistics3(); | 1135 var o = new api.JobStatistics3(); |
| (...skipping 12 matching lines...) Expand all Loading... |
| 1118 buildCounterJobStatistics3++; | 1148 buildCounterJobStatistics3++; |
| 1119 if (buildCounterJobStatistics3 < 3) { | 1149 if (buildCounterJobStatistics3 < 3) { |
| 1120 unittest.expect(o.inputFileBytes, unittest.equals('foo')); | 1150 unittest.expect(o.inputFileBytes, unittest.equals('foo')); |
| 1121 unittest.expect(o.inputFiles, unittest.equals('foo')); | 1151 unittest.expect(o.inputFiles, unittest.equals('foo')); |
| 1122 unittest.expect(o.outputBytes, unittest.equals('foo')); | 1152 unittest.expect(o.outputBytes, unittest.equals('foo')); |
| 1123 unittest.expect(o.outputRows, unittest.equals('foo')); | 1153 unittest.expect(o.outputRows, unittest.equals('foo')); |
| 1124 } | 1154 } |
| 1125 buildCounterJobStatistics3--; | 1155 buildCounterJobStatistics3--; |
| 1126 } | 1156 } |
| 1127 | 1157 |
| 1128 buildUnnamed487() { | 1158 buildUnnamed2942() { |
| 1129 var o = new core.List<core.String>(); | 1159 var o = new core.List<core.String>(); |
| 1130 o.add("foo"); | 1160 o.add("foo"); |
| 1131 o.add("foo"); | 1161 o.add("foo"); |
| 1132 return o; | 1162 return o; |
| 1133 } | 1163 } |
| 1134 | 1164 |
| 1135 checkUnnamed487(core.List<core.String> o) { | 1165 checkUnnamed2942(core.List<core.String> o) { |
| 1136 unittest.expect(o, unittest.hasLength(2)); | 1166 unittest.expect(o, unittest.hasLength(2)); |
| 1137 unittest.expect(o[0], unittest.equals('foo')); | 1167 unittest.expect(o[0], unittest.equals('foo')); |
| 1138 unittest.expect(o[1], unittest.equals('foo')); | 1168 unittest.expect(o[1], unittest.equals('foo')); |
| 1139 } | 1169 } |
| 1140 | 1170 |
| 1141 core.int buildCounterJobStatistics4 = 0; | 1171 core.int buildCounterJobStatistics4 = 0; |
| 1142 buildJobStatistics4() { | 1172 buildJobStatistics4() { |
| 1143 var o = new api.JobStatistics4(); | 1173 var o = new api.JobStatistics4(); |
| 1144 buildCounterJobStatistics4++; | 1174 buildCounterJobStatistics4++; |
| 1145 if (buildCounterJobStatistics4 < 3) { | 1175 if (buildCounterJobStatistics4 < 3) { |
| 1146 o.destinationUriFileCounts = buildUnnamed487(); | 1176 o.destinationUriFileCounts = buildUnnamed2942(); |
| 1147 } | 1177 } |
| 1148 buildCounterJobStatistics4--; | 1178 buildCounterJobStatistics4--; |
| 1149 return o; | 1179 return o; |
| 1150 } | 1180 } |
| 1151 | 1181 |
| 1152 checkJobStatistics4(api.JobStatistics4 o) { | 1182 checkJobStatistics4(api.JobStatistics4 o) { |
| 1153 buildCounterJobStatistics4++; | 1183 buildCounterJobStatistics4++; |
| 1154 if (buildCounterJobStatistics4 < 3) { | 1184 if (buildCounterJobStatistics4 < 3) { |
| 1155 checkUnnamed487(o.destinationUriFileCounts); | 1185 checkUnnamed2942(o.destinationUriFileCounts); |
| 1156 } | 1186 } |
| 1157 buildCounterJobStatistics4--; | 1187 buildCounterJobStatistics4--; |
| 1158 } | 1188 } |
| 1159 | 1189 |
| 1160 buildUnnamed488() { | 1190 buildUnnamed2943() { |
| 1161 var o = new core.List<api.ErrorProto>(); | 1191 var o = new core.List<api.ErrorProto>(); |
| 1162 o.add(buildErrorProto()); | 1192 o.add(buildErrorProto()); |
| 1163 o.add(buildErrorProto()); | 1193 o.add(buildErrorProto()); |
| 1164 return o; | 1194 return o; |
| 1165 } | 1195 } |
| 1166 | 1196 |
| 1167 checkUnnamed488(core.List<api.ErrorProto> o) { | 1197 checkUnnamed2943(core.List<api.ErrorProto> o) { |
| 1168 unittest.expect(o, unittest.hasLength(2)); | 1198 unittest.expect(o, unittest.hasLength(2)); |
| 1169 checkErrorProto(o[0]); | 1199 checkErrorProto(o[0]); |
| 1170 checkErrorProto(o[1]); | 1200 checkErrorProto(o[1]); |
| 1171 } | 1201 } |
| 1172 | 1202 |
| 1173 core.int buildCounterJobStatus = 0; | 1203 core.int buildCounterJobStatus = 0; |
| 1174 buildJobStatus() { | 1204 buildJobStatus() { |
| 1175 var o = new api.JobStatus(); | 1205 var o = new api.JobStatus(); |
| 1176 buildCounterJobStatus++; | 1206 buildCounterJobStatus++; |
| 1177 if (buildCounterJobStatus < 3) { | 1207 if (buildCounterJobStatus < 3) { |
| 1178 o.errorResult = buildErrorProto(); | 1208 o.errorResult = buildErrorProto(); |
| 1179 o.errors = buildUnnamed488(); | 1209 o.errors = buildUnnamed2943(); |
| 1180 o.state = "foo"; | 1210 o.state = "foo"; |
| 1181 } | 1211 } |
| 1182 buildCounterJobStatus--; | 1212 buildCounterJobStatus--; |
| 1183 return o; | 1213 return o; |
| 1184 } | 1214 } |
| 1185 | 1215 |
| 1186 checkJobStatus(api.JobStatus o) { | 1216 checkJobStatus(api.JobStatus o) { |
| 1187 buildCounterJobStatus++; | 1217 buildCounterJobStatus++; |
| 1188 if (buildCounterJobStatus < 3) { | 1218 if (buildCounterJobStatus < 3) { |
| 1189 checkErrorProto(o.errorResult); | 1219 checkErrorProto(o.errorResult); |
| 1190 checkUnnamed488(o.errors); | 1220 checkUnnamed2943(o.errors); |
| 1191 unittest.expect(o.state, unittest.equals('foo')); | 1221 unittest.expect(o.state, unittest.equals('foo')); |
| 1192 } | 1222 } |
| 1193 buildCounterJobStatus--; | 1223 buildCounterJobStatus--; |
| 1194 } | 1224 } |
| 1195 | 1225 |
| 1196 buildJsonObject() { | 1226 buildJsonObject() { |
| 1197 var o = new api.JsonObject(); | 1227 var o = new api.JsonObject(); |
| 1198 o["a"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1228 o["a"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1199 o["b"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1229 o["b"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1200 return o; | 1230 return o; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 1226 if (buildCounterProjectListProjects < 3) { | 1256 if (buildCounterProjectListProjects < 3) { |
| 1227 unittest.expect(o.friendlyName, unittest.equals('foo')); | 1257 unittest.expect(o.friendlyName, unittest.equals('foo')); |
| 1228 unittest.expect(o.id, unittest.equals('foo')); | 1258 unittest.expect(o.id, unittest.equals('foo')); |
| 1229 unittest.expect(o.kind, unittest.equals('foo')); | 1259 unittest.expect(o.kind, unittest.equals('foo')); |
| 1230 unittest.expect(o.numericId, unittest.equals('foo')); | 1260 unittest.expect(o.numericId, unittest.equals('foo')); |
| 1231 checkProjectReference(o.projectReference); | 1261 checkProjectReference(o.projectReference); |
| 1232 } | 1262 } |
| 1233 buildCounterProjectListProjects--; | 1263 buildCounterProjectListProjects--; |
| 1234 } | 1264 } |
| 1235 | 1265 |
| 1236 buildUnnamed489() { | 1266 buildUnnamed2944() { |
| 1237 var o = new core.List<api.ProjectListProjects>(); | 1267 var o = new core.List<api.ProjectListProjects>(); |
| 1238 o.add(buildProjectListProjects()); | 1268 o.add(buildProjectListProjects()); |
| 1239 o.add(buildProjectListProjects()); | 1269 o.add(buildProjectListProjects()); |
| 1240 return o; | 1270 return o; |
| 1241 } | 1271 } |
| 1242 | 1272 |
| 1243 checkUnnamed489(core.List<api.ProjectListProjects> o) { | 1273 checkUnnamed2944(core.List<api.ProjectListProjects> o) { |
| 1244 unittest.expect(o, unittest.hasLength(2)); | 1274 unittest.expect(o, unittest.hasLength(2)); |
| 1245 checkProjectListProjects(o[0]); | 1275 checkProjectListProjects(o[0]); |
| 1246 checkProjectListProjects(o[1]); | 1276 checkProjectListProjects(o[1]); |
| 1247 } | 1277 } |
| 1248 | 1278 |
| 1249 core.int buildCounterProjectList = 0; | 1279 core.int buildCounterProjectList = 0; |
| 1250 buildProjectList() { | 1280 buildProjectList() { |
| 1251 var o = new api.ProjectList(); | 1281 var o = new api.ProjectList(); |
| 1252 buildCounterProjectList++; | 1282 buildCounterProjectList++; |
| 1253 if (buildCounterProjectList < 3) { | 1283 if (buildCounterProjectList < 3) { |
| 1254 o.etag = "foo"; | 1284 o.etag = "foo"; |
| 1255 o.kind = "foo"; | 1285 o.kind = "foo"; |
| 1256 o.nextPageToken = "foo"; | 1286 o.nextPageToken = "foo"; |
| 1257 o.projects = buildUnnamed489(); | 1287 o.projects = buildUnnamed2944(); |
| 1258 o.totalItems = 42; | 1288 o.totalItems = 42; |
| 1259 } | 1289 } |
| 1260 buildCounterProjectList--; | 1290 buildCounterProjectList--; |
| 1261 return o; | 1291 return o; |
| 1262 } | 1292 } |
| 1263 | 1293 |
| 1264 checkProjectList(api.ProjectList o) { | 1294 checkProjectList(api.ProjectList o) { |
| 1265 buildCounterProjectList++; | 1295 buildCounterProjectList++; |
| 1266 if (buildCounterProjectList < 3) { | 1296 if (buildCounterProjectList < 3) { |
| 1267 unittest.expect(o.etag, unittest.equals('foo')); | 1297 unittest.expect(o.etag, unittest.equals('foo')); |
| 1268 unittest.expect(o.kind, unittest.equals('foo')); | 1298 unittest.expect(o.kind, unittest.equals('foo')); |
| 1269 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1299 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1270 checkUnnamed489(o.projects); | 1300 checkUnnamed2944(o.projects); |
| 1271 unittest.expect(o.totalItems, unittest.equals(42)); | 1301 unittest.expect(o.totalItems, unittest.equals(42)); |
| 1272 } | 1302 } |
| 1273 buildCounterProjectList--; | 1303 buildCounterProjectList--; |
| 1274 } | 1304 } |
| 1275 | 1305 |
| 1276 core.int buildCounterProjectReference = 0; | 1306 core.int buildCounterProjectReference = 0; |
| 1277 buildProjectReference() { | 1307 buildProjectReference() { |
| 1278 var o = new api.ProjectReference(); | 1308 var o = new api.ProjectReference(); |
| 1279 buildCounterProjectReference++; | 1309 buildCounterProjectReference++; |
| 1280 if (buildCounterProjectReference < 3) { | 1310 if (buildCounterProjectReference < 3) { |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1320 unittest.expect(o.maxResults, unittest.equals(42)); | 1350 unittest.expect(o.maxResults, unittest.equals(42)); |
| 1321 unittest.expect(o.preserveNulls, unittest.isTrue); | 1351 unittest.expect(o.preserveNulls, unittest.isTrue); |
| 1322 unittest.expect(o.query, unittest.equals('foo')); | 1352 unittest.expect(o.query, unittest.equals('foo')); |
| 1323 unittest.expect(o.timeoutMs, unittest.equals(42)); | 1353 unittest.expect(o.timeoutMs, unittest.equals(42)); |
| 1324 unittest.expect(o.useLegacySql, unittest.isTrue); | 1354 unittest.expect(o.useLegacySql, unittest.isTrue); |
| 1325 unittest.expect(o.useQueryCache, unittest.isTrue); | 1355 unittest.expect(o.useQueryCache, unittest.isTrue); |
| 1326 } | 1356 } |
| 1327 buildCounterQueryRequest--; | 1357 buildCounterQueryRequest--; |
| 1328 } | 1358 } |
| 1329 | 1359 |
| 1330 buildUnnamed490() { | 1360 buildUnnamed2945() { |
| 1331 var o = new core.List<api.ErrorProto>(); | 1361 var o = new core.List<api.ErrorProto>(); |
| 1332 o.add(buildErrorProto()); | 1362 o.add(buildErrorProto()); |
| 1333 o.add(buildErrorProto()); | 1363 o.add(buildErrorProto()); |
| 1334 return o; | 1364 return o; |
| 1335 } | 1365 } |
| 1336 | 1366 |
| 1337 checkUnnamed490(core.List<api.ErrorProto> o) { | 1367 checkUnnamed2945(core.List<api.ErrorProto> o) { |
| 1338 unittest.expect(o, unittest.hasLength(2)); | 1368 unittest.expect(o, unittest.hasLength(2)); |
| 1339 checkErrorProto(o[0]); | 1369 checkErrorProto(o[0]); |
| 1340 checkErrorProto(o[1]); | 1370 checkErrorProto(o[1]); |
| 1341 } | 1371 } |
| 1342 | 1372 |
| 1343 buildUnnamed491() { | 1373 buildUnnamed2946() { |
| 1344 var o = new core.List<api.TableRow>(); | 1374 var o = new core.List<api.TableRow>(); |
| 1345 o.add(buildTableRow()); | 1375 o.add(buildTableRow()); |
| 1346 o.add(buildTableRow()); | 1376 o.add(buildTableRow()); |
| 1347 return o; | 1377 return o; |
| 1348 } | 1378 } |
| 1349 | 1379 |
| 1350 checkUnnamed491(core.List<api.TableRow> o) { | 1380 checkUnnamed2946(core.List<api.TableRow> o) { |
| 1351 unittest.expect(o, unittest.hasLength(2)); | 1381 unittest.expect(o, unittest.hasLength(2)); |
| 1352 checkTableRow(o[0]); | 1382 checkTableRow(o[0]); |
| 1353 checkTableRow(o[1]); | 1383 checkTableRow(o[1]); |
| 1354 } | 1384 } |
| 1355 | 1385 |
| 1356 core.int buildCounterQueryResponse = 0; | 1386 core.int buildCounterQueryResponse = 0; |
| 1357 buildQueryResponse() { | 1387 buildQueryResponse() { |
| 1358 var o = new api.QueryResponse(); | 1388 var o = new api.QueryResponse(); |
| 1359 buildCounterQueryResponse++; | 1389 buildCounterQueryResponse++; |
| 1360 if (buildCounterQueryResponse < 3) { | 1390 if (buildCounterQueryResponse < 3) { |
| 1361 o.cacheHit = true; | 1391 o.cacheHit = true; |
| 1362 o.errors = buildUnnamed490(); | 1392 o.errors = buildUnnamed2945(); |
| 1363 o.jobComplete = true; | 1393 o.jobComplete = true; |
| 1364 o.jobReference = buildJobReference(); | 1394 o.jobReference = buildJobReference(); |
| 1365 o.kind = "foo"; | 1395 o.kind = "foo"; |
| 1366 o.pageToken = "foo"; | 1396 o.pageToken = "foo"; |
| 1367 o.rows = buildUnnamed491(); | 1397 o.rows = buildUnnamed2946(); |
| 1368 o.schema = buildTableSchema(); | 1398 o.schema = buildTableSchema(); |
| 1369 o.totalBytesProcessed = "foo"; | 1399 o.totalBytesProcessed = "foo"; |
| 1370 o.totalRows = "foo"; | 1400 o.totalRows = "foo"; |
| 1371 } | 1401 } |
| 1372 buildCounterQueryResponse--; | 1402 buildCounterQueryResponse--; |
| 1373 return o; | 1403 return o; |
| 1374 } | 1404 } |
| 1375 | 1405 |
| 1376 checkQueryResponse(api.QueryResponse o) { | 1406 checkQueryResponse(api.QueryResponse o) { |
| 1377 buildCounterQueryResponse++; | 1407 buildCounterQueryResponse++; |
| 1378 if (buildCounterQueryResponse < 3) { | 1408 if (buildCounterQueryResponse < 3) { |
| 1379 unittest.expect(o.cacheHit, unittest.isTrue); | 1409 unittest.expect(o.cacheHit, unittest.isTrue); |
| 1380 checkUnnamed490(o.errors); | 1410 checkUnnamed2945(o.errors); |
| 1381 unittest.expect(o.jobComplete, unittest.isTrue); | 1411 unittest.expect(o.jobComplete, unittest.isTrue); |
| 1382 checkJobReference(o.jobReference); | 1412 checkJobReference(o.jobReference); |
| 1383 unittest.expect(o.kind, unittest.equals('foo')); | 1413 unittest.expect(o.kind, unittest.equals('foo')); |
| 1384 unittest.expect(o.pageToken, unittest.equals('foo')); | 1414 unittest.expect(o.pageToken, unittest.equals('foo')); |
| 1385 checkUnnamed491(o.rows); | 1415 checkUnnamed2946(o.rows); |
| 1386 checkTableSchema(o.schema); | 1416 checkTableSchema(o.schema); |
| 1387 unittest.expect(o.totalBytesProcessed, unittest.equals('foo')); | 1417 unittest.expect(o.totalBytesProcessed, unittest.equals('foo')); |
| 1388 unittest.expect(o.totalRows, unittest.equals('foo')); | 1418 unittest.expect(o.totalRows, unittest.equals('foo')); |
| 1389 } | 1419 } |
| 1390 buildCounterQueryResponse--; | 1420 buildCounterQueryResponse--; |
| 1391 } | 1421 } |
| 1392 | 1422 |
| 1393 core.int buildCounterStreamingbuffer = 0; | 1423 core.int buildCounterStreamingbuffer = 0; |
| 1394 buildStreamingbuffer() { | 1424 buildStreamingbuffer() { |
| 1395 var o = new api.Streamingbuffer(); | 1425 var o = new api.Streamingbuffer(); |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1503 | 1533 |
| 1504 checkTableDataInsertAllRequestRows(api.TableDataInsertAllRequestRows o) { | 1534 checkTableDataInsertAllRequestRows(api.TableDataInsertAllRequestRows o) { |
| 1505 buildCounterTableDataInsertAllRequestRows++; | 1535 buildCounterTableDataInsertAllRequestRows++; |
| 1506 if (buildCounterTableDataInsertAllRequestRows < 3) { | 1536 if (buildCounterTableDataInsertAllRequestRows < 3) { |
| 1507 unittest.expect(o.insertId, unittest.equals('foo')); | 1537 unittest.expect(o.insertId, unittest.equals('foo')); |
| 1508 checkJsonObject(o.json); | 1538 checkJsonObject(o.json); |
| 1509 } | 1539 } |
| 1510 buildCounterTableDataInsertAllRequestRows--; | 1540 buildCounterTableDataInsertAllRequestRows--; |
| 1511 } | 1541 } |
| 1512 | 1542 |
| 1513 buildUnnamed492() { | 1543 buildUnnamed2947() { |
| 1514 var o = new core.List<api.TableDataInsertAllRequestRows>(); | 1544 var o = new core.List<api.TableDataInsertAllRequestRows>(); |
| 1515 o.add(buildTableDataInsertAllRequestRows()); | 1545 o.add(buildTableDataInsertAllRequestRows()); |
| 1516 o.add(buildTableDataInsertAllRequestRows()); | 1546 o.add(buildTableDataInsertAllRequestRows()); |
| 1517 return o; | 1547 return o; |
| 1518 } | 1548 } |
| 1519 | 1549 |
| 1520 checkUnnamed492(core.List<api.TableDataInsertAllRequestRows> o) { | 1550 checkUnnamed2947(core.List<api.TableDataInsertAllRequestRows> o) { |
| 1521 unittest.expect(o, unittest.hasLength(2)); | 1551 unittest.expect(o, unittest.hasLength(2)); |
| 1522 checkTableDataInsertAllRequestRows(o[0]); | 1552 checkTableDataInsertAllRequestRows(o[0]); |
| 1523 checkTableDataInsertAllRequestRows(o[1]); | 1553 checkTableDataInsertAllRequestRows(o[1]); |
| 1524 } | 1554 } |
| 1525 | 1555 |
| 1526 core.int buildCounterTableDataInsertAllRequest = 0; | 1556 core.int buildCounterTableDataInsertAllRequest = 0; |
| 1527 buildTableDataInsertAllRequest() { | 1557 buildTableDataInsertAllRequest() { |
| 1528 var o = new api.TableDataInsertAllRequest(); | 1558 var o = new api.TableDataInsertAllRequest(); |
| 1529 buildCounterTableDataInsertAllRequest++; | 1559 buildCounterTableDataInsertAllRequest++; |
| 1530 if (buildCounterTableDataInsertAllRequest < 3) { | 1560 if (buildCounterTableDataInsertAllRequest < 3) { |
| 1531 o.ignoreUnknownValues = true; | 1561 o.ignoreUnknownValues = true; |
| 1532 o.kind = "foo"; | 1562 o.kind = "foo"; |
| 1533 o.rows = buildUnnamed492(); | 1563 o.rows = buildUnnamed2947(); |
| 1534 o.skipInvalidRows = true; | 1564 o.skipInvalidRows = true; |
| 1535 o.templateSuffix = "foo"; | 1565 o.templateSuffix = "foo"; |
| 1536 } | 1566 } |
| 1537 buildCounterTableDataInsertAllRequest--; | 1567 buildCounterTableDataInsertAllRequest--; |
| 1538 return o; | 1568 return o; |
| 1539 } | 1569 } |
| 1540 | 1570 |
| 1541 checkTableDataInsertAllRequest(api.TableDataInsertAllRequest o) { | 1571 checkTableDataInsertAllRequest(api.TableDataInsertAllRequest o) { |
| 1542 buildCounterTableDataInsertAllRequest++; | 1572 buildCounterTableDataInsertAllRequest++; |
| 1543 if (buildCounterTableDataInsertAllRequest < 3) { | 1573 if (buildCounterTableDataInsertAllRequest < 3) { |
| 1544 unittest.expect(o.ignoreUnknownValues, unittest.isTrue); | 1574 unittest.expect(o.ignoreUnknownValues, unittest.isTrue); |
| 1545 unittest.expect(o.kind, unittest.equals('foo')); | 1575 unittest.expect(o.kind, unittest.equals('foo')); |
| 1546 checkUnnamed492(o.rows); | 1576 checkUnnamed2947(o.rows); |
| 1547 unittest.expect(o.skipInvalidRows, unittest.isTrue); | 1577 unittest.expect(o.skipInvalidRows, unittest.isTrue); |
| 1548 unittest.expect(o.templateSuffix, unittest.equals('foo')); | 1578 unittest.expect(o.templateSuffix, unittest.equals('foo')); |
| 1549 } | 1579 } |
| 1550 buildCounterTableDataInsertAllRequest--; | 1580 buildCounterTableDataInsertAllRequest--; |
| 1551 } | 1581 } |
| 1552 | 1582 |
| 1553 buildUnnamed493() { | 1583 buildUnnamed2948() { |
| 1554 var o = new core.List<api.ErrorProto>(); | 1584 var o = new core.List<api.ErrorProto>(); |
| 1555 o.add(buildErrorProto()); | 1585 o.add(buildErrorProto()); |
| 1556 o.add(buildErrorProto()); | 1586 o.add(buildErrorProto()); |
| 1557 return o; | 1587 return o; |
| 1558 } | 1588 } |
| 1559 | 1589 |
| 1560 checkUnnamed493(core.List<api.ErrorProto> o) { | 1590 checkUnnamed2948(core.List<api.ErrorProto> o) { |
| 1561 unittest.expect(o, unittest.hasLength(2)); | 1591 unittest.expect(o, unittest.hasLength(2)); |
| 1562 checkErrorProto(o[0]); | 1592 checkErrorProto(o[0]); |
| 1563 checkErrorProto(o[1]); | 1593 checkErrorProto(o[1]); |
| 1564 } | 1594 } |
| 1565 | 1595 |
| 1566 core.int buildCounterTableDataInsertAllResponseInsertErrors = 0; | 1596 core.int buildCounterTableDataInsertAllResponseInsertErrors = 0; |
| 1567 buildTableDataInsertAllResponseInsertErrors() { | 1597 buildTableDataInsertAllResponseInsertErrors() { |
| 1568 var o = new api.TableDataInsertAllResponseInsertErrors(); | 1598 var o = new api.TableDataInsertAllResponseInsertErrors(); |
| 1569 buildCounterTableDataInsertAllResponseInsertErrors++; | 1599 buildCounterTableDataInsertAllResponseInsertErrors++; |
| 1570 if (buildCounterTableDataInsertAllResponseInsertErrors < 3) { | 1600 if (buildCounterTableDataInsertAllResponseInsertErrors < 3) { |
| 1571 o.errors = buildUnnamed493(); | 1601 o.errors = buildUnnamed2948(); |
| 1572 o.index = 42; | 1602 o.index = 42; |
| 1573 } | 1603 } |
| 1574 buildCounterTableDataInsertAllResponseInsertErrors--; | 1604 buildCounterTableDataInsertAllResponseInsertErrors--; |
| 1575 return o; | 1605 return o; |
| 1576 } | 1606 } |
| 1577 | 1607 |
| 1578 checkTableDataInsertAllResponseInsertErrors(api.TableDataInsertAllResponseInsert
Errors o) { | 1608 checkTableDataInsertAllResponseInsertErrors(api.TableDataInsertAllResponseInsert
Errors o) { |
| 1579 buildCounterTableDataInsertAllResponseInsertErrors++; | 1609 buildCounterTableDataInsertAllResponseInsertErrors++; |
| 1580 if (buildCounterTableDataInsertAllResponseInsertErrors < 3) { | 1610 if (buildCounterTableDataInsertAllResponseInsertErrors < 3) { |
| 1581 checkUnnamed493(o.errors); | 1611 checkUnnamed2948(o.errors); |
| 1582 unittest.expect(o.index, unittest.equals(42)); | 1612 unittest.expect(o.index, unittest.equals(42)); |
| 1583 } | 1613 } |
| 1584 buildCounterTableDataInsertAllResponseInsertErrors--; | 1614 buildCounterTableDataInsertAllResponseInsertErrors--; |
| 1585 } | 1615 } |
| 1586 | 1616 |
| 1587 buildUnnamed494() { | 1617 buildUnnamed2949() { |
| 1588 var o = new core.List<api.TableDataInsertAllResponseInsertErrors>(); | 1618 var o = new core.List<api.TableDataInsertAllResponseInsertErrors>(); |
| 1589 o.add(buildTableDataInsertAllResponseInsertErrors()); | 1619 o.add(buildTableDataInsertAllResponseInsertErrors()); |
| 1590 o.add(buildTableDataInsertAllResponseInsertErrors()); | 1620 o.add(buildTableDataInsertAllResponseInsertErrors()); |
| 1591 return o; | 1621 return o; |
| 1592 } | 1622 } |
| 1593 | 1623 |
| 1594 checkUnnamed494(core.List<api.TableDataInsertAllResponseInsertErrors> o) { | 1624 checkUnnamed2949(core.List<api.TableDataInsertAllResponseInsertErrors> o) { |
| 1595 unittest.expect(o, unittest.hasLength(2)); | 1625 unittest.expect(o, unittest.hasLength(2)); |
| 1596 checkTableDataInsertAllResponseInsertErrors(o[0]); | 1626 checkTableDataInsertAllResponseInsertErrors(o[0]); |
| 1597 checkTableDataInsertAllResponseInsertErrors(o[1]); | 1627 checkTableDataInsertAllResponseInsertErrors(o[1]); |
| 1598 } | 1628 } |
| 1599 | 1629 |
| 1600 core.int buildCounterTableDataInsertAllResponse = 0; | 1630 core.int buildCounterTableDataInsertAllResponse = 0; |
| 1601 buildTableDataInsertAllResponse() { | 1631 buildTableDataInsertAllResponse() { |
| 1602 var o = new api.TableDataInsertAllResponse(); | 1632 var o = new api.TableDataInsertAllResponse(); |
| 1603 buildCounterTableDataInsertAllResponse++; | 1633 buildCounterTableDataInsertAllResponse++; |
| 1604 if (buildCounterTableDataInsertAllResponse < 3) { | 1634 if (buildCounterTableDataInsertAllResponse < 3) { |
| 1605 o.insertErrors = buildUnnamed494(); | 1635 o.insertErrors = buildUnnamed2949(); |
| 1606 o.kind = "foo"; | 1636 o.kind = "foo"; |
| 1607 } | 1637 } |
| 1608 buildCounterTableDataInsertAllResponse--; | 1638 buildCounterTableDataInsertAllResponse--; |
| 1609 return o; | 1639 return o; |
| 1610 } | 1640 } |
| 1611 | 1641 |
| 1612 checkTableDataInsertAllResponse(api.TableDataInsertAllResponse o) { | 1642 checkTableDataInsertAllResponse(api.TableDataInsertAllResponse o) { |
| 1613 buildCounterTableDataInsertAllResponse++; | 1643 buildCounterTableDataInsertAllResponse++; |
| 1614 if (buildCounterTableDataInsertAllResponse < 3) { | 1644 if (buildCounterTableDataInsertAllResponse < 3) { |
| 1615 checkUnnamed494(o.insertErrors); | 1645 checkUnnamed2949(o.insertErrors); |
| 1616 unittest.expect(o.kind, unittest.equals('foo')); | 1646 unittest.expect(o.kind, unittest.equals('foo')); |
| 1617 } | 1647 } |
| 1618 buildCounterTableDataInsertAllResponse--; | 1648 buildCounterTableDataInsertAllResponse--; |
| 1619 } | 1649 } |
| 1620 | 1650 |
| 1621 buildUnnamed495() { | 1651 buildUnnamed2950() { |
| 1622 var o = new core.List<api.TableRow>(); | 1652 var o = new core.List<api.TableRow>(); |
| 1623 o.add(buildTableRow()); | 1653 o.add(buildTableRow()); |
| 1624 o.add(buildTableRow()); | 1654 o.add(buildTableRow()); |
| 1625 return o; | 1655 return o; |
| 1626 } | 1656 } |
| 1627 | 1657 |
| 1628 checkUnnamed495(core.List<api.TableRow> o) { | 1658 checkUnnamed2950(core.List<api.TableRow> o) { |
| 1629 unittest.expect(o, unittest.hasLength(2)); | 1659 unittest.expect(o, unittest.hasLength(2)); |
| 1630 checkTableRow(o[0]); | 1660 checkTableRow(o[0]); |
| 1631 checkTableRow(o[1]); | 1661 checkTableRow(o[1]); |
| 1632 } | 1662 } |
| 1633 | 1663 |
| 1634 core.int buildCounterTableDataList = 0; | 1664 core.int buildCounterTableDataList = 0; |
| 1635 buildTableDataList() { | 1665 buildTableDataList() { |
| 1636 var o = new api.TableDataList(); | 1666 var o = new api.TableDataList(); |
| 1637 buildCounterTableDataList++; | 1667 buildCounterTableDataList++; |
| 1638 if (buildCounterTableDataList < 3) { | 1668 if (buildCounterTableDataList < 3) { |
| 1639 o.etag = "foo"; | 1669 o.etag = "foo"; |
| 1640 o.kind = "foo"; | 1670 o.kind = "foo"; |
| 1641 o.pageToken = "foo"; | 1671 o.pageToken = "foo"; |
| 1642 o.rows = buildUnnamed495(); | 1672 o.rows = buildUnnamed2950(); |
| 1643 o.totalRows = "foo"; | 1673 o.totalRows = "foo"; |
| 1644 } | 1674 } |
| 1645 buildCounterTableDataList--; | 1675 buildCounterTableDataList--; |
| 1646 return o; | 1676 return o; |
| 1647 } | 1677 } |
| 1648 | 1678 |
| 1649 checkTableDataList(api.TableDataList o) { | 1679 checkTableDataList(api.TableDataList o) { |
| 1650 buildCounterTableDataList++; | 1680 buildCounterTableDataList++; |
| 1651 if (buildCounterTableDataList < 3) { | 1681 if (buildCounterTableDataList < 3) { |
| 1652 unittest.expect(o.etag, unittest.equals('foo')); | 1682 unittest.expect(o.etag, unittest.equals('foo')); |
| 1653 unittest.expect(o.kind, unittest.equals('foo')); | 1683 unittest.expect(o.kind, unittest.equals('foo')); |
| 1654 unittest.expect(o.pageToken, unittest.equals('foo')); | 1684 unittest.expect(o.pageToken, unittest.equals('foo')); |
| 1655 checkUnnamed495(o.rows); | 1685 checkUnnamed2950(o.rows); |
| 1656 unittest.expect(o.totalRows, unittest.equals('foo')); | 1686 unittest.expect(o.totalRows, unittest.equals('foo')); |
| 1657 } | 1687 } |
| 1658 buildCounterTableDataList--; | 1688 buildCounterTableDataList--; |
| 1659 } | 1689 } |
| 1660 | 1690 |
| 1661 buildUnnamed496() { | 1691 buildUnnamed2951() { |
| 1662 var o = new core.List<api.TableFieldSchema>(); | 1692 var o = new core.List<api.TableFieldSchema>(); |
| 1663 o.add(buildTableFieldSchema()); | 1693 o.add(buildTableFieldSchema()); |
| 1664 o.add(buildTableFieldSchema()); | 1694 o.add(buildTableFieldSchema()); |
| 1665 return o; | 1695 return o; |
| 1666 } | 1696 } |
| 1667 | 1697 |
| 1668 checkUnnamed496(core.List<api.TableFieldSchema> o) { | 1698 checkUnnamed2951(core.List<api.TableFieldSchema> o) { |
| 1669 unittest.expect(o, unittest.hasLength(2)); | 1699 unittest.expect(o, unittest.hasLength(2)); |
| 1670 checkTableFieldSchema(o[0]); | 1700 checkTableFieldSchema(o[0]); |
| 1671 checkTableFieldSchema(o[1]); | 1701 checkTableFieldSchema(o[1]); |
| 1672 } | 1702 } |
| 1673 | 1703 |
| 1674 core.int buildCounterTableFieldSchema = 0; | 1704 core.int buildCounterTableFieldSchema = 0; |
| 1675 buildTableFieldSchema() { | 1705 buildTableFieldSchema() { |
| 1676 var o = new api.TableFieldSchema(); | 1706 var o = new api.TableFieldSchema(); |
| 1677 buildCounterTableFieldSchema++; | 1707 buildCounterTableFieldSchema++; |
| 1678 if (buildCounterTableFieldSchema < 3) { | 1708 if (buildCounterTableFieldSchema < 3) { |
| 1679 o.description = "foo"; | 1709 o.description = "foo"; |
| 1680 o.fields = buildUnnamed496(); | 1710 o.fields = buildUnnamed2951(); |
| 1681 o.mode = "foo"; | 1711 o.mode = "foo"; |
| 1682 o.name = "foo"; | 1712 o.name = "foo"; |
| 1683 o.type = "foo"; | 1713 o.type = "foo"; |
| 1684 } | 1714 } |
| 1685 buildCounterTableFieldSchema--; | 1715 buildCounterTableFieldSchema--; |
| 1686 return o; | 1716 return o; |
| 1687 } | 1717 } |
| 1688 | 1718 |
| 1689 checkTableFieldSchema(api.TableFieldSchema o) { | 1719 checkTableFieldSchema(api.TableFieldSchema o) { |
| 1690 buildCounterTableFieldSchema++; | 1720 buildCounterTableFieldSchema++; |
| 1691 if (buildCounterTableFieldSchema < 3) { | 1721 if (buildCounterTableFieldSchema < 3) { |
| 1692 unittest.expect(o.description, unittest.equals('foo')); | 1722 unittest.expect(o.description, unittest.equals('foo')); |
| 1693 checkUnnamed496(o.fields); | 1723 checkUnnamed2951(o.fields); |
| 1694 unittest.expect(o.mode, unittest.equals('foo')); | 1724 unittest.expect(o.mode, unittest.equals('foo')); |
| 1695 unittest.expect(o.name, unittest.equals('foo')); | 1725 unittest.expect(o.name, unittest.equals('foo')); |
| 1696 unittest.expect(o.type, unittest.equals('foo')); | 1726 unittest.expect(o.type, unittest.equals('foo')); |
| 1697 } | 1727 } |
| 1698 buildCounterTableFieldSchema--; | 1728 buildCounterTableFieldSchema--; |
| 1699 } | 1729 } |
| 1700 | 1730 |
| 1701 core.int buildCounterTableListTables = 0; | 1731 core.int buildCounterTableListTables = 0; |
| 1702 buildTableListTables() { | 1732 buildTableListTables() { |
| 1703 var o = new api.TableListTables(); | 1733 var o = new api.TableListTables(); |
| (...skipping 14 matching lines...) Expand all Loading... |
| 1718 if (buildCounterTableListTables < 3) { | 1748 if (buildCounterTableListTables < 3) { |
| 1719 unittest.expect(o.friendlyName, unittest.equals('foo')); | 1749 unittest.expect(o.friendlyName, unittest.equals('foo')); |
| 1720 unittest.expect(o.id, unittest.equals('foo')); | 1750 unittest.expect(o.id, unittest.equals('foo')); |
| 1721 unittest.expect(o.kind, unittest.equals('foo')); | 1751 unittest.expect(o.kind, unittest.equals('foo')); |
| 1722 checkTableReference(o.tableReference); | 1752 checkTableReference(o.tableReference); |
| 1723 unittest.expect(o.type, unittest.equals('foo')); | 1753 unittest.expect(o.type, unittest.equals('foo')); |
| 1724 } | 1754 } |
| 1725 buildCounterTableListTables--; | 1755 buildCounterTableListTables--; |
| 1726 } | 1756 } |
| 1727 | 1757 |
| 1728 buildUnnamed497() { | 1758 buildUnnamed2952() { |
| 1729 var o = new core.List<api.TableListTables>(); | 1759 var o = new core.List<api.TableListTables>(); |
| 1730 o.add(buildTableListTables()); | 1760 o.add(buildTableListTables()); |
| 1731 o.add(buildTableListTables()); | 1761 o.add(buildTableListTables()); |
| 1732 return o; | 1762 return o; |
| 1733 } | 1763 } |
| 1734 | 1764 |
| 1735 checkUnnamed497(core.List<api.TableListTables> o) { | 1765 checkUnnamed2952(core.List<api.TableListTables> o) { |
| 1736 unittest.expect(o, unittest.hasLength(2)); | 1766 unittest.expect(o, unittest.hasLength(2)); |
| 1737 checkTableListTables(o[0]); | 1767 checkTableListTables(o[0]); |
| 1738 checkTableListTables(o[1]); | 1768 checkTableListTables(o[1]); |
| 1739 } | 1769 } |
| 1740 | 1770 |
| 1741 core.int buildCounterTableList = 0; | 1771 core.int buildCounterTableList = 0; |
| 1742 buildTableList() { | 1772 buildTableList() { |
| 1743 var o = new api.TableList(); | 1773 var o = new api.TableList(); |
| 1744 buildCounterTableList++; | 1774 buildCounterTableList++; |
| 1745 if (buildCounterTableList < 3) { | 1775 if (buildCounterTableList < 3) { |
| 1746 o.etag = "foo"; | 1776 o.etag = "foo"; |
| 1747 o.kind = "foo"; | 1777 o.kind = "foo"; |
| 1748 o.nextPageToken = "foo"; | 1778 o.nextPageToken = "foo"; |
| 1749 o.tables = buildUnnamed497(); | 1779 o.tables = buildUnnamed2952(); |
| 1750 o.totalItems = 42; | 1780 o.totalItems = 42; |
| 1751 } | 1781 } |
| 1752 buildCounterTableList--; | 1782 buildCounterTableList--; |
| 1753 return o; | 1783 return o; |
| 1754 } | 1784 } |
| 1755 | 1785 |
| 1756 checkTableList(api.TableList o) { | 1786 checkTableList(api.TableList o) { |
| 1757 buildCounterTableList++; | 1787 buildCounterTableList++; |
| 1758 if (buildCounterTableList < 3) { | 1788 if (buildCounterTableList < 3) { |
| 1759 unittest.expect(o.etag, unittest.equals('foo')); | 1789 unittest.expect(o.etag, unittest.equals('foo')); |
| 1760 unittest.expect(o.kind, unittest.equals('foo')); | 1790 unittest.expect(o.kind, unittest.equals('foo')); |
| 1761 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1791 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1762 checkUnnamed497(o.tables); | 1792 checkUnnamed2952(o.tables); |
| 1763 unittest.expect(o.totalItems, unittest.equals(42)); | 1793 unittest.expect(o.totalItems, unittest.equals(42)); |
| 1764 } | 1794 } |
| 1765 buildCounterTableList--; | 1795 buildCounterTableList--; |
| 1766 } | 1796 } |
| 1767 | 1797 |
| 1768 core.int buildCounterTableReference = 0; | 1798 core.int buildCounterTableReference = 0; |
| 1769 buildTableReference() { | 1799 buildTableReference() { |
| 1770 var o = new api.TableReference(); | 1800 var o = new api.TableReference(); |
| 1771 buildCounterTableReference++; | 1801 buildCounterTableReference++; |
| 1772 if (buildCounterTableReference < 3) { | 1802 if (buildCounterTableReference < 3) { |
| 1773 o.datasetId = "foo"; | 1803 o.datasetId = "foo"; |
| 1774 o.projectId = "foo"; | 1804 o.projectId = "foo"; |
| 1775 o.tableId = "foo"; | 1805 o.tableId = "foo"; |
| 1776 } | 1806 } |
| 1777 buildCounterTableReference--; | 1807 buildCounterTableReference--; |
| 1778 return o; | 1808 return o; |
| 1779 } | 1809 } |
| 1780 | 1810 |
| 1781 checkTableReference(api.TableReference o) { | 1811 checkTableReference(api.TableReference o) { |
| 1782 buildCounterTableReference++; | 1812 buildCounterTableReference++; |
| 1783 if (buildCounterTableReference < 3) { | 1813 if (buildCounterTableReference < 3) { |
| 1784 unittest.expect(o.datasetId, unittest.equals('foo')); | 1814 unittest.expect(o.datasetId, unittest.equals('foo')); |
| 1785 unittest.expect(o.projectId, unittest.equals('foo')); | 1815 unittest.expect(o.projectId, unittest.equals('foo')); |
| 1786 unittest.expect(o.tableId, unittest.equals('foo')); | 1816 unittest.expect(o.tableId, unittest.equals('foo')); |
| 1787 } | 1817 } |
| 1788 buildCounterTableReference--; | 1818 buildCounterTableReference--; |
| 1789 } | 1819 } |
| 1790 | 1820 |
| 1791 buildUnnamed498() { | 1821 buildUnnamed2953() { |
| 1792 var o = new core.List<api.TableCell>(); | 1822 var o = new core.List<api.TableCell>(); |
| 1793 o.add(buildTableCell()); | 1823 o.add(buildTableCell()); |
| 1794 o.add(buildTableCell()); | 1824 o.add(buildTableCell()); |
| 1795 return o; | 1825 return o; |
| 1796 } | 1826 } |
| 1797 | 1827 |
| 1798 checkUnnamed498(core.List<api.TableCell> o) { | 1828 checkUnnamed2953(core.List<api.TableCell> o) { |
| 1799 unittest.expect(o, unittest.hasLength(2)); | 1829 unittest.expect(o, unittest.hasLength(2)); |
| 1800 checkTableCell(o[0]); | 1830 checkTableCell(o[0]); |
| 1801 checkTableCell(o[1]); | 1831 checkTableCell(o[1]); |
| 1802 } | 1832 } |
| 1803 | 1833 |
| 1804 core.int buildCounterTableRow = 0; | 1834 core.int buildCounterTableRow = 0; |
| 1805 buildTableRow() { | 1835 buildTableRow() { |
| 1806 var o = new api.TableRow(); | 1836 var o = new api.TableRow(); |
| 1807 buildCounterTableRow++; | 1837 buildCounterTableRow++; |
| 1808 if (buildCounterTableRow < 3) { | 1838 if (buildCounterTableRow < 3) { |
| 1809 o.f = buildUnnamed498(); | 1839 o.f = buildUnnamed2953(); |
| 1810 } | 1840 } |
| 1811 buildCounterTableRow--; | 1841 buildCounterTableRow--; |
| 1812 return o; | 1842 return o; |
| 1813 } | 1843 } |
| 1814 | 1844 |
| 1815 checkTableRow(api.TableRow o) { | 1845 checkTableRow(api.TableRow o) { |
| 1816 buildCounterTableRow++; | 1846 buildCounterTableRow++; |
| 1817 if (buildCounterTableRow < 3) { | 1847 if (buildCounterTableRow < 3) { |
| 1818 checkUnnamed498(o.f); | 1848 checkUnnamed2953(o.f); |
| 1819 } | 1849 } |
| 1820 buildCounterTableRow--; | 1850 buildCounterTableRow--; |
| 1821 } | 1851 } |
| 1822 | 1852 |
| 1823 buildUnnamed499() { | 1853 buildUnnamed2954() { |
| 1824 var o = new core.List<api.TableFieldSchema>(); | 1854 var o = new core.List<api.TableFieldSchema>(); |
| 1825 o.add(buildTableFieldSchema()); | 1855 o.add(buildTableFieldSchema()); |
| 1826 o.add(buildTableFieldSchema()); | 1856 o.add(buildTableFieldSchema()); |
| 1827 return o; | 1857 return o; |
| 1828 } | 1858 } |
| 1829 | 1859 |
| 1830 checkUnnamed499(core.List<api.TableFieldSchema> o) { | 1860 checkUnnamed2954(core.List<api.TableFieldSchema> o) { |
| 1831 unittest.expect(o, unittest.hasLength(2)); | 1861 unittest.expect(o, unittest.hasLength(2)); |
| 1832 checkTableFieldSchema(o[0]); | 1862 checkTableFieldSchema(o[0]); |
| 1833 checkTableFieldSchema(o[1]); | 1863 checkTableFieldSchema(o[1]); |
| 1834 } | 1864 } |
| 1835 | 1865 |
| 1836 core.int buildCounterTableSchema = 0; | 1866 core.int buildCounterTableSchema = 0; |
| 1837 buildTableSchema() { | 1867 buildTableSchema() { |
| 1838 var o = new api.TableSchema(); | 1868 var o = new api.TableSchema(); |
| 1839 buildCounterTableSchema++; | 1869 buildCounterTableSchema++; |
| 1840 if (buildCounterTableSchema < 3) { | 1870 if (buildCounterTableSchema < 3) { |
| 1841 o.fields = buildUnnamed499(); | 1871 o.fields = buildUnnamed2954(); |
| 1842 } | 1872 } |
| 1843 buildCounterTableSchema--; | 1873 buildCounterTableSchema--; |
| 1844 return o; | 1874 return o; |
| 1845 } | 1875 } |
| 1846 | 1876 |
| 1847 checkTableSchema(api.TableSchema o) { | 1877 checkTableSchema(api.TableSchema o) { |
| 1848 buildCounterTableSchema++; | 1878 buildCounterTableSchema++; |
| 1849 if (buildCounterTableSchema < 3) { | 1879 if (buildCounterTableSchema < 3) { |
| 1850 checkUnnamed499(o.fields); | 1880 checkUnnamed2954(o.fields); |
| 1851 } | 1881 } |
| 1852 buildCounterTableSchema--; | 1882 buildCounterTableSchema--; |
| 1853 } | 1883 } |
| 1854 | 1884 |
| 1855 core.int buildCounterTimePartitioning = 0; | 1885 core.int buildCounterTimePartitioning = 0; |
| 1856 buildTimePartitioning() { | 1886 buildTimePartitioning() { |
| 1857 var o = new api.TimePartitioning(); | 1887 var o = new api.TimePartitioning(); |
| 1858 buildCounterTimePartitioning++; | 1888 buildCounterTimePartitioning++; |
| 1859 if (buildCounterTimePartitioning < 3) { | 1889 if (buildCounterTimePartitioning < 3) { |
| 1860 o.expirationMs = "foo"; | 1890 o.expirationMs = "foo"; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 1887 | 1917 |
| 1888 checkUserDefinedFunctionResource(api.UserDefinedFunctionResource o) { | 1918 checkUserDefinedFunctionResource(api.UserDefinedFunctionResource o) { |
| 1889 buildCounterUserDefinedFunctionResource++; | 1919 buildCounterUserDefinedFunctionResource++; |
| 1890 if (buildCounterUserDefinedFunctionResource < 3) { | 1920 if (buildCounterUserDefinedFunctionResource < 3) { |
| 1891 unittest.expect(o.inlineCode, unittest.equals('foo')); | 1921 unittest.expect(o.inlineCode, unittest.equals('foo')); |
| 1892 unittest.expect(o.resourceUri, unittest.equals('foo')); | 1922 unittest.expect(o.resourceUri, unittest.equals('foo')); |
| 1893 } | 1923 } |
| 1894 buildCounterUserDefinedFunctionResource--; | 1924 buildCounterUserDefinedFunctionResource--; |
| 1895 } | 1925 } |
| 1896 | 1926 |
| 1897 buildUnnamed500() { | 1927 buildUnnamed2955() { |
| 1898 var o = new core.List<api.UserDefinedFunctionResource>(); | 1928 var o = new core.List<api.UserDefinedFunctionResource>(); |
| 1899 o.add(buildUserDefinedFunctionResource()); | 1929 o.add(buildUserDefinedFunctionResource()); |
| 1900 o.add(buildUserDefinedFunctionResource()); | 1930 o.add(buildUserDefinedFunctionResource()); |
| 1901 return o; | 1931 return o; |
| 1902 } | 1932 } |
| 1903 | 1933 |
| 1904 checkUnnamed500(core.List<api.UserDefinedFunctionResource> o) { | 1934 checkUnnamed2955(core.List<api.UserDefinedFunctionResource> o) { |
| 1905 unittest.expect(o, unittest.hasLength(2)); | 1935 unittest.expect(o, unittest.hasLength(2)); |
| 1906 checkUserDefinedFunctionResource(o[0]); | 1936 checkUserDefinedFunctionResource(o[0]); |
| 1907 checkUserDefinedFunctionResource(o[1]); | 1937 checkUserDefinedFunctionResource(o[1]); |
| 1908 } | 1938 } |
| 1909 | 1939 |
| 1910 core.int buildCounterViewDefinition = 0; | 1940 core.int buildCounterViewDefinition = 0; |
| 1911 buildViewDefinition() { | 1941 buildViewDefinition() { |
| 1912 var o = new api.ViewDefinition(); | 1942 var o = new api.ViewDefinition(); |
| 1913 buildCounterViewDefinition++; | 1943 buildCounterViewDefinition++; |
| 1914 if (buildCounterViewDefinition < 3) { | 1944 if (buildCounterViewDefinition < 3) { |
| 1915 o.query = "foo"; | 1945 o.query = "foo"; |
| 1916 o.useLegacySql = true; | 1946 o.useLegacySql = true; |
| 1917 o.userDefinedFunctionResources = buildUnnamed500(); | 1947 o.userDefinedFunctionResources = buildUnnamed2955(); |
| 1918 } | 1948 } |
| 1919 buildCounterViewDefinition--; | 1949 buildCounterViewDefinition--; |
| 1920 return o; | 1950 return o; |
| 1921 } | 1951 } |
| 1922 | 1952 |
| 1923 checkViewDefinition(api.ViewDefinition o) { | 1953 checkViewDefinition(api.ViewDefinition o) { |
| 1924 buildCounterViewDefinition++; | 1954 buildCounterViewDefinition++; |
| 1925 if (buildCounterViewDefinition < 3) { | 1955 if (buildCounterViewDefinition < 3) { |
| 1926 unittest.expect(o.query, unittest.equals('foo')); | 1956 unittest.expect(o.query, unittest.equals('foo')); |
| 1927 unittest.expect(o.useLegacySql, unittest.isTrue); | 1957 unittest.expect(o.useLegacySql, unittest.isTrue); |
| 1928 checkUnnamed500(o.userDefinedFunctionResources); | 1958 checkUnnamed2955(o.userDefinedFunctionResources); |
| 1929 } | 1959 } |
| 1930 buildCounterViewDefinition--; | 1960 buildCounterViewDefinition--; |
| 1931 } | 1961 } |
| 1932 | 1962 |
| 1933 buildUnnamed501() { | 1963 buildUnnamed2956() { |
| 1934 var o = new core.List<core.String>(); | 1964 var o = new core.List<core.String>(); |
| 1935 o.add("foo"); | 1965 o.add("foo"); |
| 1936 o.add("foo"); | 1966 o.add("foo"); |
| 1937 return o; | 1967 return o; |
| 1938 } | 1968 } |
| 1939 | 1969 |
| 1940 checkUnnamed501(core.List<core.String> o) { | 1970 checkUnnamed2956(core.List<core.String> o) { |
| 1941 unittest.expect(o, unittest.hasLength(2)); | 1971 unittest.expect(o, unittest.hasLength(2)); |
| 1942 unittest.expect(o[0], unittest.equals('foo')); | 1972 unittest.expect(o[0], unittest.equals('foo')); |
| 1943 unittest.expect(o[1], unittest.equals('foo')); | 1973 unittest.expect(o[1], unittest.equals('foo')); |
| 1944 } | 1974 } |
| 1945 | 1975 |
| 1946 | 1976 |
| 1947 main() { | 1977 main() { |
| 1948 unittest.group("obj-schema-BigtableColumn", () { | 1978 unittest.group("obj-schema-BigtableColumn", () { |
| 1949 unittest.test("to-json--from-json", () { | 1979 unittest.test("to-json--from-json", () { |
| 1950 var o = buildBigtableColumn(); | 1980 var o = buildBigtableColumn(); |
| (...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2593 checkDataset(response); | 2623 checkDataset(response); |
| 2594 }))); | 2624 }))); |
| 2595 }); | 2625 }); |
| 2596 | 2626 |
| 2597 unittest.test("method--list", () { | 2627 unittest.test("method--list", () { |
| 2598 | 2628 |
| 2599 var mock = new HttpServerMock(); | 2629 var mock = new HttpServerMock(); |
| 2600 api.DatasetsResourceApi res = new api.BigqueryApi(mock).datasets; | 2630 api.DatasetsResourceApi res = new api.BigqueryApi(mock).datasets; |
| 2601 var arg_projectId = "foo"; | 2631 var arg_projectId = "foo"; |
| 2602 var arg_all = true; | 2632 var arg_all = true; |
| 2633 var arg_filter = "foo"; |
| 2603 var arg_maxResults = 42; | 2634 var arg_maxResults = 42; |
| 2604 var arg_pageToken = "foo"; | 2635 var arg_pageToken = "foo"; |
| 2605 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 2636 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 2606 var path = (req.url).path; | 2637 var path = (req.url).path; |
| 2607 var pathOffset = 0; | 2638 var pathOffset = 0; |
| 2608 var index; | 2639 var index; |
| 2609 var subPart; | 2640 var subPart; |
| 2610 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 2641 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 2611 pathOffset += 1; | 2642 pathOffset += 1; |
| 2612 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("bigquery/v2/")); | 2643 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("bigquery/v2/")); |
| (...skipping 18 matching lines...) Expand all Loading... |
| 2631 if (n == null) return null; | 2662 if (n == null) return null; |
| 2632 throw new core.ArgumentError("Invalid boolean: $n"); | 2663 throw new core.ArgumentError("Invalid boolean: $n"); |
| 2633 } | 2664 } |
| 2634 if (query.length > 0) { | 2665 if (query.length > 0) { |
| 2635 for (var part in query.split("&")) { | 2666 for (var part in query.split("&")) { |
| 2636 var keyvalue = part.split("="); | 2667 var keyvalue = part.split("="); |
| 2637 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 2668 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 2638 } | 2669 } |
| 2639 } | 2670 } |
| 2640 unittest.expect(queryMap["all"].first, unittest.equals("$arg_all")); | 2671 unittest.expect(queryMap["all"].first, unittest.equals("$arg_all")); |
| 2672 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); |
| 2641 unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.e
quals(arg_maxResults)); | 2673 unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.e
quals(arg_maxResults)); |
| 2642 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); | 2674 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); |
| 2643 | 2675 |
| 2644 | 2676 |
| 2645 var h = { | 2677 var h = { |
| 2646 "content-type" : "application/json; charset=utf-8", | 2678 "content-type" : "application/json; charset=utf-8", |
| 2647 }; | 2679 }; |
| 2648 var resp = convert.JSON.encode(buildDatasetList()); | 2680 var resp = convert.JSON.encode(buildDatasetList()); |
| 2649 return new async.Future.value(stringResponse(200, h, resp)); | 2681 return new async.Future.value(stringResponse(200, h, resp)); |
| 2650 }), true); | 2682 }), true); |
| 2651 res.list(arg_projectId, all: arg_all, maxResults: arg_maxResults, pageToke
n: arg_pageToken).then(unittest.expectAsync(((api.DatasetList response) { | 2683 res.list(arg_projectId, all: arg_all, filter: arg_filter, maxResults: arg_
maxResults, pageToken: arg_pageToken).then(unittest.expectAsync(((api.DatasetLis
t response) { |
| 2652 checkDatasetList(response); | 2684 checkDatasetList(response); |
| 2653 }))); | 2685 }))); |
| 2654 }); | 2686 }); |
| 2655 | 2687 |
| 2656 unittest.test("method--patch", () { | 2688 unittest.test("method--patch", () { |
| 2657 | 2689 |
| 2658 var mock = new HttpServerMock(); | 2690 var mock = new HttpServerMock(); |
| 2659 api.DatasetsResourceApi res = new api.BigqueryApi(mock).datasets; | 2691 api.DatasetsResourceApi res = new api.BigqueryApi(mock).datasets; |
| 2660 var arg_request = buildDataset(); | 2692 var arg_request = buildDataset(); |
| 2661 var arg_projectId = "foo"; | 2693 var arg_projectId = "foo"; |
| (...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3023 | 3055 |
| 3024 unittest.test("method--list", () { | 3056 unittest.test("method--list", () { |
| 3025 | 3057 |
| 3026 var mock = new HttpServerMock(); | 3058 var mock = new HttpServerMock(); |
| 3027 api.JobsResourceApi res = new api.BigqueryApi(mock).jobs; | 3059 api.JobsResourceApi res = new api.BigqueryApi(mock).jobs; |
| 3028 var arg_projectId = "foo"; | 3060 var arg_projectId = "foo"; |
| 3029 var arg_allUsers = true; | 3061 var arg_allUsers = true; |
| 3030 var arg_maxResults = 42; | 3062 var arg_maxResults = 42; |
| 3031 var arg_pageToken = "foo"; | 3063 var arg_pageToken = "foo"; |
| 3032 var arg_projection = "foo"; | 3064 var arg_projection = "foo"; |
| 3033 var arg_stateFilter = buildUnnamed501(); | 3065 var arg_stateFilter = buildUnnamed2956(); |
| 3034 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 3066 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 3035 var path = (req.url).path; | 3067 var path = (req.url).path; |
| 3036 var pathOffset = 0; | 3068 var pathOffset = 0; |
| 3037 var index; | 3069 var index; |
| 3038 var subPart; | 3070 var subPart; |
| 3039 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 3071 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 3040 pathOffset += 1; | 3072 pathOffset += 1; |
| 3041 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("bigquery/v2/")); | 3073 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("bigquery/v2/")); |
| 3042 pathOffset += 12; | 3074 pathOffset += 12; |
| 3043 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("projects/")); | 3075 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("projects/")); |
| (...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3744 res.update(arg_request, arg_projectId, arg_datasetId, arg_tableId).then(un
ittest.expectAsync(((api.Table response) { | 3776 res.update(arg_request, arg_projectId, arg_datasetId, arg_tableId).then(un
ittest.expectAsync(((api.Table response) { |
| 3745 checkTable(response); | 3777 checkTable(response); |
| 3746 }))); | 3778 }))); |
| 3747 }); | 3779 }); |
| 3748 | 3780 |
| 3749 }); | 3781 }); |
| 3750 | 3782 |
| 3751 | 3783 |
| 3752 } | 3784 } |
| 3753 | 3785 |
| OLD | NEW |