| 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 buildUnnamed2922() { | 83 buildUnnamed485() { |
| 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 checkUnnamed2922(core.List<api.BigtableColumn> o) { | 90 checkUnnamed485(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 = buildUnnamed2922(); | 101 o.columns = buildUnnamed485(); |
| 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 checkUnnamed2922(o.columns); | 114 checkUnnamed485(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 buildUnnamed2923() { | 123 buildUnnamed486() { |
| 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 checkUnnamed2923(core.List<api.BigtableColumnFamily> o) { | 130 checkUnnamed486(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 = buildUnnamed2923(); | 141 o.columnFamilies = buildUnnamed486(); |
| 142 o.ignoreUnspecifiedColumnFamilies = true; | 142 o.ignoreUnspecifiedColumnFamilies = true; |
| 143 o.readRowkeyAsString = true; |
| 143 } | 144 } |
| 144 buildCounterBigtableOptions--; | 145 buildCounterBigtableOptions--; |
| 145 return o; | 146 return o; |
| 146 } | 147 } |
| 147 | 148 |
| 148 checkBigtableOptions(api.BigtableOptions o) { | 149 checkBigtableOptions(api.BigtableOptions o) { |
| 149 buildCounterBigtableOptions++; | 150 buildCounterBigtableOptions++; |
| 150 if (buildCounterBigtableOptions < 3) { | 151 if (buildCounterBigtableOptions < 3) { |
| 151 checkUnnamed2923(o.columnFamilies); | 152 checkUnnamed486(o.columnFamilies); |
| 152 unittest.expect(o.ignoreUnspecifiedColumnFamilies, unittest.isTrue); | 153 unittest.expect(o.ignoreUnspecifiedColumnFamilies, unittest.isTrue); |
| 154 unittest.expect(o.readRowkeyAsString, unittest.isTrue); |
| 153 } | 155 } |
| 154 buildCounterBigtableOptions--; | 156 buildCounterBigtableOptions--; |
| 155 } | 157 } |
| 156 | 158 |
| 157 core.int buildCounterCsvOptions = 0; | 159 core.int buildCounterCsvOptions = 0; |
| 158 buildCsvOptions() { | 160 buildCsvOptions() { |
| 159 var o = new api.CsvOptions(); | 161 var o = new api.CsvOptions(); |
| 160 buildCounterCsvOptions++; | 162 buildCounterCsvOptions++; |
| 161 if (buildCounterCsvOptions < 3) { | 163 if (buildCounterCsvOptions < 3) { |
| 162 o.allowJaggedRows = true; | 164 o.allowJaggedRows = true; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 unittest.expect(o.domain, unittest.equals('foo')); | 207 unittest.expect(o.domain, unittest.equals('foo')); |
| 206 unittest.expect(o.groupByEmail, unittest.equals('foo')); | 208 unittest.expect(o.groupByEmail, unittest.equals('foo')); |
| 207 unittest.expect(o.role, unittest.equals('foo')); | 209 unittest.expect(o.role, unittest.equals('foo')); |
| 208 unittest.expect(o.specialGroup, unittest.equals('foo')); | 210 unittest.expect(o.specialGroup, unittest.equals('foo')); |
| 209 unittest.expect(o.userByEmail, unittest.equals('foo')); | 211 unittest.expect(o.userByEmail, unittest.equals('foo')); |
| 210 checkTableReference(o.view); | 212 checkTableReference(o.view); |
| 211 } | 213 } |
| 212 buildCounterDatasetAccess--; | 214 buildCounterDatasetAccess--; |
| 213 } | 215 } |
| 214 | 216 |
| 215 buildUnnamed2924() { | 217 buildUnnamed487() { |
| 216 var o = new core.List<api.DatasetAccess>(); | 218 var o = new core.List<api.DatasetAccess>(); |
| 217 o.add(buildDatasetAccess()); | 219 o.add(buildDatasetAccess()); |
| 218 o.add(buildDatasetAccess()); | 220 o.add(buildDatasetAccess()); |
| 219 return o; | 221 return o; |
| 220 } | 222 } |
| 221 | 223 |
| 222 checkUnnamed2924(core.List<api.DatasetAccess> o) { | 224 checkUnnamed487(core.List<api.DatasetAccess> o) { |
| 223 unittest.expect(o, unittest.hasLength(2)); | 225 unittest.expect(o, unittest.hasLength(2)); |
| 224 checkDatasetAccess(o[0]); | 226 checkDatasetAccess(o[0]); |
| 225 checkDatasetAccess(o[1]); | 227 checkDatasetAccess(o[1]); |
| 226 } | 228 } |
| 227 | 229 |
| 228 buildUnnamed2925() { | 230 buildUnnamed488() { |
| 229 var o = new core.Map<core.String, core.String>(); | 231 var o = new core.Map<core.String, core.String>(); |
| 230 o["x"] = "foo"; | 232 o["x"] = "foo"; |
| 231 o["y"] = "foo"; | 233 o["y"] = "foo"; |
| 232 return o; | 234 return o; |
| 233 } | 235 } |
| 234 | 236 |
| 235 checkUnnamed2925(core.Map<core.String, core.String> o) { | 237 checkUnnamed488(core.Map<core.String, core.String> o) { |
| 236 unittest.expect(o, unittest.hasLength(2)); | 238 unittest.expect(o, unittest.hasLength(2)); |
| 237 unittest.expect(o["x"], unittest.equals('foo')); | 239 unittest.expect(o["x"], unittest.equals('foo')); |
| 238 unittest.expect(o["y"], unittest.equals('foo')); | 240 unittest.expect(o["y"], unittest.equals('foo')); |
| 239 } | 241 } |
| 240 | 242 |
| 241 core.int buildCounterDataset = 0; | 243 core.int buildCounterDataset = 0; |
| 242 buildDataset() { | 244 buildDataset() { |
| 243 var o = new api.Dataset(); | 245 var o = new api.Dataset(); |
| 244 buildCounterDataset++; | 246 buildCounterDataset++; |
| 245 if (buildCounterDataset < 3) { | 247 if (buildCounterDataset < 3) { |
| 246 o.access = buildUnnamed2924(); | 248 o.access = buildUnnamed487(); |
| 247 o.creationTime = "foo"; | 249 o.creationTime = "foo"; |
| 248 o.datasetReference = buildDatasetReference(); | 250 o.datasetReference = buildDatasetReference(); |
| 249 o.defaultTableExpirationMs = "foo"; | 251 o.defaultTableExpirationMs = "foo"; |
| 250 o.description = "foo"; | 252 o.description = "foo"; |
| 251 o.etag = "foo"; | 253 o.etag = "foo"; |
| 252 o.friendlyName = "foo"; | 254 o.friendlyName = "foo"; |
| 253 o.id = "foo"; | 255 o.id = "foo"; |
| 254 o.kind = "foo"; | 256 o.kind = "foo"; |
| 255 o.labels = buildUnnamed2925(); | 257 o.labels = buildUnnamed488(); |
| 256 o.lastModifiedTime = "foo"; | 258 o.lastModifiedTime = "foo"; |
| 257 o.location = "foo"; | 259 o.location = "foo"; |
| 258 o.selfLink = "foo"; | 260 o.selfLink = "foo"; |
| 259 } | 261 } |
| 260 buildCounterDataset--; | 262 buildCounterDataset--; |
| 261 return o; | 263 return o; |
| 262 } | 264 } |
| 263 | 265 |
| 264 checkDataset(api.Dataset o) { | 266 checkDataset(api.Dataset o) { |
| 265 buildCounterDataset++; | 267 buildCounterDataset++; |
| 266 if (buildCounterDataset < 3) { | 268 if (buildCounterDataset < 3) { |
| 267 checkUnnamed2924(o.access); | 269 checkUnnamed487(o.access); |
| 268 unittest.expect(o.creationTime, unittest.equals('foo')); | 270 unittest.expect(o.creationTime, unittest.equals('foo')); |
| 269 checkDatasetReference(o.datasetReference); | 271 checkDatasetReference(o.datasetReference); |
| 270 unittest.expect(o.defaultTableExpirationMs, unittest.equals('foo')); | 272 unittest.expect(o.defaultTableExpirationMs, unittest.equals('foo')); |
| 271 unittest.expect(o.description, unittest.equals('foo')); | 273 unittest.expect(o.description, unittest.equals('foo')); |
| 272 unittest.expect(o.etag, unittest.equals('foo')); | 274 unittest.expect(o.etag, unittest.equals('foo')); |
| 273 unittest.expect(o.friendlyName, unittest.equals('foo')); | 275 unittest.expect(o.friendlyName, unittest.equals('foo')); |
| 274 unittest.expect(o.id, unittest.equals('foo')); | 276 unittest.expect(o.id, unittest.equals('foo')); |
| 275 unittest.expect(o.kind, unittest.equals('foo')); | 277 unittest.expect(o.kind, unittest.equals('foo')); |
| 276 checkUnnamed2925(o.labels); | 278 checkUnnamed488(o.labels); |
| 277 unittest.expect(o.lastModifiedTime, unittest.equals('foo')); | 279 unittest.expect(o.lastModifiedTime, unittest.equals('foo')); |
| 278 unittest.expect(o.location, unittest.equals('foo')); | 280 unittest.expect(o.location, unittest.equals('foo')); |
| 279 unittest.expect(o.selfLink, unittest.equals('foo')); | 281 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 280 } | 282 } |
| 281 buildCounterDataset--; | 283 buildCounterDataset--; |
| 282 } | 284 } |
| 283 | 285 |
| 284 buildUnnamed2926() { | 286 buildUnnamed489() { |
| 285 var o = new core.Map<core.String, core.String>(); | 287 var o = new core.Map<core.String, core.String>(); |
| 286 o["x"] = "foo"; | 288 o["x"] = "foo"; |
| 287 o["y"] = "foo"; | 289 o["y"] = "foo"; |
| 288 return o; | 290 return o; |
| 289 } | 291 } |
| 290 | 292 |
| 291 checkUnnamed2926(core.Map<core.String, core.String> o) { | 293 checkUnnamed489(core.Map<core.String, core.String> o) { |
| 292 unittest.expect(o, unittest.hasLength(2)); | 294 unittest.expect(o, unittest.hasLength(2)); |
| 293 unittest.expect(o["x"], unittest.equals('foo')); | 295 unittest.expect(o["x"], unittest.equals('foo')); |
| 294 unittest.expect(o["y"], unittest.equals('foo')); | 296 unittest.expect(o["y"], unittest.equals('foo')); |
| 295 } | 297 } |
| 296 | 298 |
| 297 core.int buildCounterDatasetListDatasets = 0; | 299 core.int buildCounterDatasetListDatasets = 0; |
| 298 buildDatasetListDatasets() { | 300 buildDatasetListDatasets() { |
| 299 var o = new api.DatasetListDatasets(); | 301 var o = new api.DatasetListDatasets(); |
| 300 buildCounterDatasetListDatasets++; | 302 buildCounterDatasetListDatasets++; |
| 301 if (buildCounterDatasetListDatasets < 3) { | 303 if (buildCounterDatasetListDatasets < 3) { |
| 302 o.datasetReference = buildDatasetReference(); | 304 o.datasetReference = buildDatasetReference(); |
| 303 o.friendlyName = "foo"; | 305 o.friendlyName = "foo"; |
| 304 o.id = "foo"; | 306 o.id = "foo"; |
| 305 o.kind = "foo"; | 307 o.kind = "foo"; |
| 306 o.labels = buildUnnamed2926(); | 308 o.labels = buildUnnamed489(); |
| 307 } | 309 } |
| 308 buildCounterDatasetListDatasets--; | 310 buildCounterDatasetListDatasets--; |
| 309 return o; | 311 return o; |
| 310 } | 312 } |
| 311 | 313 |
| 312 checkDatasetListDatasets(api.DatasetListDatasets o) { | 314 checkDatasetListDatasets(api.DatasetListDatasets o) { |
| 313 buildCounterDatasetListDatasets++; | 315 buildCounterDatasetListDatasets++; |
| 314 if (buildCounterDatasetListDatasets < 3) { | 316 if (buildCounterDatasetListDatasets < 3) { |
| 315 checkDatasetReference(o.datasetReference); | 317 checkDatasetReference(o.datasetReference); |
| 316 unittest.expect(o.friendlyName, unittest.equals('foo')); | 318 unittest.expect(o.friendlyName, unittest.equals('foo')); |
| 317 unittest.expect(o.id, unittest.equals('foo')); | 319 unittest.expect(o.id, unittest.equals('foo')); |
| 318 unittest.expect(o.kind, unittest.equals('foo')); | 320 unittest.expect(o.kind, unittest.equals('foo')); |
| 319 checkUnnamed2926(o.labels); | 321 checkUnnamed489(o.labels); |
| 320 } | 322 } |
| 321 buildCounterDatasetListDatasets--; | 323 buildCounterDatasetListDatasets--; |
| 322 } | 324 } |
| 323 | 325 |
| 324 buildUnnamed2927() { | 326 buildUnnamed490() { |
| 325 var o = new core.List<api.DatasetListDatasets>(); | 327 var o = new core.List<api.DatasetListDatasets>(); |
| 326 o.add(buildDatasetListDatasets()); | 328 o.add(buildDatasetListDatasets()); |
| 327 o.add(buildDatasetListDatasets()); | 329 o.add(buildDatasetListDatasets()); |
| 328 return o; | 330 return o; |
| 329 } | 331 } |
| 330 | 332 |
| 331 checkUnnamed2927(core.List<api.DatasetListDatasets> o) { | 333 checkUnnamed490(core.List<api.DatasetListDatasets> o) { |
| 332 unittest.expect(o, unittest.hasLength(2)); | 334 unittest.expect(o, unittest.hasLength(2)); |
| 333 checkDatasetListDatasets(o[0]); | 335 checkDatasetListDatasets(o[0]); |
| 334 checkDatasetListDatasets(o[1]); | 336 checkDatasetListDatasets(o[1]); |
| 335 } | 337 } |
| 336 | 338 |
| 337 core.int buildCounterDatasetList = 0; | 339 core.int buildCounterDatasetList = 0; |
| 338 buildDatasetList() { | 340 buildDatasetList() { |
| 339 var o = new api.DatasetList(); | 341 var o = new api.DatasetList(); |
| 340 buildCounterDatasetList++; | 342 buildCounterDatasetList++; |
| 341 if (buildCounterDatasetList < 3) { | 343 if (buildCounterDatasetList < 3) { |
| 342 o.datasets = buildUnnamed2927(); | 344 o.datasets = buildUnnamed490(); |
| 343 o.etag = "foo"; | 345 o.etag = "foo"; |
| 344 o.kind = "foo"; | 346 o.kind = "foo"; |
| 345 o.nextPageToken = "foo"; | 347 o.nextPageToken = "foo"; |
| 346 } | 348 } |
| 347 buildCounterDatasetList--; | 349 buildCounterDatasetList--; |
| 348 return o; | 350 return o; |
| 349 } | 351 } |
| 350 | 352 |
| 351 checkDatasetList(api.DatasetList o) { | 353 checkDatasetList(api.DatasetList o) { |
| 352 buildCounterDatasetList++; | 354 buildCounterDatasetList++; |
| 353 if (buildCounterDatasetList < 3) { | 355 if (buildCounterDatasetList < 3) { |
| 354 checkUnnamed2927(o.datasets); | 356 checkUnnamed490(o.datasets); |
| 355 unittest.expect(o.etag, unittest.equals('foo')); | 357 unittest.expect(o.etag, unittest.equals('foo')); |
| 356 unittest.expect(o.kind, unittest.equals('foo')); | 358 unittest.expect(o.kind, unittest.equals('foo')); |
| 357 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 359 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 358 } | 360 } |
| 359 buildCounterDatasetList--; | 361 buildCounterDatasetList--; |
| 360 } | 362 } |
| 361 | 363 |
| 362 core.int buildCounterDatasetReference = 0; | 364 core.int buildCounterDatasetReference = 0; |
| 363 buildDatasetReference() { | 365 buildDatasetReference() { |
| 364 var o = new api.DatasetReference(); | 366 var o = new api.DatasetReference(); |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 398 buildCounterErrorProto++; | 400 buildCounterErrorProto++; |
| 399 if (buildCounterErrorProto < 3) { | 401 if (buildCounterErrorProto < 3) { |
| 400 unittest.expect(o.debugInfo, unittest.equals('foo')); | 402 unittest.expect(o.debugInfo, unittest.equals('foo')); |
| 401 unittest.expect(o.location, unittest.equals('foo')); | 403 unittest.expect(o.location, unittest.equals('foo')); |
| 402 unittest.expect(o.message, unittest.equals('foo')); | 404 unittest.expect(o.message, unittest.equals('foo')); |
| 403 unittest.expect(o.reason, unittest.equals('foo')); | 405 unittest.expect(o.reason, unittest.equals('foo')); |
| 404 } | 406 } |
| 405 buildCounterErrorProto--; | 407 buildCounterErrorProto--; |
| 406 } | 408 } |
| 407 | 409 |
| 408 buildUnnamed2928() { | 410 buildUnnamed491() { |
| 409 var o = new core.List<api.ExplainQueryStep>(); | 411 var o = new core.List<api.ExplainQueryStep>(); |
| 410 o.add(buildExplainQueryStep()); | 412 o.add(buildExplainQueryStep()); |
| 411 o.add(buildExplainQueryStep()); | 413 o.add(buildExplainQueryStep()); |
| 412 return o; | 414 return o; |
| 413 } | 415 } |
| 414 | 416 |
| 415 checkUnnamed2928(core.List<api.ExplainQueryStep> o) { | 417 checkUnnamed491(core.List<api.ExplainQueryStep> o) { |
| 416 unittest.expect(o, unittest.hasLength(2)); | 418 unittest.expect(o, unittest.hasLength(2)); |
| 417 checkExplainQueryStep(o[0]); | 419 checkExplainQueryStep(o[0]); |
| 418 checkExplainQueryStep(o[1]); | 420 checkExplainQueryStep(o[1]); |
| 419 } | 421 } |
| 420 | 422 |
| 421 core.int buildCounterExplainQueryStage = 0; | 423 core.int buildCounterExplainQueryStage = 0; |
| 422 buildExplainQueryStage() { | 424 buildExplainQueryStage() { |
| 423 var o = new api.ExplainQueryStage(); | 425 var o = new api.ExplainQueryStage(); |
| 424 buildCounterExplainQueryStage++; | 426 buildCounterExplainQueryStage++; |
| 425 if (buildCounterExplainQueryStage < 3) { | 427 if (buildCounterExplainQueryStage < 3) { |
| 426 o.computeRatioAvg = 42.0; | 428 o.computeRatioAvg = 42.0; |
| 427 o.computeRatioMax = 42.0; | 429 o.computeRatioMax = 42.0; |
| 428 o.id = "foo"; | 430 o.id = "foo"; |
| 429 o.name = "foo"; | 431 o.name = "foo"; |
| 430 o.readRatioAvg = 42.0; | 432 o.readRatioAvg = 42.0; |
| 431 o.readRatioMax = 42.0; | 433 o.readRatioMax = 42.0; |
| 432 o.recordsRead = "foo"; | 434 o.recordsRead = "foo"; |
| 433 o.recordsWritten = "foo"; | 435 o.recordsWritten = "foo"; |
| 434 o.steps = buildUnnamed2928(); | 436 o.steps = buildUnnamed491(); |
| 435 o.waitRatioAvg = 42.0; | 437 o.waitRatioAvg = 42.0; |
| 436 o.waitRatioMax = 42.0; | 438 o.waitRatioMax = 42.0; |
| 437 o.writeRatioAvg = 42.0; | 439 o.writeRatioAvg = 42.0; |
| 438 o.writeRatioMax = 42.0; | 440 o.writeRatioMax = 42.0; |
| 439 } | 441 } |
| 440 buildCounterExplainQueryStage--; | 442 buildCounterExplainQueryStage--; |
| 441 return o; | 443 return o; |
| 442 } | 444 } |
| 443 | 445 |
| 444 checkExplainQueryStage(api.ExplainQueryStage o) { | 446 checkExplainQueryStage(api.ExplainQueryStage o) { |
| 445 buildCounterExplainQueryStage++; | 447 buildCounterExplainQueryStage++; |
| 446 if (buildCounterExplainQueryStage < 3) { | 448 if (buildCounterExplainQueryStage < 3) { |
| 447 unittest.expect(o.computeRatioAvg, unittest.equals(42.0)); | 449 unittest.expect(o.computeRatioAvg, unittest.equals(42.0)); |
| 448 unittest.expect(o.computeRatioMax, unittest.equals(42.0)); | 450 unittest.expect(o.computeRatioMax, unittest.equals(42.0)); |
| 449 unittest.expect(o.id, unittest.equals('foo')); | 451 unittest.expect(o.id, unittest.equals('foo')); |
| 450 unittest.expect(o.name, unittest.equals('foo')); | 452 unittest.expect(o.name, unittest.equals('foo')); |
| 451 unittest.expect(o.readRatioAvg, unittest.equals(42.0)); | 453 unittest.expect(o.readRatioAvg, unittest.equals(42.0)); |
| 452 unittest.expect(o.readRatioMax, unittest.equals(42.0)); | 454 unittest.expect(o.readRatioMax, unittest.equals(42.0)); |
| 453 unittest.expect(o.recordsRead, unittest.equals('foo')); | 455 unittest.expect(o.recordsRead, unittest.equals('foo')); |
| 454 unittest.expect(o.recordsWritten, unittest.equals('foo')); | 456 unittest.expect(o.recordsWritten, unittest.equals('foo')); |
| 455 checkUnnamed2928(o.steps); | 457 checkUnnamed491(o.steps); |
| 456 unittest.expect(o.waitRatioAvg, unittest.equals(42.0)); | 458 unittest.expect(o.waitRatioAvg, unittest.equals(42.0)); |
| 457 unittest.expect(o.waitRatioMax, unittest.equals(42.0)); | 459 unittest.expect(o.waitRatioMax, unittest.equals(42.0)); |
| 458 unittest.expect(o.writeRatioAvg, unittest.equals(42.0)); | 460 unittest.expect(o.writeRatioAvg, unittest.equals(42.0)); |
| 459 unittest.expect(o.writeRatioMax, unittest.equals(42.0)); | 461 unittest.expect(o.writeRatioMax, unittest.equals(42.0)); |
| 460 } | 462 } |
| 461 buildCounterExplainQueryStage--; | 463 buildCounterExplainQueryStage--; |
| 462 } | 464 } |
| 463 | 465 |
| 464 buildUnnamed2929() { | 466 buildUnnamed492() { |
| 465 var o = new core.List<core.String>(); | 467 var o = new core.List<core.String>(); |
| 466 o.add("foo"); | 468 o.add("foo"); |
| 467 o.add("foo"); | 469 o.add("foo"); |
| 468 return o; | 470 return o; |
| 469 } | 471 } |
| 470 | 472 |
| 471 checkUnnamed2929(core.List<core.String> o) { | 473 checkUnnamed492(core.List<core.String> o) { |
| 472 unittest.expect(o, unittest.hasLength(2)); | 474 unittest.expect(o, unittest.hasLength(2)); |
| 473 unittest.expect(o[0], unittest.equals('foo')); | 475 unittest.expect(o[0], unittest.equals('foo')); |
| 474 unittest.expect(o[1], unittest.equals('foo')); | 476 unittest.expect(o[1], unittest.equals('foo')); |
| 475 } | 477 } |
| 476 | 478 |
| 477 core.int buildCounterExplainQueryStep = 0; | 479 core.int buildCounterExplainQueryStep = 0; |
| 478 buildExplainQueryStep() { | 480 buildExplainQueryStep() { |
| 479 var o = new api.ExplainQueryStep(); | 481 var o = new api.ExplainQueryStep(); |
| 480 buildCounterExplainQueryStep++; | 482 buildCounterExplainQueryStep++; |
| 481 if (buildCounterExplainQueryStep < 3) { | 483 if (buildCounterExplainQueryStep < 3) { |
| 482 o.kind = "foo"; | 484 o.kind = "foo"; |
| 483 o.substeps = buildUnnamed2929(); | 485 o.substeps = buildUnnamed492(); |
| 484 } | 486 } |
| 485 buildCounterExplainQueryStep--; | 487 buildCounterExplainQueryStep--; |
| 486 return o; | 488 return o; |
| 487 } | 489 } |
| 488 | 490 |
| 489 checkExplainQueryStep(api.ExplainQueryStep o) { | 491 checkExplainQueryStep(api.ExplainQueryStep o) { |
| 490 buildCounterExplainQueryStep++; | 492 buildCounterExplainQueryStep++; |
| 491 if (buildCounterExplainQueryStep < 3) { | 493 if (buildCounterExplainQueryStep < 3) { |
| 492 unittest.expect(o.kind, unittest.equals('foo')); | 494 unittest.expect(o.kind, unittest.equals('foo')); |
| 493 checkUnnamed2929(o.substeps); | 495 checkUnnamed492(o.substeps); |
| 494 } | 496 } |
| 495 buildCounterExplainQueryStep--; | 497 buildCounterExplainQueryStep--; |
| 496 } | 498 } |
| 497 | 499 |
| 498 buildUnnamed2930() { | 500 buildUnnamed493() { |
| 499 var o = new core.List<core.String>(); | 501 var o = new core.List<core.String>(); |
| 500 o.add("foo"); | 502 o.add("foo"); |
| 501 o.add("foo"); | 503 o.add("foo"); |
| 502 return o; | 504 return o; |
| 503 } | 505 } |
| 504 | 506 |
| 505 checkUnnamed2930(core.List<core.String> o) { | 507 checkUnnamed493(core.List<core.String> o) { |
| 506 unittest.expect(o, unittest.hasLength(2)); | 508 unittest.expect(o, unittest.hasLength(2)); |
| 507 unittest.expect(o[0], unittest.equals('foo')); | 509 unittest.expect(o[0], unittest.equals('foo')); |
| 508 unittest.expect(o[1], unittest.equals('foo')); | 510 unittest.expect(o[1], unittest.equals('foo')); |
| 509 } | 511 } |
| 510 | 512 |
| 511 core.int buildCounterExternalDataConfiguration = 0; | 513 core.int buildCounterExternalDataConfiguration = 0; |
| 512 buildExternalDataConfiguration() { | 514 buildExternalDataConfiguration() { |
| 513 var o = new api.ExternalDataConfiguration(); | 515 var o = new api.ExternalDataConfiguration(); |
| 514 buildCounterExternalDataConfiguration++; | 516 buildCounterExternalDataConfiguration++; |
| 515 if (buildCounterExternalDataConfiguration < 3) { | 517 if (buildCounterExternalDataConfiguration < 3) { |
| 516 o.autodetect = true; | 518 o.autodetect = true; |
| 517 o.bigtableOptions = buildBigtableOptions(); | 519 o.bigtableOptions = buildBigtableOptions(); |
| 518 o.compression = "foo"; | 520 o.compression = "foo"; |
| 519 o.csvOptions = buildCsvOptions(); | 521 o.csvOptions = buildCsvOptions(); |
| 520 o.googleSheetsOptions = buildGoogleSheetsOptions(); | 522 o.googleSheetsOptions = buildGoogleSheetsOptions(); |
| 521 o.ignoreUnknownValues = true; | 523 o.ignoreUnknownValues = true; |
| 522 o.maxBadRecords = 42; | 524 o.maxBadRecords = 42; |
| 523 o.schema = buildTableSchema(); | 525 o.schema = buildTableSchema(); |
| 524 o.sourceFormat = "foo"; | 526 o.sourceFormat = "foo"; |
| 525 o.sourceUris = buildUnnamed2930(); | 527 o.sourceUris = buildUnnamed493(); |
| 526 } | 528 } |
| 527 buildCounterExternalDataConfiguration--; | 529 buildCounterExternalDataConfiguration--; |
| 528 return o; | 530 return o; |
| 529 } | 531 } |
| 530 | 532 |
| 531 checkExternalDataConfiguration(api.ExternalDataConfiguration o) { | 533 checkExternalDataConfiguration(api.ExternalDataConfiguration o) { |
| 532 buildCounterExternalDataConfiguration++; | 534 buildCounterExternalDataConfiguration++; |
| 533 if (buildCounterExternalDataConfiguration < 3) { | 535 if (buildCounterExternalDataConfiguration < 3) { |
| 534 unittest.expect(o.autodetect, unittest.isTrue); | 536 unittest.expect(o.autodetect, unittest.isTrue); |
| 535 checkBigtableOptions(o.bigtableOptions); | 537 checkBigtableOptions(o.bigtableOptions); |
| 536 unittest.expect(o.compression, unittest.equals('foo')); | 538 unittest.expect(o.compression, unittest.equals('foo')); |
| 537 checkCsvOptions(o.csvOptions); | 539 checkCsvOptions(o.csvOptions); |
| 538 checkGoogleSheetsOptions(o.googleSheetsOptions); | 540 checkGoogleSheetsOptions(o.googleSheetsOptions); |
| 539 unittest.expect(o.ignoreUnknownValues, unittest.isTrue); | 541 unittest.expect(o.ignoreUnknownValues, unittest.isTrue); |
| 540 unittest.expect(o.maxBadRecords, unittest.equals(42)); | 542 unittest.expect(o.maxBadRecords, unittest.equals(42)); |
| 541 checkTableSchema(o.schema); | 543 checkTableSchema(o.schema); |
| 542 unittest.expect(o.sourceFormat, unittest.equals('foo')); | 544 unittest.expect(o.sourceFormat, unittest.equals('foo')); |
| 543 checkUnnamed2930(o.sourceUris); | 545 checkUnnamed493(o.sourceUris); |
| 544 } | 546 } |
| 545 buildCounterExternalDataConfiguration--; | 547 buildCounterExternalDataConfiguration--; |
| 546 } | 548 } |
| 547 | 549 |
| 548 buildUnnamed2931() { | 550 buildUnnamed494() { |
| 549 var o = new core.List<api.ErrorProto>(); | 551 var o = new core.List<api.ErrorProto>(); |
| 550 o.add(buildErrorProto()); | 552 o.add(buildErrorProto()); |
| 551 o.add(buildErrorProto()); | 553 o.add(buildErrorProto()); |
| 552 return o; | 554 return o; |
| 553 } | 555 } |
| 554 | 556 |
| 555 checkUnnamed2931(core.List<api.ErrorProto> o) { | 557 checkUnnamed494(core.List<api.ErrorProto> o) { |
| 556 unittest.expect(o, unittest.hasLength(2)); | 558 unittest.expect(o, unittest.hasLength(2)); |
| 557 checkErrorProto(o[0]); | 559 checkErrorProto(o[0]); |
| 558 checkErrorProto(o[1]); | 560 checkErrorProto(o[1]); |
| 559 } | 561 } |
| 560 | 562 |
| 561 buildUnnamed2932() { | 563 buildUnnamed495() { |
| 562 var o = new core.List<api.TableRow>(); | 564 var o = new core.List<api.TableRow>(); |
| 563 o.add(buildTableRow()); | 565 o.add(buildTableRow()); |
| 564 o.add(buildTableRow()); | 566 o.add(buildTableRow()); |
| 565 return o; | 567 return o; |
| 566 } | 568 } |
| 567 | 569 |
| 568 checkUnnamed2932(core.List<api.TableRow> o) { | 570 checkUnnamed495(core.List<api.TableRow> o) { |
| 569 unittest.expect(o, unittest.hasLength(2)); | 571 unittest.expect(o, unittest.hasLength(2)); |
| 570 checkTableRow(o[0]); | 572 checkTableRow(o[0]); |
| 571 checkTableRow(o[1]); | 573 checkTableRow(o[1]); |
| 572 } | 574 } |
| 573 | 575 |
| 574 core.int buildCounterGetQueryResultsResponse = 0; | 576 core.int buildCounterGetQueryResultsResponse = 0; |
| 575 buildGetQueryResultsResponse() { | 577 buildGetQueryResultsResponse() { |
| 576 var o = new api.GetQueryResultsResponse(); | 578 var o = new api.GetQueryResultsResponse(); |
| 577 buildCounterGetQueryResultsResponse++; | 579 buildCounterGetQueryResultsResponse++; |
| 578 if (buildCounterGetQueryResultsResponse < 3) { | 580 if (buildCounterGetQueryResultsResponse < 3) { |
| 579 o.cacheHit = true; | 581 o.cacheHit = true; |
| 580 o.errors = buildUnnamed2931(); | 582 o.errors = buildUnnamed494(); |
| 581 o.etag = "foo"; | 583 o.etag = "foo"; |
| 582 o.jobComplete = true; | 584 o.jobComplete = true; |
| 583 o.jobReference = buildJobReference(); | 585 o.jobReference = buildJobReference(); |
| 584 o.kind = "foo"; | 586 o.kind = "foo"; |
| 587 o.numDmlAffectedRows = "foo"; |
| 585 o.pageToken = "foo"; | 588 o.pageToken = "foo"; |
| 586 o.rows = buildUnnamed2932(); | 589 o.rows = buildUnnamed495(); |
| 587 o.schema = buildTableSchema(); | 590 o.schema = buildTableSchema(); |
| 588 o.totalBytesProcessed = "foo"; | 591 o.totalBytesProcessed = "foo"; |
| 589 o.totalRows = "foo"; | 592 o.totalRows = "foo"; |
| 590 } | 593 } |
| 591 buildCounterGetQueryResultsResponse--; | 594 buildCounterGetQueryResultsResponse--; |
| 592 return o; | 595 return o; |
| 593 } | 596 } |
| 594 | 597 |
| 595 checkGetQueryResultsResponse(api.GetQueryResultsResponse o) { | 598 checkGetQueryResultsResponse(api.GetQueryResultsResponse o) { |
| 596 buildCounterGetQueryResultsResponse++; | 599 buildCounterGetQueryResultsResponse++; |
| 597 if (buildCounterGetQueryResultsResponse < 3) { | 600 if (buildCounterGetQueryResultsResponse < 3) { |
| 598 unittest.expect(o.cacheHit, unittest.isTrue); | 601 unittest.expect(o.cacheHit, unittest.isTrue); |
| 599 checkUnnamed2931(o.errors); | 602 checkUnnamed494(o.errors); |
| 600 unittest.expect(o.etag, unittest.equals('foo')); | 603 unittest.expect(o.etag, unittest.equals('foo')); |
| 601 unittest.expect(o.jobComplete, unittest.isTrue); | 604 unittest.expect(o.jobComplete, unittest.isTrue); |
| 602 checkJobReference(o.jobReference); | 605 checkJobReference(o.jobReference); |
| 603 unittest.expect(o.kind, unittest.equals('foo')); | 606 unittest.expect(o.kind, unittest.equals('foo')); |
| 607 unittest.expect(o.numDmlAffectedRows, unittest.equals('foo')); |
| 604 unittest.expect(o.pageToken, unittest.equals('foo')); | 608 unittest.expect(o.pageToken, unittest.equals('foo')); |
| 605 checkUnnamed2932(o.rows); | 609 checkUnnamed495(o.rows); |
| 606 checkTableSchema(o.schema); | 610 checkTableSchema(o.schema); |
| 607 unittest.expect(o.totalBytesProcessed, unittest.equals('foo')); | 611 unittest.expect(o.totalBytesProcessed, unittest.equals('foo')); |
| 608 unittest.expect(o.totalRows, unittest.equals('foo')); | 612 unittest.expect(o.totalRows, unittest.equals('foo')); |
| 609 } | 613 } |
| 610 buildCounterGetQueryResultsResponse--; | 614 buildCounterGetQueryResultsResponse--; |
| 611 } | 615 } |
| 612 | 616 |
| 613 core.int buildCounterGoogleSheetsOptions = 0; | 617 core.int buildCounterGoogleSheetsOptions = 0; |
| 614 buildGoogleSheetsOptions() { | 618 buildGoogleSheetsOptions() { |
| 615 var o = new api.GoogleSheetsOptions(); | 619 var o = new api.GoogleSheetsOptions(); |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 705 if (buildCounterJobConfiguration < 3) { | 709 if (buildCounterJobConfiguration < 3) { |
| 706 checkJobConfigurationTableCopy(o.copy); | 710 checkJobConfigurationTableCopy(o.copy); |
| 707 unittest.expect(o.dryRun, unittest.isTrue); | 711 unittest.expect(o.dryRun, unittest.isTrue); |
| 708 checkJobConfigurationExtract(o.extract); | 712 checkJobConfigurationExtract(o.extract); |
| 709 checkJobConfigurationLoad(o.load); | 713 checkJobConfigurationLoad(o.load); |
| 710 checkJobConfigurationQuery(o.query); | 714 checkJobConfigurationQuery(o.query); |
| 711 } | 715 } |
| 712 buildCounterJobConfiguration--; | 716 buildCounterJobConfiguration--; |
| 713 } | 717 } |
| 714 | 718 |
| 715 buildUnnamed2933() { | 719 buildUnnamed496() { |
| 716 var o = new core.List<core.String>(); | 720 var o = new core.List<core.String>(); |
| 717 o.add("foo"); | 721 o.add("foo"); |
| 718 o.add("foo"); | 722 o.add("foo"); |
| 719 return o; | 723 return o; |
| 720 } | 724 } |
| 721 | 725 |
| 722 checkUnnamed2933(core.List<core.String> o) { | 726 checkUnnamed496(core.List<core.String> o) { |
| 723 unittest.expect(o, unittest.hasLength(2)); | 727 unittest.expect(o, unittest.hasLength(2)); |
| 724 unittest.expect(o[0], unittest.equals('foo')); | 728 unittest.expect(o[0], unittest.equals('foo')); |
| 725 unittest.expect(o[1], unittest.equals('foo')); | 729 unittest.expect(o[1], unittest.equals('foo')); |
| 726 } | 730 } |
| 727 | 731 |
| 728 core.int buildCounterJobConfigurationExtract = 0; | 732 core.int buildCounterJobConfigurationExtract = 0; |
| 729 buildJobConfigurationExtract() { | 733 buildJobConfigurationExtract() { |
| 730 var o = new api.JobConfigurationExtract(); | 734 var o = new api.JobConfigurationExtract(); |
| 731 buildCounterJobConfigurationExtract++; | 735 buildCounterJobConfigurationExtract++; |
| 732 if (buildCounterJobConfigurationExtract < 3) { | 736 if (buildCounterJobConfigurationExtract < 3) { |
| 733 o.compression = "foo"; | 737 o.compression = "foo"; |
| 734 o.destinationFormat = "foo"; | 738 o.destinationFormat = "foo"; |
| 735 o.destinationUri = "foo"; | 739 o.destinationUri = "foo"; |
| 736 o.destinationUris = buildUnnamed2933(); | 740 o.destinationUris = buildUnnamed496(); |
| 737 o.fieldDelimiter = "foo"; | 741 o.fieldDelimiter = "foo"; |
| 738 o.printHeader = true; | 742 o.printHeader = true; |
| 739 o.sourceTable = buildTableReference(); | 743 o.sourceTable = buildTableReference(); |
| 740 } | 744 } |
| 741 buildCounterJobConfigurationExtract--; | 745 buildCounterJobConfigurationExtract--; |
| 742 return o; | 746 return o; |
| 743 } | 747 } |
| 744 | 748 |
| 745 checkJobConfigurationExtract(api.JobConfigurationExtract o) { | 749 checkJobConfigurationExtract(api.JobConfigurationExtract o) { |
| 746 buildCounterJobConfigurationExtract++; | 750 buildCounterJobConfigurationExtract++; |
| 747 if (buildCounterJobConfigurationExtract < 3) { | 751 if (buildCounterJobConfigurationExtract < 3) { |
| 748 unittest.expect(o.compression, unittest.equals('foo')); | 752 unittest.expect(o.compression, unittest.equals('foo')); |
| 749 unittest.expect(o.destinationFormat, unittest.equals('foo')); | 753 unittest.expect(o.destinationFormat, unittest.equals('foo')); |
| 750 unittest.expect(o.destinationUri, unittest.equals('foo')); | 754 unittest.expect(o.destinationUri, unittest.equals('foo')); |
| 751 checkUnnamed2933(o.destinationUris); | 755 checkUnnamed496(o.destinationUris); |
| 752 unittest.expect(o.fieldDelimiter, unittest.equals('foo')); | 756 unittest.expect(o.fieldDelimiter, unittest.equals('foo')); |
| 753 unittest.expect(o.printHeader, unittest.isTrue); | 757 unittest.expect(o.printHeader, unittest.isTrue); |
| 754 checkTableReference(o.sourceTable); | 758 checkTableReference(o.sourceTable); |
| 755 } | 759 } |
| 756 buildCounterJobConfigurationExtract--; | 760 buildCounterJobConfigurationExtract--; |
| 757 } | 761 } |
| 758 | 762 |
| 759 buildUnnamed2934() { | 763 buildUnnamed497() { |
| 760 var o = new core.List<core.String>(); | 764 var o = new core.List<core.String>(); |
| 761 o.add("foo"); | 765 o.add("foo"); |
| 762 o.add("foo"); | 766 o.add("foo"); |
| 763 return o; | 767 return o; |
| 764 } | 768 } |
| 765 | 769 |
| 766 checkUnnamed2934(core.List<core.String> o) { | 770 checkUnnamed497(core.List<core.String> o) { |
| 767 unittest.expect(o, unittest.hasLength(2)); | 771 unittest.expect(o, unittest.hasLength(2)); |
| 768 unittest.expect(o[0], unittest.equals('foo')); | 772 unittest.expect(o[0], unittest.equals('foo')); |
| 769 unittest.expect(o[1], unittest.equals('foo')); | 773 unittest.expect(o[1], unittest.equals('foo')); |
| 770 } | 774 } |
| 771 | 775 |
| 772 buildUnnamed2935() { | 776 buildUnnamed498() { |
| 773 var o = new core.List<core.String>(); | 777 var o = new core.List<core.String>(); |
| 774 o.add("foo"); | 778 o.add("foo"); |
| 775 o.add("foo"); | 779 o.add("foo"); |
| 776 return o; | 780 return o; |
| 777 } | 781 } |
| 778 | 782 |
| 779 checkUnnamed2935(core.List<core.String> o) { | 783 checkUnnamed498(core.List<core.String> o) { |
| 780 unittest.expect(o, unittest.hasLength(2)); | 784 unittest.expect(o, unittest.hasLength(2)); |
| 781 unittest.expect(o[0], unittest.equals('foo')); | 785 unittest.expect(o[0], unittest.equals('foo')); |
| 782 unittest.expect(o[1], unittest.equals('foo')); | 786 unittest.expect(o[1], unittest.equals('foo')); |
| 783 } | 787 } |
| 784 | 788 |
| 785 core.int buildCounterJobConfigurationLoad = 0; | 789 core.int buildCounterJobConfigurationLoad = 0; |
| 786 buildJobConfigurationLoad() { | 790 buildJobConfigurationLoad() { |
| 787 var o = new api.JobConfigurationLoad(); | 791 var o = new api.JobConfigurationLoad(); |
| 788 buildCounterJobConfigurationLoad++; | 792 buildCounterJobConfigurationLoad++; |
| 789 if (buildCounterJobConfigurationLoad < 3) { | 793 if (buildCounterJobConfigurationLoad < 3) { |
| 790 o.allowJaggedRows = true; | 794 o.allowJaggedRows = true; |
| 791 o.allowQuotedNewlines = true; | 795 o.allowQuotedNewlines = true; |
| 792 o.autodetect = true; | 796 o.autodetect = true; |
| 793 o.createDisposition = "foo"; | 797 o.createDisposition = "foo"; |
| 794 o.destinationTable = buildTableReference(); | 798 o.destinationTable = buildTableReference(); |
| 795 o.encoding = "foo"; | 799 o.encoding = "foo"; |
| 796 o.fieldDelimiter = "foo"; | 800 o.fieldDelimiter = "foo"; |
| 797 o.ignoreUnknownValues = true; | 801 o.ignoreUnknownValues = true; |
| 798 o.maxBadRecords = 42; | 802 o.maxBadRecords = 42; |
| 799 o.projectionFields = buildUnnamed2934(); | 803 o.projectionFields = buildUnnamed497(); |
| 800 o.quote = "foo"; | 804 o.quote = "foo"; |
| 801 o.schema = buildTableSchema(); | 805 o.schema = buildTableSchema(); |
| 802 o.schemaInline = "foo"; | 806 o.schemaInline = "foo"; |
| 803 o.schemaInlineFormat = "foo"; | 807 o.schemaInlineFormat = "foo"; |
| 804 o.skipLeadingRows = 42; | 808 o.skipLeadingRows = 42; |
| 805 o.sourceFormat = "foo"; | 809 o.sourceFormat = "foo"; |
| 806 o.sourceUris = buildUnnamed2935(); | 810 o.sourceUris = buildUnnamed498(); |
| 807 o.writeDisposition = "foo"; | 811 o.writeDisposition = "foo"; |
| 808 } | 812 } |
| 809 buildCounterJobConfigurationLoad--; | 813 buildCounterJobConfigurationLoad--; |
| 810 return o; | 814 return o; |
| 811 } | 815 } |
| 812 | 816 |
| 813 checkJobConfigurationLoad(api.JobConfigurationLoad o) { | 817 checkJobConfigurationLoad(api.JobConfigurationLoad o) { |
| 814 buildCounterJobConfigurationLoad++; | 818 buildCounterJobConfigurationLoad++; |
| 815 if (buildCounterJobConfigurationLoad < 3) { | 819 if (buildCounterJobConfigurationLoad < 3) { |
| 816 unittest.expect(o.allowJaggedRows, unittest.isTrue); | 820 unittest.expect(o.allowJaggedRows, unittest.isTrue); |
| 817 unittest.expect(o.allowQuotedNewlines, unittest.isTrue); | 821 unittest.expect(o.allowQuotedNewlines, unittest.isTrue); |
| 818 unittest.expect(o.autodetect, unittest.isTrue); | 822 unittest.expect(o.autodetect, unittest.isTrue); |
| 819 unittest.expect(o.createDisposition, unittest.equals('foo')); | 823 unittest.expect(o.createDisposition, unittest.equals('foo')); |
| 820 checkTableReference(o.destinationTable); | 824 checkTableReference(o.destinationTable); |
| 821 unittest.expect(o.encoding, unittest.equals('foo')); | 825 unittest.expect(o.encoding, unittest.equals('foo')); |
| 822 unittest.expect(o.fieldDelimiter, unittest.equals('foo')); | 826 unittest.expect(o.fieldDelimiter, unittest.equals('foo')); |
| 823 unittest.expect(o.ignoreUnknownValues, unittest.isTrue); | 827 unittest.expect(o.ignoreUnknownValues, unittest.isTrue); |
| 824 unittest.expect(o.maxBadRecords, unittest.equals(42)); | 828 unittest.expect(o.maxBadRecords, unittest.equals(42)); |
| 825 checkUnnamed2934(o.projectionFields); | 829 checkUnnamed497(o.projectionFields); |
| 826 unittest.expect(o.quote, unittest.equals('foo')); | 830 unittest.expect(o.quote, unittest.equals('foo')); |
| 827 checkTableSchema(o.schema); | 831 checkTableSchema(o.schema); |
| 828 unittest.expect(o.schemaInline, unittest.equals('foo')); | 832 unittest.expect(o.schemaInline, unittest.equals('foo')); |
| 829 unittest.expect(o.schemaInlineFormat, unittest.equals('foo')); | 833 unittest.expect(o.schemaInlineFormat, unittest.equals('foo')); |
| 830 unittest.expect(o.skipLeadingRows, unittest.equals(42)); | 834 unittest.expect(o.skipLeadingRows, unittest.equals(42)); |
| 831 unittest.expect(o.sourceFormat, unittest.equals('foo')); | 835 unittest.expect(o.sourceFormat, unittest.equals('foo')); |
| 832 checkUnnamed2935(o.sourceUris); | 836 checkUnnamed498(o.sourceUris); |
| 833 unittest.expect(o.writeDisposition, unittest.equals('foo')); | 837 unittest.expect(o.writeDisposition, unittest.equals('foo')); |
| 834 } | 838 } |
| 835 buildCounterJobConfigurationLoad--; | 839 buildCounterJobConfigurationLoad--; |
| 836 } | 840 } |
| 837 | 841 |
| 838 buildUnnamed2936() { | 842 buildUnnamed499() { |
| 839 var o = new core.Map<core.String, api.ExternalDataConfiguration>(); | 843 var o = new core.Map<core.String, api.ExternalDataConfiguration>(); |
| 840 o["x"] = buildExternalDataConfiguration(); | 844 o["x"] = buildExternalDataConfiguration(); |
| 841 o["y"] = buildExternalDataConfiguration(); | 845 o["y"] = buildExternalDataConfiguration(); |
| 842 return o; | 846 return o; |
| 843 } | 847 } |
| 844 | 848 |
| 845 checkUnnamed2936(core.Map<core.String, api.ExternalDataConfiguration> o) { | 849 checkUnnamed499(core.Map<core.String, api.ExternalDataConfiguration> o) { |
| 846 unittest.expect(o, unittest.hasLength(2)); | 850 unittest.expect(o, unittest.hasLength(2)); |
| 847 checkExternalDataConfiguration(o["x"]); | 851 checkExternalDataConfiguration(o["x"]); |
| 848 checkExternalDataConfiguration(o["y"]); | 852 checkExternalDataConfiguration(o["y"]); |
| 849 } | 853 } |
| 850 | 854 |
| 851 buildUnnamed2937() { | 855 buildUnnamed500() { |
| 852 var o = new core.List<api.UserDefinedFunctionResource>(); | 856 var o = new core.List<api.UserDefinedFunctionResource>(); |
| 853 o.add(buildUserDefinedFunctionResource()); | 857 o.add(buildUserDefinedFunctionResource()); |
| 854 o.add(buildUserDefinedFunctionResource()); | 858 o.add(buildUserDefinedFunctionResource()); |
| 855 return o; | 859 return o; |
| 856 } | 860 } |
| 857 | 861 |
| 858 checkUnnamed2937(core.List<api.UserDefinedFunctionResource> o) { | 862 checkUnnamed500(core.List<api.UserDefinedFunctionResource> o) { |
| 859 unittest.expect(o, unittest.hasLength(2)); | 863 unittest.expect(o, unittest.hasLength(2)); |
| 860 checkUserDefinedFunctionResource(o[0]); | 864 checkUserDefinedFunctionResource(o[0]); |
| 861 checkUserDefinedFunctionResource(o[1]); | 865 checkUserDefinedFunctionResource(o[1]); |
| 862 } | 866 } |
| 863 | 867 |
| 864 core.int buildCounterJobConfigurationQuery = 0; | 868 core.int buildCounterJobConfigurationQuery = 0; |
| 865 buildJobConfigurationQuery() { | 869 buildJobConfigurationQuery() { |
| 866 var o = new api.JobConfigurationQuery(); | 870 var o = new api.JobConfigurationQuery(); |
| 867 buildCounterJobConfigurationQuery++; | 871 buildCounterJobConfigurationQuery++; |
| 868 if (buildCounterJobConfigurationQuery < 3) { | 872 if (buildCounterJobConfigurationQuery < 3) { |
| 869 o.allowLargeResults = true; | 873 o.allowLargeResults = true; |
| 870 o.createDisposition = "foo"; | 874 o.createDisposition = "foo"; |
| 871 o.defaultDataset = buildDatasetReference(); | 875 o.defaultDataset = buildDatasetReference(); |
| 872 o.destinationTable = buildTableReference(); | 876 o.destinationTable = buildTableReference(); |
| 873 o.flattenResults = true; | 877 o.flattenResults = true; |
| 874 o.maximumBillingTier = 42; | 878 o.maximumBillingTier = 42; |
| 875 o.maximumBytesBilled = "foo"; | 879 o.maximumBytesBilled = "foo"; |
| 876 o.preserveNulls = true; | 880 o.preserveNulls = true; |
| 877 o.priority = "foo"; | 881 o.priority = "foo"; |
| 878 o.query = "foo"; | 882 o.query = "foo"; |
| 879 o.tableDefinitions = buildUnnamed2936(); | 883 o.tableDefinitions = buildUnnamed499(); |
| 880 o.useLegacySql = true; | 884 o.useLegacySql = true; |
| 881 o.useQueryCache = true; | 885 o.useQueryCache = true; |
| 882 o.userDefinedFunctionResources = buildUnnamed2937(); | 886 o.userDefinedFunctionResources = buildUnnamed500(); |
| 883 o.writeDisposition = "foo"; | 887 o.writeDisposition = "foo"; |
| 884 } | 888 } |
| 885 buildCounterJobConfigurationQuery--; | 889 buildCounterJobConfigurationQuery--; |
| 886 return o; | 890 return o; |
| 887 } | 891 } |
| 888 | 892 |
| 889 checkJobConfigurationQuery(api.JobConfigurationQuery o) { | 893 checkJobConfigurationQuery(api.JobConfigurationQuery o) { |
| 890 buildCounterJobConfigurationQuery++; | 894 buildCounterJobConfigurationQuery++; |
| 891 if (buildCounterJobConfigurationQuery < 3) { | 895 if (buildCounterJobConfigurationQuery < 3) { |
| 892 unittest.expect(o.allowLargeResults, unittest.isTrue); | 896 unittest.expect(o.allowLargeResults, unittest.isTrue); |
| 893 unittest.expect(o.createDisposition, unittest.equals('foo')); | 897 unittest.expect(o.createDisposition, unittest.equals('foo')); |
| 894 checkDatasetReference(o.defaultDataset); | 898 checkDatasetReference(o.defaultDataset); |
| 895 checkTableReference(o.destinationTable); | 899 checkTableReference(o.destinationTable); |
| 896 unittest.expect(o.flattenResults, unittest.isTrue); | 900 unittest.expect(o.flattenResults, unittest.isTrue); |
| 897 unittest.expect(o.maximumBillingTier, unittest.equals(42)); | 901 unittest.expect(o.maximumBillingTier, unittest.equals(42)); |
| 898 unittest.expect(o.maximumBytesBilled, unittest.equals('foo')); | 902 unittest.expect(o.maximumBytesBilled, unittest.equals('foo')); |
| 899 unittest.expect(o.preserveNulls, unittest.isTrue); | 903 unittest.expect(o.preserveNulls, unittest.isTrue); |
| 900 unittest.expect(o.priority, unittest.equals('foo')); | 904 unittest.expect(o.priority, unittest.equals('foo')); |
| 901 unittest.expect(o.query, unittest.equals('foo')); | 905 unittest.expect(o.query, unittest.equals('foo')); |
| 902 checkUnnamed2936(o.tableDefinitions); | 906 checkUnnamed499(o.tableDefinitions); |
| 903 unittest.expect(o.useLegacySql, unittest.isTrue); | 907 unittest.expect(o.useLegacySql, unittest.isTrue); |
| 904 unittest.expect(o.useQueryCache, unittest.isTrue); | 908 unittest.expect(o.useQueryCache, unittest.isTrue); |
| 905 checkUnnamed2937(o.userDefinedFunctionResources); | 909 checkUnnamed500(o.userDefinedFunctionResources); |
| 906 unittest.expect(o.writeDisposition, unittest.equals('foo')); | 910 unittest.expect(o.writeDisposition, unittest.equals('foo')); |
| 907 } | 911 } |
| 908 buildCounterJobConfigurationQuery--; | 912 buildCounterJobConfigurationQuery--; |
| 909 } | 913 } |
| 910 | 914 |
| 911 buildUnnamed2938() { | 915 buildUnnamed501() { |
| 912 var o = new core.List<api.TableReference>(); | 916 var o = new core.List<api.TableReference>(); |
| 913 o.add(buildTableReference()); | 917 o.add(buildTableReference()); |
| 914 o.add(buildTableReference()); | 918 o.add(buildTableReference()); |
| 915 return o; | 919 return o; |
| 916 } | 920 } |
| 917 | 921 |
| 918 checkUnnamed2938(core.List<api.TableReference> o) { | 922 checkUnnamed501(core.List<api.TableReference> o) { |
| 919 unittest.expect(o, unittest.hasLength(2)); | 923 unittest.expect(o, unittest.hasLength(2)); |
| 920 checkTableReference(o[0]); | 924 checkTableReference(o[0]); |
| 921 checkTableReference(o[1]); | 925 checkTableReference(o[1]); |
| 922 } | 926 } |
| 923 | 927 |
| 924 core.int buildCounterJobConfigurationTableCopy = 0; | 928 core.int buildCounterJobConfigurationTableCopy = 0; |
| 925 buildJobConfigurationTableCopy() { | 929 buildJobConfigurationTableCopy() { |
| 926 var o = new api.JobConfigurationTableCopy(); | 930 var o = new api.JobConfigurationTableCopy(); |
| 927 buildCounterJobConfigurationTableCopy++; | 931 buildCounterJobConfigurationTableCopy++; |
| 928 if (buildCounterJobConfigurationTableCopy < 3) { | 932 if (buildCounterJobConfigurationTableCopy < 3) { |
| 929 o.createDisposition = "foo"; | 933 o.createDisposition = "foo"; |
| 930 o.destinationTable = buildTableReference(); | 934 o.destinationTable = buildTableReference(); |
| 931 o.sourceTable = buildTableReference(); | 935 o.sourceTable = buildTableReference(); |
| 932 o.sourceTables = buildUnnamed2938(); | 936 o.sourceTables = buildUnnamed501(); |
| 933 o.writeDisposition = "foo"; | 937 o.writeDisposition = "foo"; |
| 934 } | 938 } |
| 935 buildCounterJobConfigurationTableCopy--; | 939 buildCounterJobConfigurationTableCopy--; |
| 936 return o; | 940 return o; |
| 937 } | 941 } |
| 938 | 942 |
| 939 checkJobConfigurationTableCopy(api.JobConfigurationTableCopy o) { | 943 checkJobConfigurationTableCopy(api.JobConfigurationTableCopy o) { |
| 940 buildCounterJobConfigurationTableCopy++; | 944 buildCounterJobConfigurationTableCopy++; |
| 941 if (buildCounterJobConfigurationTableCopy < 3) { | 945 if (buildCounterJobConfigurationTableCopy < 3) { |
| 942 unittest.expect(o.createDisposition, unittest.equals('foo')); | 946 unittest.expect(o.createDisposition, unittest.equals('foo')); |
| 943 checkTableReference(o.destinationTable); | 947 checkTableReference(o.destinationTable); |
| 944 checkTableReference(o.sourceTable); | 948 checkTableReference(o.sourceTable); |
| 945 checkUnnamed2938(o.sourceTables); | 949 checkUnnamed501(o.sourceTables); |
| 946 unittest.expect(o.writeDisposition, unittest.equals('foo')); | 950 unittest.expect(o.writeDisposition, unittest.equals('foo')); |
| 947 } | 951 } |
| 948 buildCounterJobConfigurationTableCopy--; | 952 buildCounterJobConfigurationTableCopy--; |
| 949 } | 953 } |
| 950 | 954 |
| 951 core.int buildCounterJobListJobs = 0; | 955 core.int buildCounterJobListJobs = 0; |
| 952 buildJobListJobs() { | 956 buildJobListJobs() { |
| 953 var o = new api.JobListJobs(); | 957 var o = new api.JobListJobs(); |
| 954 buildCounterJobListJobs++; | 958 buildCounterJobListJobs++; |
| 955 if (buildCounterJobListJobs < 3) { | 959 if (buildCounterJobListJobs < 3) { |
| (...skipping 20 matching lines...) Expand all Loading... |
| 976 checkJobReference(o.jobReference); | 980 checkJobReference(o.jobReference); |
| 977 unittest.expect(o.kind, unittest.equals('foo')); | 981 unittest.expect(o.kind, unittest.equals('foo')); |
| 978 unittest.expect(o.state, unittest.equals('foo')); | 982 unittest.expect(o.state, unittest.equals('foo')); |
| 979 checkJobStatistics(o.statistics); | 983 checkJobStatistics(o.statistics); |
| 980 checkJobStatus(o.status); | 984 checkJobStatus(o.status); |
| 981 unittest.expect(o.userEmail, unittest.equals('foo')); | 985 unittest.expect(o.userEmail, unittest.equals('foo')); |
| 982 } | 986 } |
| 983 buildCounterJobListJobs--; | 987 buildCounterJobListJobs--; |
| 984 } | 988 } |
| 985 | 989 |
| 986 buildUnnamed2939() { | 990 buildUnnamed502() { |
| 987 var o = new core.List<api.JobListJobs>(); | 991 var o = new core.List<api.JobListJobs>(); |
| 988 o.add(buildJobListJobs()); | 992 o.add(buildJobListJobs()); |
| 989 o.add(buildJobListJobs()); | 993 o.add(buildJobListJobs()); |
| 990 return o; | 994 return o; |
| 991 } | 995 } |
| 992 | 996 |
| 993 checkUnnamed2939(core.List<api.JobListJobs> o) { | 997 checkUnnamed502(core.List<api.JobListJobs> o) { |
| 994 unittest.expect(o, unittest.hasLength(2)); | 998 unittest.expect(o, unittest.hasLength(2)); |
| 995 checkJobListJobs(o[0]); | 999 checkJobListJobs(o[0]); |
| 996 checkJobListJobs(o[1]); | 1000 checkJobListJobs(o[1]); |
| 997 } | 1001 } |
| 998 | 1002 |
| 999 core.int buildCounterJobList = 0; | 1003 core.int buildCounterJobList = 0; |
| 1000 buildJobList() { | 1004 buildJobList() { |
| 1001 var o = new api.JobList(); | 1005 var o = new api.JobList(); |
| 1002 buildCounterJobList++; | 1006 buildCounterJobList++; |
| 1003 if (buildCounterJobList < 3) { | 1007 if (buildCounterJobList < 3) { |
| 1004 o.etag = "foo"; | 1008 o.etag = "foo"; |
| 1005 o.jobs = buildUnnamed2939(); | 1009 o.jobs = buildUnnamed502(); |
| 1006 o.kind = "foo"; | 1010 o.kind = "foo"; |
| 1007 o.nextPageToken = "foo"; | 1011 o.nextPageToken = "foo"; |
| 1008 } | 1012 } |
| 1009 buildCounterJobList--; | 1013 buildCounterJobList--; |
| 1010 return o; | 1014 return o; |
| 1011 } | 1015 } |
| 1012 | 1016 |
| 1013 checkJobList(api.JobList o) { | 1017 checkJobList(api.JobList o) { |
| 1014 buildCounterJobList++; | 1018 buildCounterJobList++; |
| 1015 if (buildCounterJobList < 3) { | 1019 if (buildCounterJobList < 3) { |
| 1016 unittest.expect(o.etag, unittest.equals('foo')); | 1020 unittest.expect(o.etag, unittest.equals('foo')); |
| 1017 checkUnnamed2939(o.jobs); | 1021 checkUnnamed502(o.jobs); |
| 1018 unittest.expect(o.kind, unittest.equals('foo')); | 1022 unittest.expect(o.kind, unittest.equals('foo')); |
| 1019 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1023 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1020 } | 1024 } |
| 1021 buildCounterJobList--; | 1025 buildCounterJobList--; |
| 1022 } | 1026 } |
| 1023 | 1027 |
| 1024 core.int buildCounterJobReference = 0; | 1028 core.int buildCounterJobReference = 0; |
| 1025 buildJobReference() { | 1029 buildJobReference() { |
| 1026 var o = new api.JobReference(); | 1030 var o = new api.JobReference(); |
| 1027 buildCounterJobReference++; | 1031 buildCounterJobReference++; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1066 unittest.expect(o.endTime, unittest.equals('foo')); | 1070 unittest.expect(o.endTime, unittest.equals('foo')); |
| 1067 checkJobStatistics4(o.extract); | 1071 checkJobStatistics4(o.extract); |
| 1068 checkJobStatistics3(o.load); | 1072 checkJobStatistics3(o.load); |
| 1069 checkJobStatistics2(o.query); | 1073 checkJobStatistics2(o.query); |
| 1070 unittest.expect(o.startTime, unittest.equals('foo')); | 1074 unittest.expect(o.startTime, unittest.equals('foo')); |
| 1071 unittest.expect(o.totalBytesProcessed, unittest.equals('foo')); | 1075 unittest.expect(o.totalBytesProcessed, unittest.equals('foo')); |
| 1072 } | 1076 } |
| 1073 buildCounterJobStatistics--; | 1077 buildCounterJobStatistics--; |
| 1074 } | 1078 } |
| 1075 | 1079 |
| 1076 buildUnnamed2940() { | 1080 buildUnnamed503() { |
| 1077 var o = new core.List<api.ExplainQueryStage>(); | 1081 var o = new core.List<api.ExplainQueryStage>(); |
| 1078 o.add(buildExplainQueryStage()); | 1082 o.add(buildExplainQueryStage()); |
| 1079 o.add(buildExplainQueryStage()); | 1083 o.add(buildExplainQueryStage()); |
| 1080 return o; | 1084 return o; |
| 1081 } | 1085 } |
| 1082 | 1086 |
| 1083 checkUnnamed2940(core.List<api.ExplainQueryStage> o) { | 1087 checkUnnamed503(core.List<api.ExplainQueryStage> o) { |
| 1084 unittest.expect(o, unittest.hasLength(2)); | 1088 unittest.expect(o, unittest.hasLength(2)); |
| 1085 checkExplainQueryStage(o[0]); | 1089 checkExplainQueryStage(o[0]); |
| 1086 checkExplainQueryStage(o[1]); | 1090 checkExplainQueryStage(o[1]); |
| 1087 } | 1091 } |
| 1088 | 1092 |
| 1089 buildUnnamed2941() { | 1093 buildUnnamed504() { |
| 1090 var o = new core.List<api.TableReference>(); | 1094 var o = new core.List<api.TableReference>(); |
| 1091 o.add(buildTableReference()); | 1095 o.add(buildTableReference()); |
| 1092 o.add(buildTableReference()); | 1096 o.add(buildTableReference()); |
| 1093 return o; | 1097 return o; |
| 1094 } | 1098 } |
| 1095 | 1099 |
| 1096 checkUnnamed2941(core.List<api.TableReference> o) { | 1100 checkUnnamed504(core.List<api.TableReference> o) { |
| 1097 unittest.expect(o, unittest.hasLength(2)); | 1101 unittest.expect(o, unittest.hasLength(2)); |
| 1098 checkTableReference(o[0]); | 1102 checkTableReference(o[0]); |
| 1099 checkTableReference(o[1]); | 1103 checkTableReference(o[1]); |
| 1100 } | 1104 } |
| 1101 | 1105 |
| 1102 core.int buildCounterJobStatistics2 = 0; | 1106 core.int buildCounterJobStatistics2 = 0; |
| 1103 buildJobStatistics2() { | 1107 buildJobStatistics2() { |
| 1104 var o = new api.JobStatistics2(); | 1108 var o = new api.JobStatistics2(); |
| 1105 buildCounterJobStatistics2++; | 1109 buildCounterJobStatistics2++; |
| 1106 if (buildCounterJobStatistics2 < 3) { | 1110 if (buildCounterJobStatistics2 < 3) { |
| 1107 o.billingTier = 42; | 1111 o.billingTier = 42; |
| 1108 o.cacheHit = true; | 1112 o.cacheHit = true; |
| 1109 o.queryPlan = buildUnnamed2940(); | 1113 o.numDmlAffectedRows = "foo"; |
| 1110 o.referencedTables = buildUnnamed2941(); | 1114 o.queryPlan = buildUnnamed503(); |
| 1115 o.referencedTables = buildUnnamed504(); |
| 1111 o.schema = buildTableSchema(); | 1116 o.schema = buildTableSchema(); |
| 1112 o.totalBytesBilled = "foo"; | 1117 o.totalBytesBilled = "foo"; |
| 1113 o.totalBytesProcessed = "foo"; | 1118 o.totalBytesProcessed = "foo"; |
| 1114 } | 1119 } |
| 1115 buildCounterJobStatistics2--; | 1120 buildCounterJobStatistics2--; |
| 1116 return o; | 1121 return o; |
| 1117 } | 1122 } |
| 1118 | 1123 |
| 1119 checkJobStatistics2(api.JobStatistics2 o) { | 1124 checkJobStatistics2(api.JobStatistics2 o) { |
| 1120 buildCounterJobStatistics2++; | 1125 buildCounterJobStatistics2++; |
| 1121 if (buildCounterJobStatistics2 < 3) { | 1126 if (buildCounterJobStatistics2 < 3) { |
| 1122 unittest.expect(o.billingTier, unittest.equals(42)); | 1127 unittest.expect(o.billingTier, unittest.equals(42)); |
| 1123 unittest.expect(o.cacheHit, unittest.isTrue); | 1128 unittest.expect(o.cacheHit, unittest.isTrue); |
| 1124 checkUnnamed2940(o.queryPlan); | 1129 unittest.expect(o.numDmlAffectedRows, unittest.equals('foo')); |
| 1125 checkUnnamed2941(o.referencedTables); | 1130 checkUnnamed503(o.queryPlan); |
| 1131 checkUnnamed504(o.referencedTables); |
| 1126 checkTableSchema(o.schema); | 1132 checkTableSchema(o.schema); |
| 1127 unittest.expect(o.totalBytesBilled, unittest.equals('foo')); | 1133 unittest.expect(o.totalBytesBilled, unittest.equals('foo')); |
| 1128 unittest.expect(o.totalBytesProcessed, unittest.equals('foo')); | 1134 unittest.expect(o.totalBytesProcessed, unittest.equals('foo')); |
| 1129 } | 1135 } |
| 1130 buildCounterJobStatistics2--; | 1136 buildCounterJobStatistics2--; |
| 1131 } | 1137 } |
| 1132 | 1138 |
| 1133 core.int buildCounterJobStatistics3 = 0; | 1139 core.int buildCounterJobStatistics3 = 0; |
| 1134 buildJobStatistics3() { | 1140 buildJobStatistics3() { |
| 1135 var o = new api.JobStatistics3(); | 1141 var o = new api.JobStatistics3(); |
| (...skipping 12 matching lines...) Expand all Loading... |
| 1148 buildCounterJobStatistics3++; | 1154 buildCounterJobStatistics3++; |
| 1149 if (buildCounterJobStatistics3 < 3) { | 1155 if (buildCounterJobStatistics3 < 3) { |
| 1150 unittest.expect(o.inputFileBytes, unittest.equals('foo')); | 1156 unittest.expect(o.inputFileBytes, unittest.equals('foo')); |
| 1151 unittest.expect(o.inputFiles, unittest.equals('foo')); | 1157 unittest.expect(o.inputFiles, unittest.equals('foo')); |
| 1152 unittest.expect(o.outputBytes, unittest.equals('foo')); | 1158 unittest.expect(o.outputBytes, unittest.equals('foo')); |
| 1153 unittest.expect(o.outputRows, unittest.equals('foo')); | 1159 unittest.expect(o.outputRows, unittest.equals('foo')); |
| 1154 } | 1160 } |
| 1155 buildCounterJobStatistics3--; | 1161 buildCounterJobStatistics3--; |
| 1156 } | 1162 } |
| 1157 | 1163 |
| 1158 buildUnnamed2942() { | 1164 buildUnnamed505() { |
| 1159 var o = new core.List<core.String>(); | 1165 var o = new core.List<core.String>(); |
| 1160 o.add("foo"); | 1166 o.add("foo"); |
| 1161 o.add("foo"); | 1167 o.add("foo"); |
| 1162 return o; | 1168 return o; |
| 1163 } | 1169 } |
| 1164 | 1170 |
| 1165 checkUnnamed2942(core.List<core.String> o) { | 1171 checkUnnamed505(core.List<core.String> o) { |
| 1166 unittest.expect(o, unittest.hasLength(2)); | 1172 unittest.expect(o, unittest.hasLength(2)); |
| 1167 unittest.expect(o[0], unittest.equals('foo')); | 1173 unittest.expect(o[0], unittest.equals('foo')); |
| 1168 unittest.expect(o[1], unittest.equals('foo')); | 1174 unittest.expect(o[1], unittest.equals('foo')); |
| 1169 } | 1175 } |
| 1170 | 1176 |
| 1171 core.int buildCounterJobStatistics4 = 0; | 1177 core.int buildCounterJobStatistics4 = 0; |
| 1172 buildJobStatistics4() { | 1178 buildJobStatistics4() { |
| 1173 var o = new api.JobStatistics4(); | 1179 var o = new api.JobStatistics4(); |
| 1174 buildCounterJobStatistics4++; | 1180 buildCounterJobStatistics4++; |
| 1175 if (buildCounterJobStatistics4 < 3) { | 1181 if (buildCounterJobStatistics4 < 3) { |
| 1176 o.destinationUriFileCounts = buildUnnamed2942(); | 1182 o.destinationUriFileCounts = buildUnnamed505(); |
| 1177 } | 1183 } |
| 1178 buildCounterJobStatistics4--; | 1184 buildCounterJobStatistics4--; |
| 1179 return o; | 1185 return o; |
| 1180 } | 1186 } |
| 1181 | 1187 |
| 1182 checkJobStatistics4(api.JobStatistics4 o) { | 1188 checkJobStatistics4(api.JobStatistics4 o) { |
| 1183 buildCounterJobStatistics4++; | 1189 buildCounterJobStatistics4++; |
| 1184 if (buildCounterJobStatistics4 < 3) { | 1190 if (buildCounterJobStatistics4 < 3) { |
| 1185 checkUnnamed2942(o.destinationUriFileCounts); | 1191 checkUnnamed505(o.destinationUriFileCounts); |
| 1186 } | 1192 } |
| 1187 buildCounterJobStatistics4--; | 1193 buildCounterJobStatistics4--; |
| 1188 } | 1194 } |
| 1189 | 1195 |
| 1190 buildUnnamed2943() { | 1196 buildUnnamed506() { |
| 1191 var o = new core.List<api.ErrorProto>(); | 1197 var o = new core.List<api.ErrorProto>(); |
| 1192 o.add(buildErrorProto()); | 1198 o.add(buildErrorProto()); |
| 1193 o.add(buildErrorProto()); | 1199 o.add(buildErrorProto()); |
| 1194 return o; | 1200 return o; |
| 1195 } | 1201 } |
| 1196 | 1202 |
| 1197 checkUnnamed2943(core.List<api.ErrorProto> o) { | 1203 checkUnnamed506(core.List<api.ErrorProto> o) { |
| 1198 unittest.expect(o, unittest.hasLength(2)); | 1204 unittest.expect(o, unittest.hasLength(2)); |
| 1199 checkErrorProto(o[0]); | 1205 checkErrorProto(o[0]); |
| 1200 checkErrorProto(o[1]); | 1206 checkErrorProto(o[1]); |
| 1201 } | 1207 } |
| 1202 | 1208 |
| 1203 core.int buildCounterJobStatus = 0; | 1209 core.int buildCounterJobStatus = 0; |
| 1204 buildJobStatus() { | 1210 buildJobStatus() { |
| 1205 var o = new api.JobStatus(); | 1211 var o = new api.JobStatus(); |
| 1206 buildCounterJobStatus++; | 1212 buildCounterJobStatus++; |
| 1207 if (buildCounterJobStatus < 3) { | 1213 if (buildCounterJobStatus < 3) { |
| 1208 o.errorResult = buildErrorProto(); | 1214 o.errorResult = buildErrorProto(); |
| 1209 o.errors = buildUnnamed2943(); | 1215 o.errors = buildUnnamed506(); |
| 1210 o.state = "foo"; | 1216 o.state = "foo"; |
| 1211 } | 1217 } |
| 1212 buildCounterJobStatus--; | 1218 buildCounterJobStatus--; |
| 1213 return o; | 1219 return o; |
| 1214 } | 1220 } |
| 1215 | 1221 |
| 1216 checkJobStatus(api.JobStatus o) { | 1222 checkJobStatus(api.JobStatus o) { |
| 1217 buildCounterJobStatus++; | 1223 buildCounterJobStatus++; |
| 1218 if (buildCounterJobStatus < 3) { | 1224 if (buildCounterJobStatus < 3) { |
| 1219 checkErrorProto(o.errorResult); | 1225 checkErrorProto(o.errorResult); |
| 1220 checkUnnamed2943(o.errors); | 1226 checkUnnamed506(o.errors); |
| 1221 unittest.expect(o.state, unittest.equals('foo')); | 1227 unittest.expect(o.state, unittest.equals('foo')); |
| 1222 } | 1228 } |
| 1223 buildCounterJobStatus--; | 1229 buildCounterJobStatus--; |
| 1224 } | 1230 } |
| 1225 | 1231 |
| 1226 buildJsonObject() { | 1232 buildJsonObject() { |
| 1227 var o = new api.JsonObject(); | 1233 var o = new api.JsonObject(); |
| 1228 o["a"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1234 o["a"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1229 o["b"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1235 o["b"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1230 return o; | 1236 return o; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 1256 if (buildCounterProjectListProjects < 3) { | 1262 if (buildCounterProjectListProjects < 3) { |
| 1257 unittest.expect(o.friendlyName, unittest.equals('foo')); | 1263 unittest.expect(o.friendlyName, unittest.equals('foo')); |
| 1258 unittest.expect(o.id, unittest.equals('foo')); | 1264 unittest.expect(o.id, unittest.equals('foo')); |
| 1259 unittest.expect(o.kind, unittest.equals('foo')); | 1265 unittest.expect(o.kind, unittest.equals('foo')); |
| 1260 unittest.expect(o.numericId, unittest.equals('foo')); | 1266 unittest.expect(o.numericId, unittest.equals('foo')); |
| 1261 checkProjectReference(o.projectReference); | 1267 checkProjectReference(o.projectReference); |
| 1262 } | 1268 } |
| 1263 buildCounterProjectListProjects--; | 1269 buildCounterProjectListProjects--; |
| 1264 } | 1270 } |
| 1265 | 1271 |
| 1266 buildUnnamed2944() { | 1272 buildUnnamed507() { |
| 1267 var o = new core.List<api.ProjectListProjects>(); | 1273 var o = new core.List<api.ProjectListProjects>(); |
| 1268 o.add(buildProjectListProjects()); | 1274 o.add(buildProjectListProjects()); |
| 1269 o.add(buildProjectListProjects()); | 1275 o.add(buildProjectListProjects()); |
| 1270 return o; | 1276 return o; |
| 1271 } | 1277 } |
| 1272 | 1278 |
| 1273 checkUnnamed2944(core.List<api.ProjectListProjects> o) { | 1279 checkUnnamed507(core.List<api.ProjectListProjects> o) { |
| 1274 unittest.expect(o, unittest.hasLength(2)); | 1280 unittest.expect(o, unittest.hasLength(2)); |
| 1275 checkProjectListProjects(o[0]); | 1281 checkProjectListProjects(o[0]); |
| 1276 checkProjectListProjects(o[1]); | 1282 checkProjectListProjects(o[1]); |
| 1277 } | 1283 } |
| 1278 | 1284 |
| 1279 core.int buildCounterProjectList = 0; | 1285 core.int buildCounterProjectList = 0; |
| 1280 buildProjectList() { | 1286 buildProjectList() { |
| 1281 var o = new api.ProjectList(); | 1287 var o = new api.ProjectList(); |
| 1282 buildCounterProjectList++; | 1288 buildCounterProjectList++; |
| 1283 if (buildCounterProjectList < 3) { | 1289 if (buildCounterProjectList < 3) { |
| 1284 o.etag = "foo"; | 1290 o.etag = "foo"; |
| 1285 o.kind = "foo"; | 1291 o.kind = "foo"; |
| 1286 o.nextPageToken = "foo"; | 1292 o.nextPageToken = "foo"; |
| 1287 o.projects = buildUnnamed2944(); | 1293 o.projects = buildUnnamed507(); |
| 1288 o.totalItems = 42; | 1294 o.totalItems = 42; |
| 1289 } | 1295 } |
| 1290 buildCounterProjectList--; | 1296 buildCounterProjectList--; |
| 1291 return o; | 1297 return o; |
| 1292 } | 1298 } |
| 1293 | 1299 |
| 1294 checkProjectList(api.ProjectList o) { | 1300 checkProjectList(api.ProjectList o) { |
| 1295 buildCounterProjectList++; | 1301 buildCounterProjectList++; |
| 1296 if (buildCounterProjectList < 3) { | 1302 if (buildCounterProjectList < 3) { |
| 1297 unittest.expect(o.etag, unittest.equals('foo')); | 1303 unittest.expect(o.etag, unittest.equals('foo')); |
| 1298 unittest.expect(o.kind, unittest.equals('foo')); | 1304 unittest.expect(o.kind, unittest.equals('foo')); |
| 1299 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1305 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1300 checkUnnamed2944(o.projects); | 1306 checkUnnamed507(o.projects); |
| 1301 unittest.expect(o.totalItems, unittest.equals(42)); | 1307 unittest.expect(o.totalItems, unittest.equals(42)); |
| 1302 } | 1308 } |
| 1303 buildCounterProjectList--; | 1309 buildCounterProjectList--; |
| 1304 } | 1310 } |
| 1305 | 1311 |
| 1306 core.int buildCounterProjectReference = 0; | 1312 core.int buildCounterProjectReference = 0; |
| 1307 buildProjectReference() { | 1313 buildProjectReference() { |
| 1308 var o = new api.ProjectReference(); | 1314 var o = new api.ProjectReference(); |
| 1309 buildCounterProjectReference++; | 1315 buildCounterProjectReference++; |
| 1310 if (buildCounterProjectReference < 3) { | 1316 if (buildCounterProjectReference < 3) { |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1350 unittest.expect(o.maxResults, unittest.equals(42)); | 1356 unittest.expect(o.maxResults, unittest.equals(42)); |
| 1351 unittest.expect(o.preserveNulls, unittest.isTrue); | 1357 unittest.expect(o.preserveNulls, unittest.isTrue); |
| 1352 unittest.expect(o.query, unittest.equals('foo')); | 1358 unittest.expect(o.query, unittest.equals('foo')); |
| 1353 unittest.expect(o.timeoutMs, unittest.equals(42)); | 1359 unittest.expect(o.timeoutMs, unittest.equals(42)); |
| 1354 unittest.expect(o.useLegacySql, unittest.isTrue); | 1360 unittest.expect(o.useLegacySql, unittest.isTrue); |
| 1355 unittest.expect(o.useQueryCache, unittest.isTrue); | 1361 unittest.expect(o.useQueryCache, unittest.isTrue); |
| 1356 } | 1362 } |
| 1357 buildCounterQueryRequest--; | 1363 buildCounterQueryRequest--; |
| 1358 } | 1364 } |
| 1359 | 1365 |
| 1360 buildUnnamed2945() { | 1366 buildUnnamed508() { |
| 1361 var o = new core.List<api.ErrorProto>(); | 1367 var o = new core.List<api.ErrorProto>(); |
| 1362 o.add(buildErrorProto()); | 1368 o.add(buildErrorProto()); |
| 1363 o.add(buildErrorProto()); | 1369 o.add(buildErrorProto()); |
| 1364 return o; | 1370 return o; |
| 1365 } | 1371 } |
| 1366 | 1372 |
| 1367 checkUnnamed2945(core.List<api.ErrorProto> o) { | 1373 checkUnnamed508(core.List<api.ErrorProto> o) { |
| 1368 unittest.expect(o, unittest.hasLength(2)); | 1374 unittest.expect(o, unittest.hasLength(2)); |
| 1369 checkErrorProto(o[0]); | 1375 checkErrorProto(o[0]); |
| 1370 checkErrorProto(o[1]); | 1376 checkErrorProto(o[1]); |
| 1371 } | 1377 } |
| 1372 | 1378 |
| 1373 buildUnnamed2946() { | 1379 buildUnnamed509() { |
| 1374 var o = new core.List<api.TableRow>(); | 1380 var o = new core.List<api.TableRow>(); |
| 1375 o.add(buildTableRow()); | 1381 o.add(buildTableRow()); |
| 1376 o.add(buildTableRow()); | 1382 o.add(buildTableRow()); |
| 1377 return o; | 1383 return o; |
| 1378 } | 1384 } |
| 1379 | 1385 |
| 1380 checkUnnamed2946(core.List<api.TableRow> o) { | 1386 checkUnnamed509(core.List<api.TableRow> o) { |
| 1381 unittest.expect(o, unittest.hasLength(2)); | 1387 unittest.expect(o, unittest.hasLength(2)); |
| 1382 checkTableRow(o[0]); | 1388 checkTableRow(o[0]); |
| 1383 checkTableRow(o[1]); | 1389 checkTableRow(o[1]); |
| 1384 } | 1390 } |
| 1385 | 1391 |
| 1386 core.int buildCounterQueryResponse = 0; | 1392 core.int buildCounterQueryResponse = 0; |
| 1387 buildQueryResponse() { | 1393 buildQueryResponse() { |
| 1388 var o = new api.QueryResponse(); | 1394 var o = new api.QueryResponse(); |
| 1389 buildCounterQueryResponse++; | 1395 buildCounterQueryResponse++; |
| 1390 if (buildCounterQueryResponse < 3) { | 1396 if (buildCounterQueryResponse < 3) { |
| 1391 o.cacheHit = true; | 1397 o.cacheHit = true; |
| 1392 o.errors = buildUnnamed2945(); | 1398 o.errors = buildUnnamed508(); |
| 1393 o.jobComplete = true; | 1399 o.jobComplete = true; |
| 1394 o.jobReference = buildJobReference(); | 1400 o.jobReference = buildJobReference(); |
| 1395 o.kind = "foo"; | 1401 o.kind = "foo"; |
| 1402 o.numDmlAffectedRows = "foo"; |
| 1396 o.pageToken = "foo"; | 1403 o.pageToken = "foo"; |
| 1397 o.rows = buildUnnamed2946(); | 1404 o.rows = buildUnnamed509(); |
| 1398 o.schema = buildTableSchema(); | 1405 o.schema = buildTableSchema(); |
| 1399 o.totalBytesProcessed = "foo"; | 1406 o.totalBytesProcessed = "foo"; |
| 1400 o.totalRows = "foo"; | 1407 o.totalRows = "foo"; |
| 1401 } | 1408 } |
| 1402 buildCounterQueryResponse--; | 1409 buildCounterQueryResponse--; |
| 1403 return o; | 1410 return o; |
| 1404 } | 1411 } |
| 1405 | 1412 |
| 1406 checkQueryResponse(api.QueryResponse o) { | 1413 checkQueryResponse(api.QueryResponse o) { |
| 1407 buildCounterQueryResponse++; | 1414 buildCounterQueryResponse++; |
| 1408 if (buildCounterQueryResponse < 3) { | 1415 if (buildCounterQueryResponse < 3) { |
| 1409 unittest.expect(o.cacheHit, unittest.isTrue); | 1416 unittest.expect(o.cacheHit, unittest.isTrue); |
| 1410 checkUnnamed2945(o.errors); | 1417 checkUnnamed508(o.errors); |
| 1411 unittest.expect(o.jobComplete, unittest.isTrue); | 1418 unittest.expect(o.jobComplete, unittest.isTrue); |
| 1412 checkJobReference(o.jobReference); | 1419 checkJobReference(o.jobReference); |
| 1413 unittest.expect(o.kind, unittest.equals('foo')); | 1420 unittest.expect(o.kind, unittest.equals('foo')); |
| 1421 unittest.expect(o.numDmlAffectedRows, unittest.equals('foo')); |
| 1414 unittest.expect(o.pageToken, unittest.equals('foo')); | 1422 unittest.expect(o.pageToken, unittest.equals('foo')); |
| 1415 checkUnnamed2946(o.rows); | 1423 checkUnnamed509(o.rows); |
| 1416 checkTableSchema(o.schema); | 1424 checkTableSchema(o.schema); |
| 1417 unittest.expect(o.totalBytesProcessed, unittest.equals('foo')); | 1425 unittest.expect(o.totalBytesProcessed, unittest.equals('foo')); |
| 1418 unittest.expect(o.totalRows, unittest.equals('foo')); | 1426 unittest.expect(o.totalRows, unittest.equals('foo')); |
| 1419 } | 1427 } |
| 1420 buildCounterQueryResponse--; | 1428 buildCounterQueryResponse--; |
| 1421 } | 1429 } |
| 1422 | 1430 |
| 1423 core.int buildCounterStreamingbuffer = 0; | 1431 core.int buildCounterStreamingbuffer = 0; |
| 1424 buildStreamingbuffer() { | 1432 buildStreamingbuffer() { |
| 1425 var o = new api.Streamingbuffer(); | 1433 var o = new api.Streamingbuffer(); |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1533 | 1541 |
| 1534 checkTableDataInsertAllRequestRows(api.TableDataInsertAllRequestRows o) { | 1542 checkTableDataInsertAllRequestRows(api.TableDataInsertAllRequestRows o) { |
| 1535 buildCounterTableDataInsertAllRequestRows++; | 1543 buildCounterTableDataInsertAllRequestRows++; |
| 1536 if (buildCounterTableDataInsertAllRequestRows < 3) { | 1544 if (buildCounterTableDataInsertAllRequestRows < 3) { |
| 1537 unittest.expect(o.insertId, unittest.equals('foo')); | 1545 unittest.expect(o.insertId, unittest.equals('foo')); |
| 1538 checkJsonObject(o.json); | 1546 checkJsonObject(o.json); |
| 1539 } | 1547 } |
| 1540 buildCounterTableDataInsertAllRequestRows--; | 1548 buildCounterTableDataInsertAllRequestRows--; |
| 1541 } | 1549 } |
| 1542 | 1550 |
| 1543 buildUnnamed2947() { | 1551 buildUnnamed510() { |
| 1544 var o = new core.List<api.TableDataInsertAllRequestRows>(); | 1552 var o = new core.List<api.TableDataInsertAllRequestRows>(); |
| 1545 o.add(buildTableDataInsertAllRequestRows()); | 1553 o.add(buildTableDataInsertAllRequestRows()); |
| 1546 o.add(buildTableDataInsertAllRequestRows()); | 1554 o.add(buildTableDataInsertAllRequestRows()); |
| 1547 return o; | 1555 return o; |
| 1548 } | 1556 } |
| 1549 | 1557 |
| 1550 checkUnnamed2947(core.List<api.TableDataInsertAllRequestRows> o) { | 1558 checkUnnamed510(core.List<api.TableDataInsertAllRequestRows> o) { |
| 1551 unittest.expect(o, unittest.hasLength(2)); | 1559 unittest.expect(o, unittest.hasLength(2)); |
| 1552 checkTableDataInsertAllRequestRows(o[0]); | 1560 checkTableDataInsertAllRequestRows(o[0]); |
| 1553 checkTableDataInsertAllRequestRows(o[1]); | 1561 checkTableDataInsertAllRequestRows(o[1]); |
| 1554 } | 1562 } |
| 1555 | 1563 |
| 1556 core.int buildCounterTableDataInsertAllRequest = 0; | 1564 core.int buildCounterTableDataInsertAllRequest = 0; |
| 1557 buildTableDataInsertAllRequest() { | 1565 buildTableDataInsertAllRequest() { |
| 1558 var o = new api.TableDataInsertAllRequest(); | 1566 var o = new api.TableDataInsertAllRequest(); |
| 1559 buildCounterTableDataInsertAllRequest++; | 1567 buildCounterTableDataInsertAllRequest++; |
| 1560 if (buildCounterTableDataInsertAllRequest < 3) { | 1568 if (buildCounterTableDataInsertAllRequest < 3) { |
| 1561 o.ignoreUnknownValues = true; | 1569 o.ignoreUnknownValues = true; |
| 1562 o.kind = "foo"; | 1570 o.kind = "foo"; |
| 1563 o.rows = buildUnnamed2947(); | 1571 o.rows = buildUnnamed510(); |
| 1564 o.skipInvalidRows = true; | 1572 o.skipInvalidRows = true; |
| 1565 o.templateSuffix = "foo"; | 1573 o.templateSuffix = "foo"; |
| 1566 } | 1574 } |
| 1567 buildCounterTableDataInsertAllRequest--; | 1575 buildCounterTableDataInsertAllRequest--; |
| 1568 return o; | 1576 return o; |
| 1569 } | 1577 } |
| 1570 | 1578 |
| 1571 checkTableDataInsertAllRequest(api.TableDataInsertAllRequest o) { | 1579 checkTableDataInsertAllRequest(api.TableDataInsertAllRequest o) { |
| 1572 buildCounterTableDataInsertAllRequest++; | 1580 buildCounterTableDataInsertAllRequest++; |
| 1573 if (buildCounterTableDataInsertAllRequest < 3) { | 1581 if (buildCounterTableDataInsertAllRequest < 3) { |
| 1574 unittest.expect(o.ignoreUnknownValues, unittest.isTrue); | 1582 unittest.expect(o.ignoreUnknownValues, unittest.isTrue); |
| 1575 unittest.expect(o.kind, unittest.equals('foo')); | 1583 unittest.expect(o.kind, unittest.equals('foo')); |
| 1576 checkUnnamed2947(o.rows); | 1584 checkUnnamed510(o.rows); |
| 1577 unittest.expect(o.skipInvalidRows, unittest.isTrue); | 1585 unittest.expect(o.skipInvalidRows, unittest.isTrue); |
| 1578 unittest.expect(o.templateSuffix, unittest.equals('foo')); | 1586 unittest.expect(o.templateSuffix, unittest.equals('foo')); |
| 1579 } | 1587 } |
| 1580 buildCounterTableDataInsertAllRequest--; | 1588 buildCounterTableDataInsertAllRequest--; |
| 1581 } | 1589 } |
| 1582 | 1590 |
| 1583 buildUnnamed2948() { | 1591 buildUnnamed511() { |
| 1584 var o = new core.List<api.ErrorProto>(); | 1592 var o = new core.List<api.ErrorProto>(); |
| 1585 o.add(buildErrorProto()); | 1593 o.add(buildErrorProto()); |
| 1586 o.add(buildErrorProto()); | 1594 o.add(buildErrorProto()); |
| 1587 return o; | 1595 return o; |
| 1588 } | 1596 } |
| 1589 | 1597 |
| 1590 checkUnnamed2948(core.List<api.ErrorProto> o) { | 1598 checkUnnamed511(core.List<api.ErrorProto> o) { |
| 1591 unittest.expect(o, unittest.hasLength(2)); | 1599 unittest.expect(o, unittest.hasLength(2)); |
| 1592 checkErrorProto(o[0]); | 1600 checkErrorProto(o[0]); |
| 1593 checkErrorProto(o[1]); | 1601 checkErrorProto(o[1]); |
| 1594 } | 1602 } |
| 1595 | 1603 |
| 1596 core.int buildCounterTableDataInsertAllResponseInsertErrors = 0; | 1604 core.int buildCounterTableDataInsertAllResponseInsertErrors = 0; |
| 1597 buildTableDataInsertAllResponseInsertErrors() { | 1605 buildTableDataInsertAllResponseInsertErrors() { |
| 1598 var o = new api.TableDataInsertAllResponseInsertErrors(); | 1606 var o = new api.TableDataInsertAllResponseInsertErrors(); |
| 1599 buildCounterTableDataInsertAllResponseInsertErrors++; | 1607 buildCounterTableDataInsertAllResponseInsertErrors++; |
| 1600 if (buildCounterTableDataInsertAllResponseInsertErrors < 3) { | 1608 if (buildCounterTableDataInsertAllResponseInsertErrors < 3) { |
| 1601 o.errors = buildUnnamed2948(); | 1609 o.errors = buildUnnamed511(); |
| 1602 o.index = 42; | 1610 o.index = 42; |
| 1603 } | 1611 } |
| 1604 buildCounterTableDataInsertAllResponseInsertErrors--; | 1612 buildCounterTableDataInsertAllResponseInsertErrors--; |
| 1605 return o; | 1613 return o; |
| 1606 } | 1614 } |
| 1607 | 1615 |
| 1608 checkTableDataInsertAllResponseInsertErrors(api.TableDataInsertAllResponseInsert
Errors o) { | 1616 checkTableDataInsertAllResponseInsertErrors(api.TableDataInsertAllResponseInsert
Errors o) { |
| 1609 buildCounterTableDataInsertAllResponseInsertErrors++; | 1617 buildCounterTableDataInsertAllResponseInsertErrors++; |
| 1610 if (buildCounterTableDataInsertAllResponseInsertErrors < 3) { | 1618 if (buildCounterTableDataInsertAllResponseInsertErrors < 3) { |
| 1611 checkUnnamed2948(o.errors); | 1619 checkUnnamed511(o.errors); |
| 1612 unittest.expect(o.index, unittest.equals(42)); | 1620 unittest.expect(o.index, unittest.equals(42)); |
| 1613 } | 1621 } |
| 1614 buildCounterTableDataInsertAllResponseInsertErrors--; | 1622 buildCounterTableDataInsertAllResponseInsertErrors--; |
| 1615 } | 1623 } |
| 1616 | 1624 |
| 1617 buildUnnamed2949() { | 1625 buildUnnamed512() { |
| 1618 var o = new core.List<api.TableDataInsertAllResponseInsertErrors>(); | 1626 var o = new core.List<api.TableDataInsertAllResponseInsertErrors>(); |
| 1619 o.add(buildTableDataInsertAllResponseInsertErrors()); | 1627 o.add(buildTableDataInsertAllResponseInsertErrors()); |
| 1620 o.add(buildTableDataInsertAllResponseInsertErrors()); | 1628 o.add(buildTableDataInsertAllResponseInsertErrors()); |
| 1621 return o; | 1629 return o; |
| 1622 } | 1630 } |
| 1623 | 1631 |
| 1624 checkUnnamed2949(core.List<api.TableDataInsertAllResponseInsertErrors> o) { | 1632 checkUnnamed512(core.List<api.TableDataInsertAllResponseInsertErrors> o) { |
| 1625 unittest.expect(o, unittest.hasLength(2)); | 1633 unittest.expect(o, unittest.hasLength(2)); |
| 1626 checkTableDataInsertAllResponseInsertErrors(o[0]); | 1634 checkTableDataInsertAllResponseInsertErrors(o[0]); |
| 1627 checkTableDataInsertAllResponseInsertErrors(o[1]); | 1635 checkTableDataInsertAllResponseInsertErrors(o[1]); |
| 1628 } | 1636 } |
| 1629 | 1637 |
| 1630 core.int buildCounterTableDataInsertAllResponse = 0; | 1638 core.int buildCounterTableDataInsertAllResponse = 0; |
| 1631 buildTableDataInsertAllResponse() { | 1639 buildTableDataInsertAllResponse() { |
| 1632 var o = new api.TableDataInsertAllResponse(); | 1640 var o = new api.TableDataInsertAllResponse(); |
| 1633 buildCounterTableDataInsertAllResponse++; | 1641 buildCounterTableDataInsertAllResponse++; |
| 1634 if (buildCounterTableDataInsertAllResponse < 3) { | 1642 if (buildCounterTableDataInsertAllResponse < 3) { |
| 1635 o.insertErrors = buildUnnamed2949(); | 1643 o.insertErrors = buildUnnamed512(); |
| 1636 o.kind = "foo"; | 1644 o.kind = "foo"; |
| 1637 } | 1645 } |
| 1638 buildCounterTableDataInsertAllResponse--; | 1646 buildCounterTableDataInsertAllResponse--; |
| 1639 return o; | 1647 return o; |
| 1640 } | 1648 } |
| 1641 | 1649 |
| 1642 checkTableDataInsertAllResponse(api.TableDataInsertAllResponse o) { | 1650 checkTableDataInsertAllResponse(api.TableDataInsertAllResponse o) { |
| 1643 buildCounterTableDataInsertAllResponse++; | 1651 buildCounterTableDataInsertAllResponse++; |
| 1644 if (buildCounterTableDataInsertAllResponse < 3) { | 1652 if (buildCounterTableDataInsertAllResponse < 3) { |
| 1645 checkUnnamed2949(o.insertErrors); | 1653 checkUnnamed512(o.insertErrors); |
| 1646 unittest.expect(o.kind, unittest.equals('foo')); | 1654 unittest.expect(o.kind, unittest.equals('foo')); |
| 1647 } | 1655 } |
| 1648 buildCounterTableDataInsertAllResponse--; | 1656 buildCounterTableDataInsertAllResponse--; |
| 1649 } | 1657 } |
| 1650 | 1658 |
| 1651 buildUnnamed2950() { | 1659 buildUnnamed513() { |
| 1652 var o = new core.List<api.TableRow>(); | 1660 var o = new core.List<api.TableRow>(); |
| 1653 o.add(buildTableRow()); | 1661 o.add(buildTableRow()); |
| 1654 o.add(buildTableRow()); | 1662 o.add(buildTableRow()); |
| 1655 return o; | 1663 return o; |
| 1656 } | 1664 } |
| 1657 | 1665 |
| 1658 checkUnnamed2950(core.List<api.TableRow> o) { | 1666 checkUnnamed513(core.List<api.TableRow> o) { |
| 1659 unittest.expect(o, unittest.hasLength(2)); | 1667 unittest.expect(o, unittest.hasLength(2)); |
| 1660 checkTableRow(o[0]); | 1668 checkTableRow(o[0]); |
| 1661 checkTableRow(o[1]); | 1669 checkTableRow(o[1]); |
| 1662 } | 1670 } |
| 1663 | 1671 |
| 1664 core.int buildCounterTableDataList = 0; | 1672 core.int buildCounterTableDataList = 0; |
| 1665 buildTableDataList() { | 1673 buildTableDataList() { |
| 1666 var o = new api.TableDataList(); | 1674 var o = new api.TableDataList(); |
| 1667 buildCounterTableDataList++; | 1675 buildCounterTableDataList++; |
| 1668 if (buildCounterTableDataList < 3) { | 1676 if (buildCounterTableDataList < 3) { |
| 1669 o.etag = "foo"; | 1677 o.etag = "foo"; |
| 1670 o.kind = "foo"; | 1678 o.kind = "foo"; |
| 1671 o.pageToken = "foo"; | 1679 o.pageToken = "foo"; |
| 1672 o.rows = buildUnnamed2950(); | 1680 o.rows = buildUnnamed513(); |
| 1673 o.totalRows = "foo"; | 1681 o.totalRows = "foo"; |
| 1674 } | 1682 } |
| 1675 buildCounterTableDataList--; | 1683 buildCounterTableDataList--; |
| 1676 return o; | 1684 return o; |
| 1677 } | 1685 } |
| 1678 | 1686 |
| 1679 checkTableDataList(api.TableDataList o) { | 1687 checkTableDataList(api.TableDataList o) { |
| 1680 buildCounterTableDataList++; | 1688 buildCounterTableDataList++; |
| 1681 if (buildCounterTableDataList < 3) { | 1689 if (buildCounterTableDataList < 3) { |
| 1682 unittest.expect(o.etag, unittest.equals('foo')); | 1690 unittest.expect(o.etag, unittest.equals('foo')); |
| 1683 unittest.expect(o.kind, unittest.equals('foo')); | 1691 unittest.expect(o.kind, unittest.equals('foo')); |
| 1684 unittest.expect(o.pageToken, unittest.equals('foo')); | 1692 unittest.expect(o.pageToken, unittest.equals('foo')); |
| 1685 checkUnnamed2950(o.rows); | 1693 checkUnnamed513(o.rows); |
| 1686 unittest.expect(o.totalRows, unittest.equals('foo')); | 1694 unittest.expect(o.totalRows, unittest.equals('foo')); |
| 1687 } | 1695 } |
| 1688 buildCounterTableDataList--; | 1696 buildCounterTableDataList--; |
| 1689 } | 1697 } |
| 1690 | 1698 |
| 1691 buildUnnamed2951() { | 1699 buildUnnamed514() { |
| 1692 var o = new core.List<api.TableFieldSchema>(); | 1700 var o = new core.List<api.TableFieldSchema>(); |
| 1693 o.add(buildTableFieldSchema()); | 1701 o.add(buildTableFieldSchema()); |
| 1694 o.add(buildTableFieldSchema()); | 1702 o.add(buildTableFieldSchema()); |
| 1695 return o; | 1703 return o; |
| 1696 } | 1704 } |
| 1697 | 1705 |
| 1698 checkUnnamed2951(core.List<api.TableFieldSchema> o) { | 1706 checkUnnamed514(core.List<api.TableFieldSchema> o) { |
| 1699 unittest.expect(o, unittest.hasLength(2)); | 1707 unittest.expect(o, unittest.hasLength(2)); |
| 1700 checkTableFieldSchema(o[0]); | 1708 checkTableFieldSchema(o[0]); |
| 1701 checkTableFieldSchema(o[1]); | 1709 checkTableFieldSchema(o[1]); |
| 1702 } | 1710 } |
| 1703 | 1711 |
| 1704 core.int buildCounterTableFieldSchema = 0; | 1712 core.int buildCounterTableFieldSchema = 0; |
| 1705 buildTableFieldSchema() { | 1713 buildTableFieldSchema() { |
| 1706 var o = new api.TableFieldSchema(); | 1714 var o = new api.TableFieldSchema(); |
| 1707 buildCounterTableFieldSchema++; | 1715 buildCounterTableFieldSchema++; |
| 1708 if (buildCounterTableFieldSchema < 3) { | 1716 if (buildCounterTableFieldSchema < 3) { |
| 1709 o.description = "foo"; | 1717 o.description = "foo"; |
| 1710 o.fields = buildUnnamed2951(); | 1718 o.fields = buildUnnamed514(); |
| 1711 o.mode = "foo"; | 1719 o.mode = "foo"; |
| 1712 o.name = "foo"; | 1720 o.name = "foo"; |
| 1713 o.type = "foo"; | 1721 o.type = "foo"; |
| 1714 } | 1722 } |
| 1715 buildCounterTableFieldSchema--; | 1723 buildCounterTableFieldSchema--; |
| 1716 return o; | 1724 return o; |
| 1717 } | 1725 } |
| 1718 | 1726 |
| 1719 checkTableFieldSchema(api.TableFieldSchema o) { | 1727 checkTableFieldSchema(api.TableFieldSchema o) { |
| 1720 buildCounterTableFieldSchema++; | 1728 buildCounterTableFieldSchema++; |
| 1721 if (buildCounterTableFieldSchema < 3) { | 1729 if (buildCounterTableFieldSchema < 3) { |
| 1722 unittest.expect(o.description, unittest.equals('foo')); | 1730 unittest.expect(o.description, unittest.equals('foo')); |
| 1723 checkUnnamed2951(o.fields); | 1731 checkUnnamed514(o.fields); |
| 1724 unittest.expect(o.mode, unittest.equals('foo')); | 1732 unittest.expect(o.mode, unittest.equals('foo')); |
| 1725 unittest.expect(o.name, unittest.equals('foo')); | 1733 unittest.expect(o.name, unittest.equals('foo')); |
| 1726 unittest.expect(o.type, unittest.equals('foo')); | 1734 unittest.expect(o.type, unittest.equals('foo')); |
| 1727 } | 1735 } |
| 1728 buildCounterTableFieldSchema--; | 1736 buildCounterTableFieldSchema--; |
| 1729 } | 1737 } |
| 1730 | 1738 |
| 1731 core.int buildCounterTableListTables = 0; | 1739 core.int buildCounterTableListTables = 0; |
| 1732 buildTableListTables() { | 1740 buildTableListTables() { |
| 1733 var o = new api.TableListTables(); | 1741 var o = new api.TableListTables(); |
| (...skipping 14 matching lines...) Expand all Loading... |
| 1748 if (buildCounterTableListTables < 3) { | 1756 if (buildCounterTableListTables < 3) { |
| 1749 unittest.expect(o.friendlyName, unittest.equals('foo')); | 1757 unittest.expect(o.friendlyName, unittest.equals('foo')); |
| 1750 unittest.expect(o.id, unittest.equals('foo')); | 1758 unittest.expect(o.id, unittest.equals('foo')); |
| 1751 unittest.expect(o.kind, unittest.equals('foo')); | 1759 unittest.expect(o.kind, unittest.equals('foo')); |
| 1752 checkTableReference(o.tableReference); | 1760 checkTableReference(o.tableReference); |
| 1753 unittest.expect(o.type, unittest.equals('foo')); | 1761 unittest.expect(o.type, unittest.equals('foo')); |
| 1754 } | 1762 } |
| 1755 buildCounterTableListTables--; | 1763 buildCounterTableListTables--; |
| 1756 } | 1764 } |
| 1757 | 1765 |
| 1758 buildUnnamed2952() { | 1766 buildUnnamed515() { |
| 1759 var o = new core.List<api.TableListTables>(); | 1767 var o = new core.List<api.TableListTables>(); |
| 1760 o.add(buildTableListTables()); | 1768 o.add(buildTableListTables()); |
| 1761 o.add(buildTableListTables()); | 1769 o.add(buildTableListTables()); |
| 1762 return o; | 1770 return o; |
| 1763 } | 1771 } |
| 1764 | 1772 |
| 1765 checkUnnamed2952(core.List<api.TableListTables> o) { | 1773 checkUnnamed515(core.List<api.TableListTables> o) { |
| 1766 unittest.expect(o, unittest.hasLength(2)); | 1774 unittest.expect(o, unittest.hasLength(2)); |
| 1767 checkTableListTables(o[0]); | 1775 checkTableListTables(o[0]); |
| 1768 checkTableListTables(o[1]); | 1776 checkTableListTables(o[1]); |
| 1769 } | 1777 } |
| 1770 | 1778 |
| 1771 core.int buildCounterTableList = 0; | 1779 core.int buildCounterTableList = 0; |
| 1772 buildTableList() { | 1780 buildTableList() { |
| 1773 var o = new api.TableList(); | 1781 var o = new api.TableList(); |
| 1774 buildCounterTableList++; | 1782 buildCounterTableList++; |
| 1775 if (buildCounterTableList < 3) { | 1783 if (buildCounterTableList < 3) { |
| 1776 o.etag = "foo"; | 1784 o.etag = "foo"; |
| 1777 o.kind = "foo"; | 1785 o.kind = "foo"; |
| 1778 o.nextPageToken = "foo"; | 1786 o.nextPageToken = "foo"; |
| 1779 o.tables = buildUnnamed2952(); | 1787 o.tables = buildUnnamed515(); |
| 1780 o.totalItems = 42; | 1788 o.totalItems = 42; |
| 1781 } | 1789 } |
| 1782 buildCounterTableList--; | 1790 buildCounterTableList--; |
| 1783 return o; | 1791 return o; |
| 1784 } | 1792 } |
| 1785 | 1793 |
| 1786 checkTableList(api.TableList o) { | 1794 checkTableList(api.TableList o) { |
| 1787 buildCounterTableList++; | 1795 buildCounterTableList++; |
| 1788 if (buildCounterTableList < 3) { | 1796 if (buildCounterTableList < 3) { |
| 1789 unittest.expect(o.etag, unittest.equals('foo')); | 1797 unittest.expect(o.etag, unittest.equals('foo')); |
| 1790 unittest.expect(o.kind, unittest.equals('foo')); | 1798 unittest.expect(o.kind, unittest.equals('foo')); |
| 1791 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1799 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1792 checkUnnamed2952(o.tables); | 1800 checkUnnamed515(o.tables); |
| 1793 unittest.expect(o.totalItems, unittest.equals(42)); | 1801 unittest.expect(o.totalItems, unittest.equals(42)); |
| 1794 } | 1802 } |
| 1795 buildCounterTableList--; | 1803 buildCounterTableList--; |
| 1796 } | 1804 } |
| 1797 | 1805 |
| 1798 core.int buildCounterTableReference = 0; | 1806 core.int buildCounterTableReference = 0; |
| 1799 buildTableReference() { | 1807 buildTableReference() { |
| 1800 var o = new api.TableReference(); | 1808 var o = new api.TableReference(); |
| 1801 buildCounterTableReference++; | 1809 buildCounterTableReference++; |
| 1802 if (buildCounterTableReference < 3) { | 1810 if (buildCounterTableReference < 3) { |
| 1803 o.datasetId = "foo"; | 1811 o.datasetId = "foo"; |
| 1804 o.projectId = "foo"; | 1812 o.projectId = "foo"; |
| 1805 o.tableId = "foo"; | 1813 o.tableId = "foo"; |
| 1806 } | 1814 } |
| 1807 buildCounterTableReference--; | 1815 buildCounterTableReference--; |
| 1808 return o; | 1816 return o; |
| 1809 } | 1817 } |
| 1810 | 1818 |
| 1811 checkTableReference(api.TableReference o) { | 1819 checkTableReference(api.TableReference o) { |
| 1812 buildCounterTableReference++; | 1820 buildCounterTableReference++; |
| 1813 if (buildCounterTableReference < 3) { | 1821 if (buildCounterTableReference < 3) { |
| 1814 unittest.expect(o.datasetId, unittest.equals('foo')); | 1822 unittest.expect(o.datasetId, unittest.equals('foo')); |
| 1815 unittest.expect(o.projectId, unittest.equals('foo')); | 1823 unittest.expect(o.projectId, unittest.equals('foo')); |
| 1816 unittest.expect(o.tableId, unittest.equals('foo')); | 1824 unittest.expect(o.tableId, unittest.equals('foo')); |
| 1817 } | 1825 } |
| 1818 buildCounterTableReference--; | 1826 buildCounterTableReference--; |
| 1819 } | 1827 } |
| 1820 | 1828 |
| 1821 buildUnnamed2953() { | 1829 buildUnnamed516() { |
| 1822 var o = new core.List<api.TableCell>(); | 1830 var o = new core.List<api.TableCell>(); |
| 1823 o.add(buildTableCell()); | 1831 o.add(buildTableCell()); |
| 1824 o.add(buildTableCell()); | 1832 o.add(buildTableCell()); |
| 1825 return o; | 1833 return o; |
| 1826 } | 1834 } |
| 1827 | 1835 |
| 1828 checkUnnamed2953(core.List<api.TableCell> o) { | 1836 checkUnnamed516(core.List<api.TableCell> o) { |
| 1829 unittest.expect(o, unittest.hasLength(2)); | 1837 unittest.expect(o, unittest.hasLength(2)); |
| 1830 checkTableCell(o[0]); | 1838 checkTableCell(o[0]); |
| 1831 checkTableCell(o[1]); | 1839 checkTableCell(o[1]); |
| 1832 } | 1840 } |
| 1833 | 1841 |
| 1834 core.int buildCounterTableRow = 0; | 1842 core.int buildCounterTableRow = 0; |
| 1835 buildTableRow() { | 1843 buildTableRow() { |
| 1836 var o = new api.TableRow(); | 1844 var o = new api.TableRow(); |
| 1837 buildCounterTableRow++; | 1845 buildCounterTableRow++; |
| 1838 if (buildCounterTableRow < 3) { | 1846 if (buildCounterTableRow < 3) { |
| 1839 o.f = buildUnnamed2953(); | 1847 o.f = buildUnnamed516(); |
| 1840 } | 1848 } |
| 1841 buildCounterTableRow--; | 1849 buildCounterTableRow--; |
| 1842 return o; | 1850 return o; |
| 1843 } | 1851 } |
| 1844 | 1852 |
| 1845 checkTableRow(api.TableRow o) { | 1853 checkTableRow(api.TableRow o) { |
| 1846 buildCounterTableRow++; | 1854 buildCounterTableRow++; |
| 1847 if (buildCounterTableRow < 3) { | 1855 if (buildCounterTableRow < 3) { |
| 1848 checkUnnamed2953(o.f); | 1856 checkUnnamed516(o.f); |
| 1849 } | 1857 } |
| 1850 buildCounterTableRow--; | 1858 buildCounterTableRow--; |
| 1851 } | 1859 } |
| 1852 | 1860 |
| 1853 buildUnnamed2954() { | 1861 buildUnnamed517() { |
| 1854 var o = new core.List<api.TableFieldSchema>(); | 1862 var o = new core.List<api.TableFieldSchema>(); |
| 1855 o.add(buildTableFieldSchema()); | 1863 o.add(buildTableFieldSchema()); |
| 1856 o.add(buildTableFieldSchema()); | 1864 o.add(buildTableFieldSchema()); |
| 1857 return o; | 1865 return o; |
| 1858 } | 1866 } |
| 1859 | 1867 |
| 1860 checkUnnamed2954(core.List<api.TableFieldSchema> o) { | 1868 checkUnnamed517(core.List<api.TableFieldSchema> o) { |
| 1861 unittest.expect(o, unittest.hasLength(2)); | 1869 unittest.expect(o, unittest.hasLength(2)); |
| 1862 checkTableFieldSchema(o[0]); | 1870 checkTableFieldSchema(o[0]); |
| 1863 checkTableFieldSchema(o[1]); | 1871 checkTableFieldSchema(o[1]); |
| 1864 } | 1872 } |
| 1865 | 1873 |
| 1866 core.int buildCounterTableSchema = 0; | 1874 core.int buildCounterTableSchema = 0; |
| 1867 buildTableSchema() { | 1875 buildTableSchema() { |
| 1868 var o = new api.TableSchema(); | 1876 var o = new api.TableSchema(); |
| 1869 buildCounterTableSchema++; | 1877 buildCounterTableSchema++; |
| 1870 if (buildCounterTableSchema < 3) { | 1878 if (buildCounterTableSchema < 3) { |
| 1871 o.fields = buildUnnamed2954(); | 1879 o.fields = buildUnnamed517(); |
| 1872 } | 1880 } |
| 1873 buildCounterTableSchema--; | 1881 buildCounterTableSchema--; |
| 1874 return o; | 1882 return o; |
| 1875 } | 1883 } |
| 1876 | 1884 |
| 1877 checkTableSchema(api.TableSchema o) { | 1885 checkTableSchema(api.TableSchema o) { |
| 1878 buildCounterTableSchema++; | 1886 buildCounterTableSchema++; |
| 1879 if (buildCounterTableSchema < 3) { | 1887 if (buildCounterTableSchema < 3) { |
| 1880 checkUnnamed2954(o.fields); | 1888 checkUnnamed517(o.fields); |
| 1881 } | 1889 } |
| 1882 buildCounterTableSchema--; | 1890 buildCounterTableSchema--; |
| 1883 } | 1891 } |
| 1884 | 1892 |
| 1885 core.int buildCounterTimePartitioning = 0; | 1893 core.int buildCounterTimePartitioning = 0; |
| 1886 buildTimePartitioning() { | 1894 buildTimePartitioning() { |
| 1887 var o = new api.TimePartitioning(); | 1895 var o = new api.TimePartitioning(); |
| 1888 buildCounterTimePartitioning++; | 1896 buildCounterTimePartitioning++; |
| 1889 if (buildCounterTimePartitioning < 3) { | 1897 if (buildCounterTimePartitioning < 3) { |
| 1890 o.expirationMs = "foo"; | 1898 o.expirationMs = "foo"; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 1917 | 1925 |
| 1918 checkUserDefinedFunctionResource(api.UserDefinedFunctionResource o) { | 1926 checkUserDefinedFunctionResource(api.UserDefinedFunctionResource o) { |
| 1919 buildCounterUserDefinedFunctionResource++; | 1927 buildCounterUserDefinedFunctionResource++; |
| 1920 if (buildCounterUserDefinedFunctionResource < 3) { | 1928 if (buildCounterUserDefinedFunctionResource < 3) { |
| 1921 unittest.expect(o.inlineCode, unittest.equals('foo')); | 1929 unittest.expect(o.inlineCode, unittest.equals('foo')); |
| 1922 unittest.expect(o.resourceUri, unittest.equals('foo')); | 1930 unittest.expect(o.resourceUri, unittest.equals('foo')); |
| 1923 } | 1931 } |
| 1924 buildCounterUserDefinedFunctionResource--; | 1932 buildCounterUserDefinedFunctionResource--; |
| 1925 } | 1933 } |
| 1926 | 1934 |
| 1927 buildUnnamed2955() { | 1935 buildUnnamed518() { |
| 1928 var o = new core.List<api.UserDefinedFunctionResource>(); | 1936 var o = new core.List<api.UserDefinedFunctionResource>(); |
| 1929 o.add(buildUserDefinedFunctionResource()); | 1937 o.add(buildUserDefinedFunctionResource()); |
| 1930 o.add(buildUserDefinedFunctionResource()); | 1938 o.add(buildUserDefinedFunctionResource()); |
| 1931 return o; | 1939 return o; |
| 1932 } | 1940 } |
| 1933 | 1941 |
| 1934 checkUnnamed2955(core.List<api.UserDefinedFunctionResource> o) { | 1942 checkUnnamed518(core.List<api.UserDefinedFunctionResource> o) { |
| 1935 unittest.expect(o, unittest.hasLength(2)); | 1943 unittest.expect(o, unittest.hasLength(2)); |
| 1936 checkUserDefinedFunctionResource(o[0]); | 1944 checkUserDefinedFunctionResource(o[0]); |
| 1937 checkUserDefinedFunctionResource(o[1]); | 1945 checkUserDefinedFunctionResource(o[1]); |
| 1938 } | 1946 } |
| 1939 | 1947 |
| 1940 core.int buildCounterViewDefinition = 0; | 1948 core.int buildCounterViewDefinition = 0; |
| 1941 buildViewDefinition() { | 1949 buildViewDefinition() { |
| 1942 var o = new api.ViewDefinition(); | 1950 var o = new api.ViewDefinition(); |
| 1943 buildCounterViewDefinition++; | 1951 buildCounterViewDefinition++; |
| 1944 if (buildCounterViewDefinition < 3) { | 1952 if (buildCounterViewDefinition < 3) { |
| 1945 o.query = "foo"; | 1953 o.query = "foo"; |
| 1946 o.useLegacySql = true; | 1954 o.useLegacySql = true; |
| 1947 o.userDefinedFunctionResources = buildUnnamed2955(); | 1955 o.userDefinedFunctionResources = buildUnnamed518(); |
| 1948 } | 1956 } |
| 1949 buildCounterViewDefinition--; | 1957 buildCounterViewDefinition--; |
| 1950 return o; | 1958 return o; |
| 1951 } | 1959 } |
| 1952 | 1960 |
| 1953 checkViewDefinition(api.ViewDefinition o) { | 1961 checkViewDefinition(api.ViewDefinition o) { |
| 1954 buildCounterViewDefinition++; | 1962 buildCounterViewDefinition++; |
| 1955 if (buildCounterViewDefinition < 3) { | 1963 if (buildCounterViewDefinition < 3) { |
| 1956 unittest.expect(o.query, unittest.equals('foo')); | 1964 unittest.expect(o.query, unittest.equals('foo')); |
| 1957 unittest.expect(o.useLegacySql, unittest.isTrue); | 1965 unittest.expect(o.useLegacySql, unittest.isTrue); |
| 1958 checkUnnamed2955(o.userDefinedFunctionResources); | 1966 checkUnnamed518(o.userDefinedFunctionResources); |
| 1959 } | 1967 } |
| 1960 buildCounterViewDefinition--; | 1968 buildCounterViewDefinition--; |
| 1961 } | 1969 } |
| 1962 | 1970 |
| 1963 buildUnnamed2956() { | 1971 buildUnnamed519() { |
| 1964 var o = new core.List<core.String>(); | 1972 var o = new core.List<core.String>(); |
| 1965 o.add("foo"); | 1973 o.add("foo"); |
| 1966 o.add("foo"); | 1974 o.add("foo"); |
| 1967 return o; | 1975 return o; |
| 1968 } | 1976 } |
| 1969 | 1977 |
| 1970 checkUnnamed2956(core.List<core.String> o) { | 1978 checkUnnamed519(core.List<core.String> o) { |
| 1971 unittest.expect(o, unittest.hasLength(2)); | 1979 unittest.expect(o, unittest.hasLength(2)); |
| 1972 unittest.expect(o[0], unittest.equals('foo')); | 1980 unittest.expect(o[0], unittest.equals('foo')); |
| 1973 unittest.expect(o[1], unittest.equals('foo')); | 1981 unittest.expect(o[1], unittest.equals('foo')); |
| 1974 } | 1982 } |
| 1975 | 1983 |
| 1976 | 1984 |
| 1977 main() { | 1985 main() { |
| 1978 unittest.group("obj-schema-BigtableColumn", () { | 1986 unittest.group("obj-schema-BigtableColumn", () { |
| 1979 unittest.test("to-json--from-json", () { | 1987 unittest.test("to-json--from-json", () { |
| 1980 var o = buildBigtableColumn(); | 1988 var o = buildBigtableColumn(); |
| (...skipping 1074 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3055 | 3063 |
| 3056 unittest.test("method--list", () { | 3064 unittest.test("method--list", () { |
| 3057 | 3065 |
| 3058 var mock = new HttpServerMock(); | 3066 var mock = new HttpServerMock(); |
| 3059 api.JobsResourceApi res = new api.BigqueryApi(mock).jobs; | 3067 api.JobsResourceApi res = new api.BigqueryApi(mock).jobs; |
| 3060 var arg_projectId = "foo"; | 3068 var arg_projectId = "foo"; |
| 3061 var arg_allUsers = true; | 3069 var arg_allUsers = true; |
| 3062 var arg_maxResults = 42; | 3070 var arg_maxResults = 42; |
| 3063 var arg_pageToken = "foo"; | 3071 var arg_pageToken = "foo"; |
| 3064 var arg_projection = "foo"; | 3072 var arg_projection = "foo"; |
| 3065 var arg_stateFilter = buildUnnamed2956(); | 3073 var arg_stateFilter = buildUnnamed519(); |
| 3066 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 3074 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 3067 var path = (req.url).path; | 3075 var path = (req.url).path; |
| 3068 var pathOffset = 0; | 3076 var pathOffset = 0; |
| 3069 var index; | 3077 var index; |
| 3070 var subPart; | 3078 var subPart; |
| 3071 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 3079 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 3072 pathOffset += 1; | 3080 pathOffset += 1; |
| 3073 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("bigquery/v2/")); | 3081 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("bigquery/v2/")); |
| 3074 pathOffset += 12; | 3082 pathOffset += 12; |
| 3075 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("projects/")); | 3083 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("projects/")); |
| (...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3776 res.update(arg_request, arg_projectId, arg_datasetId, arg_tableId).then(un
ittest.expectAsync(((api.Table response) { | 3784 res.update(arg_request, arg_projectId, arg_datasetId, arg_tableId).then(un
ittest.expectAsync(((api.Table response) { |
| 3777 checkTable(response); | 3785 checkTable(response); |
| 3778 }))); | 3786 }))); |
| 3779 }); | 3787 }); |
| 3780 | 3788 |
| 3781 }); | 3789 }); |
| 3782 | 3790 |
| 3783 | 3791 |
| 3784 } | 3792 } |
| 3785 | 3793 |
| OLD | NEW |