| 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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 } | 255 } |
| 256 | 256 |
| 257 checkAddSheetResponse(api.AddSheetResponse o) { | 257 checkAddSheetResponse(api.AddSheetResponse o) { |
| 258 buildCounterAddSheetResponse++; | 258 buildCounterAddSheetResponse++; |
| 259 if (buildCounterAddSheetResponse < 3) { | 259 if (buildCounterAddSheetResponse < 3) { |
| 260 checkSheetProperties(o.properties); | 260 checkSheetProperties(o.properties); |
| 261 } | 261 } |
| 262 buildCounterAddSheetResponse--; | 262 buildCounterAddSheetResponse--; |
| 263 } | 263 } |
| 264 | 264 |
| 265 buildUnnamed3154() { | 265 buildUnnamed602() { |
| 266 var o = new core.List<api.RowData>(); | 266 var o = new core.List<api.RowData>(); |
| 267 o.add(buildRowData()); | 267 o.add(buildRowData()); |
| 268 o.add(buildRowData()); | 268 o.add(buildRowData()); |
| 269 return o; | 269 return o; |
| 270 } | 270 } |
| 271 | 271 |
| 272 checkUnnamed3154(core.List<api.RowData> o) { | 272 checkUnnamed602(core.List<api.RowData> o) { |
| 273 unittest.expect(o, unittest.hasLength(2)); | 273 unittest.expect(o, unittest.hasLength(2)); |
| 274 checkRowData(o[0]); | 274 checkRowData(o[0]); |
| 275 checkRowData(o[1]); | 275 checkRowData(o[1]); |
| 276 } | 276 } |
| 277 | 277 |
| 278 core.int buildCounterAppendCellsRequest = 0; | 278 core.int buildCounterAppendCellsRequest = 0; |
| 279 buildAppendCellsRequest() { | 279 buildAppendCellsRequest() { |
| 280 var o = new api.AppendCellsRequest(); | 280 var o = new api.AppendCellsRequest(); |
| 281 buildCounterAppendCellsRequest++; | 281 buildCounterAppendCellsRequest++; |
| 282 if (buildCounterAppendCellsRequest < 3) { | 282 if (buildCounterAppendCellsRequest < 3) { |
| 283 o.fields = "foo"; | 283 o.fields = "foo"; |
| 284 o.rows = buildUnnamed3154(); | 284 o.rows = buildUnnamed602(); |
| 285 o.sheetId = 42; | 285 o.sheetId = 42; |
| 286 } | 286 } |
| 287 buildCounterAppendCellsRequest--; | 287 buildCounterAppendCellsRequest--; |
| 288 return o; | 288 return o; |
| 289 } | 289 } |
| 290 | 290 |
| 291 checkAppendCellsRequest(api.AppendCellsRequest o) { | 291 checkAppendCellsRequest(api.AppendCellsRequest o) { |
| 292 buildCounterAppendCellsRequest++; | 292 buildCounterAppendCellsRequest++; |
| 293 if (buildCounterAppendCellsRequest < 3) { | 293 if (buildCounterAppendCellsRequest < 3) { |
| 294 unittest.expect(o.fields, unittest.equals('foo')); | 294 unittest.expect(o.fields, unittest.equals('foo')); |
| 295 checkUnnamed3154(o.rows); | 295 checkUnnamed602(o.rows); |
| 296 unittest.expect(o.sheetId, unittest.equals(42)); | 296 unittest.expect(o.sheetId, unittest.equals(42)); |
| 297 } | 297 } |
| 298 buildCounterAppendCellsRequest--; | 298 buildCounterAppendCellsRequest--; |
| 299 } | 299 } |
| 300 | 300 |
| 301 core.int buildCounterAppendDimensionRequest = 0; | 301 core.int buildCounterAppendDimensionRequest = 0; |
| 302 buildAppendDimensionRequest() { | 302 buildAppendDimensionRequest() { |
| 303 var o = new api.AppendDimensionRequest(); | 303 var o = new api.AppendDimensionRequest(); |
| 304 buildCounterAppendDimensionRequest++; | 304 buildCounterAppendDimensionRequest++; |
| 305 if (buildCounterAppendDimensionRequest < 3) { | 305 if (buildCounterAppendDimensionRequest < 3) { |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 444 checkBasicChartSeries(api.BasicChartSeries o) { | 444 checkBasicChartSeries(api.BasicChartSeries o) { |
| 445 buildCounterBasicChartSeries++; | 445 buildCounterBasicChartSeries++; |
| 446 if (buildCounterBasicChartSeries < 3) { | 446 if (buildCounterBasicChartSeries < 3) { |
| 447 checkChartData(o.series); | 447 checkChartData(o.series); |
| 448 unittest.expect(o.targetAxis, unittest.equals('foo')); | 448 unittest.expect(o.targetAxis, unittest.equals('foo')); |
| 449 unittest.expect(o.type, unittest.equals('foo')); | 449 unittest.expect(o.type, unittest.equals('foo')); |
| 450 } | 450 } |
| 451 buildCounterBasicChartSeries--; | 451 buildCounterBasicChartSeries--; |
| 452 } | 452 } |
| 453 | 453 |
| 454 buildUnnamed3155() { | 454 buildUnnamed603() { |
| 455 var o = new core.List<api.BasicChartAxis>(); | 455 var o = new core.List<api.BasicChartAxis>(); |
| 456 o.add(buildBasicChartAxis()); | 456 o.add(buildBasicChartAxis()); |
| 457 o.add(buildBasicChartAxis()); | 457 o.add(buildBasicChartAxis()); |
| 458 return o; | 458 return o; |
| 459 } | 459 } |
| 460 | 460 |
| 461 checkUnnamed3155(core.List<api.BasicChartAxis> o) { | 461 checkUnnamed603(core.List<api.BasicChartAxis> o) { |
| 462 unittest.expect(o, unittest.hasLength(2)); | 462 unittest.expect(o, unittest.hasLength(2)); |
| 463 checkBasicChartAxis(o[0]); | 463 checkBasicChartAxis(o[0]); |
| 464 checkBasicChartAxis(o[1]); | 464 checkBasicChartAxis(o[1]); |
| 465 } | 465 } |
| 466 | 466 |
| 467 buildUnnamed3156() { | 467 buildUnnamed604() { |
| 468 var o = new core.List<api.BasicChartDomain>(); | 468 var o = new core.List<api.BasicChartDomain>(); |
| 469 o.add(buildBasicChartDomain()); | 469 o.add(buildBasicChartDomain()); |
| 470 o.add(buildBasicChartDomain()); | 470 o.add(buildBasicChartDomain()); |
| 471 return o; | 471 return o; |
| 472 } | 472 } |
| 473 | 473 |
| 474 checkUnnamed3156(core.List<api.BasicChartDomain> o) { | 474 checkUnnamed604(core.List<api.BasicChartDomain> o) { |
| 475 unittest.expect(o, unittest.hasLength(2)); | 475 unittest.expect(o, unittest.hasLength(2)); |
| 476 checkBasicChartDomain(o[0]); | 476 checkBasicChartDomain(o[0]); |
| 477 checkBasicChartDomain(o[1]); | 477 checkBasicChartDomain(o[1]); |
| 478 } | 478 } |
| 479 | 479 |
| 480 buildUnnamed3157() { | 480 buildUnnamed605() { |
| 481 var o = new core.List<api.BasicChartSeries>(); | 481 var o = new core.List<api.BasicChartSeries>(); |
| 482 o.add(buildBasicChartSeries()); | 482 o.add(buildBasicChartSeries()); |
| 483 o.add(buildBasicChartSeries()); | 483 o.add(buildBasicChartSeries()); |
| 484 return o; | 484 return o; |
| 485 } | 485 } |
| 486 | 486 |
| 487 checkUnnamed3157(core.List<api.BasicChartSeries> o) { | 487 checkUnnamed605(core.List<api.BasicChartSeries> o) { |
| 488 unittest.expect(o, unittest.hasLength(2)); | 488 unittest.expect(o, unittest.hasLength(2)); |
| 489 checkBasicChartSeries(o[0]); | 489 checkBasicChartSeries(o[0]); |
| 490 checkBasicChartSeries(o[1]); | 490 checkBasicChartSeries(o[1]); |
| 491 } | 491 } |
| 492 | 492 |
| 493 core.int buildCounterBasicChartSpec = 0; | 493 core.int buildCounterBasicChartSpec = 0; |
| 494 buildBasicChartSpec() { | 494 buildBasicChartSpec() { |
| 495 var o = new api.BasicChartSpec(); | 495 var o = new api.BasicChartSpec(); |
| 496 buildCounterBasicChartSpec++; | 496 buildCounterBasicChartSpec++; |
| 497 if (buildCounterBasicChartSpec < 3) { | 497 if (buildCounterBasicChartSpec < 3) { |
| 498 o.axis = buildUnnamed3155(); | 498 o.axis = buildUnnamed603(); |
| 499 o.chartType = "foo"; | 499 o.chartType = "foo"; |
| 500 o.domains = buildUnnamed3156(); | 500 o.domains = buildUnnamed604(); |
| 501 o.headerCount = 42; | 501 o.headerCount = 42; |
| 502 o.legendPosition = "foo"; | 502 o.legendPosition = "foo"; |
| 503 o.series = buildUnnamed3157(); | 503 o.series = buildUnnamed605(); |
| 504 } | 504 } |
| 505 buildCounterBasicChartSpec--; | 505 buildCounterBasicChartSpec--; |
| 506 return o; | 506 return o; |
| 507 } | 507 } |
| 508 | 508 |
| 509 checkBasicChartSpec(api.BasicChartSpec o) { | 509 checkBasicChartSpec(api.BasicChartSpec o) { |
| 510 buildCounterBasicChartSpec++; | 510 buildCounterBasicChartSpec++; |
| 511 if (buildCounterBasicChartSpec < 3) { | 511 if (buildCounterBasicChartSpec < 3) { |
| 512 checkUnnamed3155(o.axis); | 512 checkUnnamed603(o.axis); |
| 513 unittest.expect(o.chartType, unittest.equals('foo')); | 513 unittest.expect(o.chartType, unittest.equals('foo')); |
| 514 checkUnnamed3156(o.domains); | 514 checkUnnamed604(o.domains); |
| 515 unittest.expect(o.headerCount, unittest.equals(42)); | 515 unittest.expect(o.headerCount, unittest.equals(42)); |
| 516 unittest.expect(o.legendPosition, unittest.equals('foo')); | 516 unittest.expect(o.legendPosition, unittest.equals('foo')); |
| 517 checkUnnamed3157(o.series); | 517 checkUnnamed605(o.series); |
| 518 } | 518 } |
| 519 buildCounterBasicChartSpec--; | 519 buildCounterBasicChartSpec--; |
| 520 } | 520 } |
| 521 | 521 |
| 522 buildUnnamed3158() { | 522 buildUnnamed606() { |
| 523 var o = new core.Map<core.String, api.FilterCriteria>(); | 523 var o = new core.Map<core.String, api.FilterCriteria>(); |
| 524 o["x"] = buildFilterCriteria(); | 524 o["x"] = buildFilterCriteria(); |
| 525 o["y"] = buildFilterCriteria(); | 525 o["y"] = buildFilterCriteria(); |
| 526 return o; | 526 return o; |
| 527 } | 527 } |
| 528 | 528 |
| 529 checkUnnamed3158(core.Map<core.String, api.FilterCriteria> o) { | 529 checkUnnamed606(core.Map<core.String, api.FilterCriteria> o) { |
| 530 unittest.expect(o, unittest.hasLength(2)); | 530 unittest.expect(o, unittest.hasLength(2)); |
| 531 checkFilterCriteria(o["x"]); | 531 checkFilterCriteria(o["x"]); |
| 532 checkFilterCriteria(o["y"]); | 532 checkFilterCriteria(o["y"]); |
| 533 } | 533 } |
| 534 | 534 |
| 535 buildUnnamed3159() { | 535 buildUnnamed607() { |
| 536 var o = new core.List<api.SortSpec>(); | 536 var o = new core.List<api.SortSpec>(); |
| 537 o.add(buildSortSpec()); | 537 o.add(buildSortSpec()); |
| 538 o.add(buildSortSpec()); | 538 o.add(buildSortSpec()); |
| 539 return o; | 539 return o; |
| 540 } | 540 } |
| 541 | 541 |
| 542 checkUnnamed3159(core.List<api.SortSpec> o) { | 542 checkUnnamed607(core.List<api.SortSpec> o) { |
| 543 unittest.expect(o, unittest.hasLength(2)); | 543 unittest.expect(o, unittest.hasLength(2)); |
| 544 checkSortSpec(o[0]); | 544 checkSortSpec(o[0]); |
| 545 checkSortSpec(o[1]); | 545 checkSortSpec(o[1]); |
| 546 } | 546 } |
| 547 | 547 |
| 548 core.int buildCounterBasicFilter = 0; | 548 core.int buildCounterBasicFilter = 0; |
| 549 buildBasicFilter() { | 549 buildBasicFilter() { |
| 550 var o = new api.BasicFilter(); | 550 var o = new api.BasicFilter(); |
| 551 buildCounterBasicFilter++; | 551 buildCounterBasicFilter++; |
| 552 if (buildCounterBasicFilter < 3) { | 552 if (buildCounterBasicFilter < 3) { |
| 553 o.criteria = buildUnnamed3158(); | 553 o.criteria = buildUnnamed606(); |
| 554 o.range = buildGridRange(); | 554 o.range = buildGridRange(); |
| 555 o.sortSpecs = buildUnnamed3159(); | 555 o.sortSpecs = buildUnnamed607(); |
| 556 } | 556 } |
| 557 buildCounterBasicFilter--; | 557 buildCounterBasicFilter--; |
| 558 return o; | 558 return o; |
| 559 } | 559 } |
| 560 | 560 |
| 561 checkBasicFilter(api.BasicFilter o) { | 561 checkBasicFilter(api.BasicFilter o) { |
| 562 buildCounterBasicFilter++; | 562 buildCounterBasicFilter++; |
| 563 if (buildCounterBasicFilter < 3) { | 563 if (buildCounterBasicFilter < 3) { |
| 564 checkUnnamed3158(o.criteria); | 564 checkUnnamed606(o.criteria); |
| 565 checkGridRange(o.range); | 565 checkGridRange(o.range); |
| 566 checkUnnamed3159(o.sortSpecs); | 566 checkUnnamed607(o.sortSpecs); |
| 567 } | 567 } |
| 568 buildCounterBasicFilter--; | 568 buildCounterBasicFilter--; |
| 569 } | 569 } |
| 570 | 570 |
| 571 buildUnnamed3160() { | 571 buildUnnamed608() { |
| 572 var o = new core.List<api.ValueRange>(); | 572 var o = new core.List<api.ValueRange>(); |
| 573 o.add(buildValueRange()); | 573 o.add(buildValueRange()); |
| 574 o.add(buildValueRange()); | 574 o.add(buildValueRange()); |
| 575 return o; | 575 return o; |
| 576 } | 576 } |
| 577 | 577 |
| 578 checkUnnamed3160(core.List<api.ValueRange> o) { | 578 checkUnnamed608(core.List<api.ValueRange> o) { |
| 579 unittest.expect(o, unittest.hasLength(2)); | 579 unittest.expect(o, unittest.hasLength(2)); |
| 580 checkValueRange(o[0]); | 580 checkValueRange(o[0]); |
| 581 checkValueRange(o[1]); | 581 checkValueRange(o[1]); |
| 582 } | 582 } |
| 583 | 583 |
| 584 core.int buildCounterBatchGetValuesResponse = 0; | 584 core.int buildCounterBatchGetValuesResponse = 0; |
| 585 buildBatchGetValuesResponse() { | 585 buildBatchGetValuesResponse() { |
| 586 var o = new api.BatchGetValuesResponse(); | 586 var o = new api.BatchGetValuesResponse(); |
| 587 buildCounterBatchGetValuesResponse++; | 587 buildCounterBatchGetValuesResponse++; |
| 588 if (buildCounterBatchGetValuesResponse < 3) { | 588 if (buildCounterBatchGetValuesResponse < 3) { |
| 589 o.spreadsheetId = "foo"; | 589 o.spreadsheetId = "foo"; |
| 590 o.valueRanges = buildUnnamed3160(); | 590 o.valueRanges = buildUnnamed608(); |
| 591 } | 591 } |
| 592 buildCounterBatchGetValuesResponse--; | 592 buildCounterBatchGetValuesResponse--; |
| 593 return o; | 593 return o; |
| 594 } | 594 } |
| 595 | 595 |
| 596 checkBatchGetValuesResponse(api.BatchGetValuesResponse o) { | 596 checkBatchGetValuesResponse(api.BatchGetValuesResponse o) { |
| 597 buildCounterBatchGetValuesResponse++; | 597 buildCounterBatchGetValuesResponse++; |
| 598 if (buildCounterBatchGetValuesResponse < 3) { | 598 if (buildCounterBatchGetValuesResponse < 3) { |
| 599 unittest.expect(o.spreadsheetId, unittest.equals('foo')); | 599 unittest.expect(o.spreadsheetId, unittest.equals('foo')); |
| 600 checkUnnamed3160(o.valueRanges); | 600 checkUnnamed608(o.valueRanges); |
| 601 } | 601 } |
| 602 buildCounterBatchGetValuesResponse--; | 602 buildCounterBatchGetValuesResponse--; |
| 603 } | 603 } |
| 604 | 604 |
| 605 buildUnnamed3161() { | 605 buildUnnamed609() { |
| 606 var o = new core.List<api.Request>(); | 606 var o = new core.List<api.Request>(); |
| 607 o.add(buildRequest()); | 607 o.add(buildRequest()); |
| 608 o.add(buildRequest()); | 608 o.add(buildRequest()); |
| 609 return o; | 609 return o; |
| 610 } | 610 } |
| 611 | 611 |
| 612 checkUnnamed3161(core.List<api.Request> o) { | 612 checkUnnamed609(core.List<api.Request> o) { |
| 613 unittest.expect(o, unittest.hasLength(2)); | 613 unittest.expect(o, unittest.hasLength(2)); |
| 614 checkRequest(o[0]); | 614 checkRequest(o[0]); |
| 615 checkRequest(o[1]); | 615 checkRequest(o[1]); |
| 616 } | 616 } |
| 617 | 617 |
| 618 core.int buildCounterBatchUpdateSpreadsheetRequest = 0; | 618 core.int buildCounterBatchUpdateSpreadsheetRequest = 0; |
| 619 buildBatchUpdateSpreadsheetRequest() { | 619 buildBatchUpdateSpreadsheetRequest() { |
| 620 var o = new api.BatchUpdateSpreadsheetRequest(); | 620 var o = new api.BatchUpdateSpreadsheetRequest(); |
| 621 buildCounterBatchUpdateSpreadsheetRequest++; | 621 buildCounterBatchUpdateSpreadsheetRequest++; |
| 622 if (buildCounterBatchUpdateSpreadsheetRequest < 3) { | 622 if (buildCounterBatchUpdateSpreadsheetRequest < 3) { |
| 623 o.requests = buildUnnamed3161(); | 623 o.requests = buildUnnamed609(); |
| 624 } | 624 } |
| 625 buildCounterBatchUpdateSpreadsheetRequest--; | 625 buildCounterBatchUpdateSpreadsheetRequest--; |
| 626 return o; | 626 return o; |
| 627 } | 627 } |
| 628 | 628 |
| 629 checkBatchUpdateSpreadsheetRequest(api.BatchUpdateSpreadsheetRequest o) { | 629 checkBatchUpdateSpreadsheetRequest(api.BatchUpdateSpreadsheetRequest o) { |
| 630 buildCounterBatchUpdateSpreadsheetRequest++; | 630 buildCounterBatchUpdateSpreadsheetRequest++; |
| 631 if (buildCounterBatchUpdateSpreadsheetRequest < 3) { | 631 if (buildCounterBatchUpdateSpreadsheetRequest < 3) { |
| 632 checkUnnamed3161(o.requests); | 632 checkUnnamed609(o.requests); |
| 633 } | 633 } |
| 634 buildCounterBatchUpdateSpreadsheetRequest--; | 634 buildCounterBatchUpdateSpreadsheetRequest--; |
| 635 } | 635 } |
| 636 | 636 |
| 637 buildUnnamed3162() { | 637 buildUnnamed610() { |
| 638 var o = new core.List<api.Response>(); | 638 var o = new core.List<api.Response>(); |
| 639 o.add(buildResponse()); | 639 o.add(buildResponse()); |
| 640 o.add(buildResponse()); | 640 o.add(buildResponse()); |
| 641 return o; | 641 return o; |
| 642 } | 642 } |
| 643 | 643 |
| 644 checkUnnamed3162(core.List<api.Response> o) { | 644 checkUnnamed610(core.List<api.Response> o) { |
| 645 unittest.expect(o, unittest.hasLength(2)); | 645 unittest.expect(o, unittest.hasLength(2)); |
| 646 checkResponse(o[0]); | 646 checkResponse(o[0]); |
| 647 checkResponse(o[1]); | 647 checkResponse(o[1]); |
| 648 } | 648 } |
| 649 | 649 |
| 650 core.int buildCounterBatchUpdateSpreadsheetResponse = 0; | 650 core.int buildCounterBatchUpdateSpreadsheetResponse = 0; |
| 651 buildBatchUpdateSpreadsheetResponse() { | 651 buildBatchUpdateSpreadsheetResponse() { |
| 652 var o = new api.BatchUpdateSpreadsheetResponse(); | 652 var o = new api.BatchUpdateSpreadsheetResponse(); |
| 653 buildCounterBatchUpdateSpreadsheetResponse++; | 653 buildCounterBatchUpdateSpreadsheetResponse++; |
| 654 if (buildCounterBatchUpdateSpreadsheetResponse < 3) { | 654 if (buildCounterBatchUpdateSpreadsheetResponse < 3) { |
| 655 o.replies = buildUnnamed3162(); | 655 o.replies = buildUnnamed610(); |
| 656 o.spreadsheetId = "foo"; | 656 o.spreadsheetId = "foo"; |
| 657 } | 657 } |
| 658 buildCounterBatchUpdateSpreadsheetResponse--; | 658 buildCounterBatchUpdateSpreadsheetResponse--; |
| 659 return o; | 659 return o; |
| 660 } | 660 } |
| 661 | 661 |
| 662 checkBatchUpdateSpreadsheetResponse(api.BatchUpdateSpreadsheetResponse o) { | 662 checkBatchUpdateSpreadsheetResponse(api.BatchUpdateSpreadsheetResponse o) { |
| 663 buildCounterBatchUpdateSpreadsheetResponse++; | 663 buildCounterBatchUpdateSpreadsheetResponse++; |
| 664 if (buildCounterBatchUpdateSpreadsheetResponse < 3) { | 664 if (buildCounterBatchUpdateSpreadsheetResponse < 3) { |
| 665 checkUnnamed3162(o.replies); | 665 checkUnnamed610(o.replies); |
| 666 unittest.expect(o.spreadsheetId, unittest.equals('foo')); | 666 unittest.expect(o.spreadsheetId, unittest.equals('foo')); |
| 667 } | 667 } |
| 668 buildCounterBatchUpdateSpreadsheetResponse--; | 668 buildCounterBatchUpdateSpreadsheetResponse--; |
| 669 } | 669 } |
| 670 | 670 |
| 671 buildUnnamed3163() { | 671 buildUnnamed611() { |
| 672 var o = new core.List<api.ValueRange>(); | 672 var o = new core.List<api.ValueRange>(); |
| 673 o.add(buildValueRange()); | 673 o.add(buildValueRange()); |
| 674 o.add(buildValueRange()); | 674 o.add(buildValueRange()); |
| 675 return o; | 675 return o; |
| 676 } | 676 } |
| 677 | 677 |
| 678 checkUnnamed3163(core.List<api.ValueRange> o) { | 678 checkUnnamed611(core.List<api.ValueRange> o) { |
| 679 unittest.expect(o, unittest.hasLength(2)); | 679 unittest.expect(o, unittest.hasLength(2)); |
| 680 checkValueRange(o[0]); | 680 checkValueRange(o[0]); |
| 681 checkValueRange(o[1]); | 681 checkValueRange(o[1]); |
| 682 } | 682 } |
| 683 | 683 |
| 684 core.int buildCounterBatchUpdateValuesRequest = 0; | 684 core.int buildCounterBatchUpdateValuesRequest = 0; |
| 685 buildBatchUpdateValuesRequest() { | 685 buildBatchUpdateValuesRequest() { |
| 686 var o = new api.BatchUpdateValuesRequest(); | 686 var o = new api.BatchUpdateValuesRequest(); |
| 687 buildCounterBatchUpdateValuesRequest++; | 687 buildCounterBatchUpdateValuesRequest++; |
| 688 if (buildCounterBatchUpdateValuesRequest < 3) { | 688 if (buildCounterBatchUpdateValuesRequest < 3) { |
| 689 o.data = buildUnnamed3163(); | 689 o.data = buildUnnamed611(); |
| 690 o.valueInputOption = "foo"; | 690 o.valueInputOption = "foo"; |
| 691 } | 691 } |
| 692 buildCounterBatchUpdateValuesRequest--; | 692 buildCounterBatchUpdateValuesRequest--; |
| 693 return o; | 693 return o; |
| 694 } | 694 } |
| 695 | 695 |
| 696 checkBatchUpdateValuesRequest(api.BatchUpdateValuesRequest o) { | 696 checkBatchUpdateValuesRequest(api.BatchUpdateValuesRequest o) { |
| 697 buildCounterBatchUpdateValuesRequest++; | 697 buildCounterBatchUpdateValuesRequest++; |
| 698 if (buildCounterBatchUpdateValuesRequest < 3) { | 698 if (buildCounterBatchUpdateValuesRequest < 3) { |
| 699 checkUnnamed3163(o.data); | 699 checkUnnamed611(o.data); |
| 700 unittest.expect(o.valueInputOption, unittest.equals('foo')); | 700 unittest.expect(o.valueInputOption, unittest.equals('foo')); |
| 701 } | 701 } |
| 702 buildCounterBatchUpdateValuesRequest--; | 702 buildCounterBatchUpdateValuesRequest--; |
| 703 } | 703 } |
| 704 | 704 |
| 705 buildUnnamed3164() { | 705 buildUnnamed612() { |
| 706 var o = new core.List<api.UpdateValuesResponse>(); | 706 var o = new core.List<api.UpdateValuesResponse>(); |
| 707 o.add(buildUpdateValuesResponse()); | 707 o.add(buildUpdateValuesResponse()); |
| 708 o.add(buildUpdateValuesResponse()); | 708 o.add(buildUpdateValuesResponse()); |
| 709 return o; | 709 return o; |
| 710 } | 710 } |
| 711 | 711 |
| 712 checkUnnamed3164(core.List<api.UpdateValuesResponse> o) { | 712 checkUnnamed612(core.List<api.UpdateValuesResponse> o) { |
| 713 unittest.expect(o, unittest.hasLength(2)); | 713 unittest.expect(o, unittest.hasLength(2)); |
| 714 checkUpdateValuesResponse(o[0]); | 714 checkUpdateValuesResponse(o[0]); |
| 715 checkUpdateValuesResponse(o[1]); | 715 checkUpdateValuesResponse(o[1]); |
| 716 } | 716 } |
| 717 | 717 |
| 718 core.int buildCounterBatchUpdateValuesResponse = 0; | 718 core.int buildCounterBatchUpdateValuesResponse = 0; |
| 719 buildBatchUpdateValuesResponse() { | 719 buildBatchUpdateValuesResponse() { |
| 720 var o = new api.BatchUpdateValuesResponse(); | 720 var o = new api.BatchUpdateValuesResponse(); |
| 721 buildCounterBatchUpdateValuesResponse++; | 721 buildCounterBatchUpdateValuesResponse++; |
| 722 if (buildCounterBatchUpdateValuesResponse < 3) { | 722 if (buildCounterBatchUpdateValuesResponse < 3) { |
| 723 o.responses = buildUnnamed3164(); | 723 o.responses = buildUnnamed612(); |
| 724 o.spreadsheetId = "foo"; | 724 o.spreadsheetId = "foo"; |
| 725 o.totalUpdatedCells = 42; | 725 o.totalUpdatedCells = 42; |
| 726 o.totalUpdatedColumns = 42; | 726 o.totalUpdatedColumns = 42; |
| 727 o.totalUpdatedRows = 42; | 727 o.totalUpdatedRows = 42; |
| 728 o.totalUpdatedSheets = 42; | 728 o.totalUpdatedSheets = 42; |
| 729 } | 729 } |
| 730 buildCounterBatchUpdateValuesResponse--; | 730 buildCounterBatchUpdateValuesResponse--; |
| 731 return o; | 731 return o; |
| 732 } | 732 } |
| 733 | 733 |
| 734 checkBatchUpdateValuesResponse(api.BatchUpdateValuesResponse o) { | 734 checkBatchUpdateValuesResponse(api.BatchUpdateValuesResponse o) { |
| 735 buildCounterBatchUpdateValuesResponse++; | 735 buildCounterBatchUpdateValuesResponse++; |
| 736 if (buildCounterBatchUpdateValuesResponse < 3) { | 736 if (buildCounterBatchUpdateValuesResponse < 3) { |
| 737 checkUnnamed3164(o.responses); | 737 checkUnnamed612(o.responses); |
| 738 unittest.expect(o.spreadsheetId, unittest.equals('foo')); | 738 unittest.expect(o.spreadsheetId, unittest.equals('foo')); |
| 739 unittest.expect(o.totalUpdatedCells, unittest.equals(42)); | 739 unittest.expect(o.totalUpdatedCells, unittest.equals(42)); |
| 740 unittest.expect(o.totalUpdatedColumns, unittest.equals(42)); | 740 unittest.expect(o.totalUpdatedColumns, unittest.equals(42)); |
| 741 unittest.expect(o.totalUpdatedRows, unittest.equals(42)); | 741 unittest.expect(o.totalUpdatedRows, unittest.equals(42)); |
| 742 unittest.expect(o.totalUpdatedSheets, unittest.equals(42)); | 742 unittest.expect(o.totalUpdatedSheets, unittest.equals(42)); |
| 743 } | 743 } |
| 744 buildCounterBatchUpdateValuesResponse--; | 744 buildCounterBatchUpdateValuesResponse--; |
| 745 } | 745 } |
| 746 | 746 |
| 747 buildUnnamed3165() { | 747 buildUnnamed613() { |
| 748 var o = new core.List<api.ConditionValue>(); | 748 var o = new core.List<api.ConditionValue>(); |
| 749 o.add(buildConditionValue()); | 749 o.add(buildConditionValue()); |
| 750 o.add(buildConditionValue()); | 750 o.add(buildConditionValue()); |
| 751 return o; | 751 return o; |
| 752 } | 752 } |
| 753 | 753 |
| 754 checkUnnamed3165(core.List<api.ConditionValue> o) { | 754 checkUnnamed613(core.List<api.ConditionValue> o) { |
| 755 unittest.expect(o, unittest.hasLength(2)); | 755 unittest.expect(o, unittest.hasLength(2)); |
| 756 checkConditionValue(o[0]); | 756 checkConditionValue(o[0]); |
| 757 checkConditionValue(o[1]); | 757 checkConditionValue(o[1]); |
| 758 } | 758 } |
| 759 | 759 |
| 760 core.int buildCounterBooleanCondition = 0; | 760 core.int buildCounterBooleanCondition = 0; |
| 761 buildBooleanCondition() { | 761 buildBooleanCondition() { |
| 762 var o = new api.BooleanCondition(); | 762 var o = new api.BooleanCondition(); |
| 763 buildCounterBooleanCondition++; | 763 buildCounterBooleanCondition++; |
| 764 if (buildCounterBooleanCondition < 3) { | 764 if (buildCounterBooleanCondition < 3) { |
| 765 o.type = "foo"; | 765 o.type = "foo"; |
| 766 o.values = buildUnnamed3165(); | 766 o.values = buildUnnamed613(); |
| 767 } | 767 } |
| 768 buildCounterBooleanCondition--; | 768 buildCounterBooleanCondition--; |
| 769 return o; | 769 return o; |
| 770 } | 770 } |
| 771 | 771 |
| 772 checkBooleanCondition(api.BooleanCondition o) { | 772 checkBooleanCondition(api.BooleanCondition o) { |
| 773 buildCounterBooleanCondition++; | 773 buildCounterBooleanCondition++; |
| 774 if (buildCounterBooleanCondition < 3) { | 774 if (buildCounterBooleanCondition < 3) { |
| 775 unittest.expect(o.type, unittest.equals('foo')); | 775 unittest.expect(o.type, unittest.equals('foo')); |
| 776 checkUnnamed3165(o.values); | 776 checkUnnamed613(o.values); |
| 777 } | 777 } |
| 778 buildCounterBooleanCondition--; | 778 buildCounterBooleanCondition--; |
| 779 } | 779 } |
| 780 | 780 |
| 781 core.int buildCounterBooleanRule = 0; | 781 core.int buildCounterBooleanRule = 0; |
| 782 buildBooleanRule() { | 782 buildBooleanRule() { |
| 783 var o = new api.BooleanRule(); | 783 var o = new api.BooleanRule(); |
| 784 buildCounterBooleanRule++; | 784 buildCounterBooleanRule++; |
| 785 if (buildCounterBooleanRule < 3) { | 785 if (buildCounterBooleanRule < 3) { |
| 786 o.condition = buildBooleanCondition(); | 786 o.condition = buildBooleanCondition(); |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 840 buildCounterBorders++; | 840 buildCounterBorders++; |
| 841 if (buildCounterBorders < 3) { | 841 if (buildCounterBorders < 3) { |
| 842 checkBorder(o.bottom); | 842 checkBorder(o.bottom); |
| 843 checkBorder(o.left); | 843 checkBorder(o.left); |
| 844 checkBorder(o.right); | 844 checkBorder(o.right); |
| 845 checkBorder(o.top); | 845 checkBorder(o.top); |
| 846 } | 846 } |
| 847 buildCounterBorders--; | 847 buildCounterBorders--; |
| 848 } | 848 } |
| 849 | 849 |
| 850 buildUnnamed3166() { | 850 buildUnnamed614() { |
| 851 var o = new core.List<api.TextFormatRun>(); | 851 var o = new core.List<api.TextFormatRun>(); |
| 852 o.add(buildTextFormatRun()); | 852 o.add(buildTextFormatRun()); |
| 853 o.add(buildTextFormatRun()); | 853 o.add(buildTextFormatRun()); |
| 854 return o; | 854 return o; |
| 855 } | 855 } |
| 856 | 856 |
| 857 checkUnnamed3166(core.List<api.TextFormatRun> o) { | 857 checkUnnamed614(core.List<api.TextFormatRun> o) { |
| 858 unittest.expect(o, unittest.hasLength(2)); | 858 unittest.expect(o, unittest.hasLength(2)); |
| 859 checkTextFormatRun(o[0]); | 859 checkTextFormatRun(o[0]); |
| 860 checkTextFormatRun(o[1]); | 860 checkTextFormatRun(o[1]); |
| 861 } | 861 } |
| 862 | 862 |
| 863 core.int buildCounterCellData = 0; | 863 core.int buildCounterCellData = 0; |
| 864 buildCellData() { | 864 buildCellData() { |
| 865 var o = new api.CellData(); | 865 var o = new api.CellData(); |
| 866 buildCounterCellData++; | 866 buildCounterCellData++; |
| 867 if (buildCounterCellData < 3) { | 867 if (buildCounterCellData < 3) { |
| 868 o.dataValidation = buildDataValidationRule(); | 868 o.dataValidation = buildDataValidationRule(); |
| 869 o.effectiveFormat = buildCellFormat(); | 869 o.effectiveFormat = buildCellFormat(); |
| 870 o.effectiveValue = buildExtendedValue(); | 870 o.effectiveValue = buildExtendedValue(); |
| 871 o.formattedValue = "foo"; | 871 o.formattedValue = "foo"; |
| 872 o.hyperlink = "foo"; | 872 o.hyperlink = "foo"; |
| 873 o.note = "foo"; | 873 o.note = "foo"; |
| 874 o.pivotTable = buildPivotTable(); | 874 o.pivotTable = buildPivotTable(); |
| 875 o.textFormatRuns = buildUnnamed3166(); | 875 o.textFormatRuns = buildUnnamed614(); |
| 876 o.userEnteredFormat = buildCellFormat(); | 876 o.userEnteredFormat = buildCellFormat(); |
| 877 o.userEnteredValue = buildExtendedValue(); | 877 o.userEnteredValue = buildExtendedValue(); |
| 878 } | 878 } |
| 879 buildCounterCellData--; | 879 buildCounterCellData--; |
| 880 return o; | 880 return o; |
| 881 } | 881 } |
| 882 | 882 |
| 883 checkCellData(api.CellData o) { | 883 checkCellData(api.CellData o) { |
| 884 buildCounterCellData++; | 884 buildCounterCellData++; |
| 885 if (buildCounterCellData < 3) { | 885 if (buildCounterCellData < 3) { |
| 886 checkDataValidationRule(o.dataValidation); | 886 checkDataValidationRule(o.dataValidation); |
| 887 checkCellFormat(o.effectiveFormat); | 887 checkCellFormat(o.effectiveFormat); |
| 888 checkExtendedValue(o.effectiveValue); | 888 checkExtendedValue(o.effectiveValue); |
| 889 unittest.expect(o.formattedValue, unittest.equals('foo')); | 889 unittest.expect(o.formattedValue, unittest.equals('foo')); |
| 890 unittest.expect(o.hyperlink, unittest.equals('foo')); | 890 unittest.expect(o.hyperlink, unittest.equals('foo')); |
| 891 unittest.expect(o.note, unittest.equals('foo')); | 891 unittest.expect(o.note, unittest.equals('foo')); |
| 892 checkPivotTable(o.pivotTable); | 892 checkPivotTable(o.pivotTable); |
| 893 checkUnnamed3166(o.textFormatRuns); | 893 checkUnnamed614(o.textFormatRuns); |
| 894 checkCellFormat(o.userEnteredFormat); | 894 checkCellFormat(o.userEnteredFormat); |
| 895 checkExtendedValue(o.userEnteredValue); | 895 checkExtendedValue(o.userEnteredValue); |
| 896 } | 896 } |
| 897 buildCounterCellData--; | 897 buildCounterCellData--; |
| 898 } | 898 } |
| 899 | 899 |
| 900 core.int buildCounterCellFormat = 0; | 900 core.int buildCounterCellFormat = 0; |
| 901 buildCellFormat() { | 901 buildCellFormat() { |
| 902 var o = new api.CellFormat(); | 902 var o = new api.CellFormat(); |
| 903 buildCounterCellFormat++; | 903 buildCounterCellFormat++; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 946 } | 946 } |
| 947 | 947 |
| 948 checkChartData(api.ChartData o) { | 948 checkChartData(api.ChartData o) { |
| 949 buildCounterChartData++; | 949 buildCounterChartData++; |
| 950 if (buildCounterChartData < 3) { | 950 if (buildCounterChartData < 3) { |
| 951 checkChartSourceRange(o.sourceRange); | 951 checkChartSourceRange(o.sourceRange); |
| 952 } | 952 } |
| 953 buildCounterChartData--; | 953 buildCounterChartData--; |
| 954 } | 954 } |
| 955 | 955 |
| 956 buildUnnamed3167() { | 956 buildUnnamed615() { |
| 957 var o = new core.List<api.GridRange>(); | 957 var o = new core.List<api.GridRange>(); |
| 958 o.add(buildGridRange()); | 958 o.add(buildGridRange()); |
| 959 o.add(buildGridRange()); | 959 o.add(buildGridRange()); |
| 960 return o; | 960 return o; |
| 961 } | 961 } |
| 962 | 962 |
| 963 checkUnnamed3167(core.List<api.GridRange> o) { | 963 checkUnnamed615(core.List<api.GridRange> o) { |
| 964 unittest.expect(o, unittest.hasLength(2)); | 964 unittest.expect(o, unittest.hasLength(2)); |
| 965 checkGridRange(o[0]); | 965 checkGridRange(o[0]); |
| 966 checkGridRange(o[1]); | 966 checkGridRange(o[1]); |
| 967 } | 967 } |
| 968 | 968 |
| 969 core.int buildCounterChartSourceRange = 0; | 969 core.int buildCounterChartSourceRange = 0; |
| 970 buildChartSourceRange() { | 970 buildChartSourceRange() { |
| 971 var o = new api.ChartSourceRange(); | 971 var o = new api.ChartSourceRange(); |
| 972 buildCounterChartSourceRange++; | 972 buildCounterChartSourceRange++; |
| 973 if (buildCounterChartSourceRange < 3) { | 973 if (buildCounterChartSourceRange < 3) { |
| 974 o.sources = buildUnnamed3167(); | 974 o.sources = buildUnnamed615(); |
| 975 } | 975 } |
| 976 buildCounterChartSourceRange--; | 976 buildCounterChartSourceRange--; |
| 977 return o; | 977 return o; |
| 978 } | 978 } |
| 979 | 979 |
| 980 checkChartSourceRange(api.ChartSourceRange o) { | 980 checkChartSourceRange(api.ChartSourceRange o) { |
| 981 buildCounterChartSourceRange++; | 981 buildCounterChartSourceRange++; |
| 982 if (buildCounterChartSourceRange < 3) { | 982 if (buildCounterChartSourceRange < 3) { |
| 983 checkUnnamed3167(o.sources); | 983 checkUnnamed615(o.sources); |
| 984 } | 984 } |
| 985 buildCounterChartSourceRange--; | 985 buildCounterChartSourceRange--; |
| 986 } | 986 } |
| 987 | 987 |
| 988 core.int buildCounterChartSpec = 0; | 988 core.int buildCounterChartSpec = 0; |
| 989 buildChartSpec() { | 989 buildChartSpec() { |
| 990 var o = new api.ChartSpec(); | 990 var o = new api.ChartSpec(); |
| 991 buildCounterChartSpec++; | 991 buildCounterChartSpec++; |
| 992 if (buildCounterChartSpec < 3) { | 992 if (buildCounterChartSpec < 3) { |
| 993 o.basicChart = buildBasicChartSpec(); | 993 o.basicChart = buildBasicChartSpec(); |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1068 | 1068 |
| 1069 checkConditionValue(api.ConditionValue o) { | 1069 checkConditionValue(api.ConditionValue o) { |
| 1070 buildCounterConditionValue++; | 1070 buildCounterConditionValue++; |
| 1071 if (buildCounterConditionValue < 3) { | 1071 if (buildCounterConditionValue < 3) { |
| 1072 unittest.expect(o.relativeDate, unittest.equals('foo')); | 1072 unittest.expect(o.relativeDate, unittest.equals('foo')); |
| 1073 unittest.expect(o.userEnteredValue, unittest.equals('foo')); | 1073 unittest.expect(o.userEnteredValue, unittest.equals('foo')); |
| 1074 } | 1074 } |
| 1075 buildCounterConditionValue--; | 1075 buildCounterConditionValue--; |
| 1076 } | 1076 } |
| 1077 | 1077 |
| 1078 buildUnnamed3168() { | 1078 buildUnnamed616() { |
| 1079 var o = new core.List<api.GridRange>(); | 1079 var o = new core.List<api.GridRange>(); |
| 1080 o.add(buildGridRange()); | 1080 o.add(buildGridRange()); |
| 1081 o.add(buildGridRange()); | 1081 o.add(buildGridRange()); |
| 1082 return o; | 1082 return o; |
| 1083 } | 1083 } |
| 1084 | 1084 |
| 1085 checkUnnamed3168(core.List<api.GridRange> o) { | 1085 checkUnnamed616(core.List<api.GridRange> o) { |
| 1086 unittest.expect(o, unittest.hasLength(2)); | 1086 unittest.expect(o, unittest.hasLength(2)); |
| 1087 checkGridRange(o[0]); | 1087 checkGridRange(o[0]); |
| 1088 checkGridRange(o[1]); | 1088 checkGridRange(o[1]); |
| 1089 } | 1089 } |
| 1090 | 1090 |
| 1091 core.int buildCounterConditionalFormatRule = 0; | 1091 core.int buildCounterConditionalFormatRule = 0; |
| 1092 buildConditionalFormatRule() { | 1092 buildConditionalFormatRule() { |
| 1093 var o = new api.ConditionalFormatRule(); | 1093 var o = new api.ConditionalFormatRule(); |
| 1094 buildCounterConditionalFormatRule++; | 1094 buildCounterConditionalFormatRule++; |
| 1095 if (buildCounterConditionalFormatRule < 3) { | 1095 if (buildCounterConditionalFormatRule < 3) { |
| 1096 o.booleanRule = buildBooleanRule(); | 1096 o.booleanRule = buildBooleanRule(); |
| 1097 o.gradientRule = buildGradientRule(); | 1097 o.gradientRule = buildGradientRule(); |
| 1098 o.ranges = buildUnnamed3168(); | 1098 o.ranges = buildUnnamed616(); |
| 1099 } | 1099 } |
| 1100 buildCounterConditionalFormatRule--; | 1100 buildCounterConditionalFormatRule--; |
| 1101 return o; | 1101 return o; |
| 1102 } | 1102 } |
| 1103 | 1103 |
| 1104 checkConditionalFormatRule(api.ConditionalFormatRule o) { | 1104 checkConditionalFormatRule(api.ConditionalFormatRule o) { |
| 1105 buildCounterConditionalFormatRule++; | 1105 buildCounterConditionalFormatRule++; |
| 1106 if (buildCounterConditionalFormatRule < 3) { | 1106 if (buildCounterConditionalFormatRule < 3) { |
| 1107 checkBooleanRule(o.booleanRule); | 1107 checkBooleanRule(o.booleanRule); |
| 1108 checkGradientRule(o.gradientRule); | 1108 checkGradientRule(o.gradientRule); |
| 1109 checkUnnamed3168(o.ranges); | 1109 checkUnnamed616(o.ranges); |
| 1110 } | 1110 } |
| 1111 buildCounterConditionalFormatRule--; | 1111 buildCounterConditionalFormatRule--; |
| 1112 } | 1112 } |
| 1113 | 1113 |
| 1114 core.int buildCounterCopyPasteRequest = 0; | 1114 core.int buildCounterCopyPasteRequest = 0; |
| 1115 buildCopyPasteRequest() { | 1115 buildCopyPasteRequest() { |
| 1116 var o = new api.CopyPasteRequest(); | 1116 var o = new api.CopyPasteRequest(); |
| 1117 buildCounterCopyPasteRequest++; | 1117 buildCounterCopyPasteRequest++; |
| 1118 if (buildCounterCopyPasteRequest < 3) { | 1118 if (buildCounterCopyPasteRequest < 3) { |
| 1119 o.destination = buildGridRange(); | 1119 o.destination = buildGridRange(); |
| (...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1480 } | 1480 } |
| 1481 | 1481 |
| 1482 checkDuplicateSheetResponse(api.DuplicateSheetResponse o) { | 1482 checkDuplicateSheetResponse(api.DuplicateSheetResponse o) { |
| 1483 buildCounterDuplicateSheetResponse++; | 1483 buildCounterDuplicateSheetResponse++; |
| 1484 if (buildCounterDuplicateSheetResponse < 3) { | 1484 if (buildCounterDuplicateSheetResponse < 3) { |
| 1485 checkSheetProperties(o.properties); | 1485 checkSheetProperties(o.properties); |
| 1486 } | 1486 } |
| 1487 buildCounterDuplicateSheetResponse--; | 1487 buildCounterDuplicateSheetResponse--; |
| 1488 } | 1488 } |
| 1489 | 1489 |
| 1490 buildUnnamed3169() { | 1490 buildUnnamed617() { |
| 1491 var o = new core.List<core.String>(); | 1491 var o = new core.List<core.String>(); |
| 1492 o.add("foo"); | 1492 o.add("foo"); |
| 1493 o.add("foo"); | 1493 o.add("foo"); |
| 1494 return o; | 1494 return o; |
| 1495 } | 1495 } |
| 1496 | 1496 |
| 1497 checkUnnamed3169(core.List<core.String> o) { | 1497 checkUnnamed617(core.List<core.String> o) { |
| 1498 unittest.expect(o, unittest.hasLength(2)); | 1498 unittest.expect(o, unittest.hasLength(2)); |
| 1499 unittest.expect(o[0], unittest.equals('foo')); | 1499 unittest.expect(o[0], unittest.equals('foo')); |
| 1500 unittest.expect(o[1], unittest.equals('foo')); | 1500 unittest.expect(o[1], unittest.equals('foo')); |
| 1501 } | 1501 } |
| 1502 | 1502 |
| 1503 buildUnnamed3170() { | 1503 buildUnnamed618() { |
| 1504 var o = new core.List<core.String>(); | 1504 var o = new core.List<core.String>(); |
| 1505 o.add("foo"); | 1505 o.add("foo"); |
| 1506 o.add("foo"); | 1506 o.add("foo"); |
| 1507 return o; | 1507 return o; |
| 1508 } | 1508 } |
| 1509 | 1509 |
| 1510 checkUnnamed3170(core.List<core.String> o) { | 1510 checkUnnamed618(core.List<core.String> o) { |
| 1511 unittest.expect(o, unittest.hasLength(2)); | 1511 unittest.expect(o, unittest.hasLength(2)); |
| 1512 unittest.expect(o[0], unittest.equals('foo')); | 1512 unittest.expect(o[0], unittest.equals('foo')); |
| 1513 unittest.expect(o[1], unittest.equals('foo')); | 1513 unittest.expect(o[1], unittest.equals('foo')); |
| 1514 } | 1514 } |
| 1515 | 1515 |
| 1516 core.int buildCounterEditors = 0; | 1516 core.int buildCounterEditors = 0; |
| 1517 buildEditors() { | 1517 buildEditors() { |
| 1518 var o = new api.Editors(); | 1518 var o = new api.Editors(); |
| 1519 buildCounterEditors++; | 1519 buildCounterEditors++; |
| 1520 if (buildCounterEditors < 3) { | 1520 if (buildCounterEditors < 3) { |
| 1521 o.domainUsersCanEdit = true; | 1521 o.domainUsersCanEdit = true; |
| 1522 o.groups = buildUnnamed3169(); | 1522 o.groups = buildUnnamed617(); |
| 1523 o.users = buildUnnamed3170(); | 1523 o.users = buildUnnamed618(); |
| 1524 } | 1524 } |
| 1525 buildCounterEditors--; | 1525 buildCounterEditors--; |
| 1526 return o; | 1526 return o; |
| 1527 } | 1527 } |
| 1528 | 1528 |
| 1529 checkEditors(api.Editors o) { | 1529 checkEditors(api.Editors o) { |
| 1530 buildCounterEditors++; | 1530 buildCounterEditors++; |
| 1531 if (buildCounterEditors < 3) { | 1531 if (buildCounterEditors < 3) { |
| 1532 unittest.expect(o.domainUsersCanEdit, unittest.isTrue); | 1532 unittest.expect(o.domainUsersCanEdit, unittest.isTrue); |
| 1533 checkUnnamed3169(o.groups); | 1533 checkUnnamed617(o.groups); |
| 1534 checkUnnamed3170(o.users); | 1534 checkUnnamed618(o.users); |
| 1535 } | 1535 } |
| 1536 buildCounterEditors--; | 1536 buildCounterEditors--; |
| 1537 } | 1537 } |
| 1538 | 1538 |
| 1539 core.int buildCounterEmbeddedChart = 0; | 1539 core.int buildCounterEmbeddedChart = 0; |
| 1540 buildEmbeddedChart() { | 1540 buildEmbeddedChart() { |
| 1541 var o = new api.EmbeddedChart(); | 1541 var o = new api.EmbeddedChart(); |
| 1542 buildCounterEmbeddedChart++; | 1542 buildCounterEmbeddedChart++; |
| 1543 if (buildCounterEmbeddedChart < 3) { | 1543 if (buildCounterEmbeddedChart < 3) { |
| 1544 o.chartId = 42; | 1544 o.chartId = 42; |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1623 if (buildCounterExtendedValue < 3) { | 1623 if (buildCounterExtendedValue < 3) { |
| 1624 unittest.expect(o.boolValue, unittest.isTrue); | 1624 unittest.expect(o.boolValue, unittest.isTrue); |
| 1625 checkErrorValue(o.errorValue); | 1625 checkErrorValue(o.errorValue); |
| 1626 unittest.expect(o.formulaValue, unittest.equals('foo')); | 1626 unittest.expect(o.formulaValue, unittest.equals('foo')); |
| 1627 unittest.expect(o.numberValue, unittest.equals(42.0)); | 1627 unittest.expect(o.numberValue, unittest.equals(42.0)); |
| 1628 unittest.expect(o.stringValue, unittest.equals('foo')); | 1628 unittest.expect(o.stringValue, unittest.equals('foo')); |
| 1629 } | 1629 } |
| 1630 buildCounterExtendedValue--; | 1630 buildCounterExtendedValue--; |
| 1631 } | 1631 } |
| 1632 | 1632 |
| 1633 buildUnnamed3171() { | 1633 buildUnnamed619() { |
| 1634 var o = new core.List<core.String>(); | 1634 var o = new core.List<core.String>(); |
| 1635 o.add("foo"); | 1635 o.add("foo"); |
| 1636 o.add("foo"); | 1636 o.add("foo"); |
| 1637 return o; | 1637 return o; |
| 1638 } | 1638 } |
| 1639 | 1639 |
| 1640 checkUnnamed3171(core.List<core.String> o) { | 1640 checkUnnamed619(core.List<core.String> o) { |
| 1641 unittest.expect(o, unittest.hasLength(2)); | 1641 unittest.expect(o, unittest.hasLength(2)); |
| 1642 unittest.expect(o[0], unittest.equals('foo')); | 1642 unittest.expect(o[0], unittest.equals('foo')); |
| 1643 unittest.expect(o[1], unittest.equals('foo')); | 1643 unittest.expect(o[1], unittest.equals('foo')); |
| 1644 } | 1644 } |
| 1645 | 1645 |
| 1646 core.int buildCounterFilterCriteria = 0; | 1646 core.int buildCounterFilterCriteria = 0; |
| 1647 buildFilterCriteria() { | 1647 buildFilterCriteria() { |
| 1648 var o = new api.FilterCriteria(); | 1648 var o = new api.FilterCriteria(); |
| 1649 buildCounterFilterCriteria++; | 1649 buildCounterFilterCriteria++; |
| 1650 if (buildCounterFilterCriteria < 3) { | 1650 if (buildCounterFilterCriteria < 3) { |
| 1651 o.condition = buildBooleanCondition(); | 1651 o.condition = buildBooleanCondition(); |
| 1652 o.hiddenValues = buildUnnamed3171(); | 1652 o.hiddenValues = buildUnnamed619(); |
| 1653 } | 1653 } |
| 1654 buildCounterFilterCriteria--; | 1654 buildCounterFilterCriteria--; |
| 1655 return o; | 1655 return o; |
| 1656 } | 1656 } |
| 1657 | 1657 |
| 1658 checkFilterCriteria(api.FilterCriteria o) { | 1658 checkFilterCriteria(api.FilterCriteria o) { |
| 1659 buildCounterFilterCriteria++; | 1659 buildCounterFilterCriteria++; |
| 1660 if (buildCounterFilterCriteria < 3) { | 1660 if (buildCounterFilterCriteria < 3) { |
| 1661 checkBooleanCondition(o.condition); | 1661 checkBooleanCondition(o.condition); |
| 1662 checkUnnamed3171(o.hiddenValues); | 1662 checkUnnamed619(o.hiddenValues); |
| 1663 } | 1663 } |
| 1664 buildCounterFilterCriteria--; | 1664 buildCounterFilterCriteria--; |
| 1665 } | 1665 } |
| 1666 | 1666 |
| 1667 buildUnnamed3172() { | 1667 buildUnnamed620() { |
| 1668 var o = new core.Map<core.String, api.FilterCriteria>(); | 1668 var o = new core.Map<core.String, api.FilterCriteria>(); |
| 1669 o["x"] = buildFilterCriteria(); | 1669 o["x"] = buildFilterCriteria(); |
| 1670 o["y"] = buildFilterCriteria(); | 1670 o["y"] = buildFilterCriteria(); |
| 1671 return o; | 1671 return o; |
| 1672 } | 1672 } |
| 1673 | 1673 |
| 1674 checkUnnamed3172(core.Map<core.String, api.FilterCriteria> o) { | 1674 checkUnnamed620(core.Map<core.String, api.FilterCriteria> o) { |
| 1675 unittest.expect(o, unittest.hasLength(2)); | 1675 unittest.expect(o, unittest.hasLength(2)); |
| 1676 checkFilterCriteria(o["x"]); | 1676 checkFilterCriteria(o["x"]); |
| 1677 checkFilterCriteria(o["y"]); | 1677 checkFilterCriteria(o["y"]); |
| 1678 } | 1678 } |
| 1679 | 1679 |
| 1680 buildUnnamed3173() { | 1680 buildUnnamed621() { |
| 1681 var o = new core.List<api.SortSpec>(); | 1681 var o = new core.List<api.SortSpec>(); |
| 1682 o.add(buildSortSpec()); | 1682 o.add(buildSortSpec()); |
| 1683 o.add(buildSortSpec()); | 1683 o.add(buildSortSpec()); |
| 1684 return o; | 1684 return o; |
| 1685 } | 1685 } |
| 1686 | 1686 |
| 1687 checkUnnamed3173(core.List<api.SortSpec> o) { | 1687 checkUnnamed621(core.List<api.SortSpec> o) { |
| 1688 unittest.expect(o, unittest.hasLength(2)); | 1688 unittest.expect(o, unittest.hasLength(2)); |
| 1689 checkSortSpec(o[0]); | 1689 checkSortSpec(o[0]); |
| 1690 checkSortSpec(o[1]); | 1690 checkSortSpec(o[1]); |
| 1691 } | 1691 } |
| 1692 | 1692 |
| 1693 core.int buildCounterFilterView = 0; | 1693 core.int buildCounterFilterView = 0; |
| 1694 buildFilterView() { | 1694 buildFilterView() { |
| 1695 var o = new api.FilterView(); | 1695 var o = new api.FilterView(); |
| 1696 buildCounterFilterView++; | 1696 buildCounterFilterView++; |
| 1697 if (buildCounterFilterView < 3) { | 1697 if (buildCounterFilterView < 3) { |
| 1698 o.criteria = buildUnnamed3172(); | 1698 o.criteria = buildUnnamed620(); |
| 1699 o.filterViewId = 42; | 1699 o.filterViewId = 42; |
| 1700 o.namedRangeId = "foo"; | 1700 o.namedRangeId = "foo"; |
| 1701 o.range = buildGridRange(); | 1701 o.range = buildGridRange(); |
| 1702 o.sortSpecs = buildUnnamed3173(); | 1702 o.sortSpecs = buildUnnamed621(); |
| 1703 o.title = "foo"; | 1703 o.title = "foo"; |
| 1704 } | 1704 } |
| 1705 buildCounterFilterView--; | 1705 buildCounterFilterView--; |
| 1706 return o; | 1706 return o; |
| 1707 } | 1707 } |
| 1708 | 1708 |
| 1709 checkFilterView(api.FilterView o) { | 1709 checkFilterView(api.FilterView o) { |
| 1710 buildCounterFilterView++; | 1710 buildCounterFilterView++; |
| 1711 if (buildCounterFilterView < 3) { | 1711 if (buildCounterFilterView < 3) { |
| 1712 checkUnnamed3172(o.criteria); | 1712 checkUnnamed620(o.criteria); |
| 1713 unittest.expect(o.filterViewId, unittest.equals(42)); | 1713 unittest.expect(o.filterViewId, unittest.equals(42)); |
| 1714 unittest.expect(o.namedRangeId, unittest.equals('foo')); | 1714 unittest.expect(o.namedRangeId, unittest.equals('foo')); |
| 1715 checkGridRange(o.range); | 1715 checkGridRange(o.range); |
| 1716 checkUnnamed3173(o.sortSpecs); | 1716 checkUnnamed621(o.sortSpecs); |
| 1717 unittest.expect(o.title, unittest.equals('foo')); | 1717 unittest.expect(o.title, unittest.equals('foo')); |
| 1718 } | 1718 } |
| 1719 buildCounterFilterView--; | 1719 buildCounterFilterView--; |
| 1720 } | 1720 } |
| 1721 | 1721 |
| 1722 core.int buildCounterFindReplaceRequest = 0; | 1722 core.int buildCounterFindReplaceRequest = 0; |
| 1723 buildFindReplaceRequest() { | 1723 buildFindReplaceRequest() { |
| 1724 var o = new api.FindReplaceRequest(); | 1724 var o = new api.FindReplaceRequest(); |
| 1725 buildCounterFindReplaceRequest++; | 1725 buildCounterFindReplaceRequest++; |
| 1726 if (buildCounterFindReplaceRequest < 3) { | 1726 if (buildCounterFindReplaceRequest < 3) { |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1820 checkGridCoordinate(api.GridCoordinate o) { | 1820 checkGridCoordinate(api.GridCoordinate o) { |
| 1821 buildCounterGridCoordinate++; | 1821 buildCounterGridCoordinate++; |
| 1822 if (buildCounterGridCoordinate < 3) { | 1822 if (buildCounterGridCoordinate < 3) { |
| 1823 unittest.expect(o.columnIndex, unittest.equals(42)); | 1823 unittest.expect(o.columnIndex, unittest.equals(42)); |
| 1824 unittest.expect(o.rowIndex, unittest.equals(42)); | 1824 unittest.expect(o.rowIndex, unittest.equals(42)); |
| 1825 unittest.expect(o.sheetId, unittest.equals(42)); | 1825 unittest.expect(o.sheetId, unittest.equals(42)); |
| 1826 } | 1826 } |
| 1827 buildCounterGridCoordinate--; | 1827 buildCounterGridCoordinate--; |
| 1828 } | 1828 } |
| 1829 | 1829 |
| 1830 buildUnnamed3174() { | 1830 buildUnnamed622() { |
| 1831 var o = new core.List<api.DimensionProperties>(); | 1831 var o = new core.List<api.DimensionProperties>(); |
| 1832 o.add(buildDimensionProperties()); | 1832 o.add(buildDimensionProperties()); |
| 1833 o.add(buildDimensionProperties()); | 1833 o.add(buildDimensionProperties()); |
| 1834 return o; | 1834 return o; |
| 1835 } | 1835 } |
| 1836 | 1836 |
| 1837 checkUnnamed3174(core.List<api.DimensionProperties> o) { | 1837 checkUnnamed622(core.List<api.DimensionProperties> o) { |
| 1838 unittest.expect(o, unittest.hasLength(2)); | 1838 unittest.expect(o, unittest.hasLength(2)); |
| 1839 checkDimensionProperties(o[0]); | 1839 checkDimensionProperties(o[0]); |
| 1840 checkDimensionProperties(o[1]); | 1840 checkDimensionProperties(o[1]); |
| 1841 } | 1841 } |
| 1842 | 1842 |
| 1843 buildUnnamed3175() { | 1843 buildUnnamed623() { |
| 1844 var o = new core.List<api.RowData>(); | 1844 var o = new core.List<api.RowData>(); |
| 1845 o.add(buildRowData()); | 1845 o.add(buildRowData()); |
| 1846 o.add(buildRowData()); | 1846 o.add(buildRowData()); |
| 1847 return o; | 1847 return o; |
| 1848 } | 1848 } |
| 1849 | 1849 |
| 1850 checkUnnamed3175(core.List<api.RowData> o) { | 1850 checkUnnamed623(core.List<api.RowData> o) { |
| 1851 unittest.expect(o, unittest.hasLength(2)); | 1851 unittest.expect(o, unittest.hasLength(2)); |
| 1852 checkRowData(o[0]); | 1852 checkRowData(o[0]); |
| 1853 checkRowData(o[1]); | 1853 checkRowData(o[1]); |
| 1854 } | 1854 } |
| 1855 | 1855 |
| 1856 buildUnnamed3176() { | 1856 buildUnnamed624() { |
| 1857 var o = new core.List<api.DimensionProperties>(); | 1857 var o = new core.List<api.DimensionProperties>(); |
| 1858 o.add(buildDimensionProperties()); | 1858 o.add(buildDimensionProperties()); |
| 1859 o.add(buildDimensionProperties()); | 1859 o.add(buildDimensionProperties()); |
| 1860 return o; | 1860 return o; |
| 1861 } | 1861 } |
| 1862 | 1862 |
| 1863 checkUnnamed3176(core.List<api.DimensionProperties> o) { | 1863 checkUnnamed624(core.List<api.DimensionProperties> o) { |
| 1864 unittest.expect(o, unittest.hasLength(2)); | 1864 unittest.expect(o, unittest.hasLength(2)); |
| 1865 checkDimensionProperties(o[0]); | 1865 checkDimensionProperties(o[0]); |
| 1866 checkDimensionProperties(o[1]); | 1866 checkDimensionProperties(o[1]); |
| 1867 } | 1867 } |
| 1868 | 1868 |
| 1869 core.int buildCounterGridData = 0; | 1869 core.int buildCounterGridData = 0; |
| 1870 buildGridData() { | 1870 buildGridData() { |
| 1871 var o = new api.GridData(); | 1871 var o = new api.GridData(); |
| 1872 buildCounterGridData++; | 1872 buildCounterGridData++; |
| 1873 if (buildCounterGridData < 3) { | 1873 if (buildCounterGridData < 3) { |
| 1874 o.columnMetadata = buildUnnamed3174(); | 1874 o.columnMetadata = buildUnnamed622(); |
| 1875 o.rowData = buildUnnamed3175(); | 1875 o.rowData = buildUnnamed623(); |
| 1876 o.rowMetadata = buildUnnamed3176(); | 1876 o.rowMetadata = buildUnnamed624(); |
| 1877 o.startColumn = 42; | 1877 o.startColumn = 42; |
| 1878 o.startRow = 42; | 1878 o.startRow = 42; |
| 1879 } | 1879 } |
| 1880 buildCounterGridData--; | 1880 buildCounterGridData--; |
| 1881 return o; | 1881 return o; |
| 1882 } | 1882 } |
| 1883 | 1883 |
| 1884 checkGridData(api.GridData o) { | 1884 checkGridData(api.GridData o) { |
| 1885 buildCounterGridData++; | 1885 buildCounterGridData++; |
| 1886 if (buildCounterGridData < 3) { | 1886 if (buildCounterGridData < 3) { |
| 1887 checkUnnamed3174(o.columnMetadata); | 1887 checkUnnamed622(o.columnMetadata); |
| 1888 checkUnnamed3175(o.rowData); | 1888 checkUnnamed623(o.rowData); |
| 1889 checkUnnamed3176(o.rowMetadata); | 1889 checkUnnamed624(o.rowMetadata); |
| 1890 unittest.expect(o.startColumn, unittest.equals(42)); | 1890 unittest.expect(o.startColumn, unittest.equals(42)); |
| 1891 unittest.expect(o.startRow, unittest.equals(42)); | 1891 unittest.expect(o.startRow, unittest.equals(42)); |
| 1892 } | 1892 } |
| 1893 buildCounterGridData--; | 1893 buildCounterGridData--; |
| 1894 } | 1894 } |
| 1895 | 1895 |
| 1896 core.int buildCounterGridProperties = 0; | 1896 core.int buildCounterGridProperties = 0; |
| 1897 buildGridProperties() { | 1897 buildGridProperties() { |
| 1898 var o = new api.GridProperties(); | 1898 var o = new api.GridProperties(); |
| 1899 buildCounterGridProperties++; | 1899 buildCounterGridProperties++; |
| (...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2176 if (buildCounterPieChartSpec < 3) { | 2176 if (buildCounterPieChartSpec < 3) { |
| 2177 checkChartData(o.domain); | 2177 checkChartData(o.domain); |
| 2178 unittest.expect(o.legendPosition, unittest.equals('foo')); | 2178 unittest.expect(o.legendPosition, unittest.equals('foo')); |
| 2179 unittest.expect(o.pieHole, unittest.equals(42.0)); | 2179 unittest.expect(o.pieHole, unittest.equals(42.0)); |
| 2180 checkChartData(o.series); | 2180 checkChartData(o.series); |
| 2181 unittest.expect(o.threeDimensional, unittest.isTrue); | 2181 unittest.expect(o.threeDimensional, unittest.isTrue); |
| 2182 } | 2182 } |
| 2183 buildCounterPieChartSpec--; | 2183 buildCounterPieChartSpec--; |
| 2184 } | 2184 } |
| 2185 | 2185 |
| 2186 buildUnnamed3177() { | 2186 buildUnnamed625() { |
| 2187 var o = new core.List<core.String>(); | 2187 var o = new core.List<core.String>(); |
| 2188 o.add("foo"); | 2188 o.add("foo"); |
| 2189 o.add("foo"); | 2189 o.add("foo"); |
| 2190 return o; | 2190 return o; |
| 2191 } | 2191 } |
| 2192 | 2192 |
| 2193 checkUnnamed3177(core.List<core.String> o) { | 2193 checkUnnamed625(core.List<core.String> o) { |
| 2194 unittest.expect(o, unittest.hasLength(2)); | 2194 unittest.expect(o, unittest.hasLength(2)); |
| 2195 unittest.expect(o[0], unittest.equals('foo')); | 2195 unittest.expect(o[0], unittest.equals('foo')); |
| 2196 unittest.expect(o[1], unittest.equals('foo')); | 2196 unittest.expect(o[1], unittest.equals('foo')); |
| 2197 } | 2197 } |
| 2198 | 2198 |
| 2199 core.int buildCounterPivotFilterCriteria = 0; | 2199 core.int buildCounterPivotFilterCriteria = 0; |
| 2200 buildPivotFilterCriteria() { | 2200 buildPivotFilterCriteria() { |
| 2201 var o = new api.PivotFilterCriteria(); | 2201 var o = new api.PivotFilterCriteria(); |
| 2202 buildCounterPivotFilterCriteria++; | 2202 buildCounterPivotFilterCriteria++; |
| 2203 if (buildCounterPivotFilterCriteria < 3) { | 2203 if (buildCounterPivotFilterCriteria < 3) { |
| 2204 o.visibleValues = buildUnnamed3177(); | 2204 o.visibleValues = buildUnnamed625(); |
| 2205 } | 2205 } |
| 2206 buildCounterPivotFilterCriteria--; | 2206 buildCounterPivotFilterCriteria--; |
| 2207 return o; | 2207 return o; |
| 2208 } | 2208 } |
| 2209 | 2209 |
| 2210 checkPivotFilterCriteria(api.PivotFilterCriteria o) { | 2210 checkPivotFilterCriteria(api.PivotFilterCriteria o) { |
| 2211 buildCounterPivotFilterCriteria++; | 2211 buildCounterPivotFilterCriteria++; |
| 2212 if (buildCounterPivotFilterCriteria < 3) { | 2212 if (buildCounterPivotFilterCriteria < 3) { |
| 2213 checkUnnamed3177(o.visibleValues); | 2213 checkUnnamed625(o.visibleValues); |
| 2214 } | 2214 } |
| 2215 buildCounterPivotFilterCriteria--; | 2215 buildCounterPivotFilterCriteria--; |
| 2216 } | 2216 } |
| 2217 | 2217 |
| 2218 buildUnnamed3178() { | 2218 buildUnnamed626() { |
| 2219 var o = new core.List<api.PivotGroupValueMetadata>(); | 2219 var o = new core.List<api.PivotGroupValueMetadata>(); |
| 2220 o.add(buildPivotGroupValueMetadata()); | 2220 o.add(buildPivotGroupValueMetadata()); |
| 2221 o.add(buildPivotGroupValueMetadata()); | 2221 o.add(buildPivotGroupValueMetadata()); |
| 2222 return o; | 2222 return o; |
| 2223 } | 2223 } |
| 2224 | 2224 |
| 2225 checkUnnamed3178(core.List<api.PivotGroupValueMetadata> o) { | 2225 checkUnnamed626(core.List<api.PivotGroupValueMetadata> o) { |
| 2226 unittest.expect(o, unittest.hasLength(2)); | 2226 unittest.expect(o, unittest.hasLength(2)); |
| 2227 checkPivotGroupValueMetadata(o[0]); | 2227 checkPivotGroupValueMetadata(o[0]); |
| 2228 checkPivotGroupValueMetadata(o[1]); | 2228 checkPivotGroupValueMetadata(o[1]); |
| 2229 } | 2229 } |
| 2230 | 2230 |
| 2231 core.int buildCounterPivotGroup = 0; | 2231 core.int buildCounterPivotGroup = 0; |
| 2232 buildPivotGroup() { | 2232 buildPivotGroup() { |
| 2233 var o = new api.PivotGroup(); | 2233 var o = new api.PivotGroup(); |
| 2234 buildCounterPivotGroup++; | 2234 buildCounterPivotGroup++; |
| 2235 if (buildCounterPivotGroup < 3) { | 2235 if (buildCounterPivotGroup < 3) { |
| 2236 o.showTotals = true; | 2236 o.showTotals = true; |
| 2237 o.sortOrder = "foo"; | 2237 o.sortOrder = "foo"; |
| 2238 o.sourceColumnOffset = 42; | 2238 o.sourceColumnOffset = 42; |
| 2239 o.valueBucket = buildPivotGroupSortValueBucket(); | 2239 o.valueBucket = buildPivotGroupSortValueBucket(); |
| 2240 o.valueMetadata = buildUnnamed3178(); | 2240 o.valueMetadata = buildUnnamed626(); |
| 2241 } | 2241 } |
| 2242 buildCounterPivotGroup--; | 2242 buildCounterPivotGroup--; |
| 2243 return o; | 2243 return o; |
| 2244 } | 2244 } |
| 2245 | 2245 |
| 2246 checkPivotGroup(api.PivotGroup o) { | 2246 checkPivotGroup(api.PivotGroup o) { |
| 2247 buildCounterPivotGroup++; | 2247 buildCounterPivotGroup++; |
| 2248 if (buildCounterPivotGroup < 3) { | 2248 if (buildCounterPivotGroup < 3) { |
| 2249 unittest.expect(o.showTotals, unittest.isTrue); | 2249 unittest.expect(o.showTotals, unittest.isTrue); |
| 2250 unittest.expect(o.sortOrder, unittest.equals('foo')); | 2250 unittest.expect(o.sortOrder, unittest.equals('foo')); |
| 2251 unittest.expect(o.sourceColumnOffset, unittest.equals(42)); | 2251 unittest.expect(o.sourceColumnOffset, unittest.equals(42)); |
| 2252 checkPivotGroupSortValueBucket(o.valueBucket); | 2252 checkPivotGroupSortValueBucket(o.valueBucket); |
| 2253 checkUnnamed3178(o.valueMetadata); | 2253 checkUnnamed626(o.valueMetadata); |
| 2254 } | 2254 } |
| 2255 buildCounterPivotGroup--; | 2255 buildCounterPivotGroup--; |
| 2256 } | 2256 } |
| 2257 | 2257 |
| 2258 buildUnnamed3179() { | 2258 buildUnnamed627() { |
| 2259 var o = new core.List<api.ExtendedValue>(); | 2259 var o = new core.List<api.ExtendedValue>(); |
| 2260 o.add(buildExtendedValue()); | 2260 o.add(buildExtendedValue()); |
| 2261 o.add(buildExtendedValue()); | 2261 o.add(buildExtendedValue()); |
| 2262 return o; | 2262 return o; |
| 2263 } | 2263 } |
| 2264 | 2264 |
| 2265 checkUnnamed3179(core.List<api.ExtendedValue> o) { | 2265 checkUnnamed627(core.List<api.ExtendedValue> o) { |
| 2266 unittest.expect(o, unittest.hasLength(2)); | 2266 unittest.expect(o, unittest.hasLength(2)); |
| 2267 checkExtendedValue(o[0]); | 2267 checkExtendedValue(o[0]); |
| 2268 checkExtendedValue(o[1]); | 2268 checkExtendedValue(o[1]); |
| 2269 } | 2269 } |
| 2270 | 2270 |
| 2271 core.int buildCounterPivotGroupSortValueBucket = 0; | 2271 core.int buildCounterPivotGroupSortValueBucket = 0; |
| 2272 buildPivotGroupSortValueBucket() { | 2272 buildPivotGroupSortValueBucket() { |
| 2273 var o = new api.PivotGroupSortValueBucket(); | 2273 var o = new api.PivotGroupSortValueBucket(); |
| 2274 buildCounterPivotGroupSortValueBucket++; | 2274 buildCounterPivotGroupSortValueBucket++; |
| 2275 if (buildCounterPivotGroupSortValueBucket < 3) { | 2275 if (buildCounterPivotGroupSortValueBucket < 3) { |
| 2276 o.buckets = buildUnnamed3179(); | 2276 o.buckets = buildUnnamed627(); |
| 2277 o.valuesIndex = 42; | 2277 o.valuesIndex = 42; |
| 2278 } | 2278 } |
| 2279 buildCounterPivotGroupSortValueBucket--; | 2279 buildCounterPivotGroupSortValueBucket--; |
| 2280 return o; | 2280 return o; |
| 2281 } | 2281 } |
| 2282 | 2282 |
| 2283 checkPivotGroupSortValueBucket(api.PivotGroupSortValueBucket o) { | 2283 checkPivotGroupSortValueBucket(api.PivotGroupSortValueBucket o) { |
| 2284 buildCounterPivotGroupSortValueBucket++; | 2284 buildCounterPivotGroupSortValueBucket++; |
| 2285 if (buildCounterPivotGroupSortValueBucket < 3) { | 2285 if (buildCounterPivotGroupSortValueBucket < 3) { |
| 2286 checkUnnamed3179(o.buckets); | 2286 checkUnnamed627(o.buckets); |
| 2287 unittest.expect(o.valuesIndex, unittest.equals(42)); | 2287 unittest.expect(o.valuesIndex, unittest.equals(42)); |
| 2288 } | 2288 } |
| 2289 buildCounterPivotGroupSortValueBucket--; | 2289 buildCounterPivotGroupSortValueBucket--; |
| 2290 } | 2290 } |
| 2291 | 2291 |
| 2292 core.int buildCounterPivotGroupValueMetadata = 0; | 2292 core.int buildCounterPivotGroupValueMetadata = 0; |
| 2293 buildPivotGroupValueMetadata() { | 2293 buildPivotGroupValueMetadata() { |
| 2294 var o = new api.PivotGroupValueMetadata(); | 2294 var o = new api.PivotGroupValueMetadata(); |
| 2295 buildCounterPivotGroupValueMetadata++; | 2295 buildCounterPivotGroupValueMetadata++; |
| 2296 if (buildCounterPivotGroupValueMetadata < 3) { | 2296 if (buildCounterPivotGroupValueMetadata < 3) { |
| 2297 o.collapsed = true; | 2297 o.collapsed = true; |
| 2298 o.value = buildExtendedValue(); | 2298 o.value = buildExtendedValue(); |
| 2299 } | 2299 } |
| 2300 buildCounterPivotGroupValueMetadata--; | 2300 buildCounterPivotGroupValueMetadata--; |
| 2301 return o; | 2301 return o; |
| 2302 } | 2302 } |
| 2303 | 2303 |
| 2304 checkPivotGroupValueMetadata(api.PivotGroupValueMetadata o) { | 2304 checkPivotGroupValueMetadata(api.PivotGroupValueMetadata o) { |
| 2305 buildCounterPivotGroupValueMetadata++; | 2305 buildCounterPivotGroupValueMetadata++; |
| 2306 if (buildCounterPivotGroupValueMetadata < 3) { | 2306 if (buildCounterPivotGroupValueMetadata < 3) { |
| 2307 unittest.expect(o.collapsed, unittest.isTrue); | 2307 unittest.expect(o.collapsed, unittest.isTrue); |
| 2308 checkExtendedValue(o.value); | 2308 checkExtendedValue(o.value); |
| 2309 } | 2309 } |
| 2310 buildCounterPivotGroupValueMetadata--; | 2310 buildCounterPivotGroupValueMetadata--; |
| 2311 } | 2311 } |
| 2312 | 2312 |
| 2313 buildUnnamed3180() { | 2313 buildUnnamed628() { |
| 2314 var o = new core.List<api.PivotGroup>(); | 2314 var o = new core.List<api.PivotGroup>(); |
| 2315 o.add(buildPivotGroup()); | 2315 o.add(buildPivotGroup()); |
| 2316 o.add(buildPivotGroup()); | 2316 o.add(buildPivotGroup()); |
| 2317 return o; | 2317 return o; |
| 2318 } | 2318 } |
| 2319 | 2319 |
| 2320 checkUnnamed3180(core.List<api.PivotGroup> o) { | 2320 checkUnnamed628(core.List<api.PivotGroup> o) { |
| 2321 unittest.expect(o, unittest.hasLength(2)); | 2321 unittest.expect(o, unittest.hasLength(2)); |
| 2322 checkPivotGroup(o[0]); | 2322 checkPivotGroup(o[0]); |
| 2323 checkPivotGroup(o[1]); | 2323 checkPivotGroup(o[1]); |
| 2324 } | 2324 } |
| 2325 | 2325 |
| 2326 buildUnnamed3181() { | 2326 buildUnnamed629() { |
| 2327 var o = new core.Map<core.String, api.PivotFilterCriteria>(); | 2327 var o = new core.Map<core.String, api.PivotFilterCriteria>(); |
| 2328 o["x"] = buildPivotFilterCriteria(); | 2328 o["x"] = buildPivotFilterCriteria(); |
| 2329 o["y"] = buildPivotFilterCriteria(); | 2329 o["y"] = buildPivotFilterCriteria(); |
| 2330 return o; | 2330 return o; |
| 2331 } | 2331 } |
| 2332 | 2332 |
| 2333 checkUnnamed3181(core.Map<core.String, api.PivotFilterCriteria> o) { | 2333 checkUnnamed629(core.Map<core.String, api.PivotFilterCriteria> o) { |
| 2334 unittest.expect(o, unittest.hasLength(2)); | 2334 unittest.expect(o, unittest.hasLength(2)); |
| 2335 checkPivotFilterCriteria(o["x"]); | 2335 checkPivotFilterCriteria(o["x"]); |
| 2336 checkPivotFilterCriteria(o["y"]); | 2336 checkPivotFilterCriteria(o["y"]); |
| 2337 } | 2337 } |
| 2338 | 2338 |
| 2339 buildUnnamed3182() { | 2339 buildUnnamed630() { |
| 2340 var o = new core.List<api.PivotGroup>(); | 2340 var o = new core.List<api.PivotGroup>(); |
| 2341 o.add(buildPivotGroup()); | 2341 o.add(buildPivotGroup()); |
| 2342 o.add(buildPivotGroup()); | 2342 o.add(buildPivotGroup()); |
| 2343 return o; | 2343 return o; |
| 2344 } | 2344 } |
| 2345 | 2345 |
| 2346 checkUnnamed3182(core.List<api.PivotGroup> o) { | 2346 checkUnnamed630(core.List<api.PivotGroup> o) { |
| 2347 unittest.expect(o, unittest.hasLength(2)); | 2347 unittest.expect(o, unittest.hasLength(2)); |
| 2348 checkPivotGroup(o[0]); | 2348 checkPivotGroup(o[0]); |
| 2349 checkPivotGroup(o[1]); | 2349 checkPivotGroup(o[1]); |
| 2350 } | 2350 } |
| 2351 | 2351 |
| 2352 buildUnnamed3183() { | 2352 buildUnnamed631() { |
| 2353 var o = new core.List<api.PivotValue>(); | 2353 var o = new core.List<api.PivotValue>(); |
| 2354 o.add(buildPivotValue()); | 2354 o.add(buildPivotValue()); |
| 2355 o.add(buildPivotValue()); | 2355 o.add(buildPivotValue()); |
| 2356 return o; | 2356 return o; |
| 2357 } | 2357 } |
| 2358 | 2358 |
| 2359 checkUnnamed3183(core.List<api.PivotValue> o) { | 2359 checkUnnamed631(core.List<api.PivotValue> o) { |
| 2360 unittest.expect(o, unittest.hasLength(2)); | 2360 unittest.expect(o, unittest.hasLength(2)); |
| 2361 checkPivotValue(o[0]); | 2361 checkPivotValue(o[0]); |
| 2362 checkPivotValue(o[1]); | 2362 checkPivotValue(o[1]); |
| 2363 } | 2363 } |
| 2364 | 2364 |
| 2365 core.int buildCounterPivotTable = 0; | 2365 core.int buildCounterPivotTable = 0; |
| 2366 buildPivotTable() { | 2366 buildPivotTable() { |
| 2367 var o = new api.PivotTable(); | 2367 var o = new api.PivotTable(); |
| 2368 buildCounterPivotTable++; | 2368 buildCounterPivotTable++; |
| 2369 if (buildCounterPivotTable < 3) { | 2369 if (buildCounterPivotTable < 3) { |
| 2370 o.columns = buildUnnamed3180(); | 2370 o.columns = buildUnnamed628(); |
| 2371 o.criteria = buildUnnamed3181(); | 2371 o.criteria = buildUnnamed629(); |
| 2372 o.rows = buildUnnamed3182(); | 2372 o.rows = buildUnnamed630(); |
| 2373 o.source = buildGridRange(); | 2373 o.source = buildGridRange(); |
| 2374 o.valueLayout = "foo"; | 2374 o.valueLayout = "foo"; |
| 2375 o.values = buildUnnamed3183(); | 2375 o.values = buildUnnamed631(); |
| 2376 } | 2376 } |
| 2377 buildCounterPivotTable--; | 2377 buildCounterPivotTable--; |
| 2378 return o; | 2378 return o; |
| 2379 } | 2379 } |
| 2380 | 2380 |
| 2381 checkPivotTable(api.PivotTable o) { | 2381 checkPivotTable(api.PivotTable o) { |
| 2382 buildCounterPivotTable++; | 2382 buildCounterPivotTable++; |
| 2383 if (buildCounterPivotTable < 3) { | 2383 if (buildCounterPivotTable < 3) { |
| 2384 checkUnnamed3180(o.columns); | 2384 checkUnnamed628(o.columns); |
| 2385 checkUnnamed3181(o.criteria); | 2385 checkUnnamed629(o.criteria); |
| 2386 checkUnnamed3182(o.rows); | 2386 checkUnnamed630(o.rows); |
| 2387 checkGridRange(o.source); | 2387 checkGridRange(o.source); |
| 2388 unittest.expect(o.valueLayout, unittest.equals('foo')); | 2388 unittest.expect(o.valueLayout, unittest.equals('foo')); |
| 2389 checkUnnamed3183(o.values); | 2389 checkUnnamed631(o.values); |
| 2390 } | 2390 } |
| 2391 buildCounterPivotTable--; | 2391 buildCounterPivotTable--; |
| 2392 } | 2392 } |
| 2393 | 2393 |
| 2394 core.int buildCounterPivotValue = 0; | 2394 core.int buildCounterPivotValue = 0; |
| 2395 buildPivotValue() { | 2395 buildPivotValue() { |
| 2396 var o = new api.PivotValue(); | 2396 var o = new api.PivotValue(); |
| 2397 buildCounterPivotValue++; | 2397 buildCounterPivotValue++; |
| 2398 if (buildCounterPivotValue < 3) { | 2398 if (buildCounterPivotValue < 3) { |
| 2399 o.formula = "foo"; | 2399 o.formula = "foo"; |
| 2400 o.name = "foo"; | 2400 o.name = "foo"; |
| 2401 o.sourceColumnOffset = 42; | 2401 o.sourceColumnOffset = 42; |
| 2402 o.summarizeFunction = "foo"; | 2402 o.summarizeFunction = "foo"; |
| 2403 } | 2403 } |
| 2404 buildCounterPivotValue--; | 2404 buildCounterPivotValue--; |
| 2405 return o; | 2405 return o; |
| 2406 } | 2406 } |
| 2407 | 2407 |
| 2408 checkPivotValue(api.PivotValue o) { | 2408 checkPivotValue(api.PivotValue o) { |
| 2409 buildCounterPivotValue++; | 2409 buildCounterPivotValue++; |
| 2410 if (buildCounterPivotValue < 3) { | 2410 if (buildCounterPivotValue < 3) { |
| 2411 unittest.expect(o.formula, unittest.equals('foo')); | 2411 unittest.expect(o.formula, unittest.equals('foo')); |
| 2412 unittest.expect(o.name, unittest.equals('foo')); | 2412 unittest.expect(o.name, unittest.equals('foo')); |
| 2413 unittest.expect(o.sourceColumnOffset, unittest.equals(42)); | 2413 unittest.expect(o.sourceColumnOffset, unittest.equals(42)); |
| 2414 unittest.expect(o.summarizeFunction, unittest.equals('foo')); | 2414 unittest.expect(o.summarizeFunction, unittest.equals('foo')); |
| 2415 } | 2415 } |
| 2416 buildCounterPivotValue--; | 2416 buildCounterPivotValue--; |
| 2417 } | 2417 } |
| 2418 | 2418 |
| 2419 buildUnnamed3184() { | 2419 buildUnnamed632() { |
| 2420 var o = new core.List<api.GridRange>(); | 2420 var o = new core.List<api.GridRange>(); |
| 2421 o.add(buildGridRange()); | 2421 o.add(buildGridRange()); |
| 2422 o.add(buildGridRange()); | 2422 o.add(buildGridRange()); |
| 2423 return o; | 2423 return o; |
| 2424 } | 2424 } |
| 2425 | 2425 |
| 2426 checkUnnamed3184(core.List<api.GridRange> o) { | 2426 checkUnnamed632(core.List<api.GridRange> o) { |
| 2427 unittest.expect(o, unittest.hasLength(2)); | 2427 unittest.expect(o, unittest.hasLength(2)); |
| 2428 checkGridRange(o[0]); | 2428 checkGridRange(o[0]); |
| 2429 checkGridRange(o[1]); | 2429 checkGridRange(o[1]); |
| 2430 } | 2430 } |
| 2431 | 2431 |
| 2432 core.int buildCounterProtectedRange = 0; | 2432 core.int buildCounterProtectedRange = 0; |
| 2433 buildProtectedRange() { | 2433 buildProtectedRange() { |
| 2434 var o = new api.ProtectedRange(); | 2434 var o = new api.ProtectedRange(); |
| 2435 buildCounterProtectedRange++; | 2435 buildCounterProtectedRange++; |
| 2436 if (buildCounterProtectedRange < 3) { | 2436 if (buildCounterProtectedRange < 3) { |
| 2437 o.description = "foo"; | 2437 o.description = "foo"; |
| 2438 o.editors = buildEditors(); | 2438 o.editors = buildEditors(); |
| 2439 o.namedRangeId = "foo"; | 2439 o.namedRangeId = "foo"; |
| 2440 o.protectedRangeId = 42; | 2440 o.protectedRangeId = 42; |
| 2441 o.range = buildGridRange(); | 2441 o.range = buildGridRange(); |
| 2442 o.requestingUserCanEdit = true; | 2442 o.requestingUserCanEdit = true; |
| 2443 o.unprotectedRanges = buildUnnamed3184(); | 2443 o.unprotectedRanges = buildUnnamed632(); |
| 2444 o.warningOnly = true; | 2444 o.warningOnly = true; |
| 2445 } | 2445 } |
| 2446 buildCounterProtectedRange--; | 2446 buildCounterProtectedRange--; |
| 2447 return o; | 2447 return o; |
| 2448 } | 2448 } |
| 2449 | 2449 |
| 2450 checkProtectedRange(api.ProtectedRange o) { | 2450 checkProtectedRange(api.ProtectedRange o) { |
| 2451 buildCounterProtectedRange++; | 2451 buildCounterProtectedRange++; |
| 2452 if (buildCounterProtectedRange < 3) { | 2452 if (buildCounterProtectedRange < 3) { |
| 2453 unittest.expect(o.description, unittest.equals('foo')); | 2453 unittest.expect(o.description, unittest.equals('foo')); |
| 2454 checkEditors(o.editors); | 2454 checkEditors(o.editors); |
| 2455 unittest.expect(o.namedRangeId, unittest.equals('foo')); | 2455 unittest.expect(o.namedRangeId, unittest.equals('foo')); |
| 2456 unittest.expect(o.protectedRangeId, unittest.equals(42)); | 2456 unittest.expect(o.protectedRangeId, unittest.equals(42)); |
| 2457 checkGridRange(o.range); | 2457 checkGridRange(o.range); |
| 2458 unittest.expect(o.requestingUserCanEdit, unittest.isTrue); | 2458 unittest.expect(o.requestingUserCanEdit, unittest.isTrue); |
| 2459 checkUnnamed3184(o.unprotectedRanges); | 2459 checkUnnamed632(o.unprotectedRanges); |
| 2460 unittest.expect(o.warningOnly, unittest.isTrue); | 2460 unittest.expect(o.warningOnly, unittest.isTrue); |
| 2461 } | 2461 } |
| 2462 buildCounterProtectedRange--; | 2462 buildCounterProtectedRange--; |
| 2463 } | 2463 } |
| 2464 | 2464 |
| 2465 core.int buildCounterRepeatCellRequest = 0; | 2465 core.int buildCounterRepeatCellRequest = 0; |
| 2466 buildRepeatCellRequest() { | 2466 buildRepeatCellRequest() { |
| 2467 var o = new api.RepeatCellRequest(); | 2467 var o = new api.RepeatCellRequest(); |
| 2468 buildCounterRepeatCellRequest++; | 2468 buildCounterRepeatCellRequest++; |
| 2469 if (buildCounterRepeatCellRequest < 3) { | 2469 if (buildCounterRepeatCellRequest < 3) { |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2622 checkDeleteConditionalFormatRuleResponse(o.deleteConditionalFormatRule); | 2622 checkDeleteConditionalFormatRuleResponse(o.deleteConditionalFormatRule); |
| 2623 checkDuplicateFilterViewResponse(o.duplicateFilterView); | 2623 checkDuplicateFilterViewResponse(o.duplicateFilterView); |
| 2624 checkDuplicateSheetResponse(o.duplicateSheet); | 2624 checkDuplicateSheetResponse(o.duplicateSheet); |
| 2625 checkFindReplaceResponse(o.findReplace); | 2625 checkFindReplaceResponse(o.findReplace); |
| 2626 checkUpdateConditionalFormatRuleResponse(o.updateConditionalFormatRule); | 2626 checkUpdateConditionalFormatRuleResponse(o.updateConditionalFormatRule); |
| 2627 checkUpdateEmbeddedObjectPositionResponse(o.updateEmbeddedObjectPosition); | 2627 checkUpdateEmbeddedObjectPositionResponse(o.updateEmbeddedObjectPosition); |
| 2628 } | 2628 } |
| 2629 buildCounterResponse--; | 2629 buildCounterResponse--; |
| 2630 } | 2630 } |
| 2631 | 2631 |
| 2632 buildUnnamed3185() { | 2632 buildUnnamed633() { |
| 2633 var o = new core.List<api.CellData>(); | 2633 var o = new core.List<api.CellData>(); |
| 2634 o.add(buildCellData()); | 2634 o.add(buildCellData()); |
| 2635 o.add(buildCellData()); | 2635 o.add(buildCellData()); |
| 2636 return o; | 2636 return o; |
| 2637 } | 2637 } |
| 2638 | 2638 |
| 2639 checkUnnamed3185(core.List<api.CellData> o) { | 2639 checkUnnamed633(core.List<api.CellData> o) { |
| 2640 unittest.expect(o, unittest.hasLength(2)); | 2640 unittest.expect(o, unittest.hasLength(2)); |
| 2641 checkCellData(o[0]); | 2641 checkCellData(o[0]); |
| 2642 checkCellData(o[1]); | 2642 checkCellData(o[1]); |
| 2643 } | 2643 } |
| 2644 | 2644 |
| 2645 core.int buildCounterRowData = 0; | 2645 core.int buildCounterRowData = 0; |
| 2646 buildRowData() { | 2646 buildRowData() { |
| 2647 var o = new api.RowData(); | 2647 var o = new api.RowData(); |
| 2648 buildCounterRowData++; | 2648 buildCounterRowData++; |
| 2649 if (buildCounterRowData < 3) { | 2649 if (buildCounterRowData < 3) { |
| 2650 o.values = buildUnnamed3185(); | 2650 o.values = buildUnnamed633(); |
| 2651 } | 2651 } |
| 2652 buildCounterRowData--; | 2652 buildCounterRowData--; |
| 2653 return o; | 2653 return o; |
| 2654 } | 2654 } |
| 2655 | 2655 |
| 2656 checkRowData(api.RowData o) { | 2656 checkRowData(api.RowData o) { |
| 2657 buildCounterRowData++; | 2657 buildCounterRowData++; |
| 2658 if (buildCounterRowData < 3) { | 2658 if (buildCounterRowData < 3) { |
| 2659 checkUnnamed3185(o.values); | 2659 checkUnnamed633(o.values); |
| 2660 } | 2660 } |
| 2661 buildCounterRowData--; | 2661 buildCounterRowData--; |
| 2662 } | 2662 } |
| 2663 | 2663 |
| 2664 core.int buildCounterSetBasicFilterRequest = 0; | 2664 core.int buildCounterSetBasicFilterRequest = 0; |
| 2665 buildSetBasicFilterRequest() { | 2665 buildSetBasicFilterRequest() { |
| 2666 var o = new api.SetBasicFilterRequest(); | 2666 var o = new api.SetBasicFilterRequest(); |
| 2667 buildCounterSetBasicFilterRequest++; | 2667 buildCounterSetBasicFilterRequest++; |
| 2668 if (buildCounterSetBasicFilterRequest < 3) { | 2668 if (buildCounterSetBasicFilterRequest < 3) { |
| 2669 o.filter = buildBasicFilter(); | 2669 o.filter = buildBasicFilter(); |
| (...skipping 24 matching lines...) Expand all Loading... |
| 2694 | 2694 |
| 2695 checkSetDataValidationRequest(api.SetDataValidationRequest o) { | 2695 checkSetDataValidationRequest(api.SetDataValidationRequest o) { |
| 2696 buildCounterSetDataValidationRequest++; | 2696 buildCounterSetDataValidationRequest++; |
| 2697 if (buildCounterSetDataValidationRequest < 3) { | 2697 if (buildCounterSetDataValidationRequest < 3) { |
| 2698 checkGridRange(o.range); | 2698 checkGridRange(o.range); |
| 2699 checkDataValidationRule(o.rule); | 2699 checkDataValidationRule(o.rule); |
| 2700 } | 2700 } |
| 2701 buildCounterSetDataValidationRequest--; | 2701 buildCounterSetDataValidationRequest--; |
| 2702 } | 2702 } |
| 2703 | 2703 |
| 2704 buildUnnamed3186() { | 2704 buildUnnamed634() { |
| 2705 var o = new core.List<api.EmbeddedChart>(); | 2705 var o = new core.List<api.EmbeddedChart>(); |
| 2706 o.add(buildEmbeddedChart()); | 2706 o.add(buildEmbeddedChart()); |
| 2707 o.add(buildEmbeddedChart()); | 2707 o.add(buildEmbeddedChart()); |
| 2708 return o; | 2708 return o; |
| 2709 } | 2709 } |
| 2710 | 2710 |
| 2711 checkUnnamed3186(core.List<api.EmbeddedChart> o) { | 2711 checkUnnamed634(core.List<api.EmbeddedChart> o) { |
| 2712 unittest.expect(o, unittest.hasLength(2)); | 2712 unittest.expect(o, unittest.hasLength(2)); |
| 2713 checkEmbeddedChart(o[0]); | 2713 checkEmbeddedChart(o[0]); |
| 2714 checkEmbeddedChart(o[1]); | 2714 checkEmbeddedChart(o[1]); |
| 2715 } | 2715 } |
| 2716 | 2716 |
| 2717 buildUnnamed3187() { | 2717 buildUnnamed635() { |
| 2718 var o = new core.List<api.ConditionalFormatRule>(); | 2718 var o = new core.List<api.ConditionalFormatRule>(); |
| 2719 o.add(buildConditionalFormatRule()); | 2719 o.add(buildConditionalFormatRule()); |
| 2720 o.add(buildConditionalFormatRule()); | 2720 o.add(buildConditionalFormatRule()); |
| 2721 return o; | 2721 return o; |
| 2722 } | 2722 } |
| 2723 | 2723 |
| 2724 checkUnnamed3187(core.List<api.ConditionalFormatRule> o) { | 2724 checkUnnamed635(core.List<api.ConditionalFormatRule> o) { |
| 2725 unittest.expect(o, unittest.hasLength(2)); | 2725 unittest.expect(o, unittest.hasLength(2)); |
| 2726 checkConditionalFormatRule(o[0]); | 2726 checkConditionalFormatRule(o[0]); |
| 2727 checkConditionalFormatRule(o[1]); | 2727 checkConditionalFormatRule(o[1]); |
| 2728 } | 2728 } |
| 2729 | 2729 |
| 2730 buildUnnamed3188() { | 2730 buildUnnamed636() { |
| 2731 var o = new core.List<api.GridData>(); | 2731 var o = new core.List<api.GridData>(); |
| 2732 o.add(buildGridData()); | 2732 o.add(buildGridData()); |
| 2733 o.add(buildGridData()); | 2733 o.add(buildGridData()); |
| 2734 return o; | 2734 return o; |
| 2735 } | 2735 } |
| 2736 | 2736 |
| 2737 checkUnnamed3188(core.List<api.GridData> o) { | 2737 checkUnnamed636(core.List<api.GridData> o) { |
| 2738 unittest.expect(o, unittest.hasLength(2)); | 2738 unittest.expect(o, unittest.hasLength(2)); |
| 2739 checkGridData(o[0]); | 2739 checkGridData(o[0]); |
| 2740 checkGridData(o[1]); | 2740 checkGridData(o[1]); |
| 2741 } | 2741 } |
| 2742 | 2742 |
| 2743 buildUnnamed3189() { | 2743 buildUnnamed637() { |
| 2744 var o = new core.List<api.FilterView>(); | 2744 var o = new core.List<api.FilterView>(); |
| 2745 o.add(buildFilterView()); | 2745 o.add(buildFilterView()); |
| 2746 o.add(buildFilterView()); | 2746 o.add(buildFilterView()); |
| 2747 return o; | 2747 return o; |
| 2748 } | 2748 } |
| 2749 | 2749 |
| 2750 checkUnnamed3189(core.List<api.FilterView> o) { | 2750 checkUnnamed637(core.List<api.FilterView> o) { |
| 2751 unittest.expect(o, unittest.hasLength(2)); | 2751 unittest.expect(o, unittest.hasLength(2)); |
| 2752 checkFilterView(o[0]); | 2752 checkFilterView(o[0]); |
| 2753 checkFilterView(o[1]); | 2753 checkFilterView(o[1]); |
| 2754 } | 2754 } |
| 2755 | 2755 |
| 2756 buildUnnamed3190() { | 2756 buildUnnamed638() { |
| 2757 var o = new core.List<api.GridRange>(); | 2757 var o = new core.List<api.GridRange>(); |
| 2758 o.add(buildGridRange()); | 2758 o.add(buildGridRange()); |
| 2759 o.add(buildGridRange()); | 2759 o.add(buildGridRange()); |
| 2760 return o; | 2760 return o; |
| 2761 } | 2761 } |
| 2762 | 2762 |
| 2763 checkUnnamed3190(core.List<api.GridRange> o) { | 2763 checkUnnamed638(core.List<api.GridRange> o) { |
| 2764 unittest.expect(o, unittest.hasLength(2)); | 2764 unittest.expect(o, unittest.hasLength(2)); |
| 2765 checkGridRange(o[0]); | 2765 checkGridRange(o[0]); |
| 2766 checkGridRange(o[1]); | 2766 checkGridRange(o[1]); |
| 2767 } | 2767 } |
| 2768 | 2768 |
| 2769 buildUnnamed3191() { | 2769 buildUnnamed639() { |
| 2770 var o = new core.List<api.ProtectedRange>(); | 2770 var o = new core.List<api.ProtectedRange>(); |
| 2771 o.add(buildProtectedRange()); | 2771 o.add(buildProtectedRange()); |
| 2772 o.add(buildProtectedRange()); | 2772 o.add(buildProtectedRange()); |
| 2773 return o; | 2773 return o; |
| 2774 } | 2774 } |
| 2775 | 2775 |
| 2776 checkUnnamed3191(core.List<api.ProtectedRange> o) { | 2776 checkUnnamed639(core.List<api.ProtectedRange> o) { |
| 2777 unittest.expect(o, unittest.hasLength(2)); | 2777 unittest.expect(o, unittest.hasLength(2)); |
| 2778 checkProtectedRange(o[0]); | 2778 checkProtectedRange(o[0]); |
| 2779 checkProtectedRange(o[1]); | 2779 checkProtectedRange(o[1]); |
| 2780 } | 2780 } |
| 2781 | 2781 |
| 2782 core.int buildCounterSheet = 0; | 2782 core.int buildCounterSheet = 0; |
| 2783 buildSheet() { | 2783 buildSheet() { |
| 2784 var o = new api.Sheet(); | 2784 var o = new api.Sheet(); |
| 2785 buildCounterSheet++; | 2785 buildCounterSheet++; |
| 2786 if (buildCounterSheet < 3) { | 2786 if (buildCounterSheet < 3) { |
| 2787 o.basicFilter = buildBasicFilter(); | 2787 o.basicFilter = buildBasicFilter(); |
| 2788 o.charts = buildUnnamed3186(); | 2788 o.charts = buildUnnamed634(); |
| 2789 o.conditionalFormats = buildUnnamed3187(); | 2789 o.conditionalFormats = buildUnnamed635(); |
| 2790 o.data = buildUnnamed3188(); | 2790 o.data = buildUnnamed636(); |
| 2791 o.filterViews = buildUnnamed3189(); | 2791 o.filterViews = buildUnnamed637(); |
| 2792 o.merges = buildUnnamed3190(); | 2792 o.merges = buildUnnamed638(); |
| 2793 o.properties = buildSheetProperties(); | 2793 o.properties = buildSheetProperties(); |
| 2794 o.protectedRanges = buildUnnamed3191(); | 2794 o.protectedRanges = buildUnnamed639(); |
| 2795 } | 2795 } |
| 2796 buildCounterSheet--; | 2796 buildCounterSheet--; |
| 2797 return o; | 2797 return o; |
| 2798 } | 2798 } |
| 2799 | 2799 |
| 2800 checkSheet(api.Sheet o) { | 2800 checkSheet(api.Sheet o) { |
| 2801 buildCounterSheet++; | 2801 buildCounterSheet++; |
| 2802 if (buildCounterSheet < 3) { | 2802 if (buildCounterSheet < 3) { |
| 2803 checkBasicFilter(o.basicFilter); | 2803 checkBasicFilter(o.basicFilter); |
| 2804 checkUnnamed3186(o.charts); | 2804 checkUnnamed634(o.charts); |
| 2805 checkUnnamed3187(o.conditionalFormats); | 2805 checkUnnamed635(o.conditionalFormats); |
| 2806 checkUnnamed3188(o.data); | 2806 checkUnnamed636(o.data); |
| 2807 checkUnnamed3189(o.filterViews); | 2807 checkUnnamed637(o.filterViews); |
| 2808 checkUnnamed3190(o.merges); | 2808 checkUnnamed638(o.merges); |
| 2809 checkSheetProperties(o.properties); | 2809 checkSheetProperties(o.properties); |
| 2810 checkUnnamed3191(o.protectedRanges); | 2810 checkUnnamed639(o.protectedRanges); |
| 2811 } | 2811 } |
| 2812 buildCounterSheet--; | 2812 buildCounterSheet--; |
| 2813 } | 2813 } |
| 2814 | 2814 |
| 2815 core.int buildCounterSheetProperties = 0; | 2815 core.int buildCounterSheetProperties = 0; |
| 2816 buildSheetProperties() { | 2816 buildSheetProperties() { |
| 2817 var o = new api.SheetProperties(); | 2817 var o = new api.SheetProperties(); |
| 2818 buildCounterSheetProperties++; | 2818 buildCounterSheetProperties++; |
| 2819 if (buildCounterSheetProperties < 3) { | 2819 if (buildCounterSheetProperties < 3) { |
| 2820 o.gridProperties = buildGridProperties(); | 2820 o.gridProperties = buildGridProperties(); |
| (...skipping 17 matching lines...) Expand all Loading... |
| 2838 unittest.expect(o.index, unittest.equals(42)); | 2838 unittest.expect(o.index, unittest.equals(42)); |
| 2839 unittest.expect(o.rightToLeft, unittest.isTrue); | 2839 unittest.expect(o.rightToLeft, unittest.isTrue); |
| 2840 unittest.expect(o.sheetId, unittest.equals(42)); | 2840 unittest.expect(o.sheetId, unittest.equals(42)); |
| 2841 unittest.expect(o.sheetType, unittest.equals('foo')); | 2841 unittest.expect(o.sheetType, unittest.equals('foo')); |
| 2842 checkColor(o.tabColor); | 2842 checkColor(o.tabColor); |
| 2843 unittest.expect(o.title, unittest.equals('foo')); | 2843 unittest.expect(o.title, unittest.equals('foo')); |
| 2844 } | 2844 } |
| 2845 buildCounterSheetProperties--; | 2845 buildCounterSheetProperties--; |
| 2846 } | 2846 } |
| 2847 | 2847 |
| 2848 buildUnnamed3192() { | 2848 buildUnnamed640() { |
| 2849 var o = new core.List<api.SortSpec>(); | 2849 var o = new core.List<api.SortSpec>(); |
| 2850 o.add(buildSortSpec()); | 2850 o.add(buildSortSpec()); |
| 2851 o.add(buildSortSpec()); | 2851 o.add(buildSortSpec()); |
| 2852 return o; | 2852 return o; |
| 2853 } | 2853 } |
| 2854 | 2854 |
| 2855 checkUnnamed3192(core.List<api.SortSpec> o) { | 2855 checkUnnamed640(core.List<api.SortSpec> o) { |
| 2856 unittest.expect(o, unittest.hasLength(2)); | 2856 unittest.expect(o, unittest.hasLength(2)); |
| 2857 checkSortSpec(o[0]); | 2857 checkSortSpec(o[0]); |
| 2858 checkSortSpec(o[1]); | 2858 checkSortSpec(o[1]); |
| 2859 } | 2859 } |
| 2860 | 2860 |
| 2861 core.int buildCounterSortRangeRequest = 0; | 2861 core.int buildCounterSortRangeRequest = 0; |
| 2862 buildSortRangeRequest() { | 2862 buildSortRangeRequest() { |
| 2863 var o = new api.SortRangeRequest(); | 2863 var o = new api.SortRangeRequest(); |
| 2864 buildCounterSortRangeRequest++; | 2864 buildCounterSortRangeRequest++; |
| 2865 if (buildCounterSortRangeRequest < 3) { | 2865 if (buildCounterSortRangeRequest < 3) { |
| 2866 o.range = buildGridRange(); | 2866 o.range = buildGridRange(); |
| 2867 o.sortSpecs = buildUnnamed3192(); | 2867 o.sortSpecs = buildUnnamed640(); |
| 2868 } | 2868 } |
| 2869 buildCounterSortRangeRequest--; | 2869 buildCounterSortRangeRequest--; |
| 2870 return o; | 2870 return o; |
| 2871 } | 2871 } |
| 2872 | 2872 |
| 2873 checkSortRangeRequest(api.SortRangeRequest o) { | 2873 checkSortRangeRequest(api.SortRangeRequest o) { |
| 2874 buildCounterSortRangeRequest++; | 2874 buildCounterSortRangeRequest++; |
| 2875 if (buildCounterSortRangeRequest < 3) { | 2875 if (buildCounterSortRangeRequest < 3) { |
| 2876 checkGridRange(o.range); | 2876 checkGridRange(o.range); |
| 2877 checkUnnamed3192(o.sortSpecs); | 2877 checkUnnamed640(o.sortSpecs); |
| 2878 } | 2878 } |
| 2879 buildCounterSortRangeRequest--; | 2879 buildCounterSortRangeRequest--; |
| 2880 } | 2880 } |
| 2881 | 2881 |
| 2882 core.int buildCounterSortSpec = 0; | 2882 core.int buildCounterSortSpec = 0; |
| 2883 buildSortSpec() { | 2883 buildSortSpec() { |
| 2884 var o = new api.SortSpec(); | 2884 var o = new api.SortSpec(); |
| 2885 buildCounterSortSpec++; | 2885 buildCounterSortSpec++; |
| 2886 if (buildCounterSortSpec < 3) { | 2886 if (buildCounterSortSpec < 3) { |
| 2887 o.dimensionIndex = 42; | 2887 o.dimensionIndex = 42; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 2916 checkSourceAndDestination(api.SourceAndDestination o) { | 2916 checkSourceAndDestination(api.SourceAndDestination o) { |
| 2917 buildCounterSourceAndDestination++; | 2917 buildCounterSourceAndDestination++; |
| 2918 if (buildCounterSourceAndDestination < 3) { | 2918 if (buildCounterSourceAndDestination < 3) { |
| 2919 unittest.expect(o.dimension, unittest.equals('foo')); | 2919 unittest.expect(o.dimension, unittest.equals('foo')); |
| 2920 unittest.expect(o.fillLength, unittest.equals(42)); | 2920 unittest.expect(o.fillLength, unittest.equals(42)); |
| 2921 checkGridRange(o.source); | 2921 checkGridRange(o.source); |
| 2922 } | 2922 } |
| 2923 buildCounterSourceAndDestination--; | 2923 buildCounterSourceAndDestination--; |
| 2924 } | 2924 } |
| 2925 | 2925 |
| 2926 buildUnnamed3193() { | 2926 buildUnnamed641() { |
| 2927 var o = new core.List<api.NamedRange>(); | 2927 var o = new core.List<api.NamedRange>(); |
| 2928 o.add(buildNamedRange()); | 2928 o.add(buildNamedRange()); |
| 2929 o.add(buildNamedRange()); | 2929 o.add(buildNamedRange()); |
| 2930 return o; | 2930 return o; |
| 2931 } | 2931 } |
| 2932 | 2932 |
| 2933 checkUnnamed3193(core.List<api.NamedRange> o) { | 2933 checkUnnamed641(core.List<api.NamedRange> o) { |
| 2934 unittest.expect(o, unittest.hasLength(2)); | 2934 unittest.expect(o, unittest.hasLength(2)); |
| 2935 checkNamedRange(o[0]); | 2935 checkNamedRange(o[0]); |
| 2936 checkNamedRange(o[1]); | 2936 checkNamedRange(o[1]); |
| 2937 } | 2937 } |
| 2938 | 2938 |
| 2939 buildUnnamed3194() { | 2939 buildUnnamed642() { |
| 2940 var o = new core.List<api.Sheet>(); | 2940 var o = new core.List<api.Sheet>(); |
| 2941 o.add(buildSheet()); | 2941 o.add(buildSheet()); |
| 2942 o.add(buildSheet()); | 2942 o.add(buildSheet()); |
| 2943 return o; | 2943 return o; |
| 2944 } | 2944 } |
| 2945 | 2945 |
| 2946 checkUnnamed3194(core.List<api.Sheet> o) { | 2946 checkUnnamed642(core.List<api.Sheet> o) { |
| 2947 unittest.expect(o, unittest.hasLength(2)); | 2947 unittest.expect(o, unittest.hasLength(2)); |
| 2948 checkSheet(o[0]); | 2948 checkSheet(o[0]); |
| 2949 checkSheet(o[1]); | 2949 checkSheet(o[1]); |
| 2950 } | 2950 } |
| 2951 | 2951 |
| 2952 core.int buildCounterSpreadsheet = 0; | 2952 core.int buildCounterSpreadsheet = 0; |
| 2953 buildSpreadsheet() { | 2953 buildSpreadsheet() { |
| 2954 var o = new api.Spreadsheet(); | 2954 var o = new api.Spreadsheet(); |
| 2955 buildCounterSpreadsheet++; | 2955 buildCounterSpreadsheet++; |
| 2956 if (buildCounterSpreadsheet < 3) { | 2956 if (buildCounterSpreadsheet < 3) { |
| 2957 o.namedRanges = buildUnnamed3193(); | 2957 o.namedRanges = buildUnnamed641(); |
| 2958 o.properties = buildSpreadsheetProperties(); | 2958 o.properties = buildSpreadsheetProperties(); |
| 2959 o.sheets = buildUnnamed3194(); | 2959 o.sheets = buildUnnamed642(); |
| 2960 o.spreadsheetId = "foo"; | 2960 o.spreadsheetId = "foo"; |
| 2961 } | 2961 } |
| 2962 buildCounterSpreadsheet--; | 2962 buildCounterSpreadsheet--; |
| 2963 return o; | 2963 return o; |
| 2964 } | 2964 } |
| 2965 | 2965 |
| 2966 checkSpreadsheet(api.Spreadsheet o) { | 2966 checkSpreadsheet(api.Spreadsheet o) { |
| 2967 buildCounterSpreadsheet++; | 2967 buildCounterSpreadsheet++; |
| 2968 if (buildCounterSpreadsheet < 3) { | 2968 if (buildCounterSpreadsheet < 3) { |
| 2969 checkUnnamed3193(o.namedRanges); | 2969 checkUnnamed641(o.namedRanges); |
| 2970 checkSpreadsheetProperties(o.properties); | 2970 checkSpreadsheetProperties(o.properties); |
| 2971 checkUnnamed3194(o.sheets); | 2971 checkUnnamed642(o.sheets); |
| 2972 unittest.expect(o.spreadsheetId, unittest.equals('foo')); | 2972 unittest.expect(o.spreadsheetId, unittest.equals('foo')); |
| 2973 } | 2973 } |
| 2974 buildCounterSpreadsheet--; | 2974 buildCounterSpreadsheet--; |
| 2975 } | 2975 } |
| 2976 | 2976 |
| 2977 core.int buildCounterSpreadsheetProperties = 0; | 2977 core.int buildCounterSpreadsheetProperties = 0; |
| 2978 buildSpreadsheetProperties() { | 2978 buildSpreadsheetProperties() { |
| 2979 var o = new api.SpreadsheetProperties(); | 2979 var o = new api.SpreadsheetProperties(); |
| 2980 buildCounterSpreadsheetProperties++; | 2980 buildCounterSpreadsheetProperties++; |
| 2981 if (buildCounterSpreadsheetProperties < 3) { | 2981 if (buildCounterSpreadsheetProperties < 3) { |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3119 checkBorder(o.innerHorizontal); | 3119 checkBorder(o.innerHorizontal); |
| 3120 checkBorder(o.innerVertical); | 3120 checkBorder(o.innerVertical); |
| 3121 checkBorder(o.left); | 3121 checkBorder(o.left); |
| 3122 checkGridRange(o.range); | 3122 checkGridRange(o.range); |
| 3123 checkBorder(o.right); | 3123 checkBorder(o.right); |
| 3124 checkBorder(o.top); | 3124 checkBorder(o.top); |
| 3125 } | 3125 } |
| 3126 buildCounterUpdateBordersRequest--; | 3126 buildCounterUpdateBordersRequest--; |
| 3127 } | 3127 } |
| 3128 | 3128 |
| 3129 buildUnnamed3195() { | 3129 buildUnnamed643() { |
| 3130 var o = new core.List<api.RowData>(); | 3130 var o = new core.List<api.RowData>(); |
| 3131 o.add(buildRowData()); | 3131 o.add(buildRowData()); |
| 3132 o.add(buildRowData()); | 3132 o.add(buildRowData()); |
| 3133 return o; | 3133 return o; |
| 3134 } | 3134 } |
| 3135 | 3135 |
| 3136 checkUnnamed3195(core.List<api.RowData> o) { | 3136 checkUnnamed643(core.List<api.RowData> o) { |
| 3137 unittest.expect(o, unittest.hasLength(2)); | 3137 unittest.expect(o, unittest.hasLength(2)); |
| 3138 checkRowData(o[0]); | 3138 checkRowData(o[0]); |
| 3139 checkRowData(o[1]); | 3139 checkRowData(o[1]); |
| 3140 } | 3140 } |
| 3141 | 3141 |
| 3142 core.int buildCounterUpdateCellsRequest = 0; | 3142 core.int buildCounterUpdateCellsRequest = 0; |
| 3143 buildUpdateCellsRequest() { | 3143 buildUpdateCellsRequest() { |
| 3144 var o = new api.UpdateCellsRequest(); | 3144 var o = new api.UpdateCellsRequest(); |
| 3145 buildCounterUpdateCellsRequest++; | 3145 buildCounterUpdateCellsRequest++; |
| 3146 if (buildCounterUpdateCellsRequest < 3) { | 3146 if (buildCounterUpdateCellsRequest < 3) { |
| 3147 o.fields = "foo"; | 3147 o.fields = "foo"; |
| 3148 o.range = buildGridRange(); | 3148 o.range = buildGridRange(); |
| 3149 o.rows = buildUnnamed3195(); | 3149 o.rows = buildUnnamed643(); |
| 3150 o.start = buildGridCoordinate(); | 3150 o.start = buildGridCoordinate(); |
| 3151 } | 3151 } |
| 3152 buildCounterUpdateCellsRequest--; | 3152 buildCounterUpdateCellsRequest--; |
| 3153 return o; | 3153 return o; |
| 3154 } | 3154 } |
| 3155 | 3155 |
| 3156 checkUpdateCellsRequest(api.UpdateCellsRequest o) { | 3156 checkUpdateCellsRequest(api.UpdateCellsRequest o) { |
| 3157 buildCounterUpdateCellsRequest++; | 3157 buildCounterUpdateCellsRequest++; |
| 3158 if (buildCounterUpdateCellsRequest < 3) { | 3158 if (buildCounterUpdateCellsRequest < 3) { |
| 3159 unittest.expect(o.fields, unittest.equals('foo')); | 3159 unittest.expect(o.fields, unittest.equals('foo')); |
| 3160 checkGridRange(o.range); | 3160 checkGridRange(o.range); |
| 3161 checkUnnamed3195(o.rows); | 3161 checkUnnamed643(o.rows); |
| 3162 checkGridCoordinate(o.start); | 3162 checkGridCoordinate(o.start); |
| 3163 } | 3163 } |
| 3164 buildCounterUpdateCellsRequest--; | 3164 buildCounterUpdateCellsRequest--; |
| 3165 } | 3165 } |
| 3166 | 3166 |
| 3167 core.int buildCounterUpdateChartSpecRequest = 0; | 3167 core.int buildCounterUpdateChartSpecRequest = 0; |
| 3168 buildUpdateChartSpecRequest() { | 3168 buildUpdateChartSpecRequest() { |
| 3169 var o = new api.UpdateChartSpecRequest(); | 3169 var o = new api.UpdateChartSpecRequest(); |
| 3170 buildCounterUpdateChartSpecRequest++; | 3170 buildCounterUpdateChartSpecRequest++; |
| 3171 if (buildCounterUpdateChartSpecRequest < 3) { | 3171 if (buildCounterUpdateChartSpecRequest < 3) { |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3425 if (buildCounterUpdateValuesResponse < 3) { | 3425 if (buildCounterUpdateValuesResponse < 3) { |
| 3426 unittest.expect(o.spreadsheetId, unittest.equals('foo')); | 3426 unittest.expect(o.spreadsheetId, unittest.equals('foo')); |
| 3427 unittest.expect(o.updatedCells, unittest.equals(42)); | 3427 unittest.expect(o.updatedCells, unittest.equals(42)); |
| 3428 unittest.expect(o.updatedColumns, unittest.equals(42)); | 3428 unittest.expect(o.updatedColumns, unittest.equals(42)); |
| 3429 unittest.expect(o.updatedRange, unittest.equals('foo')); | 3429 unittest.expect(o.updatedRange, unittest.equals('foo')); |
| 3430 unittest.expect(o.updatedRows, unittest.equals(42)); | 3430 unittest.expect(o.updatedRows, unittest.equals(42)); |
| 3431 } | 3431 } |
| 3432 buildCounterUpdateValuesResponse--; | 3432 buildCounterUpdateValuesResponse--; |
| 3433 } | 3433 } |
| 3434 | 3434 |
| 3435 buildUnnamed3196() { | 3435 buildUnnamed644() { |
| 3436 var o = new core.List<core.Object>(); | 3436 var o = new core.List<core.Object>(); |
| 3437 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 3437 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 3438 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 3438 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 3439 return o; | 3439 return o; |
| 3440 } | 3440 } |
| 3441 | 3441 |
| 3442 checkUnnamed3196(core.List<core.Object> o) { | 3442 checkUnnamed644(core.List<core.Object> o) { |
| 3443 unittest.expect(o, unittest.hasLength(2)); | 3443 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')); | 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')); |
| 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')); | 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')); |
| 3446 } | 3446 } |
| 3447 | 3447 |
| 3448 buildUnnamed3197() { | 3448 buildUnnamed645() { |
| 3449 var o = new core.List<core.List<core.Object>>(); | 3449 var o = new core.List<core.List<core.Object>>(); |
| 3450 o.add(buildUnnamed3196()); | 3450 o.add(buildUnnamed644()); |
| 3451 o.add(buildUnnamed3196()); | 3451 o.add(buildUnnamed644()); |
| 3452 return o; | 3452 return o; |
| 3453 } | 3453 } |
| 3454 | 3454 |
| 3455 checkUnnamed3197(core.List<core.List<core.Object>> o) { | 3455 checkUnnamed645(core.List<core.List<core.Object>> o) { |
| 3456 unittest.expect(o, unittest.hasLength(2)); | 3456 unittest.expect(o, unittest.hasLength(2)); |
| 3457 checkUnnamed3196(o[0]); | 3457 checkUnnamed644(o[0]); |
| 3458 checkUnnamed3196(o[1]); | 3458 checkUnnamed644(o[1]); |
| 3459 } | 3459 } |
| 3460 | 3460 |
| 3461 core.int buildCounterValueRange = 0; | 3461 core.int buildCounterValueRange = 0; |
| 3462 buildValueRange() { | 3462 buildValueRange() { |
| 3463 var o = new api.ValueRange(); | 3463 var o = new api.ValueRange(); |
| 3464 buildCounterValueRange++; | 3464 buildCounterValueRange++; |
| 3465 if (buildCounterValueRange < 3) { | 3465 if (buildCounterValueRange < 3) { |
| 3466 o.majorDimension = "foo"; | 3466 o.majorDimension = "foo"; |
| 3467 o.range = "foo"; | 3467 o.range = "foo"; |
| 3468 o.values = buildUnnamed3197(); | 3468 o.values = buildUnnamed645(); |
| 3469 } | 3469 } |
| 3470 buildCounterValueRange--; | 3470 buildCounterValueRange--; |
| 3471 return o; | 3471 return o; |
| 3472 } | 3472 } |
| 3473 | 3473 |
| 3474 checkValueRange(api.ValueRange o) { | 3474 checkValueRange(api.ValueRange o) { |
| 3475 buildCounterValueRange++; | 3475 buildCounterValueRange++; |
| 3476 if (buildCounterValueRange < 3) { | 3476 if (buildCounterValueRange < 3) { |
| 3477 unittest.expect(o.majorDimension, unittest.equals('foo')); | 3477 unittest.expect(o.majorDimension, unittest.equals('foo')); |
| 3478 unittest.expect(o.range, unittest.equals('foo')); | 3478 unittest.expect(o.range, unittest.equals('foo')); |
| 3479 checkUnnamed3197(o.values); | 3479 checkUnnamed645(o.values); |
| 3480 } | 3480 } |
| 3481 buildCounterValueRange--; | 3481 buildCounterValueRange--; |
| 3482 } | 3482 } |
| 3483 | 3483 |
| 3484 buildUnnamed3198() { | 3484 buildUnnamed646() { |
| 3485 var o = new core.List<core.String>(); | 3485 var o = new core.List<core.String>(); |
| 3486 o.add("foo"); | 3486 o.add("foo"); |
| 3487 o.add("foo"); | 3487 o.add("foo"); |
| 3488 return o; | 3488 return o; |
| 3489 } | 3489 } |
| 3490 | 3490 |
| 3491 checkUnnamed3198(core.List<core.String> o) { | 3491 checkUnnamed646(core.List<core.String> o) { |
| 3492 unittest.expect(o, unittest.hasLength(2)); | 3492 unittest.expect(o, unittest.hasLength(2)); |
| 3493 unittest.expect(o[0], unittest.equals('foo')); | 3493 unittest.expect(o[0], unittest.equals('foo')); |
| 3494 unittest.expect(o[1], unittest.equals('foo')); | 3494 unittest.expect(o[1], unittest.equals('foo')); |
| 3495 } | 3495 } |
| 3496 | 3496 |
| 3497 buildUnnamed3199() { | 3497 buildUnnamed647() { |
| 3498 var o = new core.List<core.String>(); | 3498 var o = new core.List<core.String>(); |
| 3499 o.add("foo"); | 3499 o.add("foo"); |
| 3500 o.add("foo"); | 3500 o.add("foo"); |
| 3501 return o; | 3501 return o; |
| 3502 } | 3502 } |
| 3503 | 3503 |
| 3504 checkUnnamed3199(core.List<core.String> o) { | 3504 checkUnnamed647(core.List<core.String> o) { |
| 3505 unittest.expect(o, unittest.hasLength(2)); | 3505 unittest.expect(o, unittest.hasLength(2)); |
| 3506 unittest.expect(o[0], unittest.equals('foo')); | 3506 unittest.expect(o[0], unittest.equals('foo')); |
| 3507 unittest.expect(o[1], unittest.equals('foo')); | 3507 unittest.expect(o[1], unittest.equals('foo')); |
| 3508 } | 3508 } |
| 3509 | 3509 |
| 3510 | 3510 |
| 3511 main() { | 3511 main() { |
| 3512 unittest.group("obj-schema-AddChartRequest", () { | 3512 unittest.group("obj-schema-AddChartRequest", () { |
| 3513 unittest.test("to-json--from-json", () { | 3513 unittest.test("to-json--from-json", () { |
| 3514 var o = buildAddChartRequest(); | 3514 var o = buildAddChartRequest(); |
| (...skipping 1175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4690 res.create(arg_request).then(unittest.expectAsync(((api.Spreadsheet respon
se) { | 4690 res.create(arg_request).then(unittest.expectAsync(((api.Spreadsheet respon
se) { |
| 4691 checkSpreadsheet(response); | 4691 checkSpreadsheet(response); |
| 4692 }))); | 4692 }))); |
| 4693 }); | 4693 }); |
| 4694 | 4694 |
| 4695 unittest.test("method--get", () { | 4695 unittest.test("method--get", () { |
| 4696 | 4696 |
| 4697 var mock = new HttpServerMock(); | 4697 var mock = new HttpServerMock(); |
| 4698 api.SpreadsheetsResourceApi res = new api.SheetsApi(mock).spreadsheets; | 4698 api.SpreadsheetsResourceApi res = new api.SheetsApi(mock).spreadsheets; |
| 4699 var arg_spreadsheetId = "foo"; | 4699 var arg_spreadsheetId = "foo"; |
| 4700 var arg_ranges = buildUnnamed3198(); | 4700 var arg_ranges = buildUnnamed646(); |
| 4701 var arg_includeGridData = true; | 4701 var arg_includeGridData = true; |
| 4702 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 4702 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 4703 var path = (req.url).path; | 4703 var path = (req.url).path; |
| 4704 var pathOffset = 0; | 4704 var pathOffset = 0; |
| 4705 var index; | 4705 var index; |
| 4706 var subPart; | 4706 var subPart; |
| 4707 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 4707 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 4708 pathOffset += 1; | 4708 pathOffset += 1; |
| 4709 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("v4/spreadsheets/")); | 4709 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("v4/spreadsheets/")); |
| 4710 pathOffset += 16; | 4710 pathOffset += 16; |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4879 res.append(arg_request, arg_spreadsheetId, arg_range, valueInputOption: ar
g_valueInputOption, insertDataOption: arg_insertDataOption).then(unittest.expect
Async(((api.AppendValuesResponse response) { | 4879 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); | 4880 checkAppendValuesResponse(response); |
| 4881 }))); | 4881 }))); |
| 4882 }); | 4882 }); |
| 4883 | 4883 |
| 4884 unittest.test("method--batchGet", () { | 4884 unittest.test("method--batchGet", () { |
| 4885 | 4885 |
| 4886 var mock = new HttpServerMock(); | 4886 var mock = new HttpServerMock(); |
| 4887 api.SpreadsheetsValuesResourceApi res = new api.SheetsApi(mock).spreadshee
ts.values; | 4887 api.SpreadsheetsValuesResourceApi res = new api.SheetsApi(mock).spreadshee
ts.values; |
| 4888 var arg_spreadsheetId = "foo"; | 4888 var arg_spreadsheetId = "foo"; |
| 4889 var arg_ranges = buildUnnamed3199(); | 4889 var arg_ranges = buildUnnamed647(); |
| 4890 var arg_valueRenderOption = "foo"; | 4890 var arg_valueRenderOption = "foo"; |
| 4891 var arg_dateTimeRenderOption = "foo"; | 4891 var arg_dateTimeRenderOption = "foo"; |
| 4892 var arg_majorDimension = "foo"; | 4892 var arg_majorDimension = "foo"; |
| 4893 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 4893 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 4894 var path = (req.url).path; | 4894 var path = (req.url).path; |
| 4895 var pathOffset = 0; | 4895 var pathOffset = 0; |
| 4896 var index; | 4896 var index; |
| 4897 var subPart; | 4897 var subPart; |
| 4898 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 4898 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 4899 pathOffset += 1; | 4899 pathOffset += 1; |
| (...skipping 215 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) { | 5115 res.update(arg_request, arg_spreadsheetId, arg_range, valueInputOption: ar
g_valueInputOption).then(unittest.expectAsync(((api.UpdateValuesResponse respons
e) { |
| 5116 checkUpdateValuesResponse(response); | 5116 checkUpdateValuesResponse(response); |
| 5117 }))); | 5117 }))); |
| 5118 }); | 5118 }); |
| 5119 | 5119 |
| 5120 }); | 5120 }); |
| 5121 | 5121 |
| 5122 | 5122 |
| 5123 } | 5123 } |
| 5124 | 5124 |
| OLD | NEW |