| OLD | NEW |
| 1 library googleapis.deploymentmanager.v2.test; | 1 library googleapis.deploymentmanager.v2.test; |
| 2 | 2 |
| 3 import "dart:core" as core; | 3 import "dart:core" as core; |
| 4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
| 5 import "dart:async" as async; | 5 import "dart:async" as async; |
| 6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
| 7 | 7 |
| 8 import 'package:http/http.dart' as http; | 8 import 'package:http/http.dart' as http; |
| 9 import 'package:http/testing.dart' as http_testing; | 9 import 'package:http/testing.dart' as http_testing; |
| 10 import 'package:unittest/unittest.dart' as unittest; | 10 import 'package:unittest/unittest.dart' as unittest; |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 } | 136 } |
| 137 | 137 |
| 138 checkDeploymentsCancelPreviewRequest(api.DeploymentsCancelPreviewRequest o) { | 138 checkDeploymentsCancelPreviewRequest(api.DeploymentsCancelPreviewRequest o) { |
| 139 buildCounterDeploymentsCancelPreviewRequest++; | 139 buildCounterDeploymentsCancelPreviewRequest++; |
| 140 if (buildCounterDeploymentsCancelPreviewRequest < 3) { | 140 if (buildCounterDeploymentsCancelPreviewRequest < 3) { |
| 141 unittest.expect(o.fingerprint, unittest.equals('foo')); | 141 unittest.expect(o.fingerprint, unittest.equals('foo')); |
| 142 } | 142 } |
| 143 buildCounterDeploymentsCancelPreviewRequest--; | 143 buildCounterDeploymentsCancelPreviewRequest--; |
| 144 } | 144 } |
| 145 | 145 |
| 146 buildUnnamed738() { | 146 buildUnnamed1633() { |
| 147 var o = new core.List<api.Deployment>(); | 147 var o = new core.List<api.Deployment>(); |
| 148 o.add(buildDeployment()); | 148 o.add(buildDeployment()); |
| 149 o.add(buildDeployment()); | 149 o.add(buildDeployment()); |
| 150 return o; | 150 return o; |
| 151 } | 151 } |
| 152 | 152 |
| 153 checkUnnamed738(core.List<api.Deployment> o) { | 153 checkUnnamed1633(core.List<api.Deployment> o) { |
| 154 unittest.expect(o, unittest.hasLength(2)); | 154 unittest.expect(o, unittest.hasLength(2)); |
| 155 checkDeployment(o[0]); | 155 checkDeployment(o[0]); |
| 156 checkDeployment(o[1]); | 156 checkDeployment(o[1]); |
| 157 } | 157 } |
| 158 | 158 |
| 159 core.int buildCounterDeploymentsListResponse = 0; | 159 core.int buildCounterDeploymentsListResponse = 0; |
| 160 buildDeploymentsListResponse() { | 160 buildDeploymentsListResponse() { |
| 161 var o = new api.DeploymentsListResponse(); | 161 var o = new api.DeploymentsListResponse(); |
| 162 buildCounterDeploymentsListResponse++; | 162 buildCounterDeploymentsListResponse++; |
| 163 if (buildCounterDeploymentsListResponse < 3) { | 163 if (buildCounterDeploymentsListResponse < 3) { |
| 164 o.deployments = buildUnnamed738(); | 164 o.deployments = buildUnnamed1633(); |
| 165 o.nextPageToken = "foo"; | 165 o.nextPageToken = "foo"; |
| 166 } | 166 } |
| 167 buildCounterDeploymentsListResponse--; | 167 buildCounterDeploymentsListResponse--; |
| 168 return o; | 168 return o; |
| 169 } | 169 } |
| 170 | 170 |
| 171 checkDeploymentsListResponse(api.DeploymentsListResponse o) { | 171 checkDeploymentsListResponse(api.DeploymentsListResponse o) { |
| 172 buildCounterDeploymentsListResponse++; | 172 buildCounterDeploymentsListResponse++; |
| 173 if (buildCounterDeploymentsListResponse < 3) { | 173 if (buildCounterDeploymentsListResponse < 3) { |
| 174 checkUnnamed738(o.deployments); | 174 checkUnnamed1633(o.deployments); |
| 175 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 175 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 176 } | 176 } |
| 177 buildCounterDeploymentsListResponse--; | 177 buildCounterDeploymentsListResponse--; |
| 178 } | 178 } |
| 179 | 179 |
| 180 core.int buildCounterDeploymentsStopRequest = 0; | 180 core.int buildCounterDeploymentsStopRequest = 0; |
| 181 buildDeploymentsStopRequest() { | 181 buildDeploymentsStopRequest() { |
| 182 var o = new api.DeploymentsStopRequest(); | 182 var o = new api.DeploymentsStopRequest(); |
| 183 buildCounterDeploymentsStopRequest++; | 183 buildCounterDeploymentsStopRequest++; |
| 184 if (buildCounterDeploymentsStopRequest < 3) { | 184 if (buildCounterDeploymentsStopRequest < 3) { |
| (...skipping 25 matching lines...) Expand all Loading... |
| 210 | 210 |
| 211 checkImportFile(api.ImportFile o) { | 211 checkImportFile(api.ImportFile o) { |
| 212 buildCounterImportFile++; | 212 buildCounterImportFile++; |
| 213 if (buildCounterImportFile < 3) { | 213 if (buildCounterImportFile < 3) { |
| 214 unittest.expect(o.content, unittest.equals('foo')); | 214 unittest.expect(o.content, unittest.equals('foo')); |
| 215 unittest.expect(o.name, unittest.equals('foo')); | 215 unittest.expect(o.name, unittest.equals('foo')); |
| 216 } | 216 } |
| 217 buildCounterImportFile--; | 217 buildCounterImportFile--; |
| 218 } | 218 } |
| 219 | 219 |
| 220 buildUnnamed739() { | 220 buildUnnamed1634() { |
| 221 var o = new core.List<api.ImportFile>(); | 221 var o = new core.List<api.ImportFile>(); |
| 222 o.add(buildImportFile()); | 222 o.add(buildImportFile()); |
| 223 o.add(buildImportFile()); | 223 o.add(buildImportFile()); |
| 224 return o; | 224 return o; |
| 225 } | 225 } |
| 226 | 226 |
| 227 checkUnnamed739(core.List<api.ImportFile> o) { | 227 checkUnnamed1634(core.List<api.ImportFile> o) { |
| 228 unittest.expect(o, unittest.hasLength(2)); | 228 unittest.expect(o, unittest.hasLength(2)); |
| 229 checkImportFile(o[0]); | 229 checkImportFile(o[0]); |
| 230 checkImportFile(o[1]); | 230 checkImportFile(o[1]); |
| 231 } | 231 } |
| 232 | 232 |
| 233 core.int buildCounterManifest = 0; | 233 core.int buildCounterManifest = 0; |
| 234 buildManifest() { | 234 buildManifest() { |
| 235 var o = new api.Manifest(); | 235 var o = new api.Manifest(); |
| 236 buildCounterManifest++; | 236 buildCounterManifest++; |
| 237 if (buildCounterManifest < 3) { | 237 if (buildCounterManifest < 3) { |
| 238 o.config = buildConfigFile(); | 238 o.config = buildConfigFile(); |
| 239 o.expandedConfig = "foo"; | 239 o.expandedConfig = "foo"; |
| 240 o.id = "foo"; | 240 o.id = "foo"; |
| 241 o.imports = buildUnnamed739(); | 241 o.imports = buildUnnamed1634(); |
| 242 o.insertTime = "foo"; | 242 o.insertTime = "foo"; |
| 243 o.layout = "foo"; | 243 o.layout = "foo"; |
| 244 o.name = "foo"; | 244 o.name = "foo"; |
| 245 o.selfLink = "foo"; | 245 o.selfLink = "foo"; |
| 246 } | 246 } |
| 247 buildCounterManifest--; | 247 buildCounterManifest--; |
| 248 return o; | 248 return o; |
| 249 } | 249 } |
| 250 | 250 |
| 251 checkManifest(api.Manifest o) { | 251 checkManifest(api.Manifest o) { |
| 252 buildCounterManifest++; | 252 buildCounterManifest++; |
| 253 if (buildCounterManifest < 3) { | 253 if (buildCounterManifest < 3) { |
| 254 checkConfigFile(o.config); | 254 checkConfigFile(o.config); |
| 255 unittest.expect(o.expandedConfig, unittest.equals('foo')); | 255 unittest.expect(o.expandedConfig, unittest.equals('foo')); |
| 256 unittest.expect(o.id, unittest.equals('foo')); | 256 unittest.expect(o.id, unittest.equals('foo')); |
| 257 checkUnnamed739(o.imports); | 257 checkUnnamed1634(o.imports); |
| 258 unittest.expect(o.insertTime, unittest.equals('foo')); | 258 unittest.expect(o.insertTime, unittest.equals('foo')); |
| 259 unittest.expect(o.layout, unittest.equals('foo')); | 259 unittest.expect(o.layout, unittest.equals('foo')); |
| 260 unittest.expect(o.name, unittest.equals('foo')); | 260 unittest.expect(o.name, unittest.equals('foo')); |
| 261 unittest.expect(o.selfLink, unittest.equals('foo')); | 261 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 262 } | 262 } |
| 263 buildCounterManifest--; | 263 buildCounterManifest--; |
| 264 } | 264 } |
| 265 | 265 |
| 266 buildUnnamed740() { | 266 buildUnnamed1635() { |
| 267 var o = new core.List<api.Manifest>(); | 267 var o = new core.List<api.Manifest>(); |
| 268 o.add(buildManifest()); | 268 o.add(buildManifest()); |
| 269 o.add(buildManifest()); | 269 o.add(buildManifest()); |
| 270 return o; | 270 return o; |
| 271 } | 271 } |
| 272 | 272 |
| 273 checkUnnamed740(core.List<api.Manifest> o) { | 273 checkUnnamed1635(core.List<api.Manifest> o) { |
| 274 unittest.expect(o, unittest.hasLength(2)); | 274 unittest.expect(o, unittest.hasLength(2)); |
| 275 checkManifest(o[0]); | 275 checkManifest(o[0]); |
| 276 checkManifest(o[1]); | 276 checkManifest(o[1]); |
| 277 } | 277 } |
| 278 | 278 |
| 279 core.int buildCounterManifestsListResponse = 0; | 279 core.int buildCounterManifestsListResponse = 0; |
| 280 buildManifestsListResponse() { | 280 buildManifestsListResponse() { |
| 281 var o = new api.ManifestsListResponse(); | 281 var o = new api.ManifestsListResponse(); |
| 282 buildCounterManifestsListResponse++; | 282 buildCounterManifestsListResponse++; |
| 283 if (buildCounterManifestsListResponse < 3) { | 283 if (buildCounterManifestsListResponse < 3) { |
| 284 o.manifests = buildUnnamed740(); | 284 o.manifests = buildUnnamed1635(); |
| 285 o.nextPageToken = "foo"; | 285 o.nextPageToken = "foo"; |
| 286 } | 286 } |
| 287 buildCounterManifestsListResponse--; | 287 buildCounterManifestsListResponse--; |
| 288 return o; | 288 return o; |
| 289 } | 289 } |
| 290 | 290 |
| 291 checkManifestsListResponse(api.ManifestsListResponse o) { | 291 checkManifestsListResponse(api.ManifestsListResponse o) { |
| 292 buildCounterManifestsListResponse++; | 292 buildCounterManifestsListResponse++; |
| 293 if (buildCounterManifestsListResponse < 3) { | 293 if (buildCounterManifestsListResponse < 3) { |
| 294 checkUnnamed740(o.manifests); | 294 checkUnnamed1635(o.manifests); |
| 295 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 295 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 296 } | 296 } |
| 297 buildCounterManifestsListResponse--; | 297 buildCounterManifestsListResponse--; |
| 298 } | 298 } |
| 299 | 299 |
| 300 core.int buildCounterOperationErrorErrors = 0; | 300 core.int buildCounterOperationErrorErrors = 0; |
| 301 buildOperationErrorErrors() { | 301 buildOperationErrorErrors() { |
| 302 var o = new api.OperationErrorErrors(); | 302 var o = new api.OperationErrorErrors(); |
| 303 buildCounterOperationErrorErrors++; | 303 buildCounterOperationErrorErrors++; |
| 304 if (buildCounterOperationErrorErrors < 3) { | 304 if (buildCounterOperationErrorErrors < 3) { |
| 305 o.code = "foo"; | 305 o.code = "foo"; |
| 306 o.location = "foo"; | 306 o.location = "foo"; |
| 307 o.message = "foo"; | 307 o.message = "foo"; |
| 308 } | 308 } |
| 309 buildCounterOperationErrorErrors--; | 309 buildCounterOperationErrorErrors--; |
| 310 return o; | 310 return o; |
| 311 } | 311 } |
| 312 | 312 |
| 313 checkOperationErrorErrors(api.OperationErrorErrors o) { | 313 checkOperationErrorErrors(api.OperationErrorErrors o) { |
| 314 buildCounterOperationErrorErrors++; | 314 buildCounterOperationErrorErrors++; |
| 315 if (buildCounterOperationErrorErrors < 3) { | 315 if (buildCounterOperationErrorErrors < 3) { |
| 316 unittest.expect(o.code, unittest.equals('foo')); | 316 unittest.expect(o.code, unittest.equals('foo')); |
| 317 unittest.expect(o.location, unittest.equals('foo')); | 317 unittest.expect(o.location, unittest.equals('foo')); |
| 318 unittest.expect(o.message, unittest.equals('foo')); | 318 unittest.expect(o.message, unittest.equals('foo')); |
| 319 } | 319 } |
| 320 buildCounterOperationErrorErrors--; | 320 buildCounterOperationErrorErrors--; |
| 321 } | 321 } |
| 322 | 322 |
| 323 buildUnnamed741() { | 323 buildUnnamed1636() { |
| 324 var o = new core.List<api.OperationErrorErrors>(); | 324 var o = new core.List<api.OperationErrorErrors>(); |
| 325 o.add(buildOperationErrorErrors()); | 325 o.add(buildOperationErrorErrors()); |
| 326 o.add(buildOperationErrorErrors()); | 326 o.add(buildOperationErrorErrors()); |
| 327 return o; | 327 return o; |
| 328 } | 328 } |
| 329 | 329 |
| 330 checkUnnamed741(core.List<api.OperationErrorErrors> o) { | 330 checkUnnamed1636(core.List<api.OperationErrorErrors> o) { |
| 331 unittest.expect(o, unittest.hasLength(2)); | 331 unittest.expect(o, unittest.hasLength(2)); |
| 332 checkOperationErrorErrors(o[0]); | 332 checkOperationErrorErrors(o[0]); |
| 333 checkOperationErrorErrors(o[1]); | 333 checkOperationErrorErrors(o[1]); |
| 334 } | 334 } |
| 335 | 335 |
| 336 core.int buildCounterOperationError = 0; | 336 core.int buildCounterOperationError = 0; |
| 337 buildOperationError() { | 337 buildOperationError() { |
| 338 var o = new api.OperationError(); | 338 var o = new api.OperationError(); |
| 339 buildCounterOperationError++; | 339 buildCounterOperationError++; |
| 340 if (buildCounterOperationError < 3) { | 340 if (buildCounterOperationError < 3) { |
| 341 o.errors = buildUnnamed741(); | 341 o.errors = buildUnnamed1636(); |
| 342 } | 342 } |
| 343 buildCounterOperationError--; | 343 buildCounterOperationError--; |
| 344 return o; | 344 return o; |
| 345 } | 345 } |
| 346 | 346 |
| 347 checkOperationError(api.OperationError o) { | 347 checkOperationError(api.OperationError o) { |
| 348 buildCounterOperationError++; | 348 buildCounterOperationError++; |
| 349 if (buildCounterOperationError < 3) { | 349 if (buildCounterOperationError < 3) { |
| 350 checkUnnamed741(o.errors); | 350 checkUnnamed1636(o.errors); |
| 351 } | 351 } |
| 352 buildCounterOperationError--; | 352 buildCounterOperationError--; |
| 353 } | 353 } |
| 354 | 354 |
| 355 core.int buildCounterOperationWarningsData = 0; | 355 core.int buildCounterOperationWarningsData = 0; |
| 356 buildOperationWarningsData() { | 356 buildOperationWarningsData() { |
| 357 var o = new api.OperationWarningsData(); | 357 var o = new api.OperationWarningsData(); |
| 358 buildCounterOperationWarningsData++; | 358 buildCounterOperationWarningsData++; |
| 359 if (buildCounterOperationWarningsData < 3) { | 359 if (buildCounterOperationWarningsData < 3) { |
| 360 o.key = "foo"; | 360 o.key = "foo"; |
| 361 o.value = "foo"; | 361 o.value = "foo"; |
| 362 } | 362 } |
| 363 buildCounterOperationWarningsData--; | 363 buildCounterOperationWarningsData--; |
| 364 return o; | 364 return o; |
| 365 } | 365 } |
| 366 | 366 |
| 367 checkOperationWarningsData(api.OperationWarningsData o) { | 367 checkOperationWarningsData(api.OperationWarningsData o) { |
| 368 buildCounterOperationWarningsData++; | 368 buildCounterOperationWarningsData++; |
| 369 if (buildCounterOperationWarningsData < 3) { | 369 if (buildCounterOperationWarningsData < 3) { |
| 370 unittest.expect(o.key, unittest.equals('foo')); | 370 unittest.expect(o.key, unittest.equals('foo')); |
| 371 unittest.expect(o.value, unittest.equals('foo')); | 371 unittest.expect(o.value, unittest.equals('foo')); |
| 372 } | 372 } |
| 373 buildCounterOperationWarningsData--; | 373 buildCounterOperationWarningsData--; |
| 374 } | 374 } |
| 375 | 375 |
| 376 buildUnnamed742() { | 376 buildUnnamed1637() { |
| 377 var o = new core.List<api.OperationWarningsData>(); | 377 var o = new core.List<api.OperationWarningsData>(); |
| 378 o.add(buildOperationWarningsData()); | 378 o.add(buildOperationWarningsData()); |
| 379 o.add(buildOperationWarningsData()); | 379 o.add(buildOperationWarningsData()); |
| 380 return o; | 380 return o; |
| 381 } | 381 } |
| 382 | 382 |
| 383 checkUnnamed742(core.List<api.OperationWarningsData> o) { | 383 checkUnnamed1637(core.List<api.OperationWarningsData> o) { |
| 384 unittest.expect(o, unittest.hasLength(2)); | 384 unittest.expect(o, unittest.hasLength(2)); |
| 385 checkOperationWarningsData(o[0]); | 385 checkOperationWarningsData(o[0]); |
| 386 checkOperationWarningsData(o[1]); | 386 checkOperationWarningsData(o[1]); |
| 387 } | 387 } |
| 388 | 388 |
| 389 core.int buildCounterOperationWarnings = 0; | 389 core.int buildCounterOperationWarnings = 0; |
| 390 buildOperationWarnings() { | 390 buildOperationWarnings() { |
| 391 var o = new api.OperationWarnings(); | 391 var o = new api.OperationWarnings(); |
| 392 buildCounterOperationWarnings++; | 392 buildCounterOperationWarnings++; |
| 393 if (buildCounterOperationWarnings < 3) { | 393 if (buildCounterOperationWarnings < 3) { |
| 394 o.code = "foo"; | 394 o.code = "foo"; |
| 395 o.data = buildUnnamed742(); | 395 o.data = buildUnnamed1637(); |
| 396 o.message = "foo"; | 396 o.message = "foo"; |
| 397 } | 397 } |
| 398 buildCounterOperationWarnings--; | 398 buildCounterOperationWarnings--; |
| 399 return o; | 399 return o; |
| 400 } | 400 } |
| 401 | 401 |
| 402 checkOperationWarnings(api.OperationWarnings o) { | 402 checkOperationWarnings(api.OperationWarnings o) { |
| 403 buildCounterOperationWarnings++; | 403 buildCounterOperationWarnings++; |
| 404 if (buildCounterOperationWarnings < 3) { | 404 if (buildCounterOperationWarnings < 3) { |
| 405 unittest.expect(o.code, unittest.equals('foo')); | 405 unittest.expect(o.code, unittest.equals('foo')); |
| 406 checkUnnamed742(o.data); | 406 checkUnnamed1637(o.data); |
| 407 unittest.expect(o.message, unittest.equals('foo')); | 407 unittest.expect(o.message, unittest.equals('foo')); |
| 408 } | 408 } |
| 409 buildCounterOperationWarnings--; | 409 buildCounterOperationWarnings--; |
| 410 } | 410 } |
| 411 | 411 |
| 412 buildUnnamed743() { | 412 buildUnnamed1638() { |
| 413 var o = new core.List<api.OperationWarnings>(); | 413 var o = new core.List<api.OperationWarnings>(); |
| 414 o.add(buildOperationWarnings()); | 414 o.add(buildOperationWarnings()); |
| 415 o.add(buildOperationWarnings()); | 415 o.add(buildOperationWarnings()); |
| 416 return o; | 416 return o; |
| 417 } | 417 } |
| 418 | 418 |
| 419 checkUnnamed743(core.List<api.OperationWarnings> o) { | 419 checkUnnamed1638(core.List<api.OperationWarnings> o) { |
| 420 unittest.expect(o, unittest.hasLength(2)); | 420 unittest.expect(o, unittest.hasLength(2)); |
| 421 checkOperationWarnings(o[0]); | 421 checkOperationWarnings(o[0]); |
| 422 checkOperationWarnings(o[1]); | 422 checkOperationWarnings(o[1]); |
| 423 } | 423 } |
| 424 | 424 |
| 425 core.int buildCounterOperation = 0; | 425 core.int buildCounterOperation = 0; |
| 426 buildOperation() { | 426 buildOperation() { |
| 427 var o = new api.Operation(); | 427 var o = new api.Operation(); |
| 428 buildCounterOperation++; | 428 buildCounterOperation++; |
| 429 if (buildCounterOperation < 3) { | 429 if (buildCounterOperation < 3) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 440 o.operationType = "foo"; | 440 o.operationType = "foo"; |
| 441 o.progress = 42; | 441 o.progress = 42; |
| 442 o.region = "foo"; | 442 o.region = "foo"; |
| 443 o.selfLink = "foo"; | 443 o.selfLink = "foo"; |
| 444 o.startTime = "foo"; | 444 o.startTime = "foo"; |
| 445 o.status = "foo"; | 445 o.status = "foo"; |
| 446 o.statusMessage = "foo"; | 446 o.statusMessage = "foo"; |
| 447 o.targetId = "foo"; | 447 o.targetId = "foo"; |
| 448 o.targetLink = "foo"; | 448 o.targetLink = "foo"; |
| 449 o.user = "foo"; | 449 o.user = "foo"; |
| 450 o.warnings = buildUnnamed743(); | 450 o.warnings = buildUnnamed1638(); |
| 451 o.zone = "foo"; | 451 o.zone = "foo"; |
| 452 } | 452 } |
| 453 buildCounterOperation--; | 453 buildCounterOperation--; |
| 454 return o; | 454 return o; |
| 455 } | 455 } |
| 456 | 456 |
| 457 checkOperation(api.Operation o) { | 457 checkOperation(api.Operation o) { |
| 458 buildCounterOperation++; | 458 buildCounterOperation++; |
| 459 if (buildCounterOperation < 3) { | 459 if (buildCounterOperation < 3) { |
| 460 unittest.expect(o.clientOperationId, unittest.equals('foo')); | 460 unittest.expect(o.clientOperationId, unittest.equals('foo')); |
| 461 unittest.expect(o.creationTimestamp, unittest.equals('foo')); | 461 unittest.expect(o.creationTimestamp, unittest.equals('foo')); |
| 462 unittest.expect(o.endTime, unittest.equals('foo')); | 462 unittest.expect(o.endTime, unittest.equals('foo')); |
| 463 checkOperationError(o.error); | 463 checkOperationError(o.error); |
| 464 unittest.expect(o.httpErrorMessage, unittest.equals('foo')); | 464 unittest.expect(o.httpErrorMessage, unittest.equals('foo')); |
| 465 unittest.expect(o.httpErrorStatusCode, unittest.equals(42)); | 465 unittest.expect(o.httpErrorStatusCode, unittest.equals(42)); |
| 466 unittest.expect(o.id, unittest.equals('foo')); | 466 unittest.expect(o.id, unittest.equals('foo')); |
| 467 unittest.expect(o.insertTime, unittest.equals('foo')); | 467 unittest.expect(o.insertTime, unittest.equals('foo')); |
| 468 unittest.expect(o.kind, unittest.equals('foo')); | 468 unittest.expect(o.kind, unittest.equals('foo')); |
| 469 unittest.expect(o.name, unittest.equals('foo')); | 469 unittest.expect(o.name, unittest.equals('foo')); |
| 470 unittest.expect(o.operationType, unittest.equals('foo')); | 470 unittest.expect(o.operationType, unittest.equals('foo')); |
| 471 unittest.expect(o.progress, unittest.equals(42)); | 471 unittest.expect(o.progress, unittest.equals(42)); |
| 472 unittest.expect(o.region, unittest.equals('foo')); | 472 unittest.expect(o.region, unittest.equals('foo')); |
| 473 unittest.expect(o.selfLink, unittest.equals('foo')); | 473 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 474 unittest.expect(o.startTime, unittest.equals('foo')); | 474 unittest.expect(o.startTime, unittest.equals('foo')); |
| 475 unittest.expect(o.status, unittest.equals('foo')); | 475 unittest.expect(o.status, unittest.equals('foo')); |
| 476 unittest.expect(o.statusMessage, unittest.equals('foo')); | 476 unittest.expect(o.statusMessage, unittest.equals('foo')); |
| 477 unittest.expect(o.targetId, unittest.equals('foo')); | 477 unittest.expect(o.targetId, unittest.equals('foo')); |
| 478 unittest.expect(o.targetLink, unittest.equals('foo')); | 478 unittest.expect(o.targetLink, unittest.equals('foo')); |
| 479 unittest.expect(o.user, unittest.equals('foo')); | 479 unittest.expect(o.user, unittest.equals('foo')); |
| 480 checkUnnamed743(o.warnings); | 480 checkUnnamed1638(o.warnings); |
| 481 unittest.expect(o.zone, unittest.equals('foo')); | 481 unittest.expect(o.zone, unittest.equals('foo')); |
| 482 } | 482 } |
| 483 buildCounterOperation--; | 483 buildCounterOperation--; |
| 484 } | 484 } |
| 485 | 485 |
| 486 buildUnnamed744() { | 486 buildUnnamed1639() { |
| 487 var o = new core.List<api.Operation>(); | 487 var o = new core.List<api.Operation>(); |
| 488 o.add(buildOperation()); | 488 o.add(buildOperation()); |
| 489 o.add(buildOperation()); | 489 o.add(buildOperation()); |
| 490 return o; | 490 return o; |
| 491 } | 491 } |
| 492 | 492 |
| 493 checkUnnamed744(core.List<api.Operation> o) { | 493 checkUnnamed1639(core.List<api.Operation> o) { |
| 494 unittest.expect(o, unittest.hasLength(2)); | 494 unittest.expect(o, unittest.hasLength(2)); |
| 495 checkOperation(o[0]); | 495 checkOperation(o[0]); |
| 496 checkOperation(o[1]); | 496 checkOperation(o[1]); |
| 497 } | 497 } |
| 498 | 498 |
| 499 core.int buildCounterOperationsListResponse = 0; | 499 core.int buildCounterOperationsListResponse = 0; |
| 500 buildOperationsListResponse() { | 500 buildOperationsListResponse() { |
| 501 var o = new api.OperationsListResponse(); | 501 var o = new api.OperationsListResponse(); |
| 502 buildCounterOperationsListResponse++; | 502 buildCounterOperationsListResponse++; |
| 503 if (buildCounterOperationsListResponse < 3) { | 503 if (buildCounterOperationsListResponse < 3) { |
| 504 o.nextPageToken = "foo"; | 504 o.nextPageToken = "foo"; |
| 505 o.operations = buildUnnamed744(); | 505 o.operations = buildUnnamed1639(); |
| 506 } | 506 } |
| 507 buildCounterOperationsListResponse--; | 507 buildCounterOperationsListResponse--; |
| 508 return o; | 508 return o; |
| 509 } | 509 } |
| 510 | 510 |
| 511 checkOperationsListResponse(api.OperationsListResponse o) { | 511 checkOperationsListResponse(api.OperationsListResponse o) { |
| 512 buildCounterOperationsListResponse++; | 512 buildCounterOperationsListResponse++; |
| 513 if (buildCounterOperationsListResponse < 3) { | 513 if (buildCounterOperationsListResponse < 3) { |
| 514 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 514 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 515 checkUnnamed744(o.operations); | 515 checkUnnamed1639(o.operations); |
| 516 } | 516 } |
| 517 buildCounterOperationsListResponse--; | 517 buildCounterOperationsListResponse--; |
| 518 } | 518 } |
| 519 | 519 |
| 520 core.int buildCounterResourceWarningsData = 0; | 520 core.int buildCounterResourceWarningsData = 0; |
| 521 buildResourceWarningsData() { | 521 buildResourceWarningsData() { |
| 522 var o = new api.ResourceWarningsData(); | 522 var o = new api.ResourceWarningsData(); |
| 523 buildCounterResourceWarningsData++; | 523 buildCounterResourceWarningsData++; |
| 524 if (buildCounterResourceWarningsData < 3) { | 524 if (buildCounterResourceWarningsData < 3) { |
| 525 o.key = "foo"; | 525 o.key = "foo"; |
| 526 o.value = "foo"; | 526 o.value = "foo"; |
| 527 } | 527 } |
| 528 buildCounterResourceWarningsData--; | 528 buildCounterResourceWarningsData--; |
| 529 return o; | 529 return o; |
| 530 } | 530 } |
| 531 | 531 |
| 532 checkResourceWarningsData(api.ResourceWarningsData o) { | 532 checkResourceWarningsData(api.ResourceWarningsData o) { |
| 533 buildCounterResourceWarningsData++; | 533 buildCounterResourceWarningsData++; |
| 534 if (buildCounterResourceWarningsData < 3) { | 534 if (buildCounterResourceWarningsData < 3) { |
| 535 unittest.expect(o.key, unittest.equals('foo')); | 535 unittest.expect(o.key, unittest.equals('foo')); |
| 536 unittest.expect(o.value, unittest.equals('foo')); | 536 unittest.expect(o.value, unittest.equals('foo')); |
| 537 } | 537 } |
| 538 buildCounterResourceWarningsData--; | 538 buildCounterResourceWarningsData--; |
| 539 } | 539 } |
| 540 | 540 |
| 541 buildUnnamed745() { | 541 buildUnnamed1640() { |
| 542 var o = new core.List<api.ResourceWarningsData>(); | 542 var o = new core.List<api.ResourceWarningsData>(); |
| 543 o.add(buildResourceWarningsData()); | 543 o.add(buildResourceWarningsData()); |
| 544 o.add(buildResourceWarningsData()); | 544 o.add(buildResourceWarningsData()); |
| 545 return o; | 545 return o; |
| 546 } | 546 } |
| 547 | 547 |
| 548 checkUnnamed745(core.List<api.ResourceWarningsData> o) { | 548 checkUnnamed1640(core.List<api.ResourceWarningsData> o) { |
| 549 unittest.expect(o, unittest.hasLength(2)); | 549 unittest.expect(o, unittest.hasLength(2)); |
| 550 checkResourceWarningsData(o[0]); | 550 checkResourceWarningsData(o[0]); |
| 551 checkResourceWarningsData(o[1]); | 551 checkResourceWarningsData(o[1]); |
| 552 } | 552 } |
| 553 | 553 |
| 554 core.int buildCounterResourceWarnings = 0; | 554 core.int buildCounterResourceWarnings = 0; |
| 555 buildResourceWarnings() { | 555 buildResourceWarnings() { |
| 556 var o = new api.ResourceWarnings(); | 556 var o = new api.ResourceWarnings(); |
| 557 buildCounterResourceWarnings++; | 557 buildCounterResourceWarnings++; |
| 558 if (buildCounterResourceWarnings < 3) { | 558 if (buildCounterResourceWarnings < 3) { |
| 559 o.code = "foo"; | 559 o.code = "foo"; |
| 560 o.data = buildUnnamed745(); | 560 o.data = buildUnnamed1640(); |
| 561 o.message = "foo"; | 561 o.message = "foo"; |
| 562 } | 562 } |
| 563 buildCounterResourceWarnings--; | 563 buildCounterResourceWarnings--; |
| 564 return o; | 564 return o; |
| 565 } | 565 } |
| 566 | 566 |
| 567 checkResourceWarnings(api.ResourceWarnings o) { | 567 checkResourceWarnings(api.ResourceWarnings o) { |
| 568 buildCounterResourceWarnings++; | 568 buildCounterResourceWarnings++; |
| 569 if (buildCounterResourceWarnings < 3) { | 569 if (buildCounterResourceWarnings < 3) { |
| 570 unittest.expect(o.code, unittest.equals('foo')); | 570 unittest.expect(o.code, unittest.equals('foo')); |
| 571 checkUnnamed745(o.data); | 571 checkUnnamed1640(o.data); |
| 572 unittest.expect(o.message, unittest.equals('foo')); | 572 unittest.expect(o.message, unittest.equals('foo')); |
| 573 } | 573 } |
| 574 buildCounterResourceWarnings--; | 574 buildCounterResourceWarnings--; |
| 575 } | 575 } |
| 576 | 576 |
| 577 buildUnnamed746() { | 577 buildUnnamed1641() { |
| 578 var o = new core.List<api.ResourceWarnings>(); | 578 var o = new core.List<api.ResourceWarnings>(); |
| 579 o.add(buildResourceWarnings()); | 579 o.add(buildResourceWarnings()); |
| 580 o.add(buildResourceWarnings()); | 580 o.add(buildResourceWarnings()); |
| 581 return o; | 581 return o; |
| 582 } | 582 } |
| 583 | 583 |
| 584 checkUnnamed746(core.List<api.ResourceWarnings> o) { | 584 checkUnnamed1641(core.List<api.ResourceWarnings> o) { |
| 585 unittest.expect(o, unittest.hasLength(2)); | 585 unittest.expect(o, unittest.hasLength(2)); |
| 586 checkResourceWarnings(o[0]); | 586 checkResourceWarnings(o[0]); |
| 587 checkResourceWarnings(o[1]); | 587 checkResourceWarnings(o[1]); |
| 588 } | 588 } |
| 589 | 589 |
| 590 core.int buildCounterResource = 0; | 590 core.int buildCounterResource = 0; |
| 591 buildResource() { | 591 buildResource() { |
| 592 var o = new api.Resource(); | 592 var o = new api.Resource(); |
| 593 buildCounterResource++; | 593 buildCounterResource++; |
| 594 if (buildCounterResource < 3) { | 594 if (buildCounterResource < 3) { |
| 595 o.finalProperties = "foo"; | 595 o.finalProperties = "foo"; |
| 596 o.id = "foo"; | 596 o.id = "foo"; |
| 597 o.insertTime = "foo"; | 597 o.insertTime = "foo"; |
| 598 o.manifest = "foo"; | 598 o.manifest = "foo"; |
| 599 o.name = "foo"; | 599 o.name = "foo"; |
| 600 o.properties = "foo"; | 600 o.properties = "foo"; |
| 601 o.type = "foo"; | 601 o.type = "foo"; |
| 602 o.update = buildResourceUpdate(); | 602 o.update = buildResourceUpdate(); |
| 603 o.updateTime = "foo"; | 603 o.updateTime = "foo"; |
| 604 o.url = "foo"; | 604 o.url = "foo"; |
| 605 o.warnings = buildUnnamed746(); | 605 o.warnings = buildUnnamed1641(); |
| 606 } | 606 } |
| 607 buildCounterResource--; | 607 buildCounterResource--; |
| 608 return o; | 608 return o; |
| 609 } | 609 } |
| 610 | 610 |
| 611 checkResource(api.Resource o) { | 611 checkResource(api.Resource o) { |
| 612 buildCounterResource++; | 612 buildCounterResource++; |
| 613 if (buildCounterResource < 3) { | 613 if (buildCounterResource < 3) { |
| 614 unittest.expect(o.finalProperties, unittest.equals('foo')); | 614 unittest.expect(o.finalProperties, unittest.equals('foo')); |
| 615 unittest.expect(o.id, unittest.equals('foo')); | 615 unittest.expect(o.id, unittest.equals('foo')); |
| 616 unittest.expect(o.insertTime, unittest.equals('foo')); | 616 unittest.expect(o.insertTime, unittest.equals('foo')); |
| 617 unittest.expect(o.manifest, unittest.equals('foo')); | 617 unittest.expect(o.manifest, unittest.equals('foo')); |
| 618 unittest.expect(o.name, unittest.equals('foo')); | 618 unittest.expect(o.name, unittest.equals('foo')); |
| 619 unittest.expect(o.properties, unittest.equals('foo')); | 619 unittest.expect(o.properties, unittest.equals('foo')); |
| 620 unittest.expect(o.type, unittest.equals('foo')); | 620 unittest.expect(o.type, unittest.equals('foo')); |
| 621 checkResourceUpdate(o.update); | 621 checkResourceUpdate(o.update); |
| 622 unittest.expect(o.updateTime, unittest.equals('foo')); | 622 unittest.expect(o.updateTime, unittest.equals('foo')); |
| 623 unittest.expect(o.url, unittest.equals('foo')); | 623 unittest.expect(o.url, unittest.equals('foo')); |
| 624 checkUnnamed746(o.warnings); | 624 checkUnnamed1641(o.warnings); |
| 625 } | 625 } |
| 626 buildCounterResource--; | 626 buildCounterResource--; |
| 627 } | 627 } |
| 628 | 628 |
| 629 core.int buildCounterResourceUpdateErrorErrors = 0; | 629 core.int buildCounterResourceUpdateErrorErrors = 0; |
| 630 buildResourceUpdateErrorErrors() { | 630 buildResourceUpdateErrorErrors() { |
| 631 var o = new api.ResourceUpdateErrorErrors(); | 631 var o = new api.ResourceUpdateErrorErrors(); |
| 632 buildCounterResourceUpdateErrorErrors++; | 632 buildCounterResourceUpdateErrorErrors++; |
| 633 if (buildCounterResourceUpdateErrorErrors < 3) { | 633 if (buildCounterResourceUpdateErrorErrors < 3) { |
| 634 o.code = "foo"; | 634 o.code = "foo"; |
| 635 o.location = "foo"; | 635 o.location = "foo"; |
| 636 o.message = "foo"; | 636 o.message = "foo"; |
| 637 } | 637 } |
| 638 buildCounterResourceUpdateErrorErrors--; | 638 buildCounterResourceUpdateErrorErrors--; |
| 639 return o; | 639 return o; |
| 640 } | 640 } |
| 641 | 641 |
| 642 checkResourceUpdateErrorErrors(api.ResourceUpdateErrorErrors o) { | 642 checkResourceUpdateErrorErrors(api.ResourceUpdateErrorErrors o) { |
| 643 buildCounterResourceUpdateErrorErrors++; | 643 buildCounterResourceUpdateErrorErrors++; |
| 644 if (buildCounterResourceUpdateErrorErrors < 3) { | 644 if (buildCounterResourceUpdateErrorErrors < 3) { |
| 645 unittest.expect(o.code, unittest.equals('foo')); | 645 unittest.expect(o.code, unittest.equals('foo')); |
| 646 unittest.expect(o.location, unittest.equals('foo')); | 646 unittest.expect(o.location, unittest.equals('foo')); |
| 647 unittest.expect(o.message, unittest.equals('foo')); | 647 unittest.expect(o.message, unittest.equals('foo')); |
| 648 } | 648 } |
| 649 buildCounterResourceUpdateErrorErrors--; | 649 buildCounterResourceUpdateErrorErrors--; |
| 650 } | 650 } |
| 651 | 651 |
| 652 buildUnnamed747() { | 652 buildUnnamed1642() { |
| 653 var o = new core.List<api.ResourceUpdateErrorErrors>(); | 653 var o = new core.List<api.ResourceUpdateErrorErrors>(); |
| 654 o.add(buildResourceUpdateErrorErrors()); | 654 o.add(buildResourceUpdateErrorErrors()); |
| 655 o.add(buildResourceUpdateErrorErrors()); | 655 o.add(buildResourceUpdateErrorErrors()); |
| 656 return o; | 656 return o; |
| 657 } | 657 } |
| 658 | 658 |
| 659 checkUnnamed747(core.List<api.ResourceUpdateErrorErrors> o) { | 659 checkUnnamed1642(core.List<api.ResourceUpdateErrorErrors> o) { |
| 660 unittest.expect(o, unittest.hasLength(2)); | 660 unittest.expect(o, unittest.hasLength(2)); |
| 661 checkResourceUpdateErrorErrors(o[0]); | 661 checkResourceUpdateErrorErrors(o[0]); |
| 662 checkResourceUpdateErrorErrors(o[1]); | 662 checkResourceUpdateErrorErrors(o[1]); |
| 663 } | 663 } |
| 664 | 664 |
| 665 core.int buildCounterResourceUpdateError = 0; | 665 core.int buildCounterResourceUpdateError = 0; |
| 666 buildResourceUpdateError() { | 666 buildResourceUpdateError() { |
| 667 var o = new api.ResourceUpdateError(); | 667 var o = new api.ResourceUpdateError(); |
| 668 buildCounterResourceUpdateError++; | 668 buildCounterResourceUpdateError++; |
| 669 if (buildCounterResourceUpdateError < 3) { | 669 if (buildCounterResourceUpdateError < 3) { |
| 670 o.errors = buildUnnamed747(); | 670 o.errors = buildUnnamed1642(); |
| 671 } | 671 } |
| 672 buildCounterResourceUpdateError--; | 672 buildCounterResourceUpdateError--; |
| 673 return o; | 673 return o; |
| 674 } | 674 } |
| 675 | 675 |
| 676 checkResourceUpdateError(api.ResourceUpdateError o) { | 676 checkResourceUpdateError(api.ResourceUpdateError o) { |
| 677 buildCounterResourceUpdateError++; | 677 buildCounterResourceUpdateError++; |
| 678 if (buildCounterResourceUpdateError < 3) { | 678 if (buildCounterResourceUpdateError < 3) { |
| 679 checkUnnamed747(o.errors); | 679 checkUnnamed1642(o.errors); |
| 680 } | 680 } |
| 681 buildCounterResourceUpdateError--; | 681 buildCounterResourceUpdateError--; |
| 682 } | 682 } |
| 683 | 683 |
| 684 core.int buildCounterResourceUpdateWarningsData = 0; | 684 core.int buildCounterResourceUpdateWarningsData = 0; |
| 685 buildResourceUpdateWarningsData() { | 685 buildResourceUpdateWarningsData() { |
| 686 var o = new api.ResourceUpdateWarningsData(); | 686 var o = new api.ResourceUpdateWarningsData(); |
| 687 buildCounterResourceUpdateWarningsData++; | 687 buildCounterResourceUpdateWarningsData++; |
| 688 if (buildCounterResourceUpdateWarningsData < 3) { | 688 if (buildCounterResourceUpdateWarningsData < 3) { |
| 689 o.key = "foo"; | 689 o.key = "foo"; |
| 690 o.value = "foo"; | 690 o.value = "foo"; |
| 691 } | 691 } |
| 692 buildCounterResourceUpdateWarningsData--; | 692 buildCounterResourceUpdateWarningsData--; |
| 693 return o; | 693 return o; |
| 694 } | 694 } |
| 695 | 695 |
| 696 checkResourceUpdateWarningsData(api.ResourceUpdateWarningsData o) { | 696 checkResourceUpdateWarningsData(api.ResourceUpdateWarningsData o) { |
| 697 buildCounterResourceUpdateWarningsData++; | 697 buildCounterResourceUpdateWarningsData++; |
| 698 if (buildCounterResourceUpdateWarningsData < 3) { | 698 if (buildCounterResourceUpdateWarningsData < 3) { |
| 699 unittest.expect(o.key, unittest.equals('foo')); | 699 unittest.expect(o.key, unittest.equals('foo')); |
| 700 unittest.expect(o.value, unittest.equals('foo')); | 700 unittest.expect(o.value, unittest.equals('foo')); |
| 701 } | 701 } |
| 702 buildCounterResourceUpdateWarningsData--; | 702 buildCounterResourceUpdateWarningsData--; |
| 703 } | 703 } |
| 704 | 704 |
| 705 buildUnnamed748() { | 705 buildUnnamed1643() { |
| 706 var o = new core.List<api.ResourceUpdateWarningsData>(); | 706 var o = new core.List<api.ResourceUpdateWarningsData>(); |
| 707 o.add(buildResourceUpdateWarningsData()); | 707 o.add(buildResourceUpdateWarningsData()); |
| 708 o.add(buildResourceUpdateWarningsData()); | 708 o.add(buildResourceUpdateWarningsData()); |
| 709 return o; | 709 return o; |
| 710 } | 710 } |
| 711 | 711 |
| 712 checkUnnamed748(core.List<api.ResourceUpdateWarningsData> o) { | 712 checkUnnamed1643(core.List<api.ResourceUpdateWarningsData> o) { |
| 713 unittest.expect(o, unittest.hasLength(2)); | 713 unittest.expect(o, unittest.hasLength(2)); |
| 714 checkResourceUpdateWarningsData(o[0]); | 714 checkResourceUpdateWarningsData(o[0]); |
| 715 checkResourceUpdateWarningsData(o[1]); | 715 checkResourceUpdateWarningsData(o[1]); |
| 716 } | 716 } |
| 717 | 717 |
| 718 core.int buildCounterResourceUpdateWarnings = 0; | 718 core.int buildCounterResourceUpdateWarnings = 0; |
| 719 buildResourceUpdateWarnings() { | 719 buildResourceUpdateWarnings() { |
| 720 var o = new api.ResourceUpdateWarnings(); | 720 var o = new api.ResourceUpdateWarnings(); |
| 721 buildCounterResourceUpdateWarnings++; | 721 buildCounterResourceUpdateWarnings++; |
| 722 if (buildCounterResourceUpdateWarnings < 3) { | 722 if (buildCounterResourceUpdateWarnings < 3) { |
| 723 o.code = "foo"; | 723 o.code = "foo"; |
| 724 o.data = buildUnnamed748(); | 724 o.data = buildUnnamed1643(); |
| 725 o.message = "foo"; | 725 o.message = "foo"; |
| 726 } | 726 } |
| 727 buildCounterResourceUpdateWarnings--; | 727 buildCounterResourceUpdateWarnings--; |
| 728 return o; | 728 return o; |
| 729 } | 729 } |
| 730 | 730 |
| 731 checkResourceUpdateWarnings(api.ResourceUpdateWarnings o) { | 731 checkResourceUpdateWarnings(api.ResourceUpdateWarnings o) { |
| 732 buildCounterResourceUpdateWarnings++; | 732 buildCounterResourceUpdateWarnings++; |
| 733 if (buildCounterResourceUpdateWarnings < 3) { | 733 if (buildCounterResourceUpdateWarnings < 3) { |
| 734 unittest.expect(o.code, unittest.equals('foo')); | 734 unittest.expect(o.code, unittest.equals('foo')); |
| 735 checkUnnamed748(o.data); | 735 checkUnnamed1643(o.data); |
| 736 unittest.expect(o.message, unittest.equals('foo')); | 736 unittest.expect(o.message, unittest.equals('foo')); |
| 737 } | 737 } |
| 738 buildCounterResourceUpdateWarnings--; | 738 buildCounterResourceUpdateWarnings--; |
| 739 } | 739 } |
| 740 | 740 |
| 741 buildUnnamed749() { | 741 buildUnnamed1644() { |
| 742 var o = new core.List<api.ResourceUpdateWarnings>(); | 742 var o = new core.List<api.ResourceUpdateWarnings>(); |
| 743 o.add(buildResourceUpdateWarnings()); | 743 o.add(buildResourceUpdateWarnings()); |
| 744 o.add(buildResourceUpdateWarnings()); | 744 o.add(buildResourceUpdateWarnings()); |
| 745 return o; | 745 return o; |
| 746 } | 746 } |
| 747 | 747 |
| 748 checkUnnamed749(core.List<api.ResourceUpdateWarnings> o) { | 748 checkUnnamed1644(core.List<api.ResourceUpdateWarnings> o) { |
| 749 unittest.expect(o, unittest.hasLength(2)); | 749 unittest.expect(o, unittest.hasLength(2)); |
| 750 checkResourceUpdateWarnings(o[0]); | 750 checkResourceUpdateWarnings(o[0]); |
| 751 checkResourceUpdateWarnings(o[1]); | 751 checkResourceUpdateWarnings(o[1]); |
| 752 } | 752 } |
| 753 | 753 |
| 754 core.int buildCounterResourceUpdate = 0; | 754 core.int buildCounterResourceUpdate = 0; |
| 755 buildResourceUpdate() { | 755 buildResourceUpdate() { |
| 756 var o = new api.ResourceUpdate(); | 756 var o = new api.ResourceUpdate(); |
| 757 buildCounterResourceUpdate++; | 757 buildCounterResourceUpdate++; |
| 758 if (buildCounterResourceUpdate < 3) { | 758 if (buildCounterResourceUpdate < 3) { |
| 759 o.error = buildResourceUpdateError(); | 759 o.error = buildResourceUpdateError(); |
| 760 o.finalProperties = "foo"; | 760 o.finalProperties = "foo"; |
| 761 o.intent = "foo"; | 761 o.intent = "foo"; |
| 762 o.manifest = "foo"; | 762 o.manifest = "foo"; |
| 763 o.properties = "foo"; | 763 o.properties = "foo"; |
| 764 o.state = "foo"; | 764 o.state = "foo"; |
| 765 o.warnings = buildUnnamed749(); | 765 o.warnings = buildUnnamed1644(); |
| 766 } | 766 } |
| 767 buildCounterResourceUpdate--; | 767 buildCounterResourceUpdate--; |
| 768 return o; | 768 return o; |
| 769 } | 769 } |
| 770 | 770 |
| 771 checkResourceUpdate(api.ResourceUpdate o) { | 771 checkResourceUpdate(api.ResourceUpdate o) { |
| 772 buildCounterResourceUpdate++; | 772 buildCounterResourceUpdate++; |
| 773 if (buildCounterResourceUpdate < 3) { | 773 if (buildCounterResourceUpdate < 3) { |
| 774 checkResourceUpdateError(o.error); | 774 checkResourceUpdateError(o.error); |
| 775 unittest.expect(o.finalProperties, unittest.equals('foo')); | 775 unittest.expect(o.finalProperties, unittest.equals('foo')); |
| 776 unittest.expect(o.intent, unittest.equals('foo')); | 776 unittest.expect(o.intent, unittest.equals('foo')); |
| 777 unittest.expect(o.manifest, unittest.equals('foo')); | 777 unittest.expect(o.manifest, unittest.equals('foo')); |
| 778 unittest.expect(o.properties, unittest.equals('foo')); | 778 unittest.expect(o.properties, unittest.equals('foo')); |
| 779 unittest.expect(o.state, unittest.equals('foo')); | 779 unittest.expect(o.state, unittest.equals('foo')); |
| 780 checkUnnamed749(o.warnings); | 780 checkUnnamed1644(o.warnings); |
| 781 } | 781 } |
| 782 buildCounterResourceUpdate--; | 782 buildCounterResourceUpdate--; |
| 783 } | 783 } |
| 784 | 784 |
| 785 buildUnnamed750() { | 785 buildUnnamed1645() { |
| 786 var o = new core.List<api.Resource>(); | 786 var o = new core.List<api.Resource>(); |
| 787 o.add(buildResource()); | 787 o.add(buildResource()); |
| 788 o.add(buildResource()); | 788 o.add(buildResource()); |
| 789 return o; | 789 return o; |
| 790 } | 790 } |
| 791 | 791 |
| 792 checkUnnamed750(core.List<api.Resource> o) { | 792 checkUnnamed1645(core.List<api.Resource> o) { |
| 793 unittest.expect(o, unittest.hasLength(2)); | 793 unittest.expect(o, unittest.hasLength(2)); |
| 794 checkResource(o[0]); | 794 checkResource(o[0]); |
| 795 checkResource(o[1]); | 795 checkResource(o[1]); |
| 796 } | 796 } |
| 797 | 797 |
| 798 core.int buildCounterResourcesListResponse = 0; | 798 core.int buildCounterResourcesListResponse = 0; |
| 799 buildResourcesListResponse() { | 799 buildResourcesListResponse() { |
| 800 var o = new api.ResourcesListResponse(); | 800 var o = new api.ResourcesListResponse(); |
| 801 buildCounterResourcesListResponse++; | 801 buildCounterResourcesListResponse++; |
| 802 if (buildCounterResourcesListResponse < 3) { | 802 if (buildCounterResourcesListResponse < 3) { |
| 803 o.nextPageToken = "foo"; | 803 o.nextPageToken = "foo"; |
| 804 o.resources = buildUnnamed750(); | 804 o.resources = buildUnnamed1645(); |
| 805 } | 805 } |
| 806 buildCounterResourcesListResponse--; | 806 buildCounterResourcesListResponse--; |
| 807 return o; | 807 return o; |
| 808 } | 808 } |
| 809 | 809 |
| 810 checkResourcesListResponse(api.ResourcesListResponse o) { | 810 checkResourcesListResponse(api.ResourcesListResponse o) { |
| 811 buildCounterResourcesListResponse++; | 811 buildCounterResourcesListResponse++; |
| 812 if (buildCounterResourcesListResponse < 3) { | 812 if (buildCounterResourcesListResponse < 3) { |
| 813 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 813 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 814 checkUnnamed750(o.resources); | 814 checkUnnamed1645(o.resources); |
| 815 } | 815 } |
| 816 buildCounterResourcesListResponse--; | 816 buildCounterResourcesListResponse--; |
| 817 } | 817 } |
| 818 | 818 |
| 819 buildUnnamed751() { | 819 buildUnnamed1646() { |
| 820 var o = new core.List<api.ImportFile>(); | 820 var o = new core.List<api.ImportFile>(); |
| 821 o.add(buildImportFile()); | 821 o.add(buildImportFile()); |
| 822 o.add(buildImportFile()); | 822 o.add(buildImportFile()); |
| 823 return o; | 823 return o; |
| 824 } | 824 } |
| 825 | 825 |
| 826 checkUnnamed751(core.List<api.ImportFile> o) { | 826 checkUnnamed1646(core.List<api.ImportFile> o) { |
| 827 unittest.expect(o, unittest.hasLength(2)); | 827 unittest.expect(o, unittest.hasLength(2)); |
| 828 checkImportFile(o[0]); | 828 checkImportFile(o[0]); |
| 829 checkImportFile(o[1]); | 829 checkImportFile(o[1]); |
| 830 } | 830 } |
| 831 | 831 |
| 832 core.int buildCounterTargetConfiguration = 0; | 832 core.int buildCounterTargetConfiguration = 0; |
| 833 buildTargetConfiguration() { | 833 buildTargetConfiguration() { |
| 834 var o = new api.TargetConfiguration(); | 834 var o = new api.TargetConfiguration(); |
| 835 buildCounterTargetConfiguration++; | 835 buildCounterTargetConfiguration++; |
| 836 if (buildCounterTargetConfiguration < 3) { | 836 if (buildCounterTargetConfiguration < 3) { |
| 837 o.config = buildConfigFile(); | 837 o.config = buildConfigFile(); |
| 838 o.imports = buildUnnamed751(); | 838 o.imports = buildUnnamed1646(); |
| 839 } | 839 } |
| 840 buildCounterTargetConfiguration--; | 840 buildCounterTargetConfiguration--; |
| 841 return o; | 841 return o; |
| 842 } | 842 } |
| 843 | 843 |
| 844 checkTargetConfiguration(api.TargetConfiguration o) { | 844 checkTargetConfiguration(api.TargetConfiguration o) { |
| 845 buildCounterTargetConfiguration++; | 845 buildCounterTargetConfiguration++; |
| 846 if (buildCounterTargetConfiguration < 3) { | 846 if (buildCounterTargetConfiguration < 3) { |
| 847 checkConfigFile(o.config); | 847 checkConfigFile(o.config); |
| 848 checkUnnamed751(o.imports); | 848 checkUnnamed1646(o.imports); |
| 849 } | 849 } |
| 850 buildCounterTargetConfiguration--; | 850 buildCounterTargetConfiguration--; |
| 851 } | 851 } |
| 852 | 852 |
| 853 core.int buildCounterType = 0; | 853 core.int buildCounterType = 0; |
| 854 buildType() { | 854 buildType() { |
| 855 var o = new api.Type(); | 855 var o = new api.Type(); |
| 856 buildCounterType++; | 856 buildCounterType++; |
| 857 if (buildCounterType < 3) { | 857 if (buildCounterType < 3) { |
| 858 o.name = "foo"; | 858 o.name = "foo"; |
| 859 } | 859 } |
| 860 buildCounterType--; | 860 buildCounterType--; |
| 861 return o; | 861 return o; |
| 862 } | 862 } |
| 863 | 863 |
| 864 checkType(api.Type o) { | 864 checkType(api.Type o) { |
| 865 buildCounterType++; | 865 buildCounterType++; |
| 866 if (buildCounterType < 3) { | 866 if (buildCounterType < 3) { |
| 867 unittest.expect(o.name, unittest.equals('foo')); | 867 unittest.expect(o.name, unittest.equals('foo')); |
| 868 } | 868 } |
| 869 buildCounterType--; | 869 buildCounterType--; |
| 870 } | 870 } |
| 871 | 871 |
| 872 buildUnnamed752() { | 872 buildUnnamed1647() { |
| 873 var o = new core.List<api.Type>(); | 873 var o = new core.List<api.Type>(); |
| 874 o.add(buildType()); | 874 o.add(buildType()); |
| 875 o.add(buildType()); | 875 o.add(buildType()); |
| 876 return o; | 876 return o; |
| 877 } | 877 } |
| 878 | 878 |
| 879 checkUnnamed752(core.List<api.Type> o) { | 879 checkUnnamed1647(core.List<api.Type> o) { |
| 880 unittest.expect(o, unittest.hasLength(2)); | 880 unittest.expect(o, unittest.hasLength(2)); |
| 881 checkType(o[0]); | 881 checkType(o[0]); |
| 882 checkType(o[1]); | 882 checkType(o[1]); |
| 883 } | 883 } |
| 884 | 884 |
| 885 core.int buildCounterTypesListResponse = 0; | 885 core.int buildCounterTypesListResponse = 0; |
| 886 buildTypesListResponse() { | 886 buildTypesListResponse() { |
| 887 var o = new api.TypesListResponse(); | 887 var o = new api.TypesListResponse(); |
| 888 buildCounterTypesListResponse++; | 888 buildCounterTypesListResponse++; |
| 889 if (buildCounterTypesListResponse < 3) { | 889 if (buildCounterTypesListResponse < 3) { |
| 890 o.nextPageToken = "foo"; | 890 o.nextPageToken = "foo"; |
| 891 o.types = buildUnnamed752(); | 891 o.types = buildUnnamed1647(); |
| 892 } | 892 } |
| 893 buildCounterTypesListResponse--; | 893 buildCounterTypesListResponse--; |
| 894 return o; | 894 return o; |
| 895 } | 895 } |
| 896 | 896 |
| 897 checkTypesListResponse(api.TypesListResponse o) { | 897 checkTypesListResponse(api.TypesListResponse o) { |
| 898 buildCounterTypesListResponse++; | 898 buildCounterTypesListResponse++; |
| 899 if (buildCounterTypesListResponse < 3) { | 899 if (buildCounterTypesListResponse < 3) { |
| 900 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 900 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 901 checkUnnamed752(o.types); | 901 checkUnnamed1647(o.types); |
| 902 } | 902 } |
| 903 buildCounterTypesListResponse--; | 903 buildCounterTypesListResponse--; |
| 904 } | 904 } |
| 905 | 905 |
| 906 | 906 |
| 907 main() { | 907 main() { |
| 908 unittest.group("obj-schema-ConfigFile", () { | 908 unittest.group("obj-schema-ConfigFile", () { |
| 909 unittest.test("to-json--from-json", () { | 909 unittest.test("to-json--from-json", () { |
| 910 var o = buildConfigFile(); | 910 var o = buildConfigFile(); |
| 911 var od = new api.ConfigFile.fromJson(o.toJson()); | 911 var od = new api.ConfigFile.fromJson(o.toJson()); |
| (...skipping 958 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1870 res.list(arg_project, filter: arg_filter, maxResults: arg_maxResults, page
Token: arg_pageToken).then(unittest.expectAsync(((api.TypesListResponse response
) { | 1870 res.list(arg_project, filter: arg_filter, maxResults: arg_maxResults, page
Token: arg_pageToken).then(unittest.expectAsync(((api.TypesListResponse response
) { |
| 1871 checkTypesListResponse(response); | 1871 checkTypesListResponse(response); |
| 1872 }))); | 1872 }))); |
| 1873 }); | 1873 }); |
| 1874 | 1874 |
| 1875 }); | 1875 }); |
| 1876 | 1876 |
| 1877 | 1877 |
| 1878 } | 1878 } |
| 1879 | 1879 |
| OLD | NEW |