| OLD | NEW |
| 1 library googleapis.sheets.v4.test; | 1 library googleapis.sheets.v4.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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 } | 44 } |
| 45 } | 45 } |
| 46 } | 46 } |
| 47 | 47 |
| 48 http.StreamedResponse stringResponse( | 48 http.StreamedResponse stringResponse( |
| 49 core.int status, core.Map headers, core.String body) { | 49 core.int status, core.Map headers, core.String body) { |
| 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); | 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); |
| 51 return new http.StreamedResponse(stream, status, headers: headers); | 51 return new http.StreamedResponse(stream, status, headers: headers); |
| 52 } | 52 } |
| 53 | 53 |
| 54 core.int buildCounterAddBandingRequest = 0; |
| 55 buildAddBandingRequest() { |
| 56 var o = new api.AddBandingRequest(); |
| 57 buildCounterAddBandingRequest++; |
| 58 if (buildCounterAddBandingRequest < 3) { |
| 59 o.bandedRange = buildBandedRange(); |
| 60 } |
| 61 buildCounterAddBandingRequest--; |
| 62 return o; |
| 63 } |
| 64 |
| 65 checkAddBandingRequest(api.AddBandingRequest o) { |
| 66 buildCounterAddBandingRequest++; |
| 67 if (buildCounterAddBandingRequest < 3) { |
| 68 checkBandedRange(o.bandedRange); |
| 69 } |
| 70 buildCounterAddBandingRequest--; |
| 71 } |
| 72 |
| 73 core.int buildCounterAddBandingResponse = 0; |
| 74 buildAddBandingResponse() { |
| 75 var o = new api.AddBandingResponse(); |
| 76 buildCounterAddBandingResponse++; |
| 77 if (buildCounterAddBandingResponse < 3) { |
| 78 o.bandedRange = buildBandedRange(); |
| 79 } |
| 80 buildCounterAddBandingResponse--; |
| 81 return o; |
| 82 } |
| 83 |
| 84 checkAddBandingResponse(api.AddBandingResponse o) { |
| 85 buildCounterAddBandingResponse++; |
| 86 if (buildCounterAddBandingResponse < 3) { |
| 87 checkBandedRange(o.bandedRange); |
| 88 } |
| 89 buildCounterAddBandingResponse--; |
| 90 } |
| 91 |
| 54 core.int buildCounterAddChartRequest = 0; | 92 core.int buildCounterAddChartRequest = 0; |
| 55 buildAddChartRequest() { | 93 buildAddChartRequest() { |
| 56 var o = new api.AddChartRequest(); | 94 var o = new api.AddChartRequest(); |
| 57 buildCounterAddChartRequest++; | 95 buildCounterAddChartRequest++; |
| 58 if (buildCounterAddChartRequest < 3) { | 96 if (buildCounterAddChartRequest < 3) { |
| 59 o.chart = buildEmbeddedChart(); | 97 o.chart = buildEmbeddedChart(); |
| 60 } | 98 } |
| 61 buildCounterAddChartRequest--; | 99 buildCounterAddChartRequest--; |
| 62 return o; | 100 return o; |
| 63 } | 101 } |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 } | 293 } |
| 256 | 294 |
| 257 checkAddSheetResponse(api.AddSheetResponse o) { | 295 checkAddSheetResponse(api.AddSheetResponse o) { |
| 258 buildCounterAddSheetResponse++; | 296 buildCounterAddSheetResponse++; |
| 259 if (buildCounterAddSheetResponse < 3) { | 297 if (buildCounterAddSheetResponse < 3) { |
| 260 checkSheetProperties(o.properties); | 298 checkSheetProperties(o.properties); |
| 261 } | 299 } |
| 262 buildCounterAddSheetResponse--; | 300 buildCounterAddSheetResponse--; |
| 263 } | 301 } |
| 264 | 302 |
| 265 buildUnnamed602() { | 303 buildUnnamed617() { |
| 266 var o = new core.List<api.RowData>(); | 304 var o = new core.List<api.RowData>(); |
| 267 o.add(buildRowData()); | 305 o.add(buildRowData()); |
| 268 o.add(buildRowData()); | 306 o.add(buildRowData()); |
| 269 return o; | 307 return o; |
| 270 } | 308 } |
| 271 | 309 |
| 272 checkUnnamed602(core.List<api.RowData> o) { | 310 checkUnnamed617(core.List<api.RowData> o) { |
| 273 unittest.expect(o, unittest.hasLength(2)); | 311 unittest.expect(o, unittest.hasLength(2)); |
| 274 checkRowData(o[0]); | 312 checkRowData(o[0]); |
| 275 checkRowData(o[1]); | 313 checkRowData(o[1]); |
| 276 } | 314 } |
| 277 | 315 |
| 278 core.int buildCounterAppendCellsRequest = 0; | 316 core.int buildCounterAppendCellsRequest = 0; |
| 279 buildAppendCellsRequest() { | 317 buildAppendCellsRequest() { |
| 280 var o = new api.AppendCellsRequest(); | 318 var o = new api.AppendCellsRequest(); |
| 281 buildCounterAppendCellsRequest++; | 319 buildCounterAppendCellsRequest++; |
| 282 if (buildCounterAppendCellsRequest < 3) { | 320 if (buildCounterAppendCellsRequest < 3) { |
| 283 o.fields = "foo"; | 321 o.fields = "foo"; |
| 284 o.rows = buildUnnamed602(); | 322 o.rows = buildUnnamed617(); |
| 285 o.sheetId = 42; | 323 o.sheetId = 42; |
| 286 } | 324 } |
| 287 buildCounterAppendCellsRequest--; | 325 buildCounterAppendCellsRequest--; |
| 288 return o; | 326 return o; |
| 289 } | 327 } |
| 290 | 328 |
| 291 checkAppendCellsRequest(api.AppendCellsRequest o) { | 329 checkAppendCellsRequest(api.AppendCellsRequest o) { |
| 292 buildCounterAppendCellsRequest++; | 330 buildCounterAppendCellsRequest++; |
| 293 if (buildCounterAppendCellsRequest < 3) { | 331 if (buildCounterAppendCellsRequest < 3) { |
| 294 unittest.expect(o.fields, unittest.equals('foo')); | 332 unittest.expect(o.fields, unittest.equals('foo')); |
| 295 checkUnnamed602(o.rows); | 333 checkUnnamed617(o.rows); |
| 296 unittest.expect(o.sheetId, unittest.equals(42)); | 334 unittest.expect(o.sheetId, unittest.equals(42)); |
| 297 } | 335 } |
| 298 buildCounterAppendCellsRequest--; | 336 buildCounterAppendCellsRequest--; |
| 299 } | 337 } |
| 300 | 338 |
| 301 core.int buildCounterAppendDimensionRequest = 0; | 339 core.int buildCounterAppendDimensionRequest = 0; |
| 302 buildAppendDimensionRequest() { | 340 buildAppendDimensionRequest() { |
| 303 var o = new api.AppendDimensionRequest(); | 341 var o = new api.AppendDimensionRequest(); |
| 304 buildCounterAppendDimensionRequest++; | 342 buildCounterAppendDimensionRequest++; |
| 305 if (buildCounterAppendDimensionRequest < 3) { | 343 if (buildCounterAppendDimensionRequest < 3) { |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 } | 417 } |
| 380 | 418 |
| 381 checkAutoResizeDimensionsRequest(api.AutoResizeDimensionsRequest o) { | 419 checkAutoResizeDimensionsRequest(api.AutoResizeDimensionsRequest o) { |
| 382 buildCounterAutoResizeDimensionsRequest++; | 420 buildCounterAutoResizeDimensionsRequest++; |
| 383 if (buildCounterAutoResizeDimensionsRequest < 3) { | 421 if (buildCounterAutoResizeDimensionsRequest < 3) { |
| 384 checkDimensionRange(o.dimensions); | 422 checkDimensionRange(o.dimensions); |
| 385 } | 423 } |
| 386 buildCounterAutoResizeDimensionsRequest--; | 424 buildCounterAutoResizeDimensionsRequest--; |
| 387 } | 425 } |
| 388 | 426 |
| 427 core.int buildCounterBandedRange = 0; |
| 428 buildBandedRange() { |
| 429 var o = new api.BandedRange(); |
| 430 buildCounterBandedRange++; |
| 431 if (buildCounterBandedRange < 3) { |
| 432 o.bandedRangeId = 42; |
| 433 o.columnProperties = buildBandingProperties(); |
| 434 o.range = buildGridRange(); |
| 435 o.rowProperties = buildBandingProperties(); |
| 436 } |
| 437 buildCounterBandedRange--; |
| 438 return o; |
| 439 } |
| 440 |
| 441 checkBandedRange(api.BandedRange o) { |
| 442 buildCounterBandedRange++; |
| 443 if (buildCounterBandedRange < 3) { |
| 444 unittest.expect(o.bandedRangeId, unittest.equals(42)); |
| 445 checkBandingProperties(o.columnProperties); |
| 446 checkGridRange(o.range); |
| 447 checkBandingProperties(o.rowProperties); |
| 448 } |
| 449 buildCounterBandedRange--; |
| 450 } |
| 451 |
| 452 core.int buildCounterBandingProperties = 0; |
| 453 buildBandingProperties() { |
| 454 var o = new api.BandingProperties(); |
| 455 buildCounterBandingProperties++; |
| 456 if (buildCounterBandingProperties < 3) { |
| 457 o.firstBandColor = buildColor(); |
| 458 o.footerColor = buildColor(); |
| 459 o.headerColor = buildColor(); |
| 460 o.secondBandColor = buildColor(); |
| 461 } |
| 462 buildCounterBandingProperties--; |
| 463 return o; |
| 464 } |
| 465 |
| 466 checkBandingProperties(api.BandingProperties o) { |
| 467 buildCounterBandingProperties++; |
| 468 if (buildCounterBandingProperties < 3) { |
| 469 checkColor(o.firstBandColor); |
| 470 checkColor(o.footerColor); |
| 471 checkColor(o.headerColor); |
| 472 checkColor(o.secondBandColor); |
| 473 } |
| 474 buildCounterBandingProperties--; |
| 475 } |
| 476 |
| 389 core.int buildCounterBasicChartAxis = 0; | 477 core.int buildCounterBasicChartAxis = 0; |
| 390 buildBasicChartAxis() { | 478 buildBasicChartAxis() { |
| 391 var o = new api.BasicChartAxis(); | 479 var o = new api.BasicChartAxis(); |
| 392 buildCounterBasicChartAxis++; | 480 buildCounterBasicChartAxis++; |
| 393 if (buildCounterBasicChartAxis < 3) { | 481 if (buildCounterBasicChartAxis < 3) { |
| 394 o.format = buildTextFormat(); | 482 o.format = buildTextFormat(); |
| 395 o.position = "foo"; | 483 o.position = "foo"; |
| 396 o.title = "foo"; | 484 o.title = "foo"; |
| 397 } | 485 } |
| 398 buildCounterBasicChartAxis--; | 486 buildCounterBasicChartAxis--; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 444 checkBasicChartSeries(api.BasicChartSeries o) { | 532 checkBasicChartSeries(api.BasicChartSeries o) { |
| 445 buildCounterBasicChartSeries++; | 533 buildCounterBasicChartSeries++; |
| 446 if (buildCounterBasicChartSeries < 3) { | 534 if (buildCounterBasicChartSeries < 3) { |
| 447 checkChartData(o.series); | 535 checkChartData(o.series); |
| 448 unittest.expect(o.targetAxis, unittest.equals('foo')); | 536 unittest.expect(o.targetAxis, unittest.equals('foo')); |
| 449 unittest.expect(o.type, unittest.equals('foo')); | 537 unittest.expect(o.type, unittest.equals('foo')); |
| 450 } | 538 } |
| 451 buildCounterBasicChartSeries--; | 539 buildCounterBasicChartSeries--; |
| 452 } | 540 } |
| 453 | 541 |
| 454 buildUnnamed603() { | 542 buildUnnamed618() { |
| 455 var o = new core.List<api.BasicChartAxis>(); | 543 var o = new core.List<api.BasicChartAxis>(); |
| 456 o.add(buildBasicChartAxis()); | 544 o.add(buildBasicChartAxis()); |
| 457 o.add(buildBasicChartAxis()); | 545 o.add(buildBasicChartAxis()); |
| 458 return o; | 546 return o; |
| 459 } | 547 } |
| 460 | 548 |
| 461 checkUnnamed603(core.List<api.BasicChartAxis> o) { | 549 checkUnnamed618(core.List<api.BasicChartAxis> o) { |
| 462 unittest.expect(o, unittest.hasLength(2)); | 550 unittest.expect(o, unittest.hasLength(2)); |
| 463 checkBasicChartAxis(o[0]); | 551 checkBasicChartAxis(o[0]); |
| 464 checkBasicChartAxis(o[1]); | 552 checkBasicChartAxis(o[1]); |
| 465 } | 553 } |
| 466 | 554 |
| 467 buildUnnamed604() { | 555 buildUnnamed619() { |
| 468 var o = new core.List<api.BasicChartDomain>(); | 556 var o = new core.List<api.BasicChartDomain>(); |
| 469 o.add(buildBasicChartDomain()); | 557 o.add(buildBasicChartDomain()); |
| 470 o.add(buildBasicChartDomain()); | 558 o.add(buildBasicChartDomain()); |
| 471 return o; | 559 return o; |
| 472 } | 560 } |
| 473 | 561 |
| 474 checkUnnamed604(core.List<api.BasicChartDomain> o) { | 562 checkUnnamed619(core.List<api.BasicChartDomain> o) { |
| 475 unittest.expect(o, unittest.hasLength(2)); | 563 unittest.expect(o, unittest.hasLength(2)); |
| 476 checkBasicChartDomain(o[0]); | 564 checkBasicChartDomain(o[0]); |
| 477 checkBasicChartDomain(o[1]); | 565 checkBasicChartDomain(o[1]); |
| 478 } | 566 } |
| 479 | 567 |
| 480 buildUnnamed605() { | 568 buildUnnamed620() { |
| 481 var o = new core.List<api.BasicChartSeries>(); | 569 var o = new core.List<api.BasicChartSeries>(); |
| 482 o.add(buildBasicChartSeries()); | 570 o.add(buildBasicChartSeries()); |
| 483 o.add(buildBasicChartSeries()); | 571 o.add(buildBasicChartSeries()); |
| 484 return o; | 572 return o; |
| 485 } | 573 } |
| 486 | 574 |
| 487 checkUnnamed605(core.List<api.BasicChartSeries> o) { | 575 checkUnnamed620(core.List<api.BasicChartSeries> o) { |
| 488 unittest.expect(o, unittest.hasLength(2)); | 576 unittest.expect(o, unittest.hasLength(2)); |
| 489 checkBasicChartSeries(o[0]); | 577 checkBasicChartSeries(o[0]); |
| 490 checkBasicChartSeries(o[1]); | 578 checkBasicChartSeries(o[1]); |
| 491 } | 579 } |
| 492 | 580 |
| 493 core.int buildCounterBasicChartSpec = 0; | 581 core.int buildCounterBasicChartSpec = 0; |
| 494 buildBasicChartSpec() { | 582 buildBasicChartSpec() { |
| 495 var o = new api.BasicChartSpec(); | 583 var o = new api.BasicChartSpec(); |
| 496 buildCounterBasicChartSpec++; | 584 buildCounterBasicChartSpec++; |
| 497 if (buildCounterBasicChartSpec < 3) { | 585 if (buildCounterBasicChartSpec < 3) { |
| 498 o.axis = buildUnnamed603(); | 586 o.axis = buildUnnamed618(); |
| 499 o.chartType = "foo"; | 587 o.chartType = "foo"; |
| 500 o.domains = buildUnnamed604(); | 588 o.domains = buildUnnamed619(); |
| 501 o.headerCount = 42; | 589 o.headerCount = 42; |
| 502 o.legendPosition = "foo"; | 590 o.legendPosition = "foo"; |
| 503 o.series = buildUnnamed605(); | 591 o.series = buildUnnamed620(); |
| 504 } | 592 } |
| 505 buildCounterBasicChartSpec--; | 593 buildCounterBasicChartSpec--; |
| 506 return o; | 594 return o; |
| 507 } | 595 } |
| 508 | 596 |
| 509 checkBasicChartSpec(api.BasicChartSpec o) { | 597 checkBasicChartSpec(api.BasicChartSpec o) { |
| 510 buildCounterBasicChartSpec++; | 598 buildCounterBasicChartSpec++; |
| 511 if (buildCounterBasicChartSpec < 3) { | 599 if (buildCounterBasicChartSpec < 3) { |
| 512 checkUnnamed603(o.axis); | 600 checkUnnamed618(o.axis); |
| 513 unittest.expect(o.chartType, unittest.equals('foo')); | 601 unittest.expect(o.chartType, unittest.equals('foo')); |
| 514 checkUnnamed604(o.domains); | 602 checkUnnamed619(o.domains); |
| 515 unittest.expect(o.headerCount, unittest.equals(42)); | 603 unittest.expect(o.headerCount, unittest.equals(42)); |
| 516 unittest.expect(o.legendPosition, unittest.equals('foo')); | 604 unittest.expect(o.legendPosition, unittest.equals('foo')); |
| 517 checkUnnamed605(o.series); | 605 checkUnnamed620(o.series); |
| 518 } | 606 } |
| 519 buildCounterBasicChartSpec--; | 607 buildCounterBasicChartSpec--; |
| 520 } | 608 } |
| 521 | 609 |
| 522 buildUnnamed606() { | 610 buildUnnamed621() { |
| 523 var o = new core.Map<core.String, api.FilterCriteria>(); | 611 var o = new core.Map<core.String, api.FilterCriteria>(); |
| 524 o["x"] = buildFilterCriteria(); | 612 o["x"] = buildFilterCriteria(); |
| 525 o["y"] = buildFilterCriteria(); | 613 o["y"] = buildFilterCriteria(); |
| 526 return o; | 614 return o; |
| 527 } | 615 } |
| 528 | 616 |
| 529 checkUnnamed606(core.Map<core.String, api.FilterCriteria> o) { | 617 checkUnnamed621(core.Map<core.String, api.FilterCriteria> o) { |
| 530 unittest.expect(o, unittest.hasLength(2)); | 618 unittest.expect(o, unittest.hasLength(2)); |
| 531 checkFilterCriteria(o["x"]); | 619 checkFilterCriteria(o["x"]); |
| 532 checkFilterCriteria(o["y"]); | 620 checkFilterCriteria(o["y"]); |
| 533 } | 621 } |
| 534 | 622 |
| 535 buildUnnamed607() { | 623 buildUnnamed622() { |
| 536 var o = new core.List<api.SortSpec>(); | 624 var o = new core.List<api.SortSpec>(); |
| 537 o.add(buildSortSpec()); | 625 o.add(buildSortSpec()); |
| 538 o.add(buildSortSpec()); | 626 o.add(buildSortSpec()); |
| 539 return o; | 627 return o; |
| 540 } | 628 } |
| 541 | 629 |
| 542 checkUnnamed607(core.List<api.SortSpec> o) { | 630 checkUnnamed622(core.List<api.SortSpec> o) { |
| 543 unittest.expect(o, unittest.hasLength(2)); | 631 unittest.expect(o, unittest.hasLength(2)); |
| 544 checkSortSpec(o[0]); | 632 checkSortSpec(o[0]); |
| 545 checkSortSpec(o[1]); | 633 checkSortSpec(o[1]); |
| 546 } | 634 } |
| 547 | 635 |
| 548 core.int buildCounterBasicFilter = 0; | 636 core.int buildCounterBasicFilter = 0; |
| 549 buildBasicFilter() { | 637 buildBasicFilter() { |
| 550 var o = new api.BasicFilter(); | 638 var o = new api.BasicFilter(); |
| 551 buildCounterBasicFilter++; | 639 buildCounterBasicFilter++; |
| 552 if (buildCounterBasicFilter < 3) { | 640 if (buildCounterBasicFilter < 3) { |
| 553 o.criteria = buildUnnamed606(); | 641 o.criteria = buildUnnamed621(); |
| 554 o.range = buildGridRange(); | 642 o.range = buildGridRange(); |
| 555 o.sortSpecs = buildUnnamed607(); | 643 o.sortSpecs = buildUnnamed622(); |
| 556 } | 644 } |
| 557 buildCounterBasicFilter--; | 645 buildCounterBasicFilter--; |
| 558 return o; | 646 return o; |
| 559 } | 647 } |
| 560 | 648 |
| 561 checkBasicFilter(api.BasicFilter o) { | 649 checkBasicFilter(api.BasicFilter o) { |
| 562 buildCounterBasicFilter++; | 650 buildCounterBasicFilter++; |
| 563 if (buildCounterBasicFilter < 3) { | 651 if (buildCounterBasicFilter < 3) { |
| 564 checkUnnamed606(o.criteria); | 652 checkUnnamed621(o.criteria); |
| 565 checkGridRange(o.range); | 653 checkGridRange(o.range); |
| 566 checkUnnamed607(o.sortSpecs); | 654 checkUnnamed622(o.sortSpecs); |
| 567 } | 655 } |
| 568 buildCounterBasicFilter--; | 656 buildCounterBasicFilter--; |
| 569 } | 657 } |
| 570 | 658 |
| 571 buildUnnamed608() { | 659 buildUnnamed623() { |
| 660 var o = new core.List<core.String>(); |
| 661 o.add("foo"); |
| 662 o.add("foo"); |
| 663 return o; |
| 664 } |
| 665 |
| 666 checkUnnamed623(core.List<core.String> o) { |
| 667 unittest.expect(o, unittest.hasLength(2)); |
| 668 unittest.expect(o[0], unittest.equals('foo')); |
| 669 unittest.expect(o[1], unittest.equals('foo')); |
| 670 } |
| 671 |
| 672 core.int buildCounterBatchClearValuesRequest = 0; |
| 673 buildBatchClearValuesRequest() { |
| 674 var o = new api.BatchClearValuesRequest(); |
| 675 buildCounterBatchClearValuesRequest++; |
| 676 if (buildCounterBatchClearValuesRequest < 3) { |
| 677 o.ranges = buildUnnamed623(); |
| 678 } |
| 679 buildCounterBatchClearValuesRequest--; |
| 680 return o; |
| 681 } |
| 682 |
| 683 checkBatchClearValuesRequest(api.BatchClearValuesRequest o) { |
| 684 buildCounterBatchClearValuesRequest++; |
| 685 if (buildCounterBatchClearValuesRequest < 3) { |
| 686 checkUnnamed623(o.ranges); |
| 687 } |
| 688 buildCounterBatchClearValuesRequest--; |
| 689 } |
| 690 |
| 691 buildUnnamed624() { |
| 692 var o = new core.List<core.String>(); |
| 693 o.add("foo"); |
| 694 o.add("foo"); |
| 695 return o; |
| 696 } |
| 697 |
| 698 checkUnnamed624(core.List<core.String> o) { |
| 699 unittest.expect(o, unittest.hasLength(2)); |
| 700 unittest.expect(o[0], unittest.equals('foo')); |
| 701 unittest.expect(o[1], unittest.equals('foo')); |
| 702 } |
| 703 |
| 704 core.int buildCounterBatchClearValuesResponse = 0; |
| 705 buildBatchClearValuesResponse() { |
| 706 var o = new api.BatchClearValuesResponse(); |
| 707 buildCounterBatchClearValuesResponse++; |
| 708 if (buildCounterBatchClearValuesResponse < 3) { |
| 709 o.clearedRanges = buildUnnamed624(); |
| 710 o.spreadsheetId = "foo"; |
| 711 } |
| 712 buildCounterBatchClearValuesResponse--; |
| 713 return o; |
| 714 } |
| 715 |
| 716 checkBatchClearValuesResponse(api.BatchClearValuesResponse o) { |
| 717 buildCounterBatchClearValuesResponse++; |
| 718 if (buildCounterBatchClearValuesResponse < 3) { |
| 719 checkUnnamed624(o.clearedRanges); |
| 720 unittest.expect(o.spreadsheetId, unittest.equals('foo')); |
| 721 } |
| 722 buildCounterBatchClearValuesResponse--; |
| 723 } |
| 724 |
| 725 buildUnnamed625() { |
| 572 var o = new core.List<api.ValueRange>(); | 726 var o = new core.List<api.ValueRange>(); |
| 573 o.add(buildValueRange()); | 727 o.add(buildValueRange()); |
| 574 o.add(buildValueRange()); | 728 o.add(buildValueRange()); |
| 575 return o; | 729 return o; |
| 576 } | 730 } |
| 577 | 731 |
| 578 checkUnnamed608(core.List<api.ValueRange> o) { | 732 checkUnnamed625(core.List<api.ValueRange> o) { |
| 579 unittest.expect(o, unittest.hasLength(2)); | 733 unittest.expect(o, unittest.hasLength(2)); |
| 580 checkValueRange(o[0]); | 734 checkValueRange(o[0]); |
| 581 checkValueRange(o[1]); | 735 checkValueRange(o[1]); |
| 582 } | 736 } |
| 583 | 737 |
| 584 core.int buildCounterBatchGetValuesResponse = 0; | 738 core.int buildCounterBatchGetValuesResponse = 0; |
| 585 buildBatchGetValuesResponse() { | 739 buildBatchGetValuesResponse() { |
| 586 var o = new api.BatchGetValuesResponse(); | 740 var o = new api.BatchGetValuesResponse(); |
| 587 buildCounterBatchGetValuesResponse++; | 741 buildCounterBatchGetValuesResponse++; |
| 588 if (buildCounterBatchGetValuesResponse < 3) { | 742 if (buildCounterBatchGetValuesResponse < 3) { |
| 589 o.spreadsheetId = "foo"; | 743 o.spreadsheetId = "foo"; |
| 590 o.valueRanges = buildUnnamed608(); | 744 o.valueRanges = buildUnnamed625(); |
| 591 } | 745 } |
| 592 buildCounterBatchGetValuesResponse--; | 746 buildCounterBatchGetValuesResponse--; |
| 593 return o; | 747 return o; |
| 594 } | 748 } |
| 595 | 749 |
| 596 checkBatchGetValuesResponse(api.BatchGetValuesResponse o) { | 750 checkBatchGetValuesResponse(api.BatchGetValuesResponse o) { |
| 597 buildCounterBatchGetValuesResponse++; | 751 buildCounterBatchGetValuesResponse++; |
| 598 if (buildCounterBatchGetValuesResponse < 3) { | 752 if (buildCounterBatchGetValuesResponse < 3) { |
| 599 unittest.expect(o.spreadsheetId, unittest.equals('foo')); | 753 unittest.expect(o.spreadsheetId, unittest.equals('foo')); |
| 600 checkUnnamed608(o.valueRanges); | 754 checkUnnamed625(o.valueRanges); |
| 601 } | 755 } |
| 602 buildCounterBatchGetValuesResponse--; | 756 buildCounterBatchGetValuesResponse--; |
| 603 } | 757 } |
| 604 | 758 |
| 605 buildUnnamed609() { | 759 buildUnnamed626() { |
| 606 var o = new core.List<api.Request>(); | 760 var o = new core.List<api.Request>(); |
| 607 o.add(buildRequest()); | 761 o.add(buildRequest()); |
| 608 o.add(buildRequest()); | 762 o.add(buildRequest()); |
| 609 return o; | 763 return o; |
| 610 } | 764 } |
| 611 | 765 |
| 612 checkUnnamed609(core.List<api.Request> o) { | 766 checkUnnamed626(core.List<api.Request> o) { |
| 613 unittest.expect(o, unittest.hasLength(2)); | 767 unittest.expect(o, unittest.hasLength(2)); |
| 614 checkRequest(o[0]); | 768 checkRequest(o[0]); |
| 615 checkRequest(o[1]); | 769 checkRequest(o[1]); |
| 616 } | 770 } |
| 617 | 771 |
| 618 core.int buildCounterBatchUpdateSpreadsheetRequest = 0; | 772 core.int buildCounterBatchUpdateSpreadsheetRequest = 0; |
| 619 buildBatchUpdateSpreadsheetRequest() { | 773 buildBatchUpdateSpreadsheetRequest() { |
| 620 var o = new api.BatchUpdateSpreadsheetRequest(); | 774 var o = new api.BatchUpdateSpreadsheetRequest(); |
| 621 buildCounterBatchUpdateSpreadsheetRequest++; | 775 buildCounterBatchUpdateSpreadsheetRequest++; |
| 622 if (buildCounterBatchUpdateSpreadsheetRequest < 3) { | 776 if (buildCounterBatchUpdateSpreadsheetRequest < 3) { |
| 623 o.requests = buildUnnamed609(); | 777 o.requests = buildUnnamed626(); |
| 624 } | 778 } |
| 625 buildCounterBatchUpdateSpreadsheetRequest--; | 779 buildCounterBatchUpdateSpreadsheetRequest--; |
| 626 return o; | 780 return o; |
| 627 } | 781 } |
| 628 | 782 |
| 629 checkBatchUpdateSpreadsheetRequest(api.BatchUpdateSpreadsheetRequest o) { | 783 checkBatchUpdateSpreadsheetRequest(api.BatchUpdateSpreadsheetRequest o) { |
| 630 buildCounterBatchUpdateSpreadsheetRequest++; | 784 buildCounterBatchUpdateSpreadsheetRequest++; |
| 631 if (buildCounterBatchUpdateSpreadsheetRequest < 3) { | 785 if (buildCounterBatchUpdateSpreadsheetRequest < 3) { |
| 632 checkUnnamed609(o.requests); | 786 checkUnnamed626(o.requests); |
| 633 } | 787 } |
| 634 buildCounterBatchUpdateSpreadsheetRequest--; | 788 buildCounterBatchUpdateSpreadsheetRequest--; |
| 635 } | 789 } |
| 636 | 790 |
| 637 buildUnnamed610() { | 791 buildUnnamed627() { |
| 638 var o = new core.List<api.Response>(); | 792 var o = new core.List<api.Response>(); |
| 639 o.add(buildResponse()); | 793 o.add(buildResponse()); |
| 640 o.add(buildResponse()); | 794 o.add(buildResponse()); |
| 641 return o; | 795 return o; |
| 642 } | 796 } |
| 643 | 797 |
| 644 checkUnnamed610(core.List<api.Response> o) { | 798 checkUnnamed627(core.List<api.Response> o) { |
| 645 unittest.expect(o, unittest.hasLength(2)); | 799 unittest.expect(o, unittest.hasLength(2)); |
| 646 checkResponse(o[0]); | 800 checkResponse(o[0]); |
| 647 checkResponse(o[1]); | 801 checkResponse(o[1]); |
| 648 } | 802 } |
| 649 | 803 |
| 650 core.int buildCounterBatchUpdateSpreadsheetResponse = 0; | 804 core.int buildCounterBatchUpdateSpreadsheetResponse = 0; |
| 651 buildBatchUpdateSpreadsheetResponse() { | 805 buildBatchUpdateSpreadsheetResponse() { |
| 652 var o = new api.BatchUpdateSpreadsheetResponse(); | 806 var o = new api.BatchUpdateSpreadsheetResponse(); |
| 653 buildCounterBatchUpdateSpreadsheetResponse++; | 807 buildCounterBatchUpdateSpreadsheetResponse++; |
| 654 if (buildCounterBatchUpdateSpreadsheetResponse < 3) { | 808 if (buildCounterBatchUpdateSpreadsheetResponse < 3) { |
| 655 o.replies = buildUnnamed610(); | 809 o.replies = buildUnnamed627(); |
| 656 o.spreadsheetId = "foo"; | 810 o.spreadsheetId = "foo"; |
| 657 } | 811 } |
| 658 buildCounterBatchUpdateSpreadsheetResponse--; | 812 buildCounterBatchUpdateSpreadsheetResponse--; |
| 659 return o; | 813 return o; |
| 660 } | 814 } |
| 661 | 815 |
| 662 checkBatchUpdateSpreadsheetResponse(api.BatchUpdateSpreadsheetResponse o) { | 816 checkBatchUpdateSpreadsheetResponse(api.BatchUpdateSpreadsheetResponse o) { |
| 663 buildCounterBatchUpdateSpreadsheetResponse++; | 817 buildCounterBatchUpdateSpreadsheetResponse++; |
| 664 if (buildCounterBatchUpdateSpreadsheetResponse < 3) { | 818 if (buildCounterBatchUpdateSpreadsheetResponse < 3) { |
| 665 checkUnnamed610(o.replies); | 819 checkUnnamed627(o.replies); |
| 666 unittest.expect(o.spreadsheetId, unittest.equals('foo')); | 820 unittest.expect(o.spreadsheetId, unittest.equals('foo')); |
| 667 } | 821 } |
| 668 buildCounterBatchUpdateSpreadsheetResponse--; | 822 buildCounterBatchUpdateSpreadsheetResponse--; |
| 669 } | 823 } |
| 670 | 824 |
| 671 buildUnnamed611() { | 825 buildUnnamed628() { |
| 672 var o = new core.List<api.ValueRange>(); | 826 var o = new core.List<api.ValueRange>(); |
| 673 o.add(buildValueRange()); | 827 o.add(buildValueRange()); |
| 674 o.add(buildValueRange()); | 828 o.add(buildValueRange()); |
| 675 return o; | 829 return o; |
| 676 } | 830 } |
| 677 | 831 |
| 678 checkUnnamed611(core.List<api.ValueRange> o) { | 832 checkUnnamed628(core.List<api.ValueRange> o) { |
| 679 unittest.expect(o, unittest.hasLength(2)); | 833 unittest.expect(o, unittest.hasLength(2)); |
| 680 checkValueRange(o[0]); | 834 checkValueRange(o[0]); |
| 681 checkValueRange(o[1]); | 835 checkValueRange(o[1]); |
| 682 } | 836 } |
| 683 | 837 |
| 684 core.int buildCounterBatchUpdateValuesRequest = 0; | 838 core.int buildCounterBatchUpdateValuesRequest = 0; |
| 685 buildBatchUpdateValuesRequest() { | 839 buildBatchUpdateValuesRequest() { |
| 686 var o = new api.BatchUpdateValuesRequest(); | 840 var o = new api.BatchUpdateValuesRequest(); |
| 687 buildCounterBatchUpdateValuesRequest++; | 841 buildCounterBatchUpdateValuesRequest++; |
| 688 if (buildCounterBatchUpdateValuesRequest < 3) { | 842 if (buildCounterBatchUpdateValuesRequest < 3) { |
| 689 o.data = buildUnnamed611(); | 843 o.data = buildUnnamed628(); |
| 690 o.valueInputOption = "foo"; | 844 o.valueInputOption = "foo"; |
| 691 } | 845 } |
| 692 buildCounterBatchUpdateValuesRequest--; | 846 buildCounterBatchUpdateValuesRequest--; |
| 693 return o; | 847 return o; |
| 694 } | 848 } |
| 695 | 849 |
| 696 checkBatchUpdateValuesRequest(api.BatchUpdateValuesRequest o) { | 850 checkBatchUpdateValuesRequest(api.BatchUpdateValuesRequest o) { |
| 697 buildCounterBatchUpdateValuesRequest++; | 851 buildCounterBatchUpdateValuesRequest++; |
| 698 if (buildCounterBatchUpdateValuesRequest < 3) { | 852 if (buildCounterBatchUpdateValuesRequest < 3) { |
| 699 checkUnnamed611(o.data); | 853 checkUnnamed628(o.data); |
| 700 unittest.expect(o.valueInputOption, unittest.equals('foo')); | 854 unittest.expect(o.valueInputOption, unittest.equals('foo')); |
| 701 } | 855 } |
| 702 buildCounterBatchUpdateValuesRequest--; | 856 buildCounterBatchUpdateValuesRequest--; |
| 703 } | 857 } |
| 704 | 858 |
| 705 buildUnnamed612() { | 859 buildUnnamed629() { |
| 706 var o = new core.List<api.UpdateValuesResponse>(); | 860 var o = new core.List<api.UpdateValuesResponse>(); |
| 707 o.add(buildUpdateValuesResponse()); | 861 o.add(buildUpdateValuesResponse()); |
| 708 o.add(buildUpdateValuesResponse()); | 862 o.add(buildUpdateValuesResponse()); |
| 709 return o; | 863 return o; |
| 710 } | 864 } |
| 711 | 865 |
| 712 checkUnnamed612(core.List<api.UpdateValuesResponse> o) { | 866 checkUnnamed629(core.List<api.UpdateValuesResponse> o) { |
| 713 unittest.expect(o, unittest.hasLength(2)); | 867 unittest.expect(o, unittest.hasLength(2)); |
| 714 checkUpdateValuesResponse(o[0]); | 868 checkUpdateValuesResponse(o[0]); |
| 715 checkUpdateValuesResponse(o[1]); | 869 checkUpdateValuesResponse(o[1]); |
| 716 } | 870 } |
| 717 | 871 |
| 718 core.int buildCounterBatchUpdateValuesResponse = 0; | 872 core.int buildCounterBatchUpdateValuesResponse = 0; |
| 719 buildBatchUpdateValuesResponse() { | 873 buildBatchUpdateValuesResponse() { |
| 720 var o = new api.BatchUpdateValuesResponse(); | 874 var o = new api.BatchUpdateValuesResponse(); |
| 721 buildCounterBatchUpdateValuesResponse++; | 875 buildCounterBatchUpdateValuesResponse++; |
| 722 if (buildCounterBatchUpdateValuesResponse < 3) { | 876 if (buildCounterBatchUpdateValuesResponse < 3) { |
| 723 o.responses = buildUnnamed612(); | 877 o.responses = buildUnnamed629(); |
| 724 o.spreadsheetId = "foo"; | 878 o.spreadsheetId = "foo"; |
| 725 o.totalUpdatedCells = 42; | 879 o.totalUpdatedCells = 42; |
| 726 o.totalUpdatedColumns = 42; | 880 o.totalUpdatedColumns = 42; |
| 727 o.totalUpdatedRows = 42; | 881 o.totalUpdatedRows = 42; |
| 728 o.totalUpdatedSheets = 42; | 882 o.totalUpdatedSheets = 42; |
| 729 } | 883 } |
| 730 buildCounterBatchUpdateValuesResponse--; | 884 buildCounterBatchUpdateValuesResponse--; |
| 731 return o; | 885 return o; |
| 732 } | 886 } |
| 733 | 887 |
| 734 checkBatchUpdateValuesResponse(api.BatchUpdateValuesResponse o) { | 888 checkBatchUpdateValuesResponse(api.BatchUpdateValuesResponse o) { |
| 735 buildCounterBatchUpdateValuesResponse++; | 889 buildCounterBatchUpdateValuesResponse++; |
| 736 if (buildCounterBatchUpdateValuesResponse < 3) { | 890 if (buildCounterBatchUpdateValuesResponse < 3) { |
| 737 checkUnnamed612(o.responses); | 891 checkUnnamed629(o.responses); |
| 738 unittest.expect(o.spreadsheetId, unittest.equals('foo')); | 892 unittest.expect(o.spreadsheetId, unittest.equals('foo')); |
| 739 unittest.expect(o.totalUpdatedCells, unittest.equals(42)); | 893 unittest.expect(o.totalUpdatedCells, unittest.equals(42)); |
| 740 unittest.expect(o.totalUpdatedColumns, unittest.equals(42)); | 894 unittest.expect(o.totalUpdatedColumns, unittest.equals(42)); |
| 741 unittest.expect(o.totalUpdatedRows, unittest.equals(42)); | 895 unittest.expect(o.totalUpdatedRows, unittest.equals(42)); |
| 742 unittest.expect(o.totalUpdatedSheets, unittest.equals(42)); | 896 unittest.expect(o.totalUpdatedSheets, unittest.equals(42)); |
| 743 } | 897 } |
| 744 buildCounterBatchUpdateValuesResponse--; | 898 buildCounterBatchUpdateValuesResponse--; |
| 745 } | 899 } |
| 746 | 900 |
| 747 buildUnnamed613() { | 901 buildUnnamed630() { |
| 748 var o = new core.List<api.ConditionValue>(); | 902 var o = new core.List<api.ConditionValue>(); |
| 749 o.add(buildConditionValue()); | 903 o.add(buildConditionValue()); |
| 750 o.add(buildConditionValue()); | 904 o.add(buildConditionValue()); |
| 751 return o; | 905 return o; |
| 752 } | 906 } |
| 753 | 907 |
| 754 checkUnnamed613(core.List<api.ConditionValue> o) { | 908 checkUnnamed630(core.List<api.ConditionValue> o) { |
| 755 unittest.expect(o, unittest.hasLength(2)); | 909 unittest.expect(o, unittest.hasLength(2)); |
| 756 checkConditionValue(o[0]); | 910 checkConditionValue(o[0]); |
| 757 checkConditionValue(o[1]); | 911 checkConditionValue(o[1]); |
| 758 } | 912 } |
| 759 | 913 |
| 760 core.int buildCounterBooleanCondition = 0; | 914 core.int buildCounterBooleanCondition = 0; |
| 761 buildBooleanCondition() { | 915 buildBooleanCondition() { |
| 762 var o = new api.BooleanCondition(); | 916 var o = new api.BooleanCondition(); |
| 763 buildCounterBooleanCondition++; | 917 buildCounterBooleanCondition++; |
| 764 if (buildCounterBooleanCondition < 3) { | 918 if (buildCounterBooleanCondition < 3) { |
| 765 o.type = "foo"; | 919 o.type = "foo"; |
| 766 o.values = buildUnnamed613(); | 920 o.values = buildUnnamed630(); |
| 767 } | 921 } |
| 768 buildCounterBooleanCondition--; | 922 buildCounterBooleanCondition--; |
| 769 return o; | 923 return o; |
| 770 } | 924 } |
| 771 | 925 |
| 772 checkBooleanCondition(api.BooleanCondition o) { | 926 checkBooleanCondition(api.BooleanCondition o) { |
| 773 buildCounterBooleanCondition++; | 927 buildCounterBooleanCondition++; |
| 774 if (buildCounterBooleanCondition < 3) { | 928 if (buildCounterBooleanCondition < 3) { |
| 775 unittest.expect(o.type, unittest.equals('foo')); | 929 unittest.expect(o.type, unittest.equals('foo')); |
| 776 checkUnnamed613(o.values); | 930 checkUnnamed630(o.values); |
| 777 } | 931 } |
| 778 buildCounterBooleanCondition--; | 932 buildCounterBooleanCondition--; |
| 779 } | 933 } |
| 780 | 934 |
| 781 core.int buildCounterBooleanRule = 0; | 935 core.int buildCounterBooleanRule = 0; |
| 782 buildBooleanRule() { | 936 buildBooleanRule() { |
| 783 var o = new api.BooleanRule(); | 937 var o = new api.BooleanRule(); |
| 784 buildCounterBooleanRule++; | 938 buildCounterBooleanRule++; |
| 785 if (buildCounterBooleanRule < 3) { | 939 if (buildCounterBooleanRule < 3) { |
| 786 o.condition = buildBooleanCondition(); | 940 o.condition = buildBooleanCondition(); |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 840 buildCounterBorders++; | 994 buildCounterBorders++; |
| 841 if (buildCounterBorders < 3) { | 995 if (buildCounterBorders < 3) { |
| 842 checkBorder(o.bottom); | 996 checkBorder(o.bottom); |
| 843 checkBorder(o.left); | 997 checkBorder(o.left); |
| 844 checkBorder(o.right); | 998 checkBorder(o.right); |
| 845 checkBorder(o.top); | 999 checkBorder(o.top); |
| 846 } | 1000 } |
| 847 buildCounterBorders--; | 1001 buildCounterBorders--; |
| 848 } | 1002 } |
| 849 | 1003 |
| 850 buildUnnamed614() { | 1004 buildUnnamed631() { |
| 851 var o = new core.List<api.TextFormatRun>(); | 1005 var o = new core.List<api.TextFormatRun>(); |
| 852 o.add(buildTextFormatRun()); | 1006 o.add(buildTextFormatRun()); |
| 853 o.add(buildTextFormatRun()); | 1007 o.add(buildTextFormatRun()); |
| 854 return o; | 1008 return o; |
| 855 } | 1009 } |
| 856 | 1010 |
| 857 checkUnnamed614(core.List<api.TextFormatRun> o) { | 1011 checkUnnamed631(core.List<api.TextFormatRun> o) { |
| 858 unittest.expect(o, unittest.hasLength(2)); | 1012 unittest.expect(o, unittest.hasLength(2)); |
| 859 checkTextFormatRun(o[0]); | 1013 checkTextFormatRun(o[0]); |
| 860 checkTextFormatRun(o[1]); | 1014 checkTextFormatRun(o[1]); |
| 861 } | 1015 } |
| 862 | 1016 |
| 863 core.int buildCounterCellData = 0; | 1017 core.int buildCounterCellData = 0; |
| 864 buildCellData() { | 1018 buildCellData() { |
| 865 var o = new api.CellData(); | 1019 var o = new api.CellData(); |
| 866 buildCounterCellData++; | 1020 buildCounterCellData++; |
| 867 if (buildCounterCellData < 3) { | 1021 if (buildCounterCellData < 3) { |
| 868 o.dataValidation = buildDataValidationRule(); | 1022 o.dataValidation = buildDataValidationRule(); |
| 869 o.effectiveFormat = buildCellFormat(); | 1023 o.effectiveFormat = buildCellFormat(); |
| 870 o.effectiveValue = buildExtendedValue(); | 1024 o.effectiveValue = buildExtendedValue(); |
| 871 o.formattedValue = "foo"; | 1025 o.formattedValue = "foo"; |
| 872 o.hyperlink = "foo"; | 1026 o.hyperlink = "foo"; |
| 873 o.note = "foo"; | 1027 o.note = "foo"; |
| 874 o.pivotTable = buildPivotTable(); | 1028 o.pivotTable = buildPivotTable(); |
| 875 o.textFormatRuns = buildUnnamed614(); | 1029 o.textFormatRuns = buildUnnamed631(); |
| 876 o.userEnteredFormat = buildCellFormat(); | 1030 o.userEnteredFormat = buildCellFormat(); |
| 877 o.userEnteredValue = buildExtendedValue(); | 1031 o.userEnteredValue = buildExtendedValue(); |
| 878 } | 1032 } |
| 879 buildCounterCellData--; | 1033 buildCounterCellData--; |
| 880 return o; | 1034 return o; |
| 881 } | 1035 } |
| 882 | 1036 |
| 883 checkCellData(api.CellData o) { | 1037 checkCellData(api.CellData o) { |
| 884 buildCounterCellData++; | 1038 buildCounterCellData++; |
| 885 if (buildCounterCellData < 3) { | 1039 if (buildCounterCellData < 3) { |
| 886 checkDataValidationRule(o.dataValidation); | 1040 checkDataValidationRule(o.dataValidation); |
| 887 checkCellFormat(o.effectiveFormat); | 1041 checkCellFormat(o.effectiveFormat); |
| 888 checkExtendedValue(o.effectiveValue); | 1042 checkExtendedValue(o.effectiveValue); |
| 889 unittest.expect(o.formattedValue, unittest.equals('foo')); | 1043 unittest.expect(o.formattedValue, unittest.equals('foo')); |
| 890 unittest.expect(o.hyperlink, unittest.equals('foo')); | 1044 unittest.expect(o.hyperlink, unittest.equals('foo')); |
| 891 unittest.expect(o.note, unittest.equals('foo')); | 1045 unittest.expect(o.note, unittest.equals('foo')); |
| 892 checkPivotTable(o.pivotTable); | 1046 checkPivotTable(o.pivotTable); |
| 893 checkUnnamed614(o.textFormatRuns); | 1047 checkUnnamed631(o.textFormatRuns); |
| 894 checkCellFormat(o.userEnteredFormat); | 1048 checkCellFormat(o.userEnteredFormat); |
| 895 checkExtendedValue(o.userEnteredValue); | 1049 checkExtendedValue(o.userEnteredValue); |
| 896 } | 1050 } |
| 897 buildCounterCellData--; | 1051 buildCounterCellData--; |
| 898 } | 1052 } |
| 899 | 1053 |
| 900 core.int buildCounterCellFormat = 0; | 1054 core.int buildCounterCellFormat = 0; |
| 901 buildCellFormat() { | 1055 buildCellFormat() { |
| 902 var o = new api.CellFormat(); | 1056 var o = new api.CellFormat(); |
| 903 buildCounterCellFormat++; | 1057 buildCounterCellFormat++; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 946 } | 1100 } |
| 947 | 1101 |
| 948 checkChartData(api.ChartData o) { | 1102 checkChartData(api.ChartData o) { |
| 949 buildCounterChartData++; | 1103 buildCounterChartData++; |
| 950 if (buildCounterChartData < 3) { | 1104 if (buildCounterChartData < 3) { |
| 951 checkChartSourceRange(o.sourceRange); | 1105 checkChartSourceRange(o.sourceRange); |
| 952 } | 1106 } |
| 953 buildCounterChartData--; | 1107 buildCounterChartData--; |
| 954 } | 1108 } |
| 955 | 1109 |
| 956 buildUnnamed615() { | 1110 buildUnnamed632() { |
| 957 var o = new core.List<api.GridRange>(); | 1111 var o = new core.List<api.GridRange>(); |
| 958 o.add(buildGridRange()); | 1112 o.add(buildGridRange()); |
| 959 o.add(buildGridRange()); | 1113 o.add(buildGridRange()); |
| 960 return o; | 1114 return o; |
| 961 } | 1115 } |
| 962 | 1116 |
| 963 checkUnnamed615(core.List<api.GridRange> o) { | 1117 checkUnnamed632(core.List<api.GridRange> o) { |
| 964 unittest.expect(o, unittest.hasLength(2)); | 1118 unittest.expect(o, unittest.hasLength(2)); |
| 965 checkGridRange(o[0]); | 1119 checkGridRange(o[0]); |
| 966 checkGridRange(o[1]); | 1120 checkGridRange(o[1]); |
| 967 } | 1121 } |
| 968 | 1122 |
| 969 core.int buildCounterChartSourceRange = 0; | 1123 core.int buildCounterChartSourceRange = 0; |
| 970 buildChartSourceRange() { | 1124 buildChartSourceRange() { |
| 971 var o = new api.ChartSourceRange(); | 1125 var o = new api.ChartSourceRange(); |
| 972 buildCounterChartSourceRange++; | 1126 buildCounterChartSourceRange++; |
| 973 if (buildCounterChartSourceRange < 3) { | 1127 if (buildCounterChartSourceRange < 3) { |
| 974 o.sources = buildUnnamed615(); | 1128 o.sources = buildUnnamed632(); |
| 975 } | 1129 } |
| 976 buildCounterChartSourceRange--; | 1130 buildCounterChartSourceRange--; |
| 977 return o; | 1131 return o; |
| 978 } | 1132 } |
| 979 | 1133 |
| 980 checkChartSourceRange(api.ChartSourceRange o) { | 1134 checkChartSourceRange(api.ChartSourceRange o) { |
| 981 buildCounterChartSourceRange++; | 1135 buildCounterChartSourceRange++; |
| 982 if (buildCounterChartSourceRange < 3) { | 1136 if (buildCounterChartSourceRange < 3) { |
| 983 checkUnnamed615(o.sources); | 1137 checkUnnamed632(o.sources); |
| 984 } | 1138 } |
| 985 buildCounterChartSourceRange--; | 1139 buildCounterChartSourceRange--; |
| 986 } | 1140 } |
| 987 | 1141 |
| 988 core.int buildCounterChartSpec = 0; | 1142 core.int buildCounterChartSpec = 0; |
| 989 buildChartSpec() { | 1143 buildChartSpec() { |
| 990 var o = new api.ChartSpec(); | 1144 var o = new api.ChartSpec(); |
| 991 buildCounterChartSpec++; | 1145 buildCounterChartSpec++; |
| 992 if (buildCounterChartSpec < 3) { | 1146 if (buildCounterChartSpec < 3) { |
| 993 o.basicChart = buildBasicChartSpec(); | 1147 o.basicChart = buildBasicChartSpec(); |
| (...skipping 28 matching lines...) Expand all Loading... |
| 1022 } | 1176 } |
| 1023 | 1177 |
| 1024 checkClearBasicFilterRequest(api.ClearBasicFilterRequest o) { | 1178 checkClearBasicFilterRequest(api.ClearBasicFilterRequest o) { |
| 1025 buildCounterClearBasicFilterRequest++; | 1179 buildCounterClearBasicFilterRequest++; |
| 1026 if (buildCounterClearBasicFilterRequest < 3) { | 1180 if (buildCounterClearBasicFilterRequest < 3) { |
| 1027 unittest.expect(o.sheetId, unittest.equals(42)); | 1181 unittest.expect(o.sheetId, unittest.equals(42)); |
| 1028 } | 1182 } |
| 1029 buildCounterClearBasicFilterRequest--; | 1183 buildCounterClearBasicFilterRequest--; |
| 1030 } | 1184 } |
| 1031 | 1185 |
| 1186 core.int buildCounterClearValuesRequest = 0; |
| 1187 buildClearValuesRequest() { |
| 1188 var o = new api.ClearValuesRequest(); |
| 1189 buildCounterClearValuesRequest++; |
| 1190 if (buildCounterClearValuesRequest < 3) { |
| 1191 } |
| 1192 buildCounterClearValuesRequest--; |
| 1193 return o; |
| 1194 } |
| 1195 |
| 1196 checkClearValuesRequest(api.ClearValuesRequest o) { |
| 1197 buildCounterClearValuesRequest++; |
| 1198 if (buildCounterClearValuesRequest < 3) { |
| 1199 } |
| 1200 buildCounterClearValuesRequest--; |
| 1201 } |
| 1202 |
| 1203 core.int buildCounterClearValuesResponse = 0; |
| 1204 buildClearValuesResponse() { |
| 1205 var o = new api.ClearValuesResponse(); |
| 1206 buildCounterClearValuesResponse++; |
| 1207 if (buildCounterClearValuesResponse < 3) { |
| 1208 o.clearedRange = "foo"; |
| 1209 o.spreadsheetId = "foo"; |
| 1210 } |
| 1211 buildCounterClearValuesResponse--; |
| 1212 return o; |
| 1213 } |
| 1214 |
| 1215 checkClearValuesResponse(api.ClearValuesResponse o) { |
| 1216 buildCounterClearValuesResponse++; |
| 1217 if (buildCounterClearValuesResponse < 3) { |
| 1218 unittest.expect(o.clearedRange, unittest.equals('foo')); |
| 1219 unittest.expect(o.spreadsheetId, unittest.equals('foo')); |
| 1220 } |
| 1221 buildCounterClearValuesResponse--; |
| 1222 } |
| 1223 |
| 1032 core.int buildCounterColor = 0; | 1224 core.int buildCounterColor = 0; |
| 1033 buildColor() { | 1225 buildColor() { |
| 1034 var o = new api.Color(); | 1226 var o = new api.Color(); |
| 1035 buildCounterColor++; | 1227 buildCounterColor++; |
| 1036 if (buildCounterColor < 3) { | 1228 if (buildCounterColor < 3) { |
| 1037 o.alpha = 42.0; | 1229 o.alpha = 42.0; |
| 1038 o.blue = 42.0; | 1230 o.blue = 42.0; |
| 1039 o.green = 42.0; | 1231 o.green = 42.0; |
| 1040 o.red = 42.0; | 1232 o.red = 42.0; |
| 1041 } | 1233 } |
| (...skipping 26 matching lines...) Expand all Loading... |
| 1068 | 1260 |
| 1069 checkConditionValue(api.ConditionValue o) { | 1261 checkConditionValue(api.ConditionValue o) { |
| 1070 buildCounterConditionValue++; | 1262 buildCounterConditionValue++; |
| 1071 if (buildCounterConditionValue < 3) { | 1263 if (buildCounterConditionValue < 3) { |
| 1072 unittest.expect(o.relativeDate, unittest.equals('foo')); | 1264 unittest.expect(o.relativeDate, unittest.equals('foo')); |
| 1073 unittest.expect(o.userEnteredValue, unittest.equals('foo')); | 1265 unittest.expect(o.userEnteredValue, unittest.equals('foo')); |
| 1074 } | 1266 } |
| 1075 buildCounterConditionValue--; | 1267 buildCounterConditionValue--; |
| 1076 } | 1268 } |
| 1077 | 1269 |
| 1078 buildUnnamed616() { | 1270 buildUnnamed633() { |
| 1079 var o = new core.List<api.GridRange>(); | 1271 var o = new core.List<api.GridRange>(); |
| 1080 o.add(buildGridRange()); | 1272 o.add(buildGridRange()); |
| 1081 o.add(buildGridRange()); | 1273 o.add(buildGridRange()); |
| 1082 return o; | 1274 return o; |
| 1083 } | 1275 } |
| 1084 | 1276 |
| 1085 checkUnnamed616(core.List<api.GridRange> o) { | 1277 checkUnnamed633(core.List<api.GridRange> o) { |
| 1086 unittest.expect(o, unittest.hasLength(2)); | 1278 unittest.expect(o, unittest.hasLength(2)); |
| 1087 checkGridRange(o[0]); | 1279 checkGridRange(o[0]); |
| 1088 checkGridRange(o[1]); | 1280 checkGridRange(o[1]); |
| 1089 } | 1281 } |
| 1090 | 1282 |
| 1091 core.int buildCounterConditionalFormatRule = 0; | 1283 core.int buildCounterConditionalFormatRule = 0; |
| 1092 buildConditionalFormatRule() { | 1284 buildConditionalFormatRule() { |
| 1093 var o = new api.ConditionalFormatRule(); | 1285 var o = new api.ConditionalFormatRule(); |
| 1094 buildCounterConditionalFormatRule++; | 1286 buildCounterConditionalFormatRule++; |
| 1095 if (buildCounterConditionalFormatRule < 3) { | 1287 if (buildCounterConditionalFormatRule < 3) { |
| 1096 o.booleanRule = buildBooleanRule(); | 1288 o.booleanRule = buildBooleanRule(); |
| 1097 o.gradientRule = buildGradientRule(); | 1289 o.gradientRule = buildGradientRule(); |
| 1098 o.ranges = buildUnnamed616(); | 1290 o.ranges = buildUnnamed633(); |
| 1099 } | 1291 } |
| 1100 buildCounterConditionalFormatRule--; | 1292 buildCounterConditionalFormatRule--; |
| 1101 return o; | 1293 return o; |
| 1102 } | 1294 } |
| 1103 | 1295 |
| 1104 checkConditionalFormatRule(api.ConditionalFormatRule o) { | 1296 checkConditionalFormatRule(api.ConditionalFormatRule o) { |
| 1105 buildCounterConditionalFormatRule++; | 1297 buildCounterConditionalFormatRule++; |
| 1106 if (buildCounterConditionalFormatRule < 3) { | 1298 if (buildCounterConditionalFormatRule < 3) { |
| 1107 checkBooleanRule(o.booleanRule); | 1299 checkBooleanRule(o.booleanRule); |
| 1108 checkGradientRule(o.gradientRule); | 1300 checkGradientRule(o.gradientRule); |
| 1109 checkUnnamed616(o.ranges); | 1301 checkUnnamed633(o.ranges); |
| 1110 } | 1302 } |
| 1111 buildCounterConditionalFormatRule--; | 1303 buildCounterConditionalFormatRule--; |
| 1112 } | 1304 } |
| 1113 | 1305 |
| 1114 core.int buildCounterCopyPasteRequest = 0; | 1306 core.int buildCounterCopyPasteRequest = 0; |
| 1115 buildCopyPasteRequest() { | 1307 buildCopyPasteRequest() { |
| 1116 var o = new api.CopyPasteRequest(); | 1308 var o = new api.CopyPasteRequest(); |
| 1117 buildCounterCopyPasteRequest++; | 1309 buildCounterCopyPasteRequest++; |
| 1118 if (buildCounterCopyPasteRequest < 3) { | 1310 if (buildCounterCopyPasteRequest < 3) { |
| 1119 o.destination = buildGridRange(); | 1311 o.destination = buildGridRange(); |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1196 buildCounterDataValidationRule++; | 1388 buildCounterDataValidationRule++; |
| 1197 if (buildCounterDataValidationRule < 3) { | 1389 if (buildCounterDataValidationRule < 3) { |
| 1198 checkBooleanCondition(o.condition); | 1390 checkBooleanCondition(o.condition); |
| 1199 unittest.expect(o.inputMessage, unittest.equals('foo')); | 1391 unittest.expect(o.inputMessage, unittest.equals('foo')); |
| 1200 unittest.expect(o.showCustomUi, unittest.isTrue); | 1392 unittest.expect(o.showCustomUi, unittest.isTrue); |
| 1201 unittest.expect(o.strict, unittest.isTrue); | 1393 unittest.expect(o.strict, unittest.isTrue); |
| 1202 } | 1394 } |
| 1203 buildCounterDataValidationRule--; | 1395 buildCounterDataValidationRule--; |
| 1204 } | 1396 } |
| 1205 | 1397 |
| 1398 core.int buildCounterDeleteBandingRequest = 0; |
| 1399 buildDeleteBandingRequest() { |
| 1400 var o = new api.DeleteBandingRequest(); |
| 1401 buildCounterDeleteBandingRequest++; |
| 1402 if (buildCounterDeleteBandingRequest < 3) { |
| 1403 o.bandedRangeId = 42; |
| 1404 } |
| 1405 buildCounterDeleteBandingRequest--; |
| 1406 return o; |
| 1407 } |
| 1408 |
| 1409 checkDeleteBandingRequest(api.DeleteBandingRequest o) { |
| 1410 buildCounterDeleteBandingRequest++; |
| 1411 if (buildCounterDeleteBandingRequest < 3) { |
| 1412 unittest.expect(o.bandedRangeId, unittest.equals(42)); |
| 1413 } |
| 1414 buildCounterDeleteBandingRequest--; |
| 1415 } |
| 1416 |
| 1206 core.int buildCounterDeleteConditionalFormatRuleRequest = 0; | 1417 core.int buildCounterDeleteConditionalFormatRuleRequest = 0; |
| 1207 buildDeleteConditionalFormatRuleRequest() { | 1418 buildDeleteConditionalFormatRuleRequest() { |
| 1208 var o = new api.DeleteConditionalFormatRuleRequest(); | 1419 var o = new api.DeleteConditionalFormatRuleRequest(); |
| 1209 buildCounterDeleteConditionalFormatRuleRequest++; | 1420 buildCounterDeleteConditionalFormatRuleRequest++; |
| 1210 if (buildCounterDeleteConditionalFormatRuleRequest < 3) { | 1421 if (buildCounterDeleteConditionalFormatRuleRequest < 3) { |
| 1211 o.index = 42; | 1422 o.index = 42; |
| 1212 o.sheetId = 42; | 1423 o.sheetId = 42; |
| 1213 } | 1424 } |
| 1214 buildCounterDeleteConditionalFormatRuleRequest--; | 1425 buildCounterDeleteConditionalFormatRuleRequest--; |
| 1215 return o; | 1426 return o; |
| (...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1480 } | 1691 } |
| 1481 | 1692 |
| 1482 checkDuplicateSheetResponse(api.DuplicateSheetResponse o) { | 1693 checkDuplicateSheetResponse(api.DuplicateSheetResponse o) { |
| 1483 buildCounterDuplicateSheetResponse++; | 1694 buildCounterDuplicateSheetResponse++; |
| 1484 if (buildCounterDuplicateSheetResponse < 3) { | 1695 if (buildCounterDuplicateSheetResponse < 3) { |
| 1485 checkSheetProperties(o.properties); | 1696 checkSheetProperties(o.properties); |
| 1486 } | 1697 } |
| 1487 buildCounterDuplicateSheetResponse--; | 1698 buildCounterDuplicateSheetResponse--; |
| 1488 } | 1699 } |
| 1489 | 1700 |
| 1490 buildUnnamed617() { | 1701 buildUnnamed634() { |
| 1491 var o = new core.List<core.String>(); | 1702 var o = new core.List<core.String>(); |
| 1492 o.add("foo"); | 1703 o.add("foo"); |
| 1493 o.add("foo"); | 1704 o.add("foo"); |
| 1494 return o; | 1705 return o; |
| 1495 } | 1706 } |
| 1496 | 1707 |
| 1497 checkUnnamed617(core.List<core.String> o) { | 1708 checkUnnamed634(core.List<core.String> o) { |
| 1498 unittest.expect(o, unittest.hasLength(2)); | 1709 unittest.expect(o, unittest.hasLength(2)); |
| 1499 unittest.expect(o[0], unittest.equals('foo')); | 1710 unittest.expect(o[0], unittest.equals('foo')); |
| 1500 unittest.expect(o[1], unittest.equals('foo')); | 1711 unittest.expect(o[1], unittest.equals('foo')); |
| 1501 } | 1712 } |
| 1502 | 1713 |
| 1503 buildUnnamed618() { | 1714 buildUnnamed635() { |
| 1504 var o = new core.List<core.String>(); | 1715 var o = new core.List<core.String>(); |
| 1505 o.add("foo"); | 1716 o.add("foo"); |
| 1506 o.add("foo"); | 1717 o.add("foo"); |
| 1507 return o; | 1718 return o; |
| 1508 } | 1719 } |
| 1509 | 1720 |
| 1510 checkUnnamed618(core.List<core.String> o) { | 1721 checkUnnamed635(core.List<core.String> o) { |
| 1511 unittest.expect(o, unittest.hasLength(2)); | 1722 unittest.expect(o, unittest.hasLength(2)); |
| 1512 unittest.expect(o[0], unittest.equals('foo')); | 1723 unittest.expect(o[0], unittest.equals('foo')); |
| 1513 unittest.expect(o[1], unittest.equals('foo')); | 1724 unittest.expect(o[1], unittest.equals('foo')); |
| 1514 } | 1725 } |
| 1515 | 1726 |
| 1516 core.int buildCounterEditors = 0; | 1727 core.int buildCounterEditors = 0; |
| 1517 buildEditors() { | 1728 buildEditors() { |
| 1518 var o = new api.Editors(); | 1729 var o = new api.Editors(); |
| 1519 buildCounterEditors++; | 1730 buildCounterEditors++; |
| 1520 if (buildCounterEditors < 3) { | 1731 if (buildCounterEditors < 3) { |
| 1521 o.domainUsersCanEdit = true; | 1732 o.domainUsersCanEdit = true; |
| 1522 o.groups = buildUnnamed617(); | 1733 o.groups = buildUnnamed634(); |
| 1523 o.users = buildUnnamed618(); | 1734 o.users = buildUnnamed635(); |
| 1524 } | 1735 } |
| 1525 buildCounterEditors--; | 1736 buildCounterEditors--; |
| 1526 return o; | 1737 return o; |
| 1527 } | 1738 } |
| 1528 | 1739 |
| 1529 checkEditors(api.Editors o) { | 1740 checkEditors(api.Editors o) { |
| 1530 buildCounterEditors++; | 1741 buildCounterEditors++; |
| 1531 if (buildCounterEditors < 3) { | 1742 if (buildCounterEditors < 3) { |
| 1532 unittest.expect(o.domainUsersCanEdit, unittest.isTrue); | 1743 unittest.expect(o.domainUsersCanEdit, unittest.isTrue); |
| 1533 checkUnnamed617(o.groups); | 1744 checkUnnamed634(o.groups); |
| 1534 checkUnnamed618(o.users); | 1745 checkUnnamed635(o.users); |
| 1535 } | 1746 } |
| 1536 buildCounterEditors--; | 1747 buildCounterEditors--; |
| 1537 } | 1748 } |
| 1538 | 1749 |
| 1539 core.int buildCounterEmbeddedChart = 0; | 1750 core.int buildCounterEmbeddedChart = 0; |
| 1540 buildEmbeddedChart() { | 1751 buildEmbeddedChart() { |
| 1541 var o = new api.EmbeddedChart(); | 1752 var o = new api.EmbeddedChart(); |
| 1542 buildCounterEmbeddedChart++; | 1753 buildCounterEmbeddedChart++; |
| 1543 if (buildCounterEmbeddedChart < 3) { | 1754 if (buildCounterEmbeddedChart < 3) { |
| 1544 o.chartId = 42; | 1755 o.chartId = 42; |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1623 if (buildCounterExtendedValue < 3) { | 1834 if (buildCounterExtendedValue < 3) { |
| 1624 unittest.expect(o.boolValue, unittest.isTrue); | 1835 unittest.expect(o.boolValue, unittest.isTrue); |
| 1625 checkErrorValue(o.errorValue); | 1836 checkErrorValue(o.errorValue); |
| 1626 unittest.expect(o.formulaValue, unittest.equals('foo')); | 1837 unittest.expect(o.formulaValue, unittest.equals('foo')); |
| 1627 unittest.expect(o.numberValue, unittest.equals(42.0)); | 1838 unittest.expect(o.numberValue, unittest.equals(42.0)); |
| 1628 unittest.expect(o.stringValue, unittest.equals('foo')); | 1839 unittest.expect(o.stringValue, unittest.equals('foo')); |
| 1629 } | 1840 } |
| 1630 buildCounterExtendedValue--; | 1841 buildCounterExtendedValue--; |
| 1631 } | 1842 } |
| 1632 | 1843 |
| 1633 buildUnnamed619() { | 1844 buildUnnamed636() { |
| 1634 var o = new core.List<core.String>(); | 1845 var o = new core.List<core.String>(); |
| 1635 o.add("foo"); | 1846 o.add("foo"); |
| 1636 o.add("foo"); | 1847 o.add("foo"); |
| 1637 return o; | 1848 return o; |
| 1638 } | 1849 } |
| 1639 | 1850 |
| 1640 checkUnnamed619(core.List<core.String> o) { | 1851 checkUnnamed636(core.List<core.String> o) { |
| 1641 unittest.expect(o, unittest.hasLength(2)); | 1852 unittest.expect(o, unittest.hasLength(2)); |
| 1642 unittest.expect(o[0], unittest.equals('foo')); | 1853 unittest.expect(o[0], unittest.equals('foo')); |
| 1643 unittest.expect(o[1], unittest.equals('foo')); | 1854 unittest.expect(o[1], unittest.equals('foo')); |
| 1644 } | 1855 } |
| 1645 | 1856 |
| 1646 core.int buildCounterFilterCriteria = 0; | 1857 core.int buildCounterFilterCriteria = 0; |
| 1647 buildFilterCriteria() { | 1858 buildFilterCriteria() { |
| 1648 var o = new api.FilterCriteria(); | 1859 var o = new api.FilterCriteria(); |
| 1649 buildCounterFilterCriteria++; | 1860 buildCounterFilterCriteria++; |
| 1650 if (buildCounterFilterCriteria < 3) { | 1861 if (buildCounterFilterCriteria < 3) { |
| 1651 o.condition = buildBooleanCondition(); | 1862 o.condition = buildBooleanCondition(); |
| 1652 o.hiddenValues = buildUnnamed619(); | 1863 o.hiddenValues = buildUnnamed636(); |
| 1653 } | 1864 } |
| 1654 buildCounterFilterCriteria--; | 1865 buildCounterFilterCriteria--; |
| 1655 return o; | 1866 return o; |
| 1656 } | 1867 } |
| 1657 | 1868 |
| 1658 checkFilterCriteria(api.FilterCriteria o) { | 1869 checkFilterCriteria(api.FilterCriteria o) { |
| 1659 buildCounterFilterCriteria++; | 1870 buildCounterFilterCriteria++; |
| 1660 if (buildCounterFilterCriteria < 3) { | 1871 if (buildCounterFilterCriteria < 3) { |
| 1661 checkBooleanCondition(o.condition); | 1872 checkBooleanCondition(o.condition); |
| 1662 checkUnnamed619(o.hiddenValues); | 1873 checkUnnamed636(o.hiddenValues); |
| 1663 } | 1874 } |
| 1664 buildCounterFilterCriteria--; | 1875 buildCounterFilterCriteria--; |
| 1665 } | 1876 } |
| 1666 | 1877 |
| 1667 buildUnnamed620() { | 1878 buildUnnamed637() { |
| 1668 var o = new core.Map<core.String, api.FilterCriteria>(); | 1879 var o = new core.Map<core.String, api.FilterCriteria>(); |
| 1669 o["x"] = buildFilterCriteria(); | 1880 o["x"] = buildFilterCriteria(); |
| 1670 o["y"] = buildFilterCriteria(); | 1881 o["y"] = buildFilterCriteria(); |
| 1671 return o; | 1882 return o; |
| 1672 } | 1883 } |
| 1673 | 1884 |
| 1674 checkUnnamed620(core.Map<core.String, api.FilterCriteria> o) { | 1885 checkUnnamed637(core.Map<core.String, api.FilterCriteria> o) { |
| 1675 unittest.expect(o, unittest.hasLength(2)); | 1886 unittest.expect(o, unittest.hasLength(2)); |
| 1676 checkFilterCriteria(o["x"]); | 1887 checkFilterCriteria(o["x"]); |
| 1677 checkFilterCriteria(o["y"]); | 1888 checkFilterCriteria(o["y"]); |
| 1678 } | 1889 } |
| 1679 | 1890 |
| 1680 buildUnnamed621() { | 1891 buildUnnamed638() { |
| 1681 var o = new core.List<api.SortSpec>(); | 1892 var o = new core.List<api.SortSpec>(); |
| 1682 o.add(buildSortSpec()); | 1893 o.add(buildSortSpec()); |
| 1683 o.add(buildSortSpec()); | 1894 o.add(buildSortSpec()); |
| 1684 return o; | 1895 return o; |
| 1685 } | 1896 } |
| 1686 | 1897 |
| 1687 checkUnnamed621(core.List<api.SortSpec> o) { | 1898 checkUnnamed638(core.List<api.SortSpec> o) { |
| 1688 unittest.expect(o, unittest.hasLength(2)); | 1899 unittest.expect(o, unittest.hasLength(2)); |
| 1689 checkSortSpec(o[0]); | 1900 checkSortSpec(o[0]); |
| 1690 checkSortSpec(o[1]); | 1901 checkSortSpec(o[1]); |
| 1691 } | 1902 } |
| 1692 | 1903 |
| 1693 core.int buildCounterFilterView = 0; | 1904 core.int buildCounterFilterView = 0; |
| 1694 buildFilterView() { | 1905 buildFilterView() { |
| 1695 var o = new api.FilterView(); | 1906 var o = new api.FilterView(); |
| 1696 buildCounterFilterView++; | 1907 buildCounterFilterView++; |
| 1697 if (buildCounterFilterView < 3) { | 1908 if (buildCounterFilterView < 3) { |
| 1698 o.criteria = buildUnnamed620(); | 1909 o.criteria = buildUnnamed637(); |
| 1699 o.filterViewId = 42; | 1910 o.filterViewId = 42; |
| 1700 o.namedRangeId = "foo"; | 1911 o.namedRangeId = "foo"; |
| 1701 o.range = buildGridRange(); | 1912 o.range = buildGridRange(); |
| 1702 o.sortSpecs = buildUnnamed621(); | 1913 o.sortSpecs = buildUnnamed638(); |
| 1703 o.title = "foo"; | 1914 o.title = "foo"; |
| 1704 } | 1915 } |
| 1705 buildCounterFilterView--; | 1916 buildCounterFilterView--; |
| 1706 return o; | 1917 return o; |
| 1707 } | 1918 } |
| 1708 | 1919 |
| 1709 checkFilterView(api.FilterView o) { | 1920 checkFilterView(api.FilterView o) { |
| 1710 buildCounterFilterView++; | 1921 buildCounterFilterView++; |
| 1711 if (buildCounterFilterView < 3) { | 1922 if (buildCounterFilterView < 3) { |
| 1712 checkUnnamed620(o.criteria); | 1923 checkUnnamed637(o.criteria); |
| 1713 unittest.expect(o.filterViewId, unittest.equals(42)); | 1924 unittest.expect(o.filterViewId, unittest.equals(42)); |
| 1714 unittest.expect(o.namedRangeId, unittest.equals('foo')); | 1925 unittest.expect(o.namedRangeId, unittest.equals('foo')); |
| 1715 checkGridRange(o.range); | 1926 checkGridRange(o.range); |
| 1716 checkUnnamed621(o.sortSpecs); | 1927 checkUnnamed638(o.sortSpecs); |
| 1717 unittest.expect(o.title, unittest.equals('foo')); | 1928 unittest.expect(o.title, unittest.equals('foo')); |
| 1718 } | 1929 } |
| 1719 buildCounterFilterView--; | 1930 buildCounterFilterView--; |
| 1720 } | 1931 } |
| 1721 | 1932 |
| 1722 core.int buildCounterFindReplaceRequest = 0; | 1933 core.int buildCounterFindReplaceRequest = 0; |
| 1723 buildFindReplaceRequest() { | 1934 buildFindReplaceRequest() { |
| 1724 var o = new api.FindReplaceRequest(); | 1935 var o = new api.FindReplaceRequest(); |
| 1725 buildCounterFindReplaceRequest++; | 1936 buildCounterFindReplaceRequest++; |
| 1726 if (buildCounterFindReplaceRequest < 3) { | 1937 if (buildCounterFindReplaceRequest < 3) { |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1820 checkGridCoordinate(api.GridCoordinate o) { | 2031 checkGridCoordinate(api.GridCoordinate o) { |
| 1821 buildCounterGridCoordinate++; | 2032 buildCounterGridCoordinate++; |
| 1822 if (buildCounterGridCoordinate < 3) { | 2033 if (buildCounterGridCoordinate < 3) { |
| 1823 unittest.expect(o.columnIndex, unittest.equals(42)); | 2034 unittest.expect(o.columnIndex, unittest.equals(42)); |
| 1824 unittest.expect(o.rowIndex, unittest.equals(42)); | 2035 unittest.expect(o.rowIndex, unittest.equals(42)); |
| 1825 unittest.expect(o.sheetId, unittest.equals(42)); | 2036 unittest.expect(o.sheetId, unittest.equals(42)); |
| 1826 } | 2037 } |
| 1827 buildCounterGridCoordinate--; | 2038 buildCounterGridCoordinate--; |
| 1828 } | 2039 } |
| 1829 | 2040 |
| 1830 buildUnnamed622() { | 2041 buildUnnamed639() { |
| 1831 var o = new core.List<api.DimensionProperties>(); | 2042 var o = new core.List<api.DimensionProperties>(); |
| 1832 o.add(buildDimensionProperties()); | 2043 o.add(buildDimensionProperties()); |
| 1833 o.add(buildDimensionProperties()); | 2044 o.add(buildDimensionProperties()); |
| 1834 return o; | 2045 return o; |
| 1835 } | 2046 } |
| 1836 | 2047 |
| 1837 checkUnnamed622(core.List<api.DimensionProperties> o) { | 2048 checkUnnamed639(core.List<api.DimensionProperties> o) { |
| 1838 unittest.expect(o, unittest.hasLength(2)); | 2049 unittest.expect(o, unittest.hasLength(2)); |
| 1839 checkDimensionProperties(o[0]); | 2050 checkDimensionProperties(o[0]); |
| 1840 checkDimensionProperties(o[1]); | 2051 checkDimensionProperties(o[1]); |
| 1841 } | 2052 } |
| 1842 | 2053 |
| 1843 buildUnnamed623() { | 2054 buildUnnamed640() { |
| 1844 var o = new core.List<api.RowData>(); | 2055 var o = new core.List<api.RowData>(); |
| 1845 o.add(buildRowData()); | 2056 o.add(buildRowData()); |
| 1846 o.add(buildRowData()); | 2057 o.add(buildRowData()); |
| 1847 return o; | 2058 return o; |
| 1848 } | 2059 } |
| 1849 | 2060 |
| 1850 checkUnnamed623(core.List<api.RowData> o) { | 2061 checkUnnamed640(core.List<api.RowData> o) { |
| 1851 unittest.expect(o, unittest.hasLength(2)); | 2062 unittest.expect(o, unittest.hasLength(2)); |
| 1852 checkRowData(o[0]); | 2063 checkRowData(o[0]); |
| 1853 checkRowData(o[1]); | 2064 checkRowData(o[1]); |
| 1854 } | 2065 } |
| 1855 | 2066 |
| 1856 buildUnnamed624() { | 2067 buildUnnamed641() { |
| 1857 var o = new core.List<api.DimensionProperties>(); | 2068 var o = new core.List<api.DimensionProperties>(); |
| 1858 o.add(buildDimensionProperties()); | 2069 o.add(buildDimensionProperties()); |
| 1859 o.add(buildDimensionProperties()); | 2070 o.add(buildDimensionProperties()); |
| 1860 return o; | 2071 return o; |
| 1861 } | 2072 } |
| 1862 | 2073 |
| 1863 checkUnnamed624(core.List<api.DimensionProperties> o) { | 2074 checkUnnamed641(core.List<api.DimensionProperties> o) { |
| 1864 unittest.expect(o, unittest.hasLength(2)); | 2075 unittest.expect(o, unittest.hasLength(2)); |
| 1865 checkDimensionProperties(o[0]); | 2076 checkDimensionProperties(o[0]); |
| 1866 checkDimensionProperties(o[1]); | 2077 checkDimensionProperties(o[1]); |
| 1867 } | 2078 } |
| 1868 | 2079 |
| 1869 core.int buildCounterGridData = 0; | 2080 core.int buildCounterGridData = 0; |
| 1870 buildGridData() { | 2081 buildGridData() { |
| 1871 var o = new api.GridData(); | 2082 var o = new api.GridData(); |
| 1872 buildCounterGridData++; | 2083 buildCounterGridData++; |
| 1873 if (buildCounterGridData < 3) { | 2084 if (buildCounterGridData < 3) { |
| 1874 o.columnMetadata = buildUnnamed622(); | 2085 o.columnMetadata = buildUnnamed639(); |
| 1875 o.rowData = buildUnnamed623(); | 2086 o.rowData = buildUnnamed640(); |
| 1876 o.rowMetadata = buildUnnamed624(); | 2087 o.rowMetadata = buildUnnamed641(); |
| 1877 o.startColumn = 42; | 2088 o.startColumn = 42; |
| 1878 o.startRow = 42; | 2089 o.startRow = 42; |
| 1879 } | 2090 } |
| 1880 buildCounterGridData--; | 2091 buildCounterGridData--; |
| 1881 return o; | 2092 return o; |
| 1882 } | 2093 } |
| 1883 | 2094 |
| 1884 checkGridData(api.GridData o) { | 2095 checkGridData(api.GridData o) { |
| 1885 buildCounterGridData++; | 2096 buildCounterGridData++; |
| 1886 if (buildCounterGridData < 3) { | 2097 if (buildCounterGridData < 3) { |
| 1887 checkUnnamed622(o.columnMetadata); | 2098 checkUnnamed639(o.columnMetadata); |
| 1888 checkUnnamed623(o.rowData); | 2099 checkUnnamed640(o.rowData); |
| 1889 checkUnnamed624(o.rowMetadata); | 2100 checkUnnamed641(o.rowMetadata); |
| 1890 unittest.expect(o.startColumn, unittest.equals(42)); | 2101 unittest.expect(o.startColumn, unittest.equals(42)); |
| 1891 unittest.expect(o.startRow, unittest.equals(42)); | 2102 unittest.expect(o.startRow, unittest.equals(42)); |
| 1892 } | 2103 } |
| 1893 buildCounterGridData--; | 2104 buildCounterGridData--; |
| 1894 } | 2105 } |
| 1895 | 2106 |
| 1896 core.int buildCounterGridProperties = 0; | 2107 core.int buildCounterGridProperties = 0; |
| 1897 buildGridProperties() { | 2108 buildGridProperties() { |
| 1898 var o = new api.GridProperties(); | 2109 var o = new api.GridProperties(); |
| 1899 buildCounterGridProperties++; | 2110 buildCounterGridProperties++; |
| (...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2176 if (buildCounterPieChartSpec < 3) { | 2387 if (buildCounterPieChartSpec < 3) { |
| 2177 checkChartData(o.domain); | 2388 checkChartData(o.domain); |
| 2178 unittest.expect(o.legendPosition, unittest.equals('foo')); | 2389 unittest.expect(o.legendPosition, unittest.equals('foo')); |
| 2179 unittest.expect(o.pieHole, unittest.equals(42.0)); | 2390 unittest.expect(o.pieHole, unittest.equals(42.0)); |
| 2180 checkChartData(o.series); | 2391 checkChartData(o.series); |
| 2181 unittest.expect(o.threeDimensional, unittest.isTrue); | 2392 unittest.expect(o.threeDimensional, unittest.isTrue); |
| 2182 } | 2393 } |
| 2183 buildCounterPieChartSpec--; | 2394 buildCounterPieChartSpec--; |
| 2184 } | 2395 } |
| 2185 | 2396 |
| 2186 buildUnnamed625() { | 2397 buildUnnamed642() { |
| 2187 var o = new core.List<core.String>(); | 2398 var o = new core.List<core.String>(); |
| 2188 o.add("foo"); | 2399 o.add("foo"); |
| 2189 o.add("foo"); | 2400 o.add("foo"); |
| 2190 return o; | 2401 return o; |
| 2191 } | 2402 } |
| 2192 | 2403 |
| 2193 checkUnnamed625(core.List<core.String> o) { | 2404 checkUnnamed642(core.List<core.String> o) { |
| 2194 unittest.expect(o, unittest.hasLength(2)); | 2405 unittest.expect(o, unittest.hasLength(2)); |
| 2195 unittest.expect(o[0], unittest.equals('foo')); | 2406 unittest.expect(o[0], unittest.equals('foo')); |
| 2196 unittest.expect(o[1], unittest.equals('foo')); | 2407 unittest.expect(o[1], unittest.equals('foo')); |
| 2197 } | 2408 } |
| 2198 | 2409 |
| 2199 core.int buildCounterPivotFilterCriteria = 0; | 2410 core.int buildCounterPivotFilterCriteria = 0; |
| 2200 buildPivotFilterCriteria() { | 2411 buildPivotFilterCriteria() { |
| 2201 var o = new api.PivotFilterCriteria(); | 2412 var o = new api.PivotFilterCriteria(); |
| 2202 buildCounterPivotFilterCriteria++; | 2413 buildCounterPivotFilterCriteria++; |
| 2203 if (buildCounterPivotFilterCriteria < 3) { | 2414 if (buildCounterPivotFilterCriteria < 3) { |
| 2204 o.visibleValues = buildUnnamed625(); | 2415 o.visibleValues = buildUnnamed642(); |
| 2205 } | 2416 } |
| 2206 buildCounterPivotFilterCriteria--; | 2417 buildCounterPivotFilterCriteria--; |
| 2207 return o; | 2418 return o; |
| 2208 } | 2419 } |
| 2209 | 2420 |
| 2210 checkPivotFilterCriteria(api.PivotFilterCriteria o) { | 2421 checkPivotFilterCriteria(api.PivotFilterCriteria o) { |
| 2211 buildCounterPivotFilterCriteria++; | 2422 buildCounterPivotFilterCriteria++; |
| 2212 if (buildCounterPivotFilterCriteria < 3) { | 2423 if (buildCounterPivotFilterCriteria < 3) { |
| 2213 checkUnnamed625(o.visibleValues); | 2424 checkUnnamed642(o.visibleValues); |
| 2214 } | 2425 } |
| 2215 buildCounterPivotFilterCriteria--; | 2426 buildCounterPivotFilterCriteria--; |
| 2216 } | 2427 } |
| 2217 | 2428 |
| 2218 buildUnnamed626() { | 2429 buildUnnamed643() { |
| 2219 var o = new core.List<api.PivotGroupValueMetadata>(); | 2430 var o = new core.List<api.PivotGroupValueMetadata>(); |
| 2220 o.add(buildPivotGroupValueMetadata()); | 2431 o.add(buildPivotGroupValueMetadata()); |
| 2221 o.add(buildPivotGroupValueMetadata()); | 2432 o.add(buildPivotGroupValueMetadata()); |
| 2222 return o; | 2433 return o; |
| 2223 } | 2434 } |
| 2224 | 2435 |
| 2225 checkUnnamed626(core.List<api.PivotGroupValueMetadata> o) { | 2436 checkUnnamed643(core.List<api.PivotGroupValueMetadata> o) { |
| 2226 unittest.expect(o, unittest.hasLength(2)); | 2437 unittest.expect(o, unittest.hasLength(2)); |
| 2227 checkPivotGroupValueMetadata(o[0]); | 2438 checkPivotGroupValueMetadata(o[0]); |
| 2228 checkPivotGroupValueMetadata(o[1]); | 2439 checkPivotGroupValueMetadata(o[1]); |
| 2229 } | 2440 } |
| 2230 | 2441 |
| 2231 core.int buildCounterPivotGroup = 0; | 2442 core.int buildCounterPivotGroup = 0; |
| 2232 buildPivotGroup() { | 2443 buildPivotGroup() { |
| 2233 var o = new api.PivotGroup(); | 2444 var o = new api.PivotGroup(); |
| 2234 buildCounterPivotGroup++; | 2445 buildCounterPivotGroup++; |
| 2235 if (buildCounterPivotGroup < 3) { | 2446 if (buildCounterPivotGroup < 3) { |
| 2236 o.showTotals = true; | 2447 o.showTotals = true; |
| 2237 o.sortOrder = "foo"; | 2448 o.sortOrder = "foo"; |
| 2238 o.sourceColumnOffset = 42; | 2449 o.sourceColumnOffset = 42; |
| 2239 o.valueBucket = buildPivotGroupSortValueBucket(); | 2450 o.valueBucket = buildPivotGroupSortValueBucket(); |
| 2240 o.valueMetadata = buildUnnamed626(); | 2451 o.valueMetadata = buildUnnamed643(); |
| 2241 } | 2452 } |
| 2242 buildCounterPivotGroup--; | 2453 buildCounterPivotGroup--; |
| 2243 return o; | 2454 return o; |
| 2244 } | 2455 } |
| 2245 | 2456 |
| 2246 checkPivotGroup(api.PivotGroup o) { | 2457 checkPivotGroup(api.PivotGroup o) { |
| 2247 buildCounterPivotGroup++; | 2458 buildCounterPivotGroup++; |
| 2248 if (buildCounterPivotGroup < 3) { | 2459 if (buildCounterPivotGroup < 3) { |
| 2249 unittest.expect(o.showTotals, unittest.isTrue); | 2460 unittest.expect(o.showTotals, unittest.isTrue); |
| 2250 unittest.expect(o.sortOrder, unittest.equals('foo')); | 2461 unittest.expect(o.sortOrder, unittest.equals('foo')); |
| 2251 unittest.expect(o.sourceColumnOffset, unittest.equals(42)); | 2462 unittest.expect(o.sourceColumnOffset, unittest.equals(42)); |
| 2252 checkPivotGroupSortValueBucket(o.valueBucket); | 2463 checkPivotGroupSortValueBucket(o.valueBucket); |
| 2253 checkUnnamed626(o.valueMetadata); | 2464 checkUnnamed643(o.valueMetadata); |
| 2254 } | 2465 } |
| 2255 buildCounterPivotGroup--; | 2466 buildCounterPivotGroup--; |
| 2256 } | 2467 } |
| 2257 | 2468 |
| 2258 buildUnnamed627() { | 2469 buildUnnamed644() { |
| 2259 var o = new core.List<api.ExtendedValue>(); | 2470 var o = new core.List<api.ExtendedValue>(); |
| 2260 o.add(buildExtendedValue()); | 2471 o.add(buildExtendedValue()); |
| 2261 o.add(buildExtendedValue()); | 2472 o.add(buildExtendedValue()); |
| 2262 return o; | 2473 return o; |
| 2263 } | 2474 } |
| 2264 | 2475 |
| 2265 checkUnnamed627(core.List<api.ExtendedValue> o) { | 2476 checkUnnamed644(core.List<api.ExtendedValue> o) { |
| 2266 unittest.expect(o, unittest.hasLength(2)); | 2477 unittest.expect(o, unittest.hasLength(2)); |
| 2267 checkExtendedValue(o[0]); | 2478 checkExtendedValue(o[0]); |
| 2268 checkExtendedValue(o[1]); | 2479 checkExtendedValue(o[1]); |
| 2269 } | 2480 } |
| 2270 | 2481 |
| 2271 core.int buildCounterPivotGroupSortValueBucket = 0; | 2482 core.int buildCounterPivotGroupSortValueBucket = 0; |
| 2272 buildPivotGroupSortValueBucket() { | 2483 buildPivotGroupSortValueBucket() { |
| 2273 var o = new api.PivotGroupSortValueBucket(); | 2484 var o = new api.PivotGroupSortValueBucket(); |
| 2274 buildCounterPivotGroupSortValueBucket++; | 2485 buildCounterPivotGroupSortValueBucket++; |
| 2275 if (buildCounterPivotGroupSortValueBucket < 3) { | 2486 if (buildCounterPivotGroupSortValueBucket < 3) { |
| 2276 o.buckets = buildUnnamed627(); | 2487 o.buckets = buildUnnamed644(); |
| 2277 o.valuesIndex = 42; | 2488 o.valuesIndex = 42; |
| 2278 } | 2489 } |
| 2279 buildCounterPivotGroupSortValueBucket--; | 2490 buildCounterPivotGroupSortValueBucket--; |
| 2280 return o; | 2491 return o; |
| 2281 } | 2492 } |
| 2282 | 2493 |
| 2283 checkPivotGroupSortValueBucket(api.PivotGroupSortValueBucket o) { | 2494 checkPivotGroupSortValueBucket(api.PivotGroupSortValueBucket o) { |
| 2284 buildCounterPivotGroupSortValueBucket++; | 2495 buildCounterPivotGroupSortValueBucket++; |
| 2285 if (buildCounterPivotGroupSortValueBucket < 3) { | 2496 if (buildCounterPivotGroupSortValueBucket < 3) { |
| 2286 checkUnnamed627(o.buckets); | 2497 checkUnnamed644(o.buckets); |
| 2287 unittest.expect(o.valuesIndex, unittest.equals(42)); | 2498 unittest.expect(o.valuesIndex, unittest.equals(42)); |
| 2288 } | 2499 } |
| 2289 buildCounterPivotGroupSortValueBucket--; | 2500 buildCounterPivotGroupSortValueBucket--; |
| 2290 } | 2501 } |
| 2291 | 2502 |
| 2292 core.int buildCounterPivotGroupValueMetadata = 0; | 2503 core.int buildCounterPivotGroupValueMetadata = 0; |
| 2293 buildPivotGroupValueMetadata() { | 2504 buildPivotGroupValueMetadata() { |
| 2294 var o = new api.PivotGroupValueMetadata(); | 2505 var o = new api.PivotGroupValueMetadata(); |
| 2295 buildCounterPivotGroupValueMetadata++; | 2506 buildCounterPivotGroupValueMetadata++; |
| 2296 if (buildCounterPivotGroupValueMetadata < 3) { | 2507 if (buildCounterPivotGroupValueMetadata < 3) { |
| 2297 o.collapsed = true; | 2508 o.collapsed = true; |
| 2298 o.value = buildExtendedValue(); | 2509 o.value = buildExtendedValue(); |
| 2299 } | 2510 } |
| 2300 buildCounterPivotGroupValueMetadata--; | 2511 buildCounterPivotGroupValueMetadata--; |
| 2301 return o; | 2512 return o; |
| 2302 } | 2513 } |
| 2303 | 2514 |
| 2304 checkPivotGroupValueMetadata(api.PivotGroupValueMetadata o) { | 2515 checkPivotGroupValueMetadata(api.PivotGroupValueMetadata o) { |
| 2305 buildCounterPivotGroupValueMetadata++; | 2516 buildCounterPivotGroupValueMetadata++; |
| 2306 if (buildCounterPivotGroupValueMetadata < 3) { | 2517 if (buildCounterPivotGroupValueMetadata < 3) { |
| 2307 unittest.expect(o.collapsed, unittest.isTrue); | 2518 unittest.expect(o.collapsed, unittest.isTrue); |
| 2308 checkExtendedValue(o.value); | 2519 checkExtendedValue(o.value); |
| 2309 } | 2520 } |
| 2310 buildCounterPivotGroupValueMetadata--; | 2521 buildCounterPivotGroupValueMetadata--; |
| 2311 } | 2522 } |
| 2312 | 2523 |
| 2313 buildUnnamed628() { | 2524 buildUnnamed645() { |
| 2314 var o = new core.List<api.PivotGroup>(); | 2525 var o = new core.List<api.PivotGroup>(); |
| 2315 o.add(buildPivotGroup()); | 2526 o.add(buildPivotGroup()); |
| 2316 o.add(buildPivotGroup()); | 2527 o.add(buildPivotGroup()); |
| 2317 return o; | 2528 return o; |
| 2318 } | 2529 } |
| 2319 | 2530 |
| 2320 checkUnnamed628(core.List<api.PivotGroup> o) { | 2531 checkUnnamed645(core.List<api.PivotGroup> o) { |
| 2321 unittest.expect(o, unittest.hasLength(2)); | 2532 unittest.expect(o, unittest.hasLength(2)); |
| 2322 checkPivotGroup(o[0]); | 2533 checkPivotGroup(o[0]); |
| 2323 checkPivotGroup(o[1]); | 2534 checkPivotGroup(o[1]); |
| 2324 } | 2535 } |
| 2325 | 2536 |
| 2326 buildUnnamed629() { | 2537 buildUnnamed646() { |
| 2327 var o = new core.Map<core.String, api.PivotFilterCriteria>(); | 2538 var o = new core.Map<core.String, api.PivotFilterCriteria>(); |
| 2328 o["x"] = buildPivotFilterCriteria(); | 2539 o["x"] = buildPivotFilterCriteria(); |
| 2329 o["y"] = buildPivotFilterCriteria(); | 2540 o["y"] = buildPivotFilterCriteria(); |
| 2330 return o; | 2541 return o; |
| 2331 } | 2542 } |
| 2332 | 2543 |
| 2333 checkUnnamed629(core.Map<core.String, api.PivotFilterCriteria> o) { | 2544 checkUnnamed646(core.Map<core.String, api.PivotFilterCriteria> o) { |
| 2334 unittest.expect(o, unittest.hasLength(2)); | 2545 unittest.expect(o, unittest.hasLength(2)); |
| 2335 checkPivotFilterCriteria(o["x"]); | 2546 checkPivotFilterCriteria(o["x"]); |
| 2336 checkPivotFilterCriteria(o["y"]); | 2547 checkPivotFilterCriteria(o["y"]); |
| 2337 } | 2548 } |
| 2338 | 2549 |
| 2339 buildUnnamed630() { | 2550 buildUnnamed647() { |
| 2340 var o = new core.List<api.PivotGroup>(); | 2551 var o = new core.List<api.PivotGroup>(); |
| 2341 o.add(buildPivotGroup()); | 2552 o.add(buildPivotGroup()); |
| 2342 o.add(buildPivotGroup()); | 2553 o.add(buildPivotGroup()); |
| 2343 return o; | 2554 return o; |
| 2344 } | 2555 } |
| 2345 | 2556 |
| 2346 checkUnnamed630(core.List<api.PivotGroup> o) { | 2557 checkUnnamed647(core.List<api.PivotGroup> o) { |
| 2347 unittest.expect(o, unittest.hasLength(2)); | 2558 unittest.expect(o, unittest.hasLength(2)); |
| 2348 checkPivotGroup(o[0]); | 2559 checkPivotGroup(o[0]); |
| 2349 checkPivotGroup(o[1]); | 2560 checkPivotGroup(o[1]); |
| 2350 } | 2561 } |
| 2351 | 2562 |
| 2352 buildUnnamed631() { | 2563 buildUnnamed648() { |
| 2353 var o = new core.List<api.PivotValue>(); | 2564 var o = new core.List<api.PivotValue>(); |
| 2354 o.add(buildPivotValue()); | 2565 o.add(buildPivotValue()); |
| 2355 o.add(buildPivotValue()); | 2566 o.add(buildPivotValue()); |
| 2356 return o; | 2567 return o; |
| 2357 } | 2568 } |
| 2358 | 2569 |
| 2359 checkUnnamed631(core.List<api.PivotValue> o) { | 2570 checkUnnamed648(core.List<api.PivotValue> o) { |
| 2360 unittest.expect(o, unittest.hasLength(2)); | 2571 unittest.expect(o, unittest.hasLength(2)); |
| 2361 checkPivotValue(o[0]); | 2572 checkPivotValue(o[0]); |
| 2362 checkPivotValue(o[1]); | 2573 checkPivotValue(o[1]); |
| 2363 } | 2574 } |
| 2364 | 2575 |
| 2365 core.int buildCounterPivotTable = 0; | 2576 core.int buildCounterPivotTable = 0; |
| 2366 buildPivotTable() { | 2577 buildPivotTable() { |
| 2367 var o = new api.PivotTable(); | 2578 var o = new api.PivotTable(); |
| 2368 buildCounterPivotTable++; | 2579 buildCounterPivotTable++; |
| 2369 if (buildCounterPivotTable < 3) { | 2580 if (buildCounterPivotTable < 3) { |
| 2370 o.columns = buildUnnamed628(); | 2581 o.columns = buildUnnamed645(); |
| 2371 o.criteria = buildUnnamed629(); | 2582 o.criteria = buildUnnamed646(); |
| 2372 o.rows = buildUnnamed630(); | 2583 o.rows = buildUnnamed647(); |
| 2373 o.source = buildGridRange(); | 2584 o.source = buildGridRange(); |
| 2374 o.valueLayout = "foo"; | 2585 o.valueLayout = "foo"; |
| 2375 o.values = buildUnnamed631(); | 2586 o.values = buildUnnamed648(); |
| 2376 } | 2587 } |
| 2377 buildCounterPivotTable--; | 2588 buildCounterPivotTable--; |
| 2378 return o; | 2589 return o; |
| 2379 } | 2590 } |
| 2380 | 2591 |
| 2381 checkPivotTable(api.PivotTable o) { | 2592 checkPivotTable(api.PivotTable o) { |
| 2382 buildCounterPivotTable++; | 2593 buildCounterPivotTable++; |
| 2383 if (buildCounterPivotTable < 3) { | 2594 if (buildCounterPivotTable < 3) { |
| 2384 checkUnnamed628(o.columns); | 2595 checkUnnamed645(o.columns); |
| 2385 checkUnnamed629(o.criteria); | 2596 checkUnnamed646(o.criteria); |
| 2386 checkUnnamed630(o.rows); | 2597 checkUnnamed647(o.rows); |
| 2387 checkGridRange(o.source); | 2598 checkGridRange(o.source); |
| 2388 unittest.expect(o.valueLayout, unittest.equals('foo')); | 2599 unittest.expect(o.valueLayout, unittest.equals('foo')); |
| 2389 checkUnnamed631(o.values); | 2600 checkUnnamed648(o.values); |
| 2390 } | 2601 } |
| 2391 buildCounterPivotTable--; | 2602 buildCounterPivotTable--; |
| 2392 } | 2603 } |
| 2393 | 2604 |
| 2394 core.int buildCounterPivotValue = 0; | 2605 core.int buildCounterPivotValue = 0; |
| 2395 buildPivotValue() { | 2606 buildPivotValue() { |
| 2396 var o = new api.PivotValue(); | 2607 var o = new api.PivotValue(); |
| 2397 buildCounterPivotValue++; | 2608 buildCounterPivotValue++; |
| 2398 if (buildCounterPivotValue < 3) { | 2609 if (buildCounterPivotValue < 3) { |
| 2399 o.formula = "foo"; | 2610 o.formula = "foo"; |
| 2400 o.name = "foo"; | 2611 o.name = "foo"; |
| 2401 o.sourceColumnOffset = 42; | 2612 o.sourceColumnOffset = 42; |
| 2402 o.summarizeFunction = "foo"; | 2613 o.summarizeFunction = "foo"; |
| 2403 } | 2614 } |
| 2404 buildCounterPivotValue--; | 2615 buildCounterPivotValue--; |
| 2405 return o; | 2616 return o; |
| 2406 } | 2617 } |
| 2407 | 2618 |
| 2408 checkPivotValue(api.PivotValue o) { | 2619 checkPivotValue(api.PivotValue o) { |
| 2409 buildCounterPivotValue++; | 2620 buildCounterPivotValue++; |
| 2410 if (buildCounterPivotValue < 3) { | 2621 if (buildCounterPivotValue < 3) { |
| 2411 unittest.expect(o.formula, unittest.equals('foo')); | 2622 unittest.expect(o.formula, unittest.equals('foo')); |
| 2412 unittest.expect(o.name, unittest.equals('foo')); | 2623 unittest.expect(o.name, unittest.equals('foo')); |
| 2413 unittest.expect(o.sourceColumnOffset, unittest.equals(42)); | 2624 unittest.expect(o.sourceColumnOffset, unittest.equals(42)); |
| 2414 unittest.expect(o.summarizeFunction, unittest.equals('foo')); | 2625 unittest.expect(o.summarizeFunction, unittest.equals('foo')); |
| 2415 } | 2626 } |
| 2416 buildCounterPivotValue--; | 2627 buildCounterPivotValue--; |
| 2417 } | 2628 } |
| 2418 | 2629 |
| 2419 buildUnnamed632() { | 2630 buildUnnamed649() { |
| 2420 var o = new core.List<api.GridRange>(); | 2631 var o = new core.List<api.GridRange>(); |
| 2421 o.add(buildGridRange()); | 2632 o.add(buildGridRange()); |
| 2422 o.add(buildGridRange()); | 2633 o.add(buildGridRange()); |
| 2423 return o; | 2634 return o; |
| 2424 } | 2635 } |
| 2425 | 2636 |
| 2426 checkUnnamed632(core.List<api.GridRange> o) { | 2637 checkUnnamed649(core.List<api.GridRange> o) { |
| 2427 unittest.expect(o, unittest.hasLength(2)); | 2638 unittest.expect(o, unittest.hasLength(2)); |
| 2428 checkGridRange(o[0]); | 2639 checkGridRange(o[0]); |
| 2429 checkGridRange(o[1]); | 2640 checkGridRange(o[1]); |
| 2430 } | 2641 } |
| 2431 | 2642 |
| 2432 core.int buildCounterProtectedRange = 0; | 2643 core.int buildCounterProtectedRange = 0; |
| 2433 buildProtectedRange() { | 2644 buildProtectedRange() { |
| 2434 var o = new api.ProtectedRange(); | 2645 var o = new api.ProtectedRange(); |
| 2435 buildCounterProtectedRange++; | 2646 buildCounterProtectedRange++; |
| 2436 if (buildCounterProtectedRange < 3) { | 2647 if (buildCounterProtectedRange < 3) { |
| 2437 o.description = "foo"; | 2648 o.description = "foo"; |
| 2438 o.editors = buildEditors(); | 2649 o.editors = buildEditors(); |
| 2439 o.namedRangeId = "foo"; | 2650 o.namedRangeId = "foo"; |
| 2440 o.protectedRangeId = 42; | 2651 o.protectedRangeId = 42; |
| 2441 o.range = buildGridRange(); | 2652 o.range = buildGridRange(); |
| 2442 o.requestingUserCanEdit = true; | 2653 o.requestingUserCanEdit = true; |
| 2443 o.unprotectedRanges = buildUnnamed632(); | 2654 o.unprotectedRanges = buildUnnamed649(); |
| 2444 o.warningOnly = true; | 2655 o.warningOnly = true; |
| 2445 } | 2656 } |
| 2446 buildCounterProtectedRange--; | 2657 buildCounterProtectedRange--; |
| 2447 return o; | 2658 return o; |
| 2448 } | 2659 } |
| 2449 | 2660 |
| 2450 checkProtectedRange(api.ProtectedRange o) { | 2661 checkProtectedRange(api.ProtectedRange o) { |
| 2451 buildCounterProtectedRange++; | 2662 buildCounterProtectedRange++; |
| 2452 if (buildCounterProtectedRange < 3) { | 2663 if (buildCounterProtectedRange < 3) { |
| 2453 unittest.expect(o.description, unittest.equals('foo')); | 2664 unittest.expect(o.description, unittest.equals('foo')); |
| 2454 checkEditors(o.editors); | 2665 checkEditors(o.editors); |
| 2455 unittest.expect(o.namedRangeId, unittest.equals('foo')); | 2666 unittest.expect(o.namedRangeId, unittest.equals('foo')); |
| 2456 unittest.expect(o.protectedRangeId, unittest.equals(42)); | 2667 unittest.expect(o.protectedRangeId, unittest.equals(42)); |
| 2457 checkGridRange(o.range); | 2668 checkGridRange(o.range); |
| 2458 unittest.expect(o.requestingUserCanEdit, unittest.isTrue); | 2669 unittest.expect(o.requestingUserCanEdit, unittest.isTrue); |
| 2459 checkUnnamed632(o.unprotectedRanges); | 2670 checkUnnamed649(o.unprotectedRanges); |
| 2460 unittest.expect(o.warningOnly, unittest.isTrue); | 2671 unittest.expect(o.warningOnly, unittest.isTrue); |
| 2461 } | 2672 } |
| 2462 buildCounterProtectedRange--; | 2673 buildCounterProtectedRange--; |
| 2463 } | 2674 } |
| 2464 | 2675 |
| 2465 core.int buildCounterRepeatCellRequest = 0; | 2676 core.int buildCounterRepeatCellRequest = 0; |
| 2466 buildRepeatCellRequest() { | 2677 buildRepeatCellRequest() { |
| 2467 var o = new api.RepeatCellRequest(); | 2678 var o = new api.RepeatCellRequest(); |
| 2468 buildCounterRepeatCellRequest++; | 2679 buildCounterRepeatCellRequest++; |
| 2469 if (buildCounterRepeatCellRequest < 3) { | 2680 if (buildCounterRepeatCellRequest < 3) { |
| (...skipping 13 matching lines...) Expand all Loading... |
| 2483 checkGridRange(o.range); | 2694 checkGridRange(o.range); |
| 2484 } | 2695 } |
| 2485 buildCounterRepeatCellRequest--; | 2696 buildCounterRepeatCellRequest--; |
| 2486 } | 2697 } |
| 2487 | 2698 |
| 2488 core.int buildCounterRequest = 0; | 2699 core.int buildCounterRequest = 0; |
| 2489 buildRequest() { | 2700 buildRequest() { |
| 2490 var o = new api.Request(); | 2701 var o = new api.Request(); |
| 2491 buildCounterRequest++; | 2702 buildCounterRequest++; |
| 2492 if (buildCounterRequest < 3) { | 2703 if (buildCounterRequest < 3) { |
| 2704 o.addBanding = buildAddBandingRequest(); |
| 2493 o.addChart = buildAddChartRequest(); | 2705 o.addChart = buildAddChartRequest(); |
| 2494 o.addConditionalFormatRule = buildAddConditionalFormatRuleRequest(); | 2706 o.addConditionalFormatRule = buildAddConditionalFormatRuleRequest(); |
| 2495 o.addFilterView = buildAddFilterViewRequest(); | 2707 o.addFilterView = buildAddFilterViewRequest(); |
| 2496 o.addNamedRange = buildAddNamedRangeRequest(); | 2708 o.addNamedRange = buildAddNamedRangeRequest(); |
| 2497 o.addProtectedRange = buildAddProtectedRangeRequest(); | 2709 o.addProtectedRange = buildAddProtectedRangeRequest(); |
| 2498 o.addSheet = buildAddSheetRequest(); | 2710 o.addSheet = buildAddSheetRequest(); |
| 2499 o.appendCells = buildAppendCellsRequest(); | 2711 o.appendCells = buildAppendCellsRequest(); |
| 2500 o.appendDimension = buildAppendDimensionRequest(); | 2712 o.appendDimension = buildAppendDimensionRequest(); |
| 2501 o.autoFill = buildAutoFillRequest(); | 2713 o.autoFill = buildAutoFillRequest(); |
| 2502 o.autoResizeDimensions = buildAutoResizeDimensionsRequest(); | 2714 o.autoResizeDimensions = buildAutoResizeDimensionsRequest(); |
| 2503 o.clearBasicFilter = buildClearBasicFilterRequest(); | 2715 o.clearBasicFilter = buildClearBasicFilterRequest(); |
| 2504 o.copyPaste = buildCopyPasteRequest(); | 2716 o.copyPaste = buildCopyPasteRequest(); |
| 2505 o.cutPaste = buildCutPasteRequest(); | 2717 o.cutPaste = buildCutPasteRequest(); |
| 2718 o.deleteBanding = buildDeleteBandingRequest(); |
| 2506 o.deleteConditionalFormatRule = buildDeleteConditionalFormatRuleRequest(); | 2719 o.deleteConditionalFormatRule = buildDeleteConditionalFormatRuleRequest(); |
| 2507 o.deleteDimension = buildDeleteDimensionRequest(); | 2720 o.deleteDimension = buildDeleteDimensionRequest(); |
| 2508 o.deleteEmbeddedObject = buildDeleteEmbeddedObjectRequest(); | 2721 o.deleteEmbeddedObject = buildDeleteEmbeddedObjectRequest(); |
| 2509 o.deleteFilterView = buildDeleteFilterViewRequest(); | 2722 o.deleteFilterView = buildDeleteFilterViewRequest(); |
| 2510 o.deleteNamedRange = buildDeleteNamedRangeRequest(); | 2723 o.deleteNamedRange = buildDeleteNamedRangeRequest(); |
| 2511 o.deleteProtectedRange = buildDeleteProtectedRangeRequest(); | 2724 o.deleteProtectedRange = buildDeleteProtectedRangeRequest(); |
| 2512 o.deleteSheet = buildDeleteSheetRequest(); | 2725 o.deleteSheet = buildDeleteSheetRequest(); |
| 2513 o.duplicateFilterView = buildDuplicateFilterViewRequest(); | 2726 o.duplicateFilterView = buildDuplicateFilterViewRequest(); |
| 2514 o.duplicateSheet = buildDuplicateSheetRequest(); | 2727 o.duplicateSheet = buildDuplicateSheetRequest(); |
| 2515 o.findReplace = buildFindReplaceRequest(); | 2728 o.findReplace = buildFindReplaceRequest(); |
| 2516 o.insertDimension = buildInsertDimensionRequest(); | 2729 o.insertDimension = buildInsertDimensionRequest(); |
| 2517 o.mergeCells = buildMergeCellsRequest(); | 2730 o.mergeCells = buildMergeCellsRequest(); |
| 2518 o.moveDimension = buildMoveDimensionRequest(); | 2731 o.moveDimension = buildMoveDimensionRequest(); |
| 2519 o.pasteData = buildPasteDataRequest(); | 2732 o.pasteData = buildPasteDataRequest(); |
| 2520 o.repeatCell = buildRepeatCellRequest(); | 2733 o.repeatCell = buildRepeatCellRequest(); |
| 2521 o.setBasicFilter = buildSetBasicFilterRequest(); | 2734 o.setBasicFilter = buildSetBasicFilterRequest(); |
| 2522 o.setDataValidation = buildSetDataValidationRequest(); | 2735 o.setDataValidation = buildSetDataValidationRequest(); |
| 2523 o.sortRange = buildSortRangeRequest(); | 2736 o.sortRange = buildSortRangeRequest(); |
| 2524 o.textToColumns = buildTextToColumnsRequest(); | 2737 o.textToColumns = buildTextToColumnsRequest(); |
| 2525 o.unmergeCells = buildUnmergeCellsRequest(); | 2738 o.unmergeCells = buildUnmergeCellsRequest(); |
| 2739 o.updateBanding = buildUpdateBandingRequest(); |
| 2526 o.updateBorders = buildUpdateBordersRequest(); | 2740 o.updateBorders = buildUpdateBordersRequest(); |
| 2527 o.updateCells = buildUpdateCellsRequest(); | 2741 o.updateCells = buildUpdateCellsRequest(); |
| 2528 o.updateChartSpec = buildUpdateChartSpecRequest(); | 2742 o.updateChartSpec = buildUpdateChartSpecRequest(); |
| 2529 o.updateConditionalFormatRule = buildUpdateConditionalFormatRuleRequest(); | 2743 o.updateConditionalFormatRule = buildUpdateConditionalFormatRuleRequest(); |
| 2530 o.updateDimensionProperties = buildUpdateDimensionPropertiesRequest(); | 2744 o.updateDimensionProperties = buildUpdateDimensionPropertiesRequest(); |
| 2531 o.updateEmbeddedObjectPosition = buildUpdateEmbeddedObjectPositionRequest(); | 2745 o.updateEmbeddedObjectPosition = buildUpdateEmbeddedObjectPositionRequest(); |
| 2532 o.updateFilterView = buildUpdateFilterViewRequest(); | 2746 o.updateFilterView = buildUpdateFilterViewRequest(); |
| 2533 o.updateNamedRange = buildUpdateNamedRangeRequest(); | 2747 o.updateNamedRange = buildUpdateNamedRangeRequest(); |
| 2534 o.updateProtectedRange = buildUpdateProtectedRangeRequest(); | 2748 o.updateProtectedRange = buildUpdateProtectedRangeRequest(); |
| 2535 o.updateSheetProperties = buildUpdateSheetPropertiesRequest(); | 2749 o.updateSheetProperties = buildUpdateSheetPropertiesRequest(); |
| 2536 o.updateSpreadsheetProperties = buildUpdateSpreadsheetPropertiesRequest(); | 2750 o.updateSpreadsheetProperties = buildUpdateSpreadsheetPropertiesRequest(); |
| 2537 } | 2751 } |
| 2538 buildCounterRequest--; | 2752 buildCounterRequest--; |
| 2539 return o; | 2753 return o; |
| 2540 } | 2754 } |
| 2541 | 2755 |
| 2542 checkRequest(api.Request o) { | 2756 checkRequest(api.Request o) { |
| 2543 buildCounterRequest++; | 2757 buildCounterRequest++; |
| 2544 if (buildCounterRequest < 3) { | 2758 if (buildCounterRequest < 3) { |
| 2759 checkAddBandingRequest(o.addBanding); |
| 2545 checkAddChartRequest(o.addChart); | 2760 checkAddChartRequest(o.addChart); |
| 2546 checkAddConditionalFormatRuleRequest(o.addConditionalFormatRule); | 2761 checkAddConditionalFormatRuleRequest(o.addConditionalFormatRule); |
| 2547 checkAddFilterViewRequest(o.addFilterView); | 2762 checkAddFilterViewRequest(o.addFilterView); |
| 2548 checkAddNamedRangeRequest(o.addNamedRange); | 2763 checkAddNamedRangeRequest(o.addNamedRange); |
| 2549 checkAddProtectedRangeRequest(o.addProtectedRange); | 2764 checkAddProtectedRangeRequest(o.addProtectedRange); |
| 2550 checkAddSheetRequest(o.addSheet); | 2765 checkAddSheetRequest(o.addSheet); |
| 2551 checkAppendCellsRequest(o.appendCells); | 2766 checkAppendCellsRequest(o.appendCells); |
| 2552 checkAppendDimensionRequest(o.appendDimension); | 2767 checkAppendDimensionRequest(o.appendDimension); |
| 2553 checkAutoFillRequest(o.autoFill); | 2768 checkAutoFillRequest(o.autoFill); |
| 2554 checkAutoResizeDimensionsRequest(o.autoResizeDimensions); | 2769 checkAutoResizeDimensionsRequest(o.autoResizeDimensions); |
| 2555 checkClearBasicFilterRequest(o.clearBasicFilter); | 2770 checkClearBasicFilterRequest(o.clearBasicFilter); |
| 2556 checkCopyPasteRequest(o.copyPaste); | 2771 checkCopyPasteRequest(o.copyPaste); |
| 2557 checkCutPasteRequest(o.cutPaste); | 2772 checkCutPasteRequest(o.cutPaste); |
| 2773 checkDeleteBandingRequest(o.deleteBanding); |
| 2558 checkDeleteConditionalFormatRuleRequest(o.deleteConditionalFormatRule); | 2774 checkDeleteConditionalFormatRuleRequest(o.deleteConditionalFormatRule); |
| 2559 checkDeleteDimensionRequest(o.deleteDimension); | 2775 checkDeleteDimensionRequest(o.deleteDimension); |
| 2560 checkDeleteEmbeddedObjectRequest(o.deleteEmbeddedObject); | 2776 checkDeleteEmbeddedObjectRequest(o.deleteEmbeddedObject); |
| 2561 checkDeleteFilterViewRequest(o.deleteFilterView); | 2777 checkDeleteFilterViewRequest(o.deleteFilterView); |
| 2562 checkDeleteNamedRangeRequest(o.deleteNamedRange); | 2778 checkDeleteNamedRangeRequest(o.deleteNamedRange); |
| 2563 checkDeleteProtectedRangeRequest(o.deleteProtectedRange); | 2779 checkDeleteProtectedRangeRequest(o.deleteProtectedRange); |
| 2564 checkDeleteSheetRequest(o.deleteSheet); | 2780 checkDeleteSheetRequest(o.deleteSheet); |
| 2565 checkDuplicateFilterViewRequest(o.duplicateFilterView); | 2781 checkDuplicateFilterViewRequest(o.duplicateFilterView); |
| 2566 checkDuplicateSheetRequest(o.duplicateSheet); | 2782 checkDuplicateSheetRequest(o.duplicateSheet); |
| 2567 checkFindReplaceRequest(o.findReplace); | 2783 checkFindReplaceRequest(o.findReplace); |
| 2568 checkInsertDimensionRequest(o.insertDimension); | 2784 checkInsertDimensionRequest(o.insertDimension); |
| 2569 checkMergeCellsRequest(o.mergeCells); | 2785 checkMergeCellsRequest(o.mergeCells); |
| 2570 checkMoveDimensionRequest(o.moveDimension); | 2786 checkMoveDimensionRequest(o.moveDimension); |
| 2571 checkPasteDataRequest(o.pasteData); | 2787 checkPasteDataRequest(o.pasteData); |
| 2572 checkRepeatCellRequest(o.repeatCell); | 2788 checkRepeatCellRequest(o.repeatCell); |
| 2573 checkSetBasicFilterRequest(o.setBasicFilter); | 2789 checkSetBasicFilterRequest(o.setBasicFilter); |
| 2574 checkSetDataValidationRequest(o.setDataValidation); | 2790 checkSetDataValidationRequest(o.setDataValidation); |
| 2575 checkSortRangeRequest(o.sortRange); | 2791 checkSortRangeRequest(o.sortRange); |
| 2576 checkTextToColumnsRequest(o.textToColumns); | 2792 checkTextToColumnsRequest(o.textToColumns); |
| 2577 checkUnmergeCellsRequest(o.unmergeCells); | 2793 checkUnmergeCellsRequest(o.unmergeCells); |
| 2794 checkUpdateBandingRequest(o.updateBanding); |
| 2578 checkUpdateBordersRequest(o.updateBorders); | 2795 checkUpdateBordersRequest(o.updateBorders); |
| 2579 checkUpdateCellsRequest(o.updateCells); | 2796 checkUpdateCellsRequest(o.updateCells); |
| 2580 checkUpdateChartSpecRequest(o.updateChartSpec); | 2797 checkUpdateChartSpecRequest(o.updateChartSpec); |
| 2581 checkUpdateConditionalFormatRuleRequest(o.updateConditionalFormatRule); | 2798 checkUpdateConditionalFormatRuleRequest(o.updateConditionalFormatRule); |
| 2582 checkUpdateDimensionPropertiesRequest(o.updateDimensionProperties); | 2799 checkUpdateDimensionPropertiesRequest(o.updateDimensionProperties); |
| 2583 checkUpdateEmbeddedObjectPositionRequest(o.updateEmbeddedObjectPosition); | 2800 checkUpdateEmbeddedObjectPositionRequest(o.updateEmbeddedObjectPosition); |
| 2584 checkUpdateFilterViewRequest(o.updateFilterView); | 2801 checkUpdateFilterViewRequest(o.updateFilterView); |
| 2585 checkUpdateNamedRangeRequest(o.updateNamedRange); | 2802 checkUpdateNamedRangeRequest(o.updateNamedRange); |
| 2586 checkUpdateProtectedRangeRequest(o.updateProtectedRange); | 2803 checkUpdateProtectedRangeRequest(o.updateProtectedRange); |
| 2587 checkUpdateSheetPropertiesRequest(o.updateSheetProperties); | 2804 checkUpdateSheetPropertiesRequest(o.updateSheetProperties); |
| 2588 checkUpdateSpreadsheetPropertiesRequest(o.updateSpreadsheetProperties); | 2805 checkUpdateSpreadsheetPropertiesRequest(o.updateSpreadsheetProperties); |
| 2589 } | 2806 } |
| 2590 buildCounterRequest--; | 2807 buildCounterRequest--; |
| 2591 } | 2808 } |
| 2592 | 2809 |
| 2593 core.int buildCounterResponse = 0; | 2810 core.int buildCounterResponse = 0; |
| 2594 buildResponse() { | 2811 buildResponse() { |
| 2595 var o = new api.Response(); | 2812 var o = new api.Response(); |
| 2596 buildCounterResponse++; | 2813 buildCounterResponse++; |
| 2597 if (buildCounterResponse < 3) { | 2814 if (buildCounterResponse < 3) { |
| 2815 o.addBanding = buildAddBandingResponse(); |
| 2598 o.addChart = buildAddChartResponse(); | 2816 o.addChart = buildAddChartResponse(); |
| 2599 o.addFilterView = buildAddFilterViewResponse(); | 2817 o.addFilterView = buildAddFilterViewResponse(); |
| 2600 o.addNamedRange = buildAddNamedRangeResponse(); | 2818 o.addNamedRange = buildAddNamedRangeResponse(); |
| 2601 o.addProtectedRange = buildAddProtectedRangeResponse(); | 2819 o.addProtectedRange = buildAddProtectedRangeResponse(); |
| 2602 o.addSheet = buildAddSheetResponse(); | 2820 o.addSheet = buildAddSheetResponse(); |
| 2603 o.deleteConditionalFormatRule = buildDeleteConditionalFormatRuleResponse(); | 2821 o.deleteConditionalFormatRule = buildDeleteConditionalFormatRuleResponse(); |
| 2604 o.duplicateFilterView = buildDuplicateFilterViewResponse(); | 2822 o.duplicateFilterView = buildDuplicateFilterViewResponse(); |
| 2605 o.duplicateSheet = buildDuplicateSheetResponse(); | 2823 o.duplicateSheet = buildDuplicateSheetResponse(); |
| 2606 o.findReplace = buildFindReplaceResponse(); | 2824 o.findReplace = buildFindReplaceResponse(); |
| 2607 o.updateConditionalFormatRule = buildUpdateConditionalFormatRuleResponse(); | 2825 o.updateConditionalFormatRule = buildUpdateConditionalFormatRuleResponse(); |
| 2608 o.updateEmbeddedObjectPosition = buildUpdateEmbeddedObjectPositionResponse()
; | 2826 o.updateEmbeddedObjectPosition = buildUpdateEmbeddedObjectPositionResponse()
; |
| 2609 } | 2827 } |
| 2610 buildCounterResponse--; | 2828 buildCounterResponse--; |
| 2611 return o; | 2829 return o; |
| 2612 } | 2830 } |
| 2613 | 2831 |
| 2614 checkResponse(api.Response o) { | 2832 checkResponse(api.Response o) { |
| 2615 buildCounterResponse++; | 2833 buildCounterResponse++; |
| 2616 if (buildCounterResponse < 3) { | 2834 if (buildCounterResponse < 3) { |
| 2835 checkAddBandingResponse(o.addBanding); |
| 2617 checkAddChartResponse(o.addChart); | 2836 checkAddChartResponse(o.addChart); |
| 2618 checkAddFilterViewResponse(o.addFilterView); | 2837 checkAddFilterViewResponse(o.addFilterView); |
| 2619 checkAddNamedRangeResponse(o.addNamedRange); | 2838 checkAddNamedRangeResponse(o.addNamedRange); |
| 2620 checkAddProtectedRangeResponse(o.addProtectedRange); | 2839 checkAddProtectedRangeResponse(o.addProtectedRange); |
| 2621 checkAddSheetResponse(o.addSheet); | 2840 checkAddSheetResponse(o.addSheet); |
| 2622 checkDeleteConditionalFormatRuleResponse(o.deleteConditionalFormatRule); | 2841 checkDeleteConditionalFormatRuleResponse(o.deleteConditionalFormatRule); |
| 2623 checkDuplicateFilterViewResponse(o.duplicateFilterView); | 2842 checkDuplicateFilterViewResponse(o.duplicateFilterView); |
| 2624 checkDuplicateSheetResponse(o.duplicateSheet); | 2843 checkDuplicateSheetResponse(o.duplicateSheet); |
| 2625 checkFindReplaceResponse(o.findReplace); | 2844 checkFindReplaceResponse(o.findReplace); |
| 2626 checkUpdateConditionalFormatRuleResponse(o.updateConditionalFormatRule); | 2845 checkUpdateConditionalFormatRuleResponse(o.updateConditionalFormatRule); |
| 2627 checkUpdateEmbeddedObjectPositionResponse(o.updateEmbeddedObjectPosition); | 2846 checkUpdateEmbeddedObjectPositionResponse(o.updateEmbeddedObjectPosition); |
| 2628 } | 2847 } |
| 2629 buildCounterResponse--; | 2848 buildCounterResponse--; |
| 2630 } | 2849 } |
| 2631 | 2850 |
| 2632 buildUnnamed633() { | 2851 buildUnnamed650() { |
| 2633 var o = new core.List<api.CellData>(); | 2852 var o = new core.List<api.CellData>(); |
| 2634 o.add(buildCellData()); | 2853 o.add(buildCellData()); |
| 2635 o.add(buildCellData()); | 2854 o.add(buildCellData()); |
| 2636 return o; | 2855 return o; |
| 2637 } | 2856 } |
| 2638 | 2857 |
| 2639 checkUnnamed633(core.List<api.CellData> o) { | 2858 checkUnnamed650(core.List<api.CellData> o) { |
| 2640 unittest.expect(o, unittest.hasLength(2)); | 2859 unittest.expect(o, unittest.hasLength(2)); |
| 2641 checkCellData(o[0]); | 2860 checkCellData(o[0]); |
| 2642 checkCellData(o[1]); | 2861 checkCellData(o[1]); |
| 2643 } | 2862 } |
| 2644 | 2863 |
| 2645 core.int buildCounterRowData = 0; | 2864 core.int buildCounterRowData = 0; |
| 2646 buildRowData() { | 2865 buildRowData() { |
| 2647 var o = new api.RowData(); | 2866 var o = new api.RowData(); |
| 2648 buildCounterRowData++; | 2867 buildCounterRowData++; |
| 2649 if (buildCounterRowData < 3) { | 2868 if (buildCounterRowData < 3) { |
| 2650 o.values = buildUnnamed633(); | 2869 o.values = buildUnnamed650(); |
| 2651 } | 2870 } |
| 2652 buildCounterRowData--; | 2871 buildCounterRowData--; |
| 2653 return o; | 2872 return o; |
| 2654 } | 2873 } |
| 2655 | 2874 |
| 2656 checkRowData(api.RowData o) { | 2875 checkRowData(api.RowData o) { |
| 2657 buildCounterRowData++; | 2876 buildCounterRowData++; |
| 2658 if (buildCounterRowData < 3) { | 2877 if (buildCounterRowData < 3) { |
| 2659 checkUnnamed633(o.values); | 2878 checkUnnamed650(o.values); |
| 2660 } | 2879 } |
| 2661 buildCounterRowData--; | 2880 buildCounterRowData--; |
| 2662 } | 2881 } |
| 2663 | 2882 |
| 2664 core.int buildCounterSetBasicFilterRequest = 0; | 2883 core.int buildCounterSetBasicFilterRequest = 0; |
| 2665 buildSetBasicFilterRequest() { | 2884 buildSetBasicFilterRequest() { |
| 2666 var o = new api.SetBasicFilterRequest(); | 2885 var o = new api.SetBasicFilterRequest(); |
| 2667 buildCounterSetBasicFilterRequest++; | 2886 buildCounterSetBasicFilterRequest++; |
| 2668 if (buildCounterSetBasicFilterRequest < 3) { | 2887 if (buildCounterSetBasicFilterRequest < 3) { |
| 2669 o.filter = buildBasicFilter(); | 2888 o.filter = buildBasicFilter(); |
| (...skipping 24 matching lines...) Expand all Loading... |
| 2694 | 2913 |
| 2695 checkSetDataValidationRequest(api.SetDataValidationRequest o) { | 2914 checkSetDataValidationRequest(api.SetDataValidationRequest o) { |
| 2696 buildCounterSetDataValidationRequest++; | 2915 buildCounterSetDataValidationRequest++; |
| 2697 if (buildCounterSetDataValidationRequest < 3) { | 2916 if (buildCounterSetDataValidationRequest < 3) { |
| 2698 checkGridRange(o.range); | 2917 checkGridRange(o.range); |
| 2699 checkDataValidationRule(o.rule); | 2918 checkDataValidationRule(o.rule); |
| 2700 } | 2919 } |
| 2701 buildCounterSetDataValidationRequest--; | 2920 buildCounterSetDataValidationRequest--; |
| 2702 } | 2921 } |
| 2703 | 2922 |
| 2704 buildUnnamed634() { | 2923 buildUnnamed651() { |
| 2924 var o = new core.List<api.BandedRange>(); |
| 2925 o.add(buildBandedRange()); |
| 2926 o.add(buildBandedRange()); |
| 2927 return o; |
| 2928 } |
| 2929 |
| 2930 checkUnnamed651(core.List<api.BandedRange> o) { |
| 2931 unittest.expect(o, unittest.hasLength(2)); |
| 2932 checkBandedRange(o[0]); |
| 2933 checkBandedRange(o[1]); |
| 2934 } |
| 2935 |
| 2936 buildUnnamed652() { |
| 2705 var o = new core.List<api.EmbeddedChart>(); | 2937 var o = new core.List<api.EmbeddedChart>(); |
| 2706 o.add(buildEmbeddedChart()); | 2938 o.add(buildEmbeddedChart()); |
| 2707 o.add(buildEmbeddedChart()); | 2939 o.add(buildEmbeddedChart()); |
| 2708 return o; | 2940 return o; |
| 2709 } | 2941 } |
| 2710 | 2942 |
| 2711 checkUnnamed634(core.List<api.EmbeddedChart> o) { | 2943 checkUnnamed652(core.List<api.EmbeddedChart> o) { |
| 2712 unittest.expect(o, unittest.hasLength(2)); | 2944 unittest.expect(o, unittest.hasLength(2)); |
| 2713 checkEmbeddedChart(o[0]); | 2945 checkEmbeddedChart(o[0]); |
| 2714 checkEmbeddedChart(o[1]); | 2946 checkEmbeddedChart(o[1]); |
| 2715 } | 2947 } |
| 2716 | 2948 |
| 2717 buildUnnamed635() { | 2949 buildUnnamed653() { |
| 2718 var o = new core.List<api.ConditionalFormatRule>(); | 2950 var o = new core.List<api.ConditionalFormatRule>(); |
| 2719 o.add(buildConditionalFormatRule()); | 2951 o.add(buildConditionalFormatRule()); |
| 2720 o.add(buildConditionalFormatRule()); | 2952 o.add(buildConditionalFormatRule()); |
| 2721 return o; | 2953 return o; |
| 2722 } | 2954 } |
| 2723 | 2955 |
| 2724 checkUnnamed635(core.List<api.ConditionalFormatRule> o) { | 2956 checkUnnamed653(core.List<api.ConditionalFormatRule> o) { |
| 2725 unittest.expect(o, unittest.hasLength(2)); | 2957 unittest.expect(o, unittest.hasLength(2)); |
| 2726 checkConditionalFormatRule(o[0]); | 2958 checkConditionalFormatRule(o[0]); |
| 2727 checkConditionalFormatRule(o[1]); | 2959 checkConditionalFormatRule(o[1]); |
| 2728 } | 2960 } |
| 2729 | 2961 |
| 2730 buildUnnamed636() { | 2962 buildUnnamed654() { |
| 2731 var o = new core.List<api.GridData>(); | 2963 var o = new core.List<api.GridData>(); |
| 2732 o.add(buildGridData()); | 2964 o.add(buildGridData()); |
| 2733 o.add(buildGridData()); | 2965 o.add(buildGridData()); |
| 2734 return o; | 2966 return o; |
| 2735 } | 2967 } |
| 2736 | 2968 |
| 2737 checkUnnamed636(core.List<api.GridData> o) { | 2969 checkUnnamed654(core.List<api.GridData> o) { |
| 2738 unittest.expect(o, unittest.hasLength(2)); | 2970 unittest.expect(o, unittest.hasLength(2)); |
| 2739 checkGridData(o[0]); | 2971 checkGridData(o[0]); |
| 2740 checkGridData(o[1]); | 2972 checkGridData(o[1]); |
| 2741 } | 2973 } |
| 2742 | 2974 |
| 2743 buildUnnamed637() { | 2975 buildUnnamed655() { |
| 2744 var o = new core.List<api.FilterView>(); | 2976 var o = new core.List<api.FilterView>(); |
| 2745 o.add(buildFilterView()); | 2977 o.add(buildFilterView()); |
| 2746 o.add(buildFilterView()); | 2978 o.add(buildFilterView()); |
| 2747 return o; | 2979 return o; |
| 2748 } | 2980 } |
| 2749 | 2981 |
| 2750 checkUnnamed637(core.List<api.FilterView> o) { | 2982 checkUnnamed655(core.List<api.FilterView> o) { |
| 2751 unittest.expect(o, unittest.hasLength(2)); | 2983 unittest.expect(o, unittest.hasLength(2)); |
| 2752 checkFilterView(o[0]); | 2984 checkFilterView(o[0]); |
| 2753 checkFilterView(o[1]); | 2985 checkFilterView(o[1]); |
| 2754 } | 2986 } |
| 2755 | 2987 |
| 2756 buildUnnamed638() { | 2988 buildUnnamed656() { |
| 2757 var o = new core.List<api.GridRange>(); | 2989 var o = new core.List<api.GridRange>(); |
| 2758 o.add(buildGridRange()); | 2990 o.add(buildGridRange()); |
| 2759 o.add(buildGridRange()); | 2991 o.add(buildGridRange()); |
| 2760 return o; | 2992 return o; |
| 2761 } | 2993 } |
| 2762 | 2994 |
| 2763 checkUnnamed638(core.List<api.GridRange> o) { | 2995 checkUnnamed656(core.List<api.GridRange> o) { |
| 2764 unittest.expect(o, unittest.hasLength(2)); | 2996 unittest.expect(o, unittest.hasLength(2)); |
| 2765 checkGridRange(o[0]); | 2997 checkGridRange(o[0]); |
| 2766 checkGridRange(o[1]); | 2998 checkGridRange(o[1]); |
| 2767 } | 2999 } |
| 2768 | 3000 |
| 2769 buildUnnamed639() { | 3001 buildUnnamed657() { |
| 2770 var o = new core.List<api.ProtectedRange>(); | 3002 var o = new core.List<api.ProtectedRange>(); |
| 2771 o.add(buildProtectedRange()); | 3003 o.add(buildProtectedRange()); |
| 2772 o.add(buildProtectedRange()); | 3004 o.add(buildProtectedRange()); |
| 2773 return o; | 3005 return o; |
| 2774 } | 3006 } |
| 2775 | 3007 |
| 2776 checkUnnamed639(core.List<api.ProtectedRange> o) { | 3008 checkUnnamed657(core.List<api.ProtectedRange> o) { |
| 2777 unittest.expect(o, unittest.hasLength(2)); | 3009 unittest.expect(o, unittest.hasLength(2)); |
| 2778 checkProtectedRange(o[0]); | 3010 checkProtectedRange(o[0]); |
| 2779 checkProtectedRange(o[1]); | 3011 checkProtectedRange(o[1]); |
| 2780 } | 3012 } |
| 2781 | 3013 |
| 2782 core.int buildCounterSheet = 0; | 3014 core.int buildCounterSheet = 0; |
| 2783 buildSheet() { | 3015 buildSheet() { |
| 2784 var o = new api.Sheet(); | 3016 var o = new api.Sheet(); |
| 2785 buildCounterSheet++; | 3017 buildCounterSheet++; |
| 2786 if (buildCounterSheet < 3) { | 3018 if (buildCounterSheet < 3) { |
| 3019 o.bandedRanges = buildUnnamed651(); |
| 2787 o.basicFilter = buildBasicFilter(); | 3020 o.basicFilter = buildBasicFilter(); |
| 2788 o.charts = buildUnnamed634(); | 3021 o.charts = buildUnnamed652(); |
| 2789 o.conditionalFormats = buildUnnamed635(); | 3022 o.conditionalFormats = buildUnnamed653(); |
| 2790 o.data = buildUnnamed636(); | 3023 o.data = buildUnnamed654(); |
| 2791 o.filterViews = buildUnnamed637(); | 3024 o.filterViews = buildUnnamed655(); |
| 2792 o.merges = buildUnnamed638(); | 3025 o.merges = buildUnnamed656(); |
| 2793 o.properties = buildSheetProperties(); | 3026 o.properties = buildSheetProperties(); |
| 2794 o.protectedRanges = buildUnnamed639(); | 3027 o.protectedRanges = buildUnnamed657(); |
| 2795 } | 3028 } |
| 2796 buildCounterSheet--; | 3029 buildCounterSheet--; |
| 2797 return o; | 3030 return o; |
| 2798 } | 3031 } |
| 2799 | 3032 |
| 2800 checkSheet(api.Sheet o) { | 3033 checkSheet(api.Sheet o) { |
| 2801 buildCounterSheet++; | 3034 buildCounterSheet++; |
| 2802 if (buildCounterSheet < 3) { | 3035 if (buildCounterSheet < 3) { |
| 3036 checkUnnamed651(o.bandedRanges); |
| 2803 checkBasicFilter(o.basicFilter); | 3037 checkBasicFilter(o.basicFilter); |
| 2804 checkUnnamed634(o.charts); | 3038 checkUnnamed652(o.charts); |
| 2805 checkUnnamed635(o.conditionalFormats); | 3039 checkUnnamed653(o.conditionalFormats); |
| 2806 checkUnnamed636(o.data); | 3040 checkUnnamed654(o.data); |
| 2807 checkUnnamed637(o.filterViews); | 3041 checkUnnamed655(o.filterViews); |
| 2808 checkUnnamed638(o.merges); | 3042 checkUnnamed656(o.merges); |
| 2809 checkSheetProperties(o.properties); | 3043 checkSheetProperties(o.properties); |
| 2810 checkUnnamed639(o.protectedRanges); | 3044 checkUnnamed657(o.protectedRanges); |
| 2811 } | 3045 } |
| 2812 buildCounterSheet--; | 3046 buildCounterSheet--; |
| 2813 } | 3047 } |
| 2814 | 3048 |
| 2815 core.int buildCounterSheetProperties = 0; | 3049 core.int buildCounterSheetProperties = 0; |
| 2816 buildSheetProperties() { | 3050 buildSheetProperties() { |
| 2817 var o = new api.SheetProperties(); | 3051 var o = new api.SheetProperties(); |
| 2818 buildCounterSheetProperties++; | 3052 buildCounterSheetProperties++; |
| 2819 if (buildCounterSheetProperties < 3) { | 3053 if (buildCounterSheetProperties < 3) { |
| 2820 o.gridProperties = buildGridProperties(); | 3054 o.gridProperties = buildGridProperties(); |
| (...skipping 17 matching lines...) Expand all Loading... |
| 2838 unittest.expect(o.index, unittest.equals(42)); | 3072 unittest.expect(o.index, unittest.equals(42)); |
| 2839 unittest.expect(o.rightToLeft, unittest.isTrue); | 3073 unittest.expect(o.rightToLeft, unittest.isTrue); |
| 2840 unittest.expect(o.sheetId, unittest.equals(42)); | 3074 unittest.expect(o.sheetId, unittest.equals(42)); |
| 2841 unittest.expect(o.sheetType, unittest.equals('foo')); | 3075 unittest.expect(o.sheetType, unittest.equals('foo')); |
| 2842 checkColor(o.tabColor); | 3076 checkColor(o.tabColor); |
| 2843 unittest.expect(o.title, unittest.equals('foo')); | 3077 unittest.expect(o.title, unittest.equals('foo')); |
| 2844 } | 3078 } |
| 2845 buildCounterSheetProperties--; | 3079 buildCounterSheetProperties--; |
| 2846 } | 3080 } |
| 2847 | 3081 |
| 2848 buildUnnamed640() { | 3082 buildUnnamed658() { |
| 2849 var o = new core.List<api.SortSpec>(); | 3083 var o = new core.List<api.SortSpec>(); |
| 2850 o.add(buildSortSpec()); | 3084 o.add(buildSortSpec()); |
| 2851 o.add(buildSortSpec()); | 3085 o.add(buildSortSpec()); |
| 2852 return o; | 3086 return o; |
| 2853 } | 3087 } |
| 2854 | 3088 |
| 2855 checkUnnamed640(core.List<api.SortSpec> o) { | 3089 checkUnnamed658(core.List<api.SortSpec> o) { |
| 2856 unittest.expect(o, unittest.hasLength(2)); | 3090 unittest.expect(o, unittest.hasLength(2)); |
| 2857 checkSortSpec(o[0]); | 3091 checkSortSpec(o[0]); |
| 2858 checkSortSpec(o[1]); | 3092 checkSortSpec(o[1]); |
| 2859 } | 3093 } |
| 2860 | 3094 |
| 2861 core.int buildCounterSortRangeRequest = 0; | 3095 core.int buildCounterSortRangeRequest = 0; |
| 2862 buildSortRangeRequest() { | 3096 buildSortRangeRequest() { |
| 2863 var o = new api.SortRangeRequest(); | 3097 var o = new api.SortRangeRequest(); |
| 2864 buildCounterSortRangeRequest++; | 3098 buildCounterSortRangeRequest++; |
| 2865 if (buildCounterSortRangeRequest < 3) { | 3099 if (buildCounterSortRangeRequest < 3) { |
| 2866 o.range = buildGridRange(); | 3100 o.range = buildGridRange(); |
| 2867 o.sortSpecs = buildUnnamed640(); | 3101 o.sortSpecs = buildUnnamed658(); |
| 2868 } | 3102 } |
| 2869 buildCounterSortRangeRequest--; | 3103 buildCounterSortRangeRequest--; |
| 2870 return o; | 3104 return o; |
| 2871 } | 3105 } |
| 2872 | 3106 |
| 2873 checkSortRangeRequest(api.SortRangeRequest o) { | 3107 checkSortRangeRequest(api.SortRangeRequest o) { |
| 2874 buildCounterSortRangeRequest++; | 3108 buildCounterSortRangeRequest++; |
| 2875 if (buildCounterSortRangeRequest < 3) { | 3109 if (buildCounterSortRangeRequest < 3) { |
| 2876 checkGridRange(o.range); | 3110 checkGridRange(o.range); |
| 2877 checkUnnamed640(o.sortSpecs); | 3111 checkUnnamed658(o.sortSpecs); |
| 2878 } | 3112 } |
| 2879 buildCounterSortRangeRequest--; | 3113 buildCounterSortRangeRequest--; |
| 2880 } | 3114 } |
| 2881 | 3115 |
| 2882 core.int buildCounterSortSpec = 0; | 3116 core.int buildCounterSortSpec = 0; |
| 2883 buildSortSpec() { | 3117 buildSortSpec() { |
| 2884 var o = new api.SortSpec(); | 3118 var o = new api.SortSpec(); |
| 2885 buildCounterSortSpec++; | 3119 buildCounterSortSpec++; |
| 2886 if (buildCounterSortSpec < 3) { | 3120 if (buildCounterSortSpec < 3) { |
| 2887 o.dimensionIndex = 42; | 3121 o.dimensionIndex = 42; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 2916 checkSourceAndDestination(api.SourceAndDestination o) { | 3150 checkSourceAndDestination(api.SourceAndDestination o) { |
| 2917 buildCounterSourceAndDestination++; | 3151 buildCounterSourceAndDestination++; |
| 2918 if (buildCounterSourceAndDestination < 3) { | 3152 if (buildCounterSourceAndDestination < 3) { |
| 2919 unittest.expect(o.dimension, unittest.equals('foo')); | 3153 unittest.expect(o.dimension, unittest.equals('foo')); |
| 2920 unittest.expect(o.fillLength, unittest.equals(42)); | 3154 unittest.expect(o.fillLength, unittest.equals(42)); |
| 2921 checkGridRange(o.source); | 3155 checkGridRange(o.source); |
| 2922 } | 3156 } |
| 2923 buildCounterSourceAndDestination--; | 3157 buildCounterSourceAndDestination--; |
| 2924 } | 3158 } |
| 2925 | 3159 |
| 2926 buildUnnamed641() { | 3160 buildUnnamed659() { |
| 2927 var o = new core.List<api.NamedRange>(); | 3161 var o = new core.List<api.NamedRange>(); |
| 2928 o.add(buildNamedRange()); | 3162 o.add(buildNamedRange()); |
| 2929 o.add(buildNamedRange()); | 3163 o.add(buildNamedRange()); |
| 2930 return o; | 3164 return o; |
| 2931 } | 3165 } |
| 2932 | 3166 |
| 2933 checkUnnamed641(core.List<api.NamedRange> o) { | 3167 checkUnnamed659(core.List<api.NamedRange> o) { |
| 2934 unittest.expect(o, unittest.hasLength(2)); | 3168 unittest.expect(o, unittest.hasLength(2)); |
| 2935 checkNamedRange(o[0]); | 3169 checkNamedRange(o[0]); |
| 2936 checkNamedRange(o[1]); | 3170 checkNamedRange(o[1]); |
| 2937 } | 3171 } |
| 2938 | 3172 |
| 2939 buildUnnamed642() { | 3173 buildUnnamed660() { |
| 2940 var o = new core.List<api.Sheet>(); | 3174 var o = new core.List<api.Sheet>(); |
| 2941 o.add(buildSheet()); | 3175 o.add(buildSheet()); |
| 2942 o.add(buildSheet()); | 3176 o.add(buildSheet()); |
| 2943 return o; | 3177 return o; |
| 2944 } | 3178 } |
| 2945 | 3179 |
| 2946 checkUnnamed642(core.List<api.Sheet> o) { | 3180 checkUnnamed660(core.List<api.Sheet> o) { |
| 2947 unittest.expect(o, unittest.hasLength(2)); | 3181 unittest.expect(o, unittest.hasLength(2)); |
| 2948 checkSheet(o[0]); | 3182 checkSheet(o[0]); |
| 2949 checkSheet(o[1]); | 3183 checkSheet(o[1]); |
| 2950 } | 3184 } |
| 2951 | 3185 |
| 2952 core.int buildCounterSpreadsheet = 0; | 3186 core.int buildCounterSpreadsheet = 0; |
| 2953 buildSpreadsheet() { | 3187 buildSpreadsheet() { |
| 2954 var o = new api.Spreadsheet(); | 3188 var o = new api.Spreadsheet(); |
| 2955 buildCounterSpreadsheet++; | 3189 buildCounterSpreadsheet++; |
| 2956 if (buildCounterSpreadsheet < 3) { | 3190 if (buildCounterSpreadsheet < 3) { |
| 2957 o.namedRanges = buildUnnamed641(); | 3191 o.namedRanges = buildUnnamed659(); |
| 2958 o.properties = buildSpreadsheetProperties(); | 3192 o.properties = buildSpreadsheetProperties(); |
| 2959 o.sheets = buildUnnamed642(); | 3193 o.sheets = buildUnnamed660(); |
| 2960 o.spreadsheetId = "foo"; | 3194 o.spreadsheetId = "foo"; |
| 2961 } | 3195 } |
| 2962 buildCounterSpreadsheet--; | 3196 buildCounterSpreadsheet--; |
| 2963 return o; | 3197 return o; |
| 2964 } | 3198 } |
| 2965 | 3199 |
| 2966 checkSpreadsheet(api.Spreadsheet o) { | 3200 checkSpreadsheet(api.Spreadsheet o) { |
| 2967 buildCounterSpreadsheet++; | 3201 buildCounterSpreadsheet++; |
| 2968 if (buildCounterSpreadsheet < 3) { | 3202 if (buildCounterSpreadsheet < 3) { |
| 2969 checkUnnamed641(o.namedRanges); | 3203 checkUnnamed659(o.namedRanges); |
| 2970 checkSpreadsheetProperties(o.properties); | 3204 checkSpreadsheetProperties(o.properties); |
| 2971 checkUnnamed642(o.sheets); | 3205 checkUnnamed660(o.sheets); |
| 2972 unittest.expect(o.spreadsheetId, unittest.equals('foo')); | 3206 unittest.expect(o.spreadsheetId, unittest.equals('foo')); |
| 2973 } | 3207 } |
| 2974 buildCounterSpreadsheet--; | 3208 buildCounterSpreadsheet--; |
| 2975 } | 3209 } |
| 2976 | 3210 |
| 2977 core.int buildCounterSpreadsheetProperties = 0; | 3211 core.int buildCounterSpreadsheetProperties = 0; |
| 2978 buildSpreadsheetProperties() { | 3212 buildSpreadsheetProperties() { |
| 2979 var o = new api.SpreadsheetProperties(); | 3213 var o = new api.SpreadsheetProperties(); |
| 2980 buildCounterSpreadsheetProperties++; | 3214 buildCounterSpreadsheetProperties++; |
| 2981 if (buildCounterSpreadsheetProperties < 3) { | 3215 if (buildCounterSpreadsheetProperties < 3) { |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3088 } | 3322 } |
| 3089 | 3323 |
| 3090 checkUnmergeCellsRequest(api.UnmergeCellsRequest o) { | 3324 checkUnmergeCellsRequest(api.UnmergeCellsRequest o) { |
| 3091 buildCounterUnmergeCellsRequest++; | 3325 buildCounterUnmergeCellsRequest++; |
| 3092 if (buildCounterUnmergeCellsRequest < 3) { | 3326 if (buildCounterUnmergeCellsRequest < 3) { |
| 3093 checkGridRange(o.range); | 3327 checkGridRange(o.range); |
| 3094 } | 3328 } |
| 3095 buildCounterUnmergeCellsRequest--; | 3329 buildCounterUnmergeCellsRequest--; |
| 3096 } | 3330 } |
| 3097 | 3331 |
| 3332 core.int buildCounterUpdateBandingRequest = 0; |
| 3333 buildUpdateBandingRequest() { |
| 3334 var o = new api.UpdateBandingRequest(); |
| 3335 buildCounterUpdateBandingRequest++; |
| 3336 if (buildCounterUpdateBandingRequest < 3) { |
| 3337 o.bandedRange = buildBandedRange(); |
| 3338 o.fields = "foo"; |
| 3339 } |
| 3340 buildCounterUpdateBandingRequest--; |
| 3341 return o; |
| 3342 } |
| 3343 |
| 3344 checkUpdateBandingRequest(api.UpdateBandingRequest o) { |
| 3345 buildCounterUpdateBandingRequest++; |
| 3346 if (buildCounterUpdateBandingRequest < 3) { |
| 3347 checkBandedRange(o.bandedRange); |
| 3348 unittest.expect(o.fields, unittest.equals('foo')); |
| 3349 } |
| 3350 buildCounterUpdateBandingRequest--; |
| 3351 } |
| 3352 |
| 3098 core.int buildCounterUpdateBordersRequest = 0; | 3353 core.int buildCounterUpdateBordersRequest = 0; |
| 3099 buildUpdateBordersRequest() { | 3354 buildUpdateBordersRequest() { |
| 3100 var o = new api.UpdateBordersRequest(); | 3355 var o = new api.UpdateBordersRequest(); |
| 3101 buildCounterUpdateBordersRequest++; | 3356 buildCounterUpdateBordersRequest++; |
| 3102 if (buildCounterUpdateBordersRequest < 3) { | 3357 if (buildCounterUpdateBordersRequest < 3) { |
| 3103 o.bottom = buildBorder(); | 3358 o.bottom = buildBorder(); |
| 3104 o.innerHorizontal = buildBorder(); | 3359 o.innerHorizontal = buildBorder(); |
| 3105 o.innerVertical = buildBorder(); | 3360 o.innerVertical = buildBorder(); |
| 3106 o.left = buildBorder(); | 3361 o.left = buildBorder(); |
| 3107 o.range = buildGridRange(); | 3362 o.range = buildGridRange(); |
| (...skipping 11 matching lines...) Expand all Loading... |
| 3119 checkBorder(o.innerHorizontal); | 3374 checkBorder(o.innerHorizontal); |
| 3120 checkBorder(o.innerVertical); | 3375 checkBorder(o.innerVertical); |
| 3121 checkBorder(o.left); | 3376 checkBorder(o.left); |
| 3122 checkGridRange(o.range); | 3377 checkGridRange(o.range); |
| 3123 checkBorder(o.right); | 3378 checkBorder(o.right); |
| 3124 checkBorder(o.top); | 3379 checkBorder(o.top); |
| 3125 } | 3380 } |
| 3126 buildCounterUpdateBordersRequest--; | 3381 buildCounterUpdateBordersRequest--; |
| 3127 } | 3382 } |
| 3128 | 3383 |
| 3129 buildUnnamed643() { | 3384 buildUnnamed661() { |
| 3130 var o = new core.List<api.RowData>(); | 3385 var o = new core.List<api.RowData>(); |
| 3131 o.add(buildRowData()); | 3386 o.add(buildRowData()); |
| 3132 o.add(buildRowData()); | 3387 o.add(buildRowData()); |
| 3133 return o; | 3388 return o; |
| 3134 } | 3389 } |
| 3135 | 3390 |
| 3136 checkUnnamed643(core.List<api.RowData> o) { | 3391 checkUnnamed661(core.List<api.RowData> o) { |
| 3137 unittest.expect(o, unittest.hasLength(2)); | 3392 unittest.expect(o, unittest.hasLength(2)); |
| 3138 checkRowData(o[0]); | 3393 checkRowData(o[0]); |
| 3139 checkRowData(o[1]); | 3394 checkRowData(o[1]); |
| 3140 } | 3395 } |
| 3141 | 3396 |
| 3142 core.int buildCounterUpdateCellsRequest = 0; | 3397 core.int buildCounterUpdateCellsRequest = 0; |
| 3143 buildUpdateCellsRequest() { | 3398 buildUpdateCellsRequest() { |
| 3144 var o = new api.UpdateCellsRequest(); | 3399 var o = new api.UpdateCellsRequest(); |
| 3145 buildCounterUpdateCellsRequest++; | 3400 buildCounterUpdateCellsRequest++; |
| 3146 if (buildCounterUpdateCellsRequest < 3) { | 3401 if (buildCounterUpdateCellsRequest < 3) { |
| 3147 o.fields = "foo"; | 3402 o.fields = "foo"; |
| 3148 o.range = buildGridRange(); | 3403 o.range = buildGridRange(); |
| 3149 o.rows = buildUnnamed643(); | 3404 o.rows = buildUnnamed661(); |
| 3150 o.start = buildGridCoordinate(); | 3405 o.start = buildGridCoordinate(); |
| 3151 } | 3406 } |
| 3152 buildCounterUpdateCellsRequest--; | 3407 buildCounterUpdateCellsRequest--; |
| 3153 return o; | 3408 return o; |
| 3154 } | 3409 } |
| 3155 | 3410 |
| 3156 checkUpdateCellsRequest(api.UpdateCellsRequest o) { | 3411 checkUpdateCellsRequest(api.UpdateCellsRequest o) { |
| 3157 buildCounterUpdateCellsRequest++; | 3412 buildCounterUpdateCellsRequest++; |
| 3158 if (buildCounterUpdateCellsRequest < 3) { | 3413 if (buildCounterUpdateCellsRequest < 3) { |
| 3159 unittest.expect(o.fields, unittest.equals('foo')); | 3414 unittest.expect(o.fields, unittest.equals('foo')); |
| 3160 checkGridRange(o.range); | 3415 checkGridRange(o.range); |
| 3161 checkUnnamed643(o.rows); | 3416 checkUnnamed661(o.rows); |
| 3162 checkGridCoordinate(o.start); | 3417 checkGridCoordinate(o.start); |
| 3163 } | 3418 } |
| 3164 buildCounterUpdateCellsRequest--; | 3419 buildCounterUpdateCellsRequest--; |
| 3165 } | 3420 } |
| 3166 | 3421 |
| 3167 core.int buildCounterUpdateChartSpecRequest = 0; | 3422 core.int buildCounterUpdateChartSpecRequest = 0; |
| 3168 buildUpdateChartSpecRequest() { | 3423 buildUpdateChartSpecRequest() { |
| 3169 var o = new api.UpdateChartSpecRequest(); | 3424 var o = new api.UpdateChartSpecRequest(); |
| 3170 buildCounterUpdateChartSpecRequest++; | 3425 buildCounterUpdateChartSpecRequest++; |
| 3171 if (buildCounterUpdateChartSpecRequest < 3) { | 3426 if (buildCounterUpdateChartSpecRequest < 3) { |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3425 if (buildCounterUpdateValuesResponse < 3) { | 3680 if (buildCounterUpdateValuesResponse < 3) { |
| 3426 unittest.expect(o.spreadsheetId, unittest.equals('foo')); | 3681 unittest.expect(o.spreadsheetId, unittest.equals('foo')); |
| 3427 unittest.expect(o.updatedCells, unittest.equals(42)); | 3682 unittest.expect(o.updatedCells, unittest.equals(42)); |
| 3428 unittest.expect(o.updatedColumns, unittest.equals(42)); | 3683 unittest.expect(o.updatedColumns, unittest.equals(42)); |
| 3429 unittest.expect(o.updatedRange, unittest.equals('foo')); | 3684 unittest.expect(o.updatedRange, unittest.equals('foo')); |
| 3430 unittest.expect(o.updatedRows, unittest.equals(42)); | 3685 unittest.expect(o.updatedRows, unittest.equals(42)); |
| 3431 } | 3686 } |
| 3432 buildCounterUpdateValuesResponse--; | 3687 buildCounterUpdateValuesResponse--; |
| 3433 } | 3688 } |
| 3434 | 3689 |
| 3435 buildUnnamed644() { | 3690 buildUnnamed662() { |
| 3436 var o = new core.List<core.Object>(); | 3691 var o = new core.List<core.Object>(); |
| 3437 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 3692 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 3438 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 3693 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 3439 return o; | 3694 return o; |
| 3440 } | 3695 } |
| 3441 | 3696 |
| 3442 checkUnnamed644(core.List<core.Object> o) { | 3697 checkUnnamed662(core.List<core.Object> o) { |
| 3443 unittest.expect(o, unittest.hasLength(2)); | 3698 unittest.expect(o, unittest.hasLength(2)); |
| 3444 var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(
3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], u
nittest.equals('foo')); | 3699 var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(
3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], u
nittest.equals('foo')); |
| 3445 var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength(
3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], u
nittest.equals('foo')); | 3700 var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength(
3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], u
nittest.equals('foo')); |
| 3446 } | 3701 } |
| 3447 | 3702 |
| 3448 buildUnnamed645() { | 3703 buildUnnamed663() { |
| 3449 var o = new core.List<core.List<core.Object>>(); | 3704 var o = new core.List<core.List<core.Object>>(); |
| 3450 o.add(buildUnnamed644()); | 3705 o.add(buildUnnamed662()); |
| 3451 o.add(buildUnnamed644()); | 3706 o.add(buildUnnamed662()); |
| 3452 return o; | 3707 return o; |
| 3453 } | 3708 } |
| 3454 | 3709 |
| 3455 checkUnnamed645(core.List<core.List<core.Object>> o) { | 3710 checkUnnamed663(core.List<core.List<core.Object>> o) { |
| 3456 unittest.expect(o, unittest.hasLength(2)); | 3711 unittest.expect(o, unittest.hasLength(2)); |
| 3457 checkUnnamed644(o[0]); | 3712 checkUnnamed662(o[0]); |
| 3458 checkUnnamed644(o[1]); | 3713 checkUnnamed662(o[1]); |
| 3459 } | 3714 } |
| 3460 | 3715 |
| 3461 core.int buildCounterValueRange = 0; | 3716 core.int buildCounterValueRange = 0; |
| 3462 buildValueRange() { | 3717 buildValueRange() { |
| 3463 var o = new api.ValueRange(); | 3718 var o = new api.ValueRange(); |
| 3464 buildCounterValueRange++; | 3719 buildCounterValueRange++; |
| 3465 if (buildCounterValueRange < 3) { | 3720 if (buildCounterValueRange < 3) { |
| 3466 o.majorDimension = "foo"; | 3721 o.majorDimension = "foo"; |
| 3467 o.range = "foo"; | 3722 o.range = "foo"; |
| 3468 o.values = buildUnnamed645(); | 3723 o.values = buildUnnamed663(); |
| 3469 } | 3724 } |
| 3470 buildCounterValueRange--; | 3725 buildCounterValueRange--; |
| 3471 return o; | 3726 return o; |
| 3472 } | 3727 } |
| 3473 | 3728 |
| 3474 checkValueRange(api.ValueRange o) { | 3729 checkValueRange(api.ValueRange o) { |
| 3475 buildCounterValueRange++; | 3730 buildCounterValueRange++; |
| 3476 if (buildCounterValueRange < 3) { | 3731 if (buildCounterValueRange < 3) { |
| 3477 unittest.expect(o.majorDimension, unittest.equals('foo')); | 3732 unittest.expect(o.majorDimension, unittest.equals('foo')); |
| 3478 unittest.expect(o.range, unittest.equals('foo')); | 3733 unittest.expect(o.range, unittest.equals('foo')); |
| 3479 checkUnnamed645(o.values); | 3734 checkUnnamed663(o.values); |
| 3480 } | 3735 } |
| 3481 buildCounterValueRange--; | 3736 buildCounterValueRange--; |
| 3482 } | 3737 } |
| 3483 | 3738 |
| 3484 buildUnnamed646() { | 3739 buildUnnamed664() { |
| 3485 var o = new core.List<core.String>(); | 3740 var o = new core.List<core.String>(); |
| 3486 o.add("foo"); | 3741 o.add("foo"); |
| 3487 o.add("foo"); | 3742 o.add("foo"); |
| 3488 return o; | 3743 return o; |
| 3489 } | 3744 } |
| 3490 | 3745 |
| 3491 checkUnnamed646(core.List<core.String> o) { | 3746 checkUnnamed664(core.List<core.String> o) { |
| 3492 unittest.expect(o, unittest.hasLength(2)); | 3747 unittest.expect(o, unittest.hasLength(2)); |
| 3493 unittest.expect(o[0], unittest.equals('foo')); | 3748 unittest.expect(o[0], unittest.equals('foo')); |
| 3494 unittest.expect(o[1], unittest.equals('foo')); | 3749 unittest.expect(o[1], unittest.equals('foo')); |
| 3495 } | 3750 } |
| 3496 | 3751 |
| 3497 buildUnnamed647() { | 3752 buildUnnamed665() { |
| 3498 var o = new core.List<core.String>(); | 3753 var o = new core.List<core.String>(); |
| 3499 o.add("foo"); | 3754 o.add("foo"); |
| 3500 o.add("foo"); | 3755 o.add("foo"); |
| 3501 return o; | 3756 return o; |
| 3502 } | 3757 } |
| 3503 | 3758 |
| 3504 checkUnnamed647(core.List<core.String> o) { | 3759 checkUnnamed665(core.List<core.String> o) { |
| 3505 unittest.expect(o, unittest.hasLength(2)); | 3760 unittest.expect(o, unittest.hasLength(2)); |
| 3506 unittest.expect(o[0], unittest.equals('foo')); | 3761 unittest.expect(o[0], unittest.equals('foo')); |
| 3507 unittest.expect(o[1], unittest.equals('foo')); | 3762 unittest.expect(o[1], unittest.equals('foo')); |
| 3508 } | 3763 } |
| 3509 | 3764 |
| 3510 | 3765 |
| 3511 main() { | 3766 main() { |
| 3767 unittest.group("obj-schema-AddBandingRequest", () { |
| 3768 unittest.test("to-json--from-json", () { |
| 3769 var o = buildAddBandingRequest(); |
| 3770 var od = new api.AddBandingRequest.fromJson(o.toJson()); |
| 3771 checkAddBandingRequest(od); |
| 3772 }); |
| 3773 }); |
| 3774 |
| 3775 |
| 3776 unittest.group("obj-schema-AddBandingResponse", () { |
| 3777 unittest.test("to-json--from-json", () { |
| 3778 var o = buildAddBandingResponse(); |
| 3779 var od = new api.AddBandingResponse.fromJson(o.toJson()); |
| 3780 checkAddBandingResponse(od); |
| 3781 }); |
| 3782 }); |
| 3783 |
| 3784 |
| 3512 unittest.group("obj-schema-AddChartRequest", () { | 3785 unittest.group("obj-schema-AddChartRequest", () { |
| 3513 unittest.test("to-json--from-json", () { | 3786 unittest.test("to-json--from-json", () { |
| 3514 var o = buildAddChartRequest(); | 3787 var o = buildAddChartRequest(); |
| 3515 var od = new api.AddChartRequest.fromJson(o.toJson()); | 3788 var od = new api.AddChartRequest.fromJson(o.toJson()); |
| 3516 checkAddChartRequest(od); | 3789 checkAddChartRequest(od); |
| 3517 }); | 3790 }); |
| 3518 }); | 3791 }); |
| 3519 | 3792 |
| 3520 | 3793 |
| 3521 unittest.group("obj-schema-AddChartResponse", () { | 3794 unittest.group("obj-schema-AddChartResponse", () { |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3646 | 3919 |
| 3647 unittest.group("obj-schema-AutoResizeDimensionsRequest", () { | 3920 unittest.group("obj-schema-AutoResizeDimensionsRequest", () { |
| 3648 unittest.test("to-json--from-json", () { | 3921 unittest.test("to-json--from-json", () { |
| 3649 var o = buildAutoResizeDimensionsRequest(); | 3922 var o = buildAutoResizeDimensionsRequest(); |
| 3650 var od = new api.AutoResizeDimensionsRequest.fromJson(o.toJson()); | 3923 var od = new api.AutoResizeDimensionsRequest.fromJson(o.toJson()); |
| 3651 checkAutoResizeDimensionsRequest(od); | 3924 checkAutoResizeDimensionsRequest(od); |
| 3652 }); | 3925 }); |
| 3653 }); | 3926 }); |
| 3654 | 3927 |
| 3655 | 3928 |
| 3929 unittest.group("obj-schema-BandedRange", () { |
| 3930 unittest.test("to-json--from-json", () { |
| 3931 var o = buildBandedRange(); |
| 3932 var od = new api.BandedRange.fromJson(o.toJson()); |
| 3933 checkBandedRange(od); |
| 3934 }); |
| 3935 }); |
| 3936 |
| 3937 |
| 3938 unittest.group("obj-schema-BandingProperties", () { |
| 3939 unittest.test("to-json--from-json", () { |
| 3940 var o = buildBandingProperties(); |
| 3941 var od = new api.BandingProperties.fromJson(o.toJson()); |
| 3942 checkBandingProperties(od); |
| 3943 }); |
| 3944 }); |
| 3945 |
| 3946 |
| 3656 unittest.group("obj-schema-BasicChartAxis", () { | 3947 unittest.group("obj-schema-BasicChartAxis", () { |
| 3657 unittest.test("to-json--from-json", () { | 3948 unittest.test("to-json--from-json", () { |
| 3658 var o = buildBasicChartAxis(); | 3949 var o = buildBasicChartAxis(); |
| 3659 var od = new api.BasicChartAxis.fromJson(o.toJson()); | 3950 var od = new api.BasicChartAxis.fromJson(o.toJson()); |
| 3660 checkBasicChartAxis(od); | 3951 checkBasicChartAxis(od); |
| 3661 }); | 3952 }); |
| 3662 }); | 3953 }); |
| 3663 | 3954 |
| 3664 | 3955 |
| 3665 unittest.group("obj-schema-BasicChartDomain", () { | 3956 unittest.group("obj-schema-BasicChartDomain", () { |
| (...skipping 25 matching lines...) Expand all Loading... |
| 3691 | 3982 |
| 3692 unittest.group("obj-schema-BasicFilter", () { | 3983 unittest.group("obj-schema-BasicFilter", () { |
| 3693 unittest.test("to-json--from-json", () { | 3984 unittest.test("to-json--from-json", () { |
| 3694 var o = buildBasicFilter(); | 3985 var o = buildBasicFilter(); |
| 3695 var od = new api.BasicFilter.fromJson(o.toJson()); | 3986 var od = new api.BasicFilter.fromJson(o.toJson()); |
| 3696 checkBasicFilter(od); | 3987 checkBasicFilter(od); |
| 3697 }); | 3988 }); |
| 3698 }); | 3989 }); |
| 3699 | 3990 |
| 3700 | 3991 |
| 3992 unittest.group("obj-schema-BatchClearValuesRequest", () { |
| 3993 unittest.test("to-json--from-json", () { |
| 3994 var o = buildBatchClearValuesRequest(); |
| 3995 var od = new api.BatchClearValuesRequest.fromJson(o.toJson()); |
| 3996 checkBatchClearValuesRequest(od); |
| 3997 }); |
| 3998 }); |
| 3999 |
| 4000 |
| 4001 unittest.group("obj-schema-BatchClearValuesResponse", () { |
| 4002 unittest.test("to-json--from-json", () { |
| 4003 var o = buildBatchClearValuesResponse(); |
| 4004 var od = new api.BatchClearValuesResponse.fromJson(o.toJson()); |
| 4005 checkBatchClearValuesResponse(od); |
| 4006 }); |
| 4007 }); |
| 4008 |
| 4009 |
| 3701 unittest.group("obj-schema-BatchGetValuesResponse", () { | 4010 unittest.group("obj-schema-BatchGetValuesResponse", () { |
| 3702 unittest.test("to-json--from-json", () { | 4011 unittest.test("to-json--from-json", () { |
| 3703 var o = buildBatchGetValuesResponse(); | 4012 var o = buildBatchGetValuesResponse(); |
| 3704 var od = new api.BatchGetValuesResponse.fromJson(o.toJson()); | 4013 var od = new api.BatchGetValuesResponse.fromJson(o.toJson()); |
| 3705 checkBatchGetValuesResponse(od); | 4014 checkBatchGetValuesResponse(od); |
| 3706 }); | 4015 }); |
| 3707 }); | 4016 }); |
| 3708 | 4017 |
| 3709 | 4018 |
| 3710 unittest.group("obj-schema-BatchUpdateSpreadsheetRequest", () { | 4019 unittest.group("obj-schema-BatchUpdateSpreadsheetRequest", () { |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3826 | 4135 |
| 3827 unittest.group("obj-schema-ClearBasicFilterRequest", () { | 4136 unittest.group("obj-schema-ClearBasicFilterRequest", () { |
| 3828 unittest.test("to-json--from-json", () { | 4137 unittest.test("to-json--from-json", () { |
| 3829 var o = buildClearBasicFilterRequest(); | 4138 var o = buildClearBasicFilterRequest(); |
| 3830 var od = new api.ClearBasicFilterRequest.fromJson(o.toJson()); | 4139 var od = new api.ClearBasicFilterRequest.fromJson(o.toJson()); |
| 3831 checkClearBasicFilterRequest(od); | 4140 checkClearBasicFilterRequest(od); |
| 3832 }); | 4141 }); |
| 3833 }); | 4142 }); |
| 3834 | 4143 |
| 3835 | 4144 |
| 4145 unittest.group("obj-schema-ClearValuesRequest", () { |
| 4146 unittest.test("to-json--from-json", () { |
| 4147 var o = buildClearValuesRequest(); |
| 4148 var od = new api.ClearValuesRequest.fromJson(o.toJson()); |
| 4149 checkClearValuesRequest(od); |
| 4150 }); |
| 4151 }); |
| 4152 |
| 4153 |
| 4154 unittest.group("obj-schema-ClearValuesResponse", () { |
| 4155 unittest.test("to-json--from-json", () { |
| 4156 var o = buildClearValuesResponse(); |
| 4157 var od = new api.ClearValuesResponse.fromJson(o.toJson()); |
| 4158 checkClearValuesResponse(od); |
| 4159 }); |
| 4160 }); |
| 4161 |
| 4162 |
| 3836 unittest.group("obj-schema-Color", () { | 4163 unittest.group("obj-schema-Color", () { |
| 3837 unittest.test("to-json--from-json", () { | 4164 unittest.test("to-json--from-json", () { |
| 3838 var o = buildColor(); | 4165 var o = buildColor(); |
| 3839 var od = new api.Color.fromJson(o.toJson()); | 4166 var od = new api.Color.fromJson(o.toJson()); |
| 3840 checkColor(od); | 4167 checkColor(od); |
| 3841 }); | 4168 }); |
| 3842 }); | 4169 }); |
| 3843 | 4170 |
| 3844 | 4171 |
| 3845 unittest.group("obj-schema-ConditionValue", () { | 4172 unittest.group("obj-schema-ConditionValue", () { |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3889 | 4216 |
| 3890 unittest.group("obj-schema-DataValidationRule", () { | 4217 unittest.group("obj-schema-DataValidationRule", () { |
| 3891 unittest.test("to-json--from-json", () { | 4218 unittest.test("to-json--from-json", () { |
| 3892 var o = buildDataValidationRule(); | 4219 var o = buildDataValidationRule(); |
| 3893 var od = new api.DataValidationRule.fromJson(o.toJson()); | 4220 var od = new api.DataValidationRule.fromJson(o.toJson()); |
| 3894 checkDataValidationRule(od); | 4221 checkDataValidationRule(od); |
| 3895 }); | 4222 }); |
| 3896 }); | 4223 }); |
| 3897 | 4224 |
| 3898 | 4225 |
| 4226 unittest.group("obj-schema-DeleteBandingRequest", () { |
| 4227 unittest.test("to-json--from-json", () { |
| 4228 var o = buildDeleteBandingRequest(); |
| 4229 var od = new api.DeleteBandingRequest.fromJson(o.toJson()); |
| 4230 checkDeleteBandingRequest(od); |
| 4231 }); |
| 4232 }); |
| 4233 |
| 4234 |
| 3899 unittest.group("obj-schema-DeleteConditionalFormatRuleRequest", () { | 4235 unittest.group("obj-schema-DeleteConditionalFormatRuleRequest", () { |
| 3900 unittest.test("to-json--from-json", () { | 4236 unittest.test("to-json--from-json", () { |
| 3901 var o = buildDeleteConditionalFormatRuleRequest(); | 4237 var o = buildDeleteConditionalFormatRuleRequest(); |
| 3902 var od = new api.DeleteConditionalFormatRuleRequest.fromJson(o.toJson()); | 4238 var od = new api.DeleteConditionalFormatRuleRequest.fromJson(o.toJson()); |
| 3903 checkDeleteConditionalFormatRuleRequest(od); | 4239 checkDeleteConditionalFormatRuleRequest(od); |
| 3904 }); | 4240 }); |
| 3905 }); | 4241 }); |
| 3906 | 4242 |
| 3907 | 4243 |
| 3908 unittest.group("obj-schema-DeleteConditionalFormatRuleResponse", () { | 4244 unittest.group("obj-schema-DeleteConditionalFormatRuleResponse", () { |
| (...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4447 | 4783 |
| 4448 unittest.group("obj-schema-UnmergeCellsRequest", () { | 4784 unittest.group("obj-schema-UnmergeCellsRequest", () { |
| 4449 unittest.test("to-json--from-json", () { | 4785 unittest.test("to-json--from-json", () { |
| 4450 var o = buildUnmergeCellsRequest(); | 4786 var o = buildUnmergeCellsRequest(); |
| 4451 var od = new api.UnmergeCellsRequest.fromJson(o.toJson()); | 4787 var od = new api.UnmergeCellsRequest.fromJson(o.toJson()); |
| 4452 checkUnmergeCellsRequest(od); | 4788 checkUnmergeCellsRequest(od); |
| 4453 }); | 4789 }); |
| 4454 }); | 4790 }); |
| 4455 | 4791 |
| 4456 | 4792 |
| 4793 unittest.group("obj-schema-UpdateBandingRequest", () { |
| 4794 unittest.test("to-json--from-json", () { |
| 4795 var o = buildUpdateBandingRequest(); |
| 4796 var od = new api.UpdateBandingRequest.fromJson(o.toJson()); |
| 4797 checkUpdateBandingRequest(od); |
| 4798 }); |
| 4799 }); |
| 4800 |
| 4801 |
| 4457 unittest.group("obj-schema-UpdateBordersRequest", () { | 4802 unittest.group("obj-schema-UpdateBordersRequest", () { |
| 4458 unittest.test("to-json--from-json", () { | 4803 unittest.test("to-json--from-json", () { |
| 4459 var o = buildUpdateBordersRequest(); | 4804 var o = buildUpdateBordersRequest(); |
| 4460 var od = new api.UpdateBordersRequest.fromJson(o.toJson()); | 4805 var od = new api.UpdateBordersRequest.fromJson(o.toJson()); |
| 4461 checkUpdateBordersRequest(od); | 4806 checkUpdateBordersRequest(od); |
| 4462 }); | 4807 }); |
| 4463 }); | 4808 }); |
| 4464 | 4809 |
| 4465 | 4810 |
| 4466 unittest.group("obj-schema-UpdateCellsRequest", () { | 4811 unittest.group("obj-schema-UpdateCellsRequest", () { |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4690 res.create(arg_request).then(unittest.expectAsync(((api.Spreadsheet respon
se) { | 5035 res.create(arg_request).then(unittest.expectAsync(((api.Spreadsheet respon
se) { |
| 4691 checkSpreadsheet(response); | 5036 checkSpreadsheet(response); |
| 4692 }))); | 5037 }))); |
| 4693 }); | 5038 }); |
| 4694 | 5039 |
| 4695 unittest.test("method--get", () { | 5040 unittest.test("method--get", () { |
| 4696 | 5041 |
| 4697 var mock = new HttpServerMock(); | 5042 var mock = new HttpServerMock(); |
| 4698 api.SpreadsheetsResourceApi res = new api.SheetsApi(mock).spreadsheets; | 5043 api.SpreadsheetsResourceApi res = new api.SheetsApi(mock).spreadsheets; |
| 4699 var arg_spreadsheetId = "foo"; | 5044 var arg_spreadsheetId = "foo"; |
| 4700 var arg_ranges = buildUnnamed646(); | 5045 var arg_ranges = buildUnnamed664(); |
| 4701 var arg_includeGridData = true; | 5046 var arg_includeGridData = true; |
| 4702 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5047 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 4703 var path = (req.url).path; | 5048 var path = (req.url).path; |
| 4704 var pathOffset = 0; | 5049 var pathOffset = 0; |
| 4705 var index; | 5050 var index; |
| 4706 var subPart; | 5051 var subPart; |
| 4707 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5052 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 4708 pathOffset += 1; | 5053 pathOffset += 1; |
| 4709 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("v4/spreadsheets/")); | 5054 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("v4/spreadsheets/")); |
| 4710 pathOffset += 16; | 5055 pathOffset += 16; |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4874 "content-type" : "application/json; charset=utf-8", | 5219 "content-type" : "application/json; charset=utf-8", |
| 4875 }; | 5220 }; |
| 4876 var resp = convert.JSON.encode(buildAppendValuesResponse()); | 5221 var resp = convert.JSON.encode(buildAppendValuesResponse()); |
| 4877 return new async.Future.value(stringResponse(200, h, resp)); | 5222 return new async.Future.value(stringResponse(200, h, resp)); |
| 4878 }), true); | 5223 }), true); |
| 4879 res.append(arg_request, arg_spreadsheetId, arg_range, valueInputOption: ar
g_valueInputOption, insertDataOption: arg_insertDataOption).then(unittest.expect
Async(((api.AppendValuesResponse response) { | 5224 res.append(arg_request, arg_spreadsheetId, arg_range, valueInputOption: ar
g_valueInputOption, insertDataOption: arg_insertDataOption).then(unittest.expect
Async(((api.AppendValuesResponse response) { |
| 4880 checkAppendValuesResponse(response); | 5225 checkAppendValuesResponse(response); |
| 4881 }))); | 5226 }))); |
| 4882 }); | 5227 }); |
| 4883 | 5228 |
| 5229 unittest.test("method--batchClear", () { |
| 5230 |
| 5231 var mock = new HttpServerMock(); |
| 5232 api.SpreadsheetsValuesResourceApi res = new api.SheetsApi(mock).spreadshee
ts.values; |
| 5233 var arg_request = buildBatchClearValuesRequest(); |
| 5234 var arg_spreadsheetId = "foo"; |
| 5235 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 5236 var obj = new api.BatchClearValuesRequest.fromJson(json); |
| 5237 checkBatchClearValuesRequest(obj); |
| 5238 |
| 5239 var path = (req.url).path; |
| 5240 var pathOffset = 0; |
| 5241 var index; |
| 5242 var subPart; |
| 5243 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 5244 pathOffset += 1; |
| 5245 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("v4/spreadsheets/")); |
| 5246 pathOffset += 16; |
| 5247 index = path.indexOf("/values:batchClear", pathOffset); |
| 5248 unittest.expect(index >= 0, unittest.isTrue); |
| 5249 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 5250 pathOffset = index; |
| 5251 unittest.expect(subPart, unittest.equals("$arg_spreadsheetId")); |
| 5252 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("/values:batchClear")); |
| 5253 pathOffset += 18; |
| 5254 |
| 5255 var query = (req.url).query; |
| 5256 var queryOffset = 0; |
| 5257 var queryMap = {}; |
| 5258 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 5259 parseBool(n) { |
| 5260 if (n == "true") return true; |
| 5261 if (n == "false") return false; |
| 5262 if (n == null) return null; |
| 5263 throw new core.ArgumentError("Invalid boolean: $n"); |
| 5264 } |
| 5265 if (query.length > 0) { |
| 5266 for (var part in query.split("&")) { |
| 5267 var keyvalue = part.split("="); |
| 5268 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 5269 } |
| 5270 } |
| 5271 |
| 5272 |
| 5273 var h = { |
| 5274 "content-type" : "application/json; charset=utf-8", |
| 5275 }; |
| 5276 var resp = convert.JSON.encode(buildBatchClearValuesResponse()); |
| 5277 return new async.Future.value(stringResponse(200, h, resp)); |
| 5278 }), true); |
| 5279 res.batchClear(arg_request, arg_spreadsheetId).then(unittest.expectAsync((
(api.BatchClearValuesResponse response) { |
| 5280 checkBatchClearValuesResponse(response); |
| 5281 }))); |
| 5282 }); |
| 5283 |
| 4884 unittest.test("method--batchGet", () { | 5284 unittest.test("method--batchGet", () { |
| 4885 | 5285 |
| 4886 var mock = new HttpServerMock(); | 5286 var mock = new HttpServerMock(); |
| 4887 api.SpreadsheetsValuesResourceApi res = new api.SheetsApi(mock).spreadshee
ts.values; | 5287 api.SpreadsheetsValuesResourceApi res = new api.SheetsApi(mock).spreadshee
ts.values; |
| 4888 var arg_spreadsheetId = "foo"; | 5288 var arg_spreadsheetId = "foo"; |
| 4889 var arg_ranges = buildUnnamed647(); | 5289 var arg_ranges = buildUnnamed665(); |
| 4890 var arg_valueRenderOption = "foo"; | 5290 var arg_valueRenderOption = "foo"; |
| 4891 var arg_dateTimeRenderOption = "foo"; | 5291 var arg_dateTimeRenderOption = "foo"; |
| 4892 var arg_majorDimension = "foo"; | 5292 var arg_majorDimension = "foo"; |
| 4893 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5293 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 4894 var path = (req.url).path; | 5294 var path = (req.url).path; |
| 4895 var pathOffset = 0; | 5295 var pathOffset = 0; |
| 4896 var index; | 5296 var index; |
| 4897 var subPart; | 5297 var subPart; |
| 4898 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5298 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 4899 pathOffset += 1; | 5299 pathOffset += 1; |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4988 "content-type" : "application/json; charset=utf-8", | 5388 "content-type" : "application/json; charset=utf-8", |
| 4989 }; | 5389 }; |
| 4990 var resp = convert.JSON.encode(buildBatchUpdateValuesResponse()); | 5390 var resp = convert.JSON.encode(buildBatchUpdateValuesResponse()); |
| 4991 return new async.Future.value(stringResponse(200, h, resp)); | 5391 return new async.Future.value(stringResponse(200, h, resp)); |
| 4992 }), true); | 5392 }), true); |
| 4993 res.batchUpdate(arg_request, arg_spreadsheetId).then(unittest.expectAsync(
((api.BatchUpdateValuesResponse response) { | 5393 res.batchUpdate(arg_request, arg_spreadsheetId).then(unittest.expectAsync(
((api.BatchUpdateValuesResponse response) { |
| 4994 checkBatchUpdateValuesResponse(response); | 5394 checkBatchUpdateValuesResponse(response); |
| 4995 }))); | 5395 }))); |
| 4996 }); | 5396 }); |
| 4997 | 5397 |
| 5398 unittest.test("method--clear", () { |
| 5399 |
| 5400 var mock = new HttpServerMock(); |
| 5401 api.SpreadsheetsValuesResourceApi res = new api.SheetsApi(mock).spreadshee
ts.values; |
| 5402 var arg_request = buildClearValuesRequest(); |
| 5403 var arg_spreadsheetId = "foo"; |
| 5404 var arg_range = "foo"; |
| 5405 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 5406 var obj = new api.ClearValuesRequest.fromJson(json); |
| 5407 checkClearValuesRequest(obj); |
| 5408 |
| 5409 var path = (req.url).path; |
| 5410 var pathOffset = 0; |
| 5411 var index; |
| 5412 var subPart; |
| 5413 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 5414 pathOffset += 1; |
| 5415 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("v4/spreadsheets/")); |
| 5416 pathOffset += 16; |
| 5417 index = path.indexOf("/values/", pathOffset); |
| 5418 unittest.expect(index >= 0, unittest.isTrue); |
| 5419 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 5420 pathOffset = index; |
| 5421 unittest.expect(subPart, unittest.equals("$arg_spreadsheetId")); |
| 5422 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("/values/")); |
| 5423 pathOffset += 8; |
| 5424 index = path.indexOf(":clear", pathOffset); |
| 5425 unittest.expect(index >= 0, unittest.isTrue); |
| 5426 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 5427 pathOffset = index; |
| 5428 unittest.expect(subPart, unittest.equals("$arg_range")); |
| 5429 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ
als(":clear")); |
| 5430 pathOffset += 6; |
| 5431 |
| 5432 var query = (req.url).query; |
| 5433 var queryOffset = 0; |
| 5434 var queryMap = {}; |
| 5435 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 5436 parseBool(n) { |
| 5437 if (n == "true") return true; |
| 5438 if (n == "false") return false; |
| 5439 if (n == null) return null; |
| 5440 throw new core.ArgumentError("Invalid boolean: $n"); |
| 5441 } |
| 5442 if (query.length > 0) { |
| 5443 for (var part in query.split("&")) { |
| 5444 var keyvalue = part.split("="); |
| 5445 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 5446 } |
| 5447 } |
| 5448 |
| 5449 |
| 5450 var h = { |
| 5451 "content-type" : "application/json; charset=utf-8", |
| 5452 }; |
| 5453 var resp = convert.JSON.encode(buildClearValuesResponse()); |
| 5454 return new async.Future.value(stringResponse(200, h, resp)); |
| 5455 }), true); |
| 5456 res.clear(arg_request, arg_spreadsheetId, arg_range).then(unittest.expectA
sync(((api.ClearValuesResponse response) { |
| 5457 checkClearValuesResponse(response); |
| 5458 }))); |
| 5459 }); |
| 5460 |
| 4998 unittest.test("method--get", () { | 5461 unittest.test("method--get", () { |
| 4999 | 5462 |
| 5000 var mock = new HttpServerMock(); | 5463 var mock = new HttpServerMock(); |
| 5001 api.SpreadsheetsValuesResourceApi res = new api.SheetsApi(mock).spreadshee
ts.values; | 5464 api.SpreadsheetsValuesResourceApi res = new api.SheetsApi(mock).spreadshee
ts.values; |
| 5002 var arg_spreadsheetId = "foo"; | 5465 var arg_spreadsheetId = "foo"; |
| 5003 var arg_range = "foo"; | 5466 var arg_range = "foo"; |
| 5004 var arg_valueRenderOption = "foo"; | 5467 var arg_valueRenderOption = "foo"; |
| 5005 var arg_dateTimeRenderOption = "foo"; | 5468 var arg_dateTimeRenderOption = "foo"; |
| 5006 var arg_majorDimension = "foo"; | 5469 var arg_majorDimension = "foo"; |
| 5007 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5470 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5115 res.update(arg_request, arg_spreadsheetId, arg_range, valueInputOption: ar
g_valueInputOption).then(unittest.expectAsync(((api.UpdateValuesResponse respons
e) { | 5578 res.update(arg_request, arg_spreadsheetId, arg_range, valueInputOption: ar
g_valueInputOption).then(unittest.expectAsync(((api.UpdateValuesResponse respons
e) { |
| 5116 checkUpdateValuesResponse(response); | 5579 checkUpdateValuesResponse(response); |
| 5117 }))); | 5580 }))); |
| 5118 }); | 5581 }); |
| 5119 | 5582 |
| 5120 }); | 5583 }); |
| 5121 | 5584 |
| 5122 | 5585 |
| 5123 } | 5586 } |
| 5124 | 5587 |
| OLD | NEW |