| Index: generated/googleapis/test/sheets/v4_test.dart
|
| diff --git a/generated/googleapis/test/sheets/v4_test.dart b/generated/googleapis/test/sheets/v4_test.dart
|
| index 7680718db7c44fc28191349a8486fa1e92f9d482..5b5c80c7082acd46b1aa7906576cb47641e0fddf 100644
|
| --- a/generated/googleapis/test/sheets/v4_test.dart
|
| +++ b/generated/googleapis/test/sheets/v4_test.dart
|
| @@ -300,14 +300,14 @@ checkAddSheetResponse(api.AddSheetResponse o) {
|
| buildCounterAddSheetResponse--;
|
| }
|
|
|
| -buildUnnamed356() {
|
| +buildUnnamed358() {
|
| var o = new core.List<api.RowData>();
|
| o.add(buildRowData());
|
| o.add(buildRowData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed356(core.List<api.RowData> o) {
|
| +checkUnnamed358(core.List<api.RowData> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRowData(o[0]);
|
| checkRowData(o[1]);
|
| @@ -319,7 +319,7 @@ buildAppendCellsRequest() {
|
| buildCounterAppendCellsRequest++;
|
| if (buildCounterAppendCellsRequest < 3) {
|
| o.fields = "foo";
|
| - o.rows = buildUnnamed356();
|
| + o.rows = buildUnnamed358();
|
| o.sheetId = 42;
|
| }
|
| buildCounterAppendCellsRequest--;
|
| @@ -330,7 +330,7 @@ checkAppendCellsRequest(api.AppendCellsRequest o) {
|
| buildCounterAppendCellsRequest++;
|
| if (buildCounterAppendCellsRequest < 3) {
|
| unittest.expect(o.fields, unittest.equals('foo'));
|
| - checkUnnamed356(o.rows);
|
| + checkUnnamed358(o.rows);
|
| unittest.expect(o.sheetId, unittest.equals(42));
|
| }
|
| buildCounterAppendCellsRequest--;
|
| @@ -539,40 +539,40 @@ checkBasicChartSeries(api.BasicChartSeries o) {
|
| buildCounterBasicChartSeries--;
|
| }
|
|
|
| -buildUnnamed357() {
|
| +buildUnnamed359() {
|
| var o = new core.List<api.BasicChartAxis>();
|
| o.add(buildBasicChartAxis());
|
| o.add(buildBasicChartAxis());
|
| return o;
|
| }
|
|
|
| -checkUnnamed357(core.List<api.BasicChartAxis> o) {
|
| +checkUnnamed359(core.List<api.BasicChartAxis> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBasicChartAxis(o[0]);
|
| checkBasicChartAxis(o[1]);
|
| }
|
|
|
| -buildUnnamed358() {
|
| +buildUnnamed360() {
|
| var o = new core.List<api.BasicChartDomain>();
|
| o.add(buildBasicChartDomain());
|
| o.add(buildBasicChartDomain());
|
| return o;
|
| }
|
|
|
| -checkUnnamed358(core.List<api.BasicChartDomain> o) {
|
| +checkUnnamed360(core.List<api.BasicChartDomain> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBasicChartDomain(o[0]);
|
| checkBasicChartDomain(o[1]);
|
| }
|
|
|
| -buildUnnamed359() {
|
| +buildUnnamed361() {
|
| var o = new core.List<api.BasicChartSeries>();
|
| o.add(buildBasicChartSeries());
|
| o.add(buildBasicChartSeries());
|
| return o;
|
| }
|
|
|
| -checkUnnamed359(core.List<api.BasicChartSeries> o) {
|
| +checkUnnamed361(core.List<api.BasicChartSeries> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBasicChartSeries(o[0]);
|
| checkBasicChartSeries(o[1]);
|
| @@ -583,12 +583,12 @@ buildBasicChartSpec() {
|
| var o = new api.BasicChartSpec();
|
| buildCounterBasicChartSpec++;
|
| if (buildCounterBasicChartSpec < 3) {
|
| - o.axis = buildUnnamed357();
|
| + o.axis = buildUnnamed359();
|
| o.chartType = "foo";
|
| - o.domains = buildUnnamed358();
|
| + o.domains = buildUnnamed360();
|
| o.headerCount = 42;
|
| o.legendPosition = "foo";
|
| - o.series = buildUnnamed359();
|
| + o.series = buildUnnamed361();
|
| }
|
| buildCounterBasicChartSpec--;
|
| return o;
|
| @@ -597,37 +597,37 @@ buildBasicChartSpec() {
|
| checkBasicChartSpec(api.BasicChartSpec o) {
|
| buildCounterBasicChartSpec++;
|
| if (buildCounterBasicChartSpec < 3) {
|
| - checkUnnamed357(o.axis);
|
| + checkUnnamed359(o.axis);
|
| unittest.expect(o.chartType, unittest.equals('foo'));
|
| - checkUnnamed358(o.domains);
|
| + checkUnnamed360(o.domains);
|
| unittest.expect(o.headerCount, unittest.equals(42));
|
| unittest.expect(o.legendPosition, unittest.equals('foo'));
|
| - checkUnnamed359(o.series);
|
| + checkUnnamed361(o.series);
|
| }
|
| buildCounterBasicChartSpec--;
|
| }
|
|
|
| -buildUnnamed360() {
|
| +buildUnnamed362() {
|
| var o = new core.Map<core.String, api.FilterCriteria>();
|
| o["x"] = buildFilterCriteria();
|
| o["y"] = buildFilterCriteria();
|
| return o;
|
| }
|
|
|
| -checkUnnamed360(core.Map<core.String, api.FilterCriteria> o) {
|
| +checkUnnamed362(core.Map<core.String, api.FilterCriteria> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkFilterCriteria(o["x"]);
|
| checkFilterCriteria(o["y"]);
|
| }
|
|
|
| -buildUnnamed361() {
|
| +buildUnnamed363() {
|
| var o = new core.List<api.SortSpec>();
|
| o.add(buildSortSpec());
|
| o.add(buildSortSpec());
|
| return o;
|
| }
|
|
|
| -checkUnnamed361(core.List<api.SortSpec> o) {
|
| +checkUnnamed363(core.List<api.SortSpec> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSortSpec(o[0]);
|
| checkSortSpec(o[1]);
|
| @@ -638,9 +638,9 @@ buildBasicFilter() {
|
| var o = new api.BasicFilter();
|
| buildCounterBasicFilter++;
|
| if (buildCounterBasicFilter < 3) {
|
| - o.criteria = buildUnnamed360();
|
| + o.criteria = buildUnnamed362();
|
| o.range = buildGridRange();
|
| - o.sortSpecs = buildUnnamed361();
|
| + o.sortSpecs = buildUnnamed363();
|
| }
|
| buildCounterBasicFilter--;
|
| return o;
|
| @@ -649,21 +649,21 @@ buildBasicFilter() {
|
| checkBasicFilter(api.BasicFilter o) {
|
| buildCounterBasicFilter++;
|
| if (buildCounterBasicFilter < 3) {
|
| - checkUnnamed360(o.criteria);
|
| + checkUnnamed362(o.criteria);
|
| checkGridRange(o.range);
|
| - checkUnnamed361(o.sortSpecs);
|
| + checkUnnamed363(o.sortSpecs);
|
| }
|
| buildCounterBasicFilter--;
|
| }
|
|
|
| -buildUnnamed362() {
|
| +buildUnnamed364() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed362(core.List<core.String> o) {
|
| +checkUnnamed364(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -674,7 +674,7 @@ buildBatchClearValuesRequest() {
|
| var o = new api.BatchClearValuesRequest();
|
| buildCounterBatchClearValuesRequest++;
|
| if (buildCounterBatchClearValuesRequest < 3) {
|
| - o.ranges = buildUnnamed362();
|
| + o.ranges = buildUnnamed364();
|
| }
|
| buildCounterBatchClearValuesRequest--;
|
| return o;
|
| @@ -683,19 +683,19 @@ buildBatchClearValuesRequest() {
|
| checkBatchClearValuesRequest(api.BatchClearValuesRequest o) {
|
| buildCounterBatchClearValuesRequest++;
|
| if (buildCounterBatchClearValuesRequest < 3) {
|
| - checkUnnamed362(o.ranges);
|
| + checkUnnamed364(o.ranges);
|
| }
|
| buildCounterBatchClearValuesRequest--;
|
| }
|
|
|
| -buildUnnamed363() {
|
| +buildUnnamed365() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed363(core.List<core.String> o) {
|
| +checkUnnamed365(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -706,7 +706,7 @@ buildBatchClearValuesResponse() {
|
| var o = new api.BatchClearValuesResponse();
|
| buildCounterBatchClearValuesResponse++;
|
| if (buildCounterBatchClearValuesResponse < 3) {
|
| - o.clearedRanges = buildUnnamed363();
|
| + o.clearedRanges = buildUnnamed365();
|
| o.spreadsheetId = "foo";
|
| }
|
| buildCounterBatchClearValuesResponse--;
|
| @@ -716,20 +716,20 @@ buildBatchClearValuesResponse() {
|
| checkBatchClearValuesResponse(api.BatchClearValuesResponse o) {
|
| buildCounterBatchClearValuesResponse++;
|
| if (buildCounterBatchClearValuesResponse < 3) {
|
| - checkUnnamed363(o.clearedRanges);
|
| + checkUnnamed365(o.clearedRanges);
|
| unittest.expect(o.spreadsheetId, unittest.equals('foo'));
|
| }
|
| buildCounterBatchClearValuesResponse--;
|
| }
|
|
|
| -buildUnnamed364() {
|
| +buildUnnamed366() {
|
| var o = new core.List<api.ValueRange>();
|
| o.add(buildValueRange());
|
| o.add(buildValueRange());
|
| return o;
|
| }
|
|
|
| -checkUnnamed364(core.List<api.ValueRange> o) {
|
| +checkUnnamed366(core.List<api.ValueRange> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkValueRange(o[0]);
|
| checkValueRange(o[1]);
|
| @@ -741,7 +741,7 @@ buildBatchGetValuesResponse() {
|
| buildCounterBatchGetValuesResponse++;
|
| if (buildCounterBatchGetValuesResponse < 3) {
|
| o.spreadsheetId = "foo";
|
| - o.valueRanges = buildUnnamed364();
|
| + o.valueRanges = buildUnnamed366();
|
| }
|
| buildCounterBatchGetValuesResponse--;
|
| return o;
|
| @@ -751,32 +751,32 @@ checkBatchGetValuesResponse(api.BatchGetValuesResponse o) {
|
| buildCounterBatchGetValuesResponse++;
|
| if (buildCounterBatchGetValuesResponse < 3) {
|
| unittest.expect(o.spreadsheetId, unittest.equals('foo'));
|
| - checkUnnamed364(o.valueRanges);
|
| + checkUnnamed366(o.valueRanges);
|
| }
|
| buildCounterBatchGetValuesResponse--;
|
| }
|
|
|
| -buildUnnamed365() {
|
| +buildUnnamed367() {
|
| var o = new core.List<api.Request>();
|
| o.add(buildRequest());
|
| o.add(buildRequest());
|
| return o;
|
| }
|
|
|
| -checkUnnamed365(core.List<api.Request> o) {
|
| +checkUnnamed367(core.List<api.Request> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRequest(o[0]);
|
| checkRequest(o[1]);
|
| }
|
|
|
| -buildUnnamed366() {
|
| +buildUnnamed368() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed366(core.List<core.String> o) {
|
| +checkUnnamed368(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -788,9 +788,9 @@ buildBatchUpdateSpreadsheetRequest() {
|
| buildCounterBatchUpdateSpreadsheetRequest++;
|
| if (buildCounterBatchUpdateSpreadsheetRequest < 3) {
|
| o.includeSpreadsheetInResponse = true;
|
| - o.requests = buildUnnamed365();
|
| + o.requests = buildUnnamed367();
|
| o.responseIncludeGridData = true;
|
| - o.responseRanges = buildUnnamed366();
|
| + o.responseRanges = buildUnnamed368();
|
| }
|
| buildCounterBatchUpdateSpreadsheetRequest--;
|
| return o;
|
| @@ -800,21 +800,21 @@ checkBatchUpdateSpreadsheetRequest(api.BatchUpdateSpreadsheetRequest o) {
|
| buildCounterBatchUpdateSpreadsheetRequest++;
|
| if (buildCounterBatchUpdateSpreadsheetRequest < 3) {
|
| unittest.expect(o.includeSpreadsheetInResponse, unittest.isTrue);
|
| - checkUnnamed365(o.requests);
|
| + checkUnnamed367(o.requests);
|
| unittest.expect(o.responseIncludeGridData, unittest.isTrue);
|
| - checkUnnamed366(o.responseRanges);
|
| + checkUnnamed368(o.responseRanges);
|
| }
|
| buildCounterBatchUpdateSpreadsheetRequest--;
|
| }
|
|
|
| -buildUnnamed367() {
|
| +buildUnnamed369() {
|
| var o = new core.List<api.Response>();
|
| o.add(buildResponse());
|
| o.add(buildResponse());
|
| return o;
|
| }
|
|
|
| -checkUnnamed367(core.List<api.Response> o) {
|
| +checkUnnamed369(core.List<api.Response> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkResponse(o[0]);
|
| checkResponse(o[1]);
|
| @@ -825,7 +825,7 @@ buildBatchUpdateSpreadsheetResponse() {
|
| var o = new api.BatchUpdateSpreadsheetResponse();
|
| buildCounterBatchUpdateSpreadsheetResponse++;
|
| if (buildCounterBatchUpdateSpreadsheetResponse < 3) {
|
| - o.replies = buildUnnamed367();
|
| + o.replies = buildUnnamed369();
|
| o.spreadsheetId = "foo";
|
| o.updatedSpreadsheet = buildSpreadsheet();
|
| }
|
| @@ -836,21 +836,21 @@ buildBatchUpdateSpreadsheetResponse() {
|
| checkBatchUpdateSpreadsheetResponse(api.BatchUpdateSpreadsheetResponse o) {
|
| buildCounterBatchUpdateSpreadsheetResponse++;
|
| if (buildCounterBatchUpdateSpreadsheetResponse < 3) {
|
| - checkUnnamed367(o.replies);
|
| + checkUnnamed369(o.replies);
|
| unittest.expect(o.spreadsheetId, unittest.equals('foo'));
|
| checkSpreadsheet(o.updatedSpreadsheet);
|
| }
|
| buildCounterBatchUpdateSpreadsheetResponse--;
|
| }
|
|
|
| -buildUnnamed368() {
|
| +buildUnnamed370() {
|
| var o = new core.List<api.ValueRange>();
|
| o.add(buildValueRange());
|
| o.add(buildValueRange());
|
| return o;
|
| }
|
|
|
| -checkUnnamed368(core.List<api.ValueRange> o) {
|
| +checkUnnamed370(core.List<api.ValueRange> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkValueRange(o[0]);
|
| checkValueRange(o[1]);
|
| @@ -861,7 +861,7 @@ buildBatchUpdateValuesRequest() {
|
| var o = new api.BatchUpdateValuesRequest();
|
| buildCounterBatchUpdateValuesRequest++;
|
| if (buildCounterBatchUpdateValuesRequest < 3) {
|
| - o.data = buildUnnamed368();
|
| + o.data = buildUnnamed370();
|
| o.includeValuesInResponse = true;
|
| o.responseDateTimeRenderOption = "foo";
|
| o.responseValueRenderOption = "foo";
|
| @@ -874,7 +874,7 @@ buildBatchUpdateValuesRequest() {
|
| checkBatchUpdateValuesRequest(api.BatchUpdateValuesRequest o) {
|
| buildCounterBatchUpdateValuesRequest++;
|
| if (buildCounterBatchUpdateValuesRequest < 3) {
|
| - checkUnnamed368(o.data);
|
| + checkUnnamed370(o.data);
|
| unittest.expect(o.includeValuesInResponse, unittest.isTrue);
|
| unittest.expect(o.responseDateTimeRenderOption, unittest.equals('foo'));
|
| unittest.expect(o.responseValueRenderOption, unittest.equals('foo'));
|
| @@ -883,14 +883,14 @@ checkBatchUpdateValuesRequest(api.BatchUpdateValuesRequest o) {
|
| buildCounterBatchUpdateValuesRequest--;
|
| }
|
|
|
| -buildUnnamed369() {
|
| +buildUnnamed371() {
|
| var o = new core.List<api.UpdateValuesResponse>();
|
| o.add(buildUpdateValuesResponse());
|
| o.add(buildUpdateValuesResponse());
|
| return o;
|
| }
|
|
|
| -checkUnnamed369(core.List<api.UpdateValuesResponse> o) {
|
| +checkUnnamed371(core.List<api.UpdateValuesResponse> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUpdateValuesResponse(o[0]);
|
| checkUpdateValuesResponse(o[1]);
|
| @@ -901,7 +901,7 @@ buildBatchUpdateValuesResponse() {
|
| var o = new api.BatchUpdateValuesResponse();
|
| buildCounterBatchUpdateValuesResponse++;
|
| if (buildCounterBatchUpdateValuesResponse < 3) {
|
| - o.responses = buildUnnamed369();
|
| + o.responses = buildUnnamed371();
|
| o.spreadsheetId = "foo";
|
| o.totalUpdatedCells = 42;
|
| o.totalUpdatedColumns = 42;
|
| @@ -915,7 +915,7 @@ buildBatchUpdateValuesResponse() {
|
| checkBatchUpdateValuesResponse(api.BatchUpdateValuesResponse o) {
|
| buildCounterBatchUpdateValuesResponse++;
|
| if (buildCounterBatchUpdateValuesResponse < 3) {
|
| - checkUnnamed369(o.responses);
|
| + checkUnnamed371(o.responses);
|
| unittest.expect(o.spreadsheetId, unittest.equals('foo'));
|
| unittest.expect(o.totalUpdatedCells, unittest.equals(42));
|
| unittest.expect(o.totalUpdatedColumns, unittest.equals(42));
|
| @@ -925,14 +925,14 @@ checkBatchUpdateValuesResponse(api.BatchUpdateValuesResponse o) {
|
| buildCounterBatchUpdateValuesResponse--;
|
| }
|
|
|
| -buildUnnamed370() {
|
| +buildUnnamed372() {
|
| var o = new core.List<api.ConditionValue>();
|
| o.add(buildConditionValue());
|
| o.add(buildConditionValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed370(core.List<api.ConditionValue> o) {
|
| +checkUnnamed372(core.List<api.ConditionValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkConditionValue(o[0]);
|
| checkConditionValue(o[1]);
|
| @@ -944,7 +944,7 @@ buildBooleanCondition() {
|
| buildCounterBooleanCondition++;
|
| if (buildCounterBooleanCondition < 3) {
|
| o.type = "foo";
|
| - o.values = buildUnnamed370();
|
| + o.values = buildUnnamed372();
|
| }
|
| buildCounterBooleanCondition--;
|
| return o;
|
| @@ -954,7 +954,7 @@ checkBooleanCondition(api.BooleanCondition o) {
|
| buildCounterBooleanCondition++;
|
| if (buildCounterBooleanCondition < 3) {
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| - checkUnnamed370(o.values);
|
| + checkUnnamed372(o.values);
|
| }
|
| buildCounterBooleanCondition--;
|
| }
|
| @@ -1028,14 +1028,14 @@ checkBorders(api.Borders o) {
|
| buildCounterBorders--;
|
| }
|
|
|
| -buildUnnamed371() {
|
| +buildUnnamed373() {
|
| var o = new core.List<api.TextFormatRun>();
|
| o.add(buildTextFormatRun());
|
| o.add(buildTextFormatRun());
|
| return o;
|
| }
|
|
|
| -checkUnnamed371(core.List<api.TextFormatRun> o) {
|
| +checkUnnamed373(core.List<api.TextFormatRun> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTextFormatRun(o[0]);
|
| checkTextFormatRun(o[1]);
|
| @@ -1053,7 +1053,7 @@ buildCellData() {
|
| o.hyperlink = "foo";
|
| o.note = "foo";
|
| o.pivotTable = buildPivotTable();
|
| - o.textFormatRuns = buildUnnamed371();
|
| + o.textFormatRuns = buildUnnamed373();
|
| o.userEnteredFormat = buildCellFormat();
|
| o.userEnteredValue = buildExtendedValue();
|
| }
|
| @@ -1071,7 +1071,7 @@ checkCellData(api.CellData o) {
|
| unittest.expect(o.hyperlink, unittest.equals('foo'));
|
| unittest.expect(o.note, unittest.equals('foo'));
|
| checkPivotTable(o.pivotTable);
|
| - checkUnnamed371(o.textFormatRuns);
|
| + checkUnnamed373(o.textFormatRuns);
|
| checkCellFormat(o.userEnteredFormat);
|
| checkExtendedValue(o.userEnteredValue);
|
| }
|
| @@ -1134,14 +1134,14 @@ checkChartData(api.ChartData o) {
|
| buildCounterChartData--;
|
| }
|
|
|
| -buildUnnamed372() {
|
| +buildUnnamed374() {
|
| var o = new core.List<api.GridRange>();
|
| o.add(buildGridRange());
|
| o.add(buildGridRange());
|
| return o;
|
| }
|
|
|
| -checkUnnamed372(core.List<api.GridRange> o) {
|
| +checkUnnamed374(core.List<api.GridRange> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkGridRange(o[0]);
|
| checkGridRange(o[1]);
|
| @@ -1152,7 +1152,7 @@ buildChartSourceRange() {
|
| var o = new api.ChartSourceRange();
|
| buildCounterChartSourceRange++;
|
| if (buildCounterChartSourceRange < 3) {
|
| - o.sources = buildUnnamed372();
|
| + o.sources = buildUnnamed374();
|
| }
|
| buildCounterChartSourceRange--;
|
| return o;
|
| @@ -1161,7 +1161,7 @@ buildChartSourceRange() {
|
| checkChartSourceRange(api.ChartSourceRange o) {
|
| buildCounterChartSourceRange++;
|
| if (buildCounterChartSourceRange < 3) {
|
| - checkUnnamed372(o.sources);
|
| + checkUnnamed374(o.sources);
|
| }
|
| buildCounterChartSourceRange--;
|
| }
|
| @@ -1294,14 +1294,14 @@ checkConditionValue(api.ConditionValue o) {
|
| buildCounterConditionValue--;
|
| }
|
|
|
| -buildUnnamed373() {
|
| +buildUnnamed375() {
|
| var o = new core.List<api.GridRange>();
|
| o.add(buildGridRange());
|
| o.add(buildGridRange());
|
| return o;
|
| }
|
|
|
| -checkUnnamed373(core.List<api.GridRange> o) {
|
| +checkUnnamed375(core.List<api.GridRange> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkGridRange(o[0]);
|
| checkGridRange(o[1]);
|
| @@ -1314,7 +1314,7 @@ buildConditionalFormatRule() {
|
| if (buildCounterConditionalFormatRule < 3) {
|
| o.booleanRule = buildBooleanRule();
|
| o.gradientRule = buildGradientRule();
|
| - o.ranges = buildUnnamed373();
|
| + o.ranges = buildUnnamed375();
|
| }
|
| buildCounterConditionalFormatRule--;
|
| return o;
|
| @@ -1325,7 +1325,7 @@ checkConditionalFormatRule(api.ConditionalFormatRule o) {
|
| if (buildCounterConditionalFormatRule < 3) {
|
| checkBooleanRule(o.booleanRule);
|
| checkGradientRule(o.gradientRule);
|
| - checkUnnamed373(o.ranges);
|
| + checkUnnamed375(o.ranges);
|
| }
|
| buildCounterConditionalFormatRule--;
|
| }
|
| @@ -1746,27 +1746,27 @@ checkDuplicateSheetResponse(api.DuplicateSheetResponse o) {
|
| buildCounterDuplicateSheetResponse--;
|
| }
|
|
|
| -buildUnnamed374() {
|
| +buildUnnamed376() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed374(core.List<core.String> o) {
|
| +checkUnnamed376(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed375() {
|
| +buildUnnamed377() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed375(core.List<core.String> o) {
|
| +checkUnnamed377(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -1778,8 +1778,8 @@ buildEditors() {
|
| buildCounterEditors++;
|
| if (buildCounterEditors < 3) {
|
| o.domainUsersCanEdit = true;
|
| - o.groups = buildUnnamed374();
|
| - o.users = buildUnnamed375();
|
| + o.groups = buildUnnamed376();
|
| + o.users = buildUnnamed377();
|
| }
|
| buildCounterEditors--;
|
| return o;
|
| @@ -1789,8 +1789,8 @@ checkEditors(api.Editors o) {
|
| buildCounterEditors++;
|
| if (buildCounterEditors < 3) {
|
| unittest.expect(o.domainUsersCanEdit, unittest.isTrue);
|
| - checkUnnamed374(o.groups);
|
| - checkUnnamed375(o.users);
|
| + checkUnnamed376(o.groups);
|
| + checkUnnamed377(o.users);
|
| }
|
| buildCounterEditors--;
|
| }
|
| @@ -1889,14 +1889,14 @@ checkExtendedValue(api.ExtendedValue o) {
|
| buildCounterExtendedValue--;
|
| }
|
|
|
| -buildUnnamed376() {
|
| +buildUnnamed378() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed376(core.List<core.String> o) {
|
| +checkUnnamed378(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -1908,7 +1908,7 @@ buildFilterCriteria() {
|
| buildCounterFilterCriteria++;
|
| if (buildCounterFilterCriteria < 3) {
|
| o.condition = buildBooleanCondition();
|
| - o.hiddenValues = buildUnnamed376();
|
| + o.hiddenValues = buildUnnamed378();
|
| }
|
| buildCounterFilterCriteria--;
|
| return o;
|
| @@ -1918,32 +1918,32 @@ checkFilterCriteria(api.FilterCriteria o) {
|
| buildCounterFilterCriteria++;
|
| if (buildCounterFilterCriteria < 3) {
|
| checkBooleanCondition(o.condition);
|
| - checkUnnamed376(o.hiddenValues);
|
| + checkUnnamed378(o.hiddenValues);
|
| }
|
| buildCounterFilterCriteria--;
|
| }
|
|
|
| -buildUnnamed377() {
|
| +buildUnnamed379() {
|
| var o = new core.Map<core.String, api.FilterCriteria>();
|
| o["x"] = buildFilterCriteria();
|
| o["y"] = buildFilterCriteria();
|
| return o;
|
| }
|
|
|
| -checkUnnamed377(core.Map<core.String, api.FilterCriteria> o) {
|
| +checkUnnamed379(core.Map<core.String, api.FilterCriteria> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkFilterCriteria(o["x"]);
|
| checkFilterCriteria(o["y"]);
|
| }
|
|
|
| -buildUnnamed378() {
|
| +buildUnnamed380() {
|
| var o = new core.List<api.SortSpec>();
|
| o.add(buildSortSpec());
|
| o.add(buildSortSpec());
|
| return o;
|
| }
|
|
|
| -checkUnnamed378(core.List<api.SortSpec> o) {
|
| +checkUnnamed380(core.List<api.SortSpec> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSortSpec(o[0]);
|
| checkSortSpec(o[1]);
|
| @@ -1954,11 +1954,11 @@ buildFilterView() {
|
| var o = new api.FilterView();
|
| buildCounterFilterView++;
|
| if (buildCounterFilterView < 3) {
|
| - o.criteria = buildUnnamed377();
|
| + o.criteria = buildUnnamed379();
|
| o.filterViewId = 42;
|
| o.namedRangeId = "foo";
|
| o.range = buildGridRange();
|
| - o.sortSpecs = buildUnnamed378();
|
| + o.sortSpecs = buildUnnamed380();
|
| o.title = "foo";
|
| }
|
| buildCounterFilterView--;
|
| @@ -1968,11 +1968,11 @@ buildFilterView() {
|
| checkFilterView(api.FilterView o) {
|
| buildCounterFilterView++;
|
| if (buildCounterFilterView < 3) {
|
| - checkUnnamed377(o.criteria);
|
| + checkUnnamed379(o.criteria);
|
| unittest.expect(o.filterViewId, unittest.equals(42));
|
| unittest.expect(o.namedRangeId, unittest.equals('foo'));
|
| checkGridRange(o.range);
|
| - checkUnnamed378(o.sortSpecs);
|
| + checkUnnamed380(o.sortSpecs);
|
| unittest.expect(o.title, unittest.equals('foo'));
|
| }
|
| buildCounterFilterView--;
|
| @@ -2086,40 +2086,40 @@ checkGridCoordinate(api.GridCoordinate o) {
|
| buildCounterGridCoordinate--;
|
| }
|
|
|
| -buildUnnamed379() {
|
| +buildUnnamed381() {
|
| var o = new core.List<api.DimensionProperties>();
|
| o.add(buildDimensionProperties());
|
| o.add(buildDimensionProperties());
|
| return o;
|
| }
|
|
|
| -checkUnnamed379(core.List<api.DimensionProperties> o) {
|
| +checkUnnamed381(core.List<api.DimensionProperties> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimensionProperties(o[0]);
|
| checkDimensionProperties(o[1]);
|
| }
|
|
|
| -buildUnnamed380() {
|
| +buildUnnamed382() {
|
| var o = new core.List<api.RowData>();
|
| o.add(buildRowData());
|
| o.add(buildRowData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed380(core.List<api.RowData> o) {
|
| +checkUnnamed382(core.List<api.RowData> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRowData(o[0]);
|
| checkRowData(o[1]);
|
| }
|
|
|
| -buildUnnamed381() {
|
| +buildUnnamed383() {
|
| var o = new core.List<api.DimensionProperties>();
|
| o.add(buildDimensionProperties());
|
| o.add(buildDimensionProperties());
|
| return o;
|
| }
|
|
|
| -checkUnnamed381(core.List<api.DimensionProperties> o) {
|
| +checkUnnamed383(core.List<api.DimensionProperties> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimensionProperties(o[0]);
|
| checkDimensionProperties(o[1]);
|
| @@ -2130,9 +2130,9 @@ buildGridData() {
|
| var o = new api.GridData();
|
| buildCounterGridData++;
|
| if (buildCounterGridData < 3) {
|
| - o.columnMetadata = buildUnnamed379();
|
| - o.rowData = buildUnnamed380();
|
| - o.rowMetadata = buildUnnamed381();
|
| + o.columnMetadata = buildUnnamed381();
|
| + o.rowData = buildUnnamed382();
|
| + o.rowMetadata = buildUnnamed383();
|
| o.startColumn = 42;
|
| o.startRow = 42;
|
| }
|
| @@ -2143,9 +2143,9 @@ buildGridData() {
|
| checkGridData(api.GridData o) {
|
| buildCounterGridData++;
|
| if (buildCounterGridData < 3) {
|
| - checkUnnamed379(o.columnMetadata);
|
| - checkUnnamed380(o.rowData);
|
| - checkUnnamed381(o.rowMetadata);
|
| + checkUnnamed381(o.columnMetadata);
|
| + checkUnnamed382(o.rowData);
|
| + checkUnnamed383(o.rowMetadata);
|
| unittest.expect(o.startColumn, unittest.equals(42));
|
| unittest.expect(o.startRow, unittest.equals(42));
|
| }
|
| @@ -2271,6 +2271,27 @@ checkInterpolationPoint(api.InterpolationPoint o) {
|
| buildCounterInterpolationPoint--;
|
| }
|
|
|
| +core.int buildCounterIterativeCalculationSettings = 0;
|
| +buildIterativeCalculationSettings() {
|
| + var o = new api.IterativeCalculationSettings();
|
| + buildCounterIterativeCalculationSettings++;
|
| + if (buildCounterIterativeCalculationSettings < 3) {
|
| + o.convergenceThreshold = 42.0;
|
| + o.maxIterations = 42;
|
| + }
|
| + buildCounterIterativeCalculationSettings--;
|
| + return o;
|
| +}
|
| +
|
| +checkIterativeCalculationSettings(api.IterativeCalculationSettings o) {
|
| + buildCounterIterativeCalculationSettings++;
|
| + if (buildCounterIterativeCalculationSettings < 3) {
|
| + unittest.expect(o.convergenceThreshold, unittest.equals(42.0));
|
| + unittest.expect(o.maxIterations, unittest.equals(42));
|
| + }
|
| + buildCounterIterativeCalculationSettings--;
|
| +}
|
| +
|
| core.int buildCounterMergeCellsRequest = 0;
|
| buildMergeCellsRequest() {
|
| var o = new api.MergeCellsRequest();
|
| @@ -2463,14 +2484,14 @@ checkPieChartSpec(api.PieChartSpec o) {
|
| buildCounterPieChartSpec--;
|
| }
|
|
|
| -buildUnnamed382() {
|
| +buildUnnamed384() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed382(core.List<core.String> o) {
|
| +checkUnnamed384(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -2481,7 +2502,7 @@ buildPivotFilterCriteria() {
|
| var o = new api.PivotFilterCriteria();
|
| buildCounterPivotFilterCriteria++;
|
| if (buildCounterPivotFilterCriteria < 3) {
|
| - o.visibleValues = buildUnnamed382();
|
| + o.visibleValues = buildUnnamed384();
|
| }
|
| buildCounterPivotFilterCriteria--;
|
| return o;
|
| @@ -2490,19 +2511,19 @@ buildPivotFilterCriteria() {
|
| checkPivotFilterCriteria(api.PivotFilterCriteria o) {
|
| buildCounterPivotFilterCriteria++;
|
| if (buildCounterPivotFilterCriteria < 3) {
|
| - checkUnnamed382(o.visibleValues);
|
| + checkUnnamed384(o.visibleValues);
|
| }
|
| buildCounterPivotFilterCriteria--;
|
| }
|
|
|
| -buildUnnamed383() {
|
| +buildUnnamed385() {
|
| var o = new core.List<api.PivotGroupValueMetadata>();
|
| o.add(buildPivotGroupValueMetadata());
|
| o.add(buildPivotGroupValueMetadata());
|
| return o;
|
| }
|
|
|
| -checkUnnamed383(core.List<api.PivotGroupValueMetadata> o) {
|
| +checkUnnamed385(core.List<api.PivotGroupValueMetadata> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPivotGroupValueMetadata(o[0]);
|
| checkPivotGroupValueMetadata(o[1]);
|
| @@ -2517,7 +2538,7 @@ buildPivotGroup() {
|
| o.sortOrder = "foo";
|
| o.sourceColumnOffset = 42;
|
| o.valueBucket = buildPivotGroupSortValueBucket();
|
| - o.valueMetadata = buildUnnamed383();
|
| + o.valueMetadata = buildUnnamed385();
|
| }
|
| buildCounterPivotGroup--;
|
| return o;
|
| @@ -2530,19 +2551,19 @@ checkPivotGroup(api.PivotGroup o) {
|
| unittest.expect(o.sortOrder, unittest.equals('foo'));
|
| unittest.expect(o.sourceColumnOffset, unittest.equals(42));
|
| checkPivotGroupSortValueBucket(o.valueBucket);
|
| - checkUnnamed383(o.valueMetadata);
|
| + checkUnnamed385(o.valueMetadata);
|
| }
|
| buildCounterPivotGroup--;
|
| }
|
|
|
| -buildUnnamed384() {
|
| +buildUnnamed386() {
|
| var o = new core.List<api.ExtendedValue>();
|
| o.add(buildExtendedValue());
|
| o.add(buildExtendedValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed384(core.List<api.ExtendedValue> o) {
|
| +checkUnnamed386(core.List<api.ExtendedValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkExtendedValue(o[0]);
|
| checkExtendedValue(o[1]);
|
| @@ -2553,7 +2574,7 @@ buildPivotGroupSortValueBucket() {
|
| var o = new api.PivotGroupSortValueBucket();
|
| buildCounterPivotGroupSortValueBucket++;
|
| if (buildCounterPivotGroupSortValueBucket < 3) {
|
| - o.buckets = buildUnnamed384();
|
| + o.buckets = buildUnnamed386();
|
| o.valuesIndex = 42;
|
| }
|
| buildCounterPivotGroupSortValueBucket--;
|
| @@ -2563,7 +2584,7 @@ buildPivotGroupSortValueBucket() {
|
| checkPivotGroupSortValueBucket(api.PivotGroupSortValueBucket o) {
|
| buildCounterPivotGroupSortValueBucket++;
|
| if (buildCounterPivotGroupSortValueBucket < 3) {
|
| - checkUnnamed384(o.buckets);
|
| + checkUnnamed386(o.buckets);
|
| unittest.expect(o.valuesIndex, unittest.equals(42));
|
| }
|
| buildCounterPivotGroupSortValueBucket--;
|
| @@ -2590,53 +2611,53 @@ checkPivotGroupValueMetadata(api.PivotGroupValueMetadata o) {
|
| buildCounterPivotGroupValueMetadata--;
|
| }
|
|
|
| -buildUnnamed385() {
|
| +buildUnnamed387() {
|
| var o = new core.List<api.PivotGroup>();
|
| o.add(buildPivotGroup());
|
| o.add(buildPivotGroup());
|
| return o;
|
| }
|
|
|
| -checkUnnamed385(core.List<api.PivotGroup> o) {
|
| +checkUnnamed387(core.List<api.PivotGroup> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPivotGroup(o[0]);
|
| checkPivotGroup(o[1]);
|
| }
|
|
|
| -buildUnnamed386() {
|
| +buildUnnamed388() {
|
| var o = new core.Map<core.String, api.PivotFilterCriteria>();
|
| o["x"] = buildPivotFilterCriteria();
|
| o["y"] = buildPivotFilterCriteria();
|
| return o;
|
| }
|
|
|
| -checkUnnamed386(core.Map<core.String, api.PivotFilterCriteria> o) {
|
| +checkUnnamed388(core.Map<core.String, api.PivotFilterCriteria> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPivotFilterCriteria(o["x"]);
|
| checkPivotFilterCriteria(o["y"]);
|
| }
|
|
|
| -buildUnnamed387() {
|
| +buildUnnamed389() {
|
| var o = new core.List<api.PivotGroup>();
|
| o.add(buildPivotGroup());
|
| o.add(buildPivotGroup());
|
| return o;
|
| }
|
|
|
| -checkUnnamed387(core.List<api.PivotGroup> o) {
|
| +checkUnnamed389(core.List<api.PivotGroup> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPivotGroup(o[0]);
|
| checkPivotGroup(o[1]);
|
| }
|
|
|
| -buildUnnamed388() {
|
| +buildUnnamed390() {
|
| var o = new core.List<api.PivotValue>();
|
| o.add(buildPivotValue());
|
| o.add(buildPivotValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed388(core.List<api.PivotValue> o) {
|
| +checkUnnamed390(core.List<api.PivotValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPivotValue(o[0]);
|
| checkPivotValue(o[1]);
|
| @@ -2647,12 +2668,12 @@ buildPivotTable() {
|
| var o = new api.PivotTable();
|
| buildCounterPivotTable++;
|
| if (buildCounterPivotTable < 3) {
|
| - o.columns = buildUnnamed385();
|
| - o.criteria = buildUnnamed386();
|
| - o.rows = buildUnnamed387();
|
| + o.columns = buildUnnamed387();
|
| + o.criteria = buildUnnamed388();
|
| + o.rows = buildUnnamed389();
|
| o.source = buildGridRange();
|
| o.valueLayout = "foo";
|
| - o.values = buildUnnamed388();
|
| + o.values = buildUnnamed390();
|
| }
|
| buildCounterPivotTable--;
|
| return o;
|
| @@ -2661,12 +2682,12 @@ buildPivotTable() {
|
| checkPivotTable(api.PivotTable o) {
|
| buildCounterPivotTable++;
|
| if (buildCounterPivotTable < 3) {
|
| - checkUnnamed385(o.columns);
|
| - checkUnnamed386(o.criteria);
|
| - checkUnnamed387(o.rows);
|
| + checkUnnamed387(o.columns);
|
| + checkUnnamed388(o.criteria);
|
| + checkUnnamed389(o.rows);
|
| checkGridRange(o.source);
|
| unittest.expect(o.valueLayout, unittest.equals('foo'));
|
| - checkUnnamed388(o.values);
|
| + checkUnnamed390(o.values);
|
| }
|
| buildCounterPivotTable--;
|
| }
|
| @@ -2696,14 +2717,14 @@ checkPivotValue(api.PivotValue o) {
|
| buildCounterPivotValue--;
|
| }
|
|
|
| -buildUnnamed389() {
|
| +buildUnnamed391() {
|
| var o = new core.List<api.GridRange>();
|
| o.add(buildGridRange());
|
| o.add(buildGridRange());
|
| return o;
|
| }
|
|
|
| -checkUnnamed389(core.List<api.GridRange> o) {
|
| +checkUnnamed391(core.List<api.GridRange> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkGridRange(o[0]);
|
| checkGridRange(o[1]);
|
| @@ -2720,7 +2741,7 @@ buildProtectedRange() {
|
| o.protectedRangeId = 42;
|
| o.range = buildGridRange();
|
| o.requestingUserCanEdit = true;
|
| - o.unprotectedRanges = buildUnnamed389();
|
| + o.unprotectedRanges = buildUnnamed391();
|
| o.warningOnly = true;
|
| }
|
| buildCounterProtectedRange--;
|
| @@ -2736,7 +2757,7 @@ checkProtectedRange(api.ProtectedRange o) {
|
| unittest.expect(o.protectedRangeId, unittest.equals(42));
|
| checkGridRange(o.range);
|
| unittest.expect(o.requestingUserCanEdit, unittest.isTrue);
|
| - checkUnnamed389(o.unprotectedRanges);
|
| + checkUnnamed391(o.unprotectedRanges);
|
| unittest.expect(o.warningOnly, unittest.isTrue);
|
| }
|
| buildCounterProtectedRange--;
|
| @@ -2921,14 +2942,14 @@ checkResponse(api.Response o) {
|
| buildCounterResponse--;
|
| }
|
|
|
| -buildUnnamed390() {
|
| +buildUnnamed392() {
|
| var o = new core.List<api.CellData>();
|
| o.add(buildCellData());
|
| o.add(buildCellData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed390(core.List<api.CellData> o) {
|
| +checkUnnamed392(core.List<api.CellData> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCellData(o[0]);
|
| checkCellData(o[1]);
|
| @@ -2939,7 +2960,7 @@ buildRowData() {
|
| var o = new api.RowData();
|
| buildCounterRowData++;
|
| if (buildCounterRowData < 3) {
|
| - o.values = buildUnnamed390();
|
| + o.values = buildUnnamed392();
|
| }
|
| buildCounterRowData--;
|
| return o;
|
| @@ -2948,7 +2969,7 @@ buildRowData() {
|
| checkRowData(api.RowData o) {
|
| buildCounterRowData++;
|
| if (buildCounterRowData < 3) {
|
| - checkUnnamed390(o.values);
|
| + checkUnnamed392(o.values);
|
| }
|
| buildCounterRowData--;
|
| }
|
| @@ -2993,92 +3014,92 @@ checkSetDataValidationRequest(api.SetDataValidationRequest o) {
|
| buildCounterSetDataValidationRequest--;
|
| }
|
|
|
| -buildUnnamed391() {
|
| +buildUnnamed393() {
|
| var o = new core.List<api.BandedRange>();
|
| o.add(buildBandedRange());
|
| o.add(buildBandedRange());
|
| return o;
|
| }
|
|
|
| -checkUnnamed391(core.List<api.BandedRange> o) {
|
| +checkUnnamed393(core.List<api.BandedRange> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBandedRange(o[0]);
|
| checkBandedRange(o[1]);
|
| }
|
|
|
| -buildUnnamed392() {
|
| +buildUnnamed394() {
|
| var o = new core.List<api.EmbeddedChart>();
|
| o.add(buildEmbeddedChart());
|
| o.add(buildEmbeddedChart());
|
| return o;
|
| }
|
|
|
| -checkUnnamed392(core.List<api.EmbeddedChart> o) {
|
| +checkUnnamed394(core.List<api.EmbeddedChart> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkEmbeddedChart(o[0]);
|
| checkEmbeddedChart(o[1]);
|
| }
|
|
|
| -buildUnnamed393() {
|
| +buildUnnamed395() {
|
| var o = new core.List<api.ConditionalFormatRule>();
|
| o.add(buildConditionalFormatRule());
|
| o.add(buildConditionalFormatRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed393(core.List<api.ConditionalFormatRule> o) {
|
| +checkUnnamed395(core.List<api.ConditionalFormatRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkConditionalFormatRule(o[0]);
|
| checkConditionalFormatRule(o[1]);
|
| }
|
|
|
| -buildUnnamed394() {
|
| +buildUnnamed396() {
|
| var o = new core.List<api.GridData>();
|
| o.add(buildGridData());
|
| o.add(buildGridData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed394(core.List<api.GridData> o) {
|
| +checkUnnamed396(core.List<api.GridData> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkGridData(o[0]);
|
| checkGridData(o[1]);
|
| }
|
|
|
| -buildUnnamed395() {
|
| +buildUnnamed397() {
|
| var o = new core.List<api.FilterView>();
|
| o.add(buildFilterView());
|
| o.add(buildFilterView());
|
| return o;
|
| }
|
|
|
| -checkUnnamed395(core.List<api.FilterView> o) {
|
| +checkUnnamed397(core.List<api.FilterView> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkFilterView(o[0]);
|
| checkFilterView(o[1]);
|
| }
|
|
|
| -buildUnnamed396() {
|
| +buildUnnamed398() {
|
| var o = new core.List<api.GridRange>();
|
| o.add(buildGridRange());
|
| o.add(buildGridRange());
|
| return o;
|
| }
|
|
|
| -checkUnnamed396(core.List<api.GridRange> o) {
|
| +checkUnnamed398(core.List<api.GridRange> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkGridRange(o[0]);
|
| checkGridRange(o[1]);
|
| }
|
|
|
| -buildUnnamed397() {
|
| +buildUnnamed399() {
|
| var o = new core.List<api.ProtectedRange>();
|
| o.add(buildProtectedRange());
|
| o.add(buildProtectedRange());
|
| return o;
|
| }
|
|
|
| -checkUnnamed397(core.List<api.ProtectedRange> o) {
|
| +checkUnnamed399(core.List<api.ProtectedRange> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkProtectedRange(o[0]);
|
| checkProtectedRange(o[1]);
|
| @@ -3089,15 +3110,15 @@ buildSheet() {
|
| var o = new api.Sheet();
|
| buildCounterSheet++;
|
| if (buildCounterSheet < 3) {
|
| - o.bandedRanges = buildUnnamed391();
|
| + o.bandedRanges = buildUnnamed393();
|
| o.basicFilter = buildBasicFilter();
|
| - o.charts = buildUnnamed392();
|
| - o.conditionalFormats = buildUnnamed393();
|
| - o.data = buildUnnamed394();
|
| - o.filterViews = buildUnnamed395();
|
| - o.merges = buildUnnamed396();
|
| + o.charts = buildUnnamed394();
|
| + o.conditionalFormats = buildUnnamed395();
|
| + o.data = buildUnnamed396();
|
| + o.filterViews = buildUnnamed397();
|
| + o.merges = buildUnnamed398();
|
| o.properties = buildSheetProperties();
|
| - o.protectedRanges = buildUnnamed397();
|
| + o.protectedRanges = buildUnnamed399();
|
| }
|
| buildCounterSheet--;
|
| return o;
|
| @@ -3106,15 +3127,15 @@ buildSheet() {
|
| checkSheet(api.Sheet o) {
|
| buildCounterSheet++;
|
| if (buildCounterSheet < 3) {
|
| - checkUnnamed391(o.bandedRanges);
|
| + checkUnnamed393(o.bandedRanges);
|
| checkBasicFilter(o.basicFilter);
|
| - checkUnnamed392(o.charts);
|
| - checkUnnamed393(o.conditionalFormats);
|
| - checkUnnamed394(o.data);
|
| - checkUnnamed395(o.filterViews);
|
| - checkUnnamed396(o.merges);
|
| + checkUnnamed394(o.charts);
|
| + checkUnnamed395(o.conditionalFormats);
|
| + checkUnnamed396(o.data);
|
| + checkUnnamed397(o.filterViews);
|
| + checkUnnamed398(o.merges);
|
| checkSheetProperties(o.properties);
|
| - checkUnnamed397(o.protectedRanges);
|
| + checkUnnamed399(o.protectedRanges);
|
| }
|
| buildCounterSheet--;
|
| }
|
| @@ -3152,14 +3173,14 @@ checkSheetProperties(api.SheetProperties o) {
|
| buildCounterSheetProperties--;
|
| }
|
|
|
| -buildUnnamed398() {
|
| +buildUnnamed400() {
|
| var o = new core.List<api.SortSpec>();
|
| o.add(buildSortSpec());
|
| o.add(buildSortSpec());
|
| return o;
|
| }
|
|
|
| -checkUnnamed398(core.List<api.SortSpec> o) {
|
| +checkUnnamed400(core.List<api.SortSpec> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSortSpec(o[0]);
|
| checkSortSpec(o[1]);
|
| @@ -3171,7 +3192,7 @@ buildSortRangeRequest() {
|
| buildCounterSortRangeRequest++;
|
| if (buildCounterSortRangeRequest < 3) {
|
| o.range = buildGridRange();
|
| - o.sortSpecs = buildUnnamed398();
|
| + o.sortSpecs = buildUnnamed400();
|
| }
|
| buildCounterSortRangeRequest--;
|
| return o;
|
| @@ -3181,7 +3202,7 @@ checkSortRangeRequest(api.SortRangeRequest o) {
|
| buildCounterSortRangeRequest++;
|
| if (buildCounterSortRangeRequest < 3) {
|
| checkGridRange(o.range);
|
| - checkUnnamed398(o.sortSpecs);
|
| + checkUnnamed400(o.sortSpecs);
|
| }
|
| buildCounterSortRangeRequest--;
|
| }
|
| @@ -3230,27 +3251,27 @@ checkSourceAndDestination(api.SourceAndDestination o) {
|
| buildCounterSourceAndDestination--;
|
| }
|
|
|
| -buildUnnamed399() {
|
| +buildUnnamed401() {
|
| var o = new core.List<api.NamedRange>();
|
| o.add(buildNamedRange());
|
| o.add(buildNamedRange());
|
| return o;
|
| }
|
|
|
| -checkUnnamed399(core.List<api.NamedRange> o) {
|
| +checkUnnamed401(core.List<api.NamedRange> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkNamedRange(o[0]);
|
| checkNamedRange(o[1]);
|
| }
|
|
|
| -buildUnnamed400() {
|
| +buildUnnamed402() {
|
| var o = new core.List<api.Sheet>();
|
| o.add(buildSheet());
|
| o.add(buildSheet());
|
| return o;
|
| }
|
|
|
| -checkUnnamed400(core.List<api.Sheet> o) {
|
| +checkUnnamed402(core.List<api.Sheet> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSheet(o[0]);
|
| checkSheet(o[1]);
|
| @@ -3261,9 +3282,9 @@ buildSpreadsheet() {
|
| var o = new api.Spreadsheet();
|
| buildCounterSpreadsheet++;
|
| if (buildCounterSpreadsheet < 3) {
|
| - o.namedRanges = buildUnnamed399();
|
| + o.namedRanges = buildUnnamed401();
|
| o.properties = buildSpreadsheetProperties();
|
| - o.sheets = buildUnnamed400();
|
| + o.sheets = buildUnnamed402();
|
| o.spreadsheetId = "foo";
|
| o.spreadsheetUrl = "foo";
|
| }
|
| @@ -3274,9 +3295,9 @@ buildSpreadsheet() {
|
| checkSpreadsheet(api.Spreadsheet o) {
|
| buildCounterSpreadsheet++;
|
| if (buildCounterSpreadsheet < 3) {
|
| - checkUnnamed399(o.namedRanges);
|
| + checkUnnamed401(o.namedRanges);
|
| checkSpreadsheetProperties(o.properties);
|
| - checkUnnamed400(o.sheets);
|
| + checkUnnamed402(o.sheets);
|
| unittest.expect(o.spreadsheetId, unittest.equals('foo'));
|
| unittest.expect(o.spreadsheetUrl, unittest.equals('foo'));
|
| }
|
| @@ -3290,6 +3311,7 @@ buildSpreadsheetProperties() {
|
| if (buildCounterSpreadsheetProperties < 3) {
|
| o.autoRecalc = "foo";
|
| o.defaultFormat = buildCellFormat();
|
| + o.iterativeCalculationSettings = buildIterativeCalculationSettings();
|
| o.locale = "foo";
|
| o.timeZone = "foo";
|
| o.title = "foo";
|
| @@ -3303,6 +3325,7 @@ checkSpreadsheetProperties(api.SpreadsheetProperties o) {
|
| if (buildCounterSpreadsheetProperties < 3) {
|
| unittest.expect(o.autoRecalc, unittest.equals('foo'));
|
| checkCellFormat(o.defaultFormat);
|
| + checkIterativeCalculationSettings(o.iterativeCalculationSettings);
|
| unittest.expect(o.locale, unittest.equals('foo'));
|
| unittest.expect(o.timeZone, unittest.equals('foo'));
|
| unittest.expect(o.title, unittest.equals('foo'));
|
| @@ -3456,14 +3479,14 @@ checkUpdateBordersRequest(api.UpdateBordersRequest o) {
|
| buildCounterUpdateBordersRequest--;
|
| }
|
|
|
| -buildUnnamed401() {
|
| +buildUnnamed403() {
|
| var o = new core.List<api.RowData>();
|
| o.add(buildRowData());
|
| o.add(buildRowData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed401(core.List<api.RowData> o) {
|
| +checkUnnamed403(core.List<api.RowData> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRowData(o[0]);
|
| checkRowData(o[1]);
|
| @@ -3476,7 +3499,7 @@ buildUpdateCellsRequest() {
|
| if (buildCounterUpdateCellsRequest < 3) {
|
| o.fields = "foo";
|
| o.range = buildGridRange();
|
| - o.rows = buildUnnamed401();
|
| + o.rows = buildUnnamed403();
|
| o.start = buildGridCoordinate();
|
| }
|
| buildCounterUpdateCellsRequest--;
|
| @@ -3488,7 +3511,7 @@ checkUpdateCellsRequest(api.UpdateCellsRequest o) {
|
| if (buildCounterUpdateCellsRequest < 3) {
|
| unittest.expect(o.fields, unittest.equals('foo'));
|
| checkGridRange(o.range);
|
| - checkUnnamed401(o.rows);
|
| + checkUnnamed403(o.rows);
|
| checkGridCoordinate(o.start);
|
| }
|
| buildCounterUpdateCellsRequest--;
|
| @@ -3764,30 +3787,30 @@ checkUpdateValuesResponse(api.UpdateValuesResponse o) {
|
| buildCounterUpdateValuesResponse--;
|
| }
|
|
|
| -buildUnnamed402() {
|
| +buildUnnamed404() {
|
| var o = new core.List<core.Object>();
|
| o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
|
| o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
|
| return o;
|
| }
|
|
|
| -checkUnnamed402(core.List<core.Object> o) {
|
| +checkUnnamed404(core.List<core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], unittest.equals('foo'));
|
| var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed403() {
|
| +buildUnnamed405() {
|
| var o = new core.List<core.List<core.Object>>();
|
| - o.add(buildUnnamed402());
|
| - o.add(buildUnnamed402());
|
| + o.add(buildUnnamed404());
|
| + o.add(buildUnnamed404());
|
| return o;
|
| }
|
|
|
| -checkUnnamed403(core.List<core.List<core.Object>> o) {
|
| +checkUnnamed405(core.List<core.List<core.Object>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed402(o[0]);
|
| - checkUnnamed402(o[1]);
|
| + checkUnnamed404(o[0]);
|
| + checkUnnamed404(o[1]);
|
| }
|
|
|
| core.int buildCounterValueRange = 0;
|
| @@ -3797,7 +3820,7 @@ buildValueRange() {
|
| if (buildCounterValueRange < 3) {
|
| o.majorDimension = "foo";
|
| o.range = "foo";
|
| - o.values = buildUnnamed403();
|
| + o.values = buildUnnamed405();
|
| }
|
| buildCounterValueRange--;
|
| return o;
|
| @@ -3808,32 +3831,32 @@ checkValueRange(api.ValueRange o) {
|
| if (buildCounterValueRange < 3) {
|
| unittest.expect(o.majorDimension, unittest.equals('foo'));
|
| unittest.expect(o.range, unittest.equals('foo'));
|
| - checkUnnamed403(o.values);
|
| + checkUnnamed405(o.values);
|
| }
|
| buildCounterValueRange--;
|
| }
|
|
|
| -buildUnnamed404() {
|
| +buildUnnamed406() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed404(core.List<core.String> o) {
|
| +checkUnnamed406(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed405() {
|
| +buildUnnamed407() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed405(core.List<core.String> o) {
|
| +checkUnnamed407(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -4597,6 +4620,15 @@ main() {
|
| });
|
|
|
|
|
| + unittest.group("obj-schema-IterativeCalculationSettings", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildIterativeCalculationSettings();
|
| + var od = new api.IterativeCalculationSettings.fromJson(o.toJson());
|
| + checkIterativeCalculationSettings(od);
|
| + });
|
| + });
|
| +
|
| +
|
| unittest.group("obj-schema-MergeCellsRequest", () {
|
| unittest.test("to-json--from-json", () {
|
| var o = buildMergeCellsRequest();
|
| @@ -5137,7 +5169,7 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.SpreadsheetsResourceApi res = new api.SheetsApi(mock).spreadsheets;
|
| var arg_spreadsheetId = "foo";
|
| - var arg_ranges = buildUnnamed404();
|
| + var arg_ranges = buildUnnamed406();
|
| var arg_includeGridData = true;
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| @@ -5261,11 +5293,11 @@ main() {
|
| var arg_request = buildValueRange();
|
| var arg_spreadsheetId = "foo";
|
| var arg_range = "foo";
|
| + var arg_includeValuesInResponse = true;
|
| var arg_responseValueRenderOption = "foo";
|
| + var arg_insertDataOption = "foo";
|
| var arg_valueInputOption = "foo";
|
| var arg_responseDateTimeRenderOption = "foo";
|
| - var arg_includeValuesInResponse = true;
|
| - var arg_insertDataOption = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var obj = new api.ValueRange.fromJson(json);
|
| checkValueRange(obj);
|
| @@ -5309,11 +5341,11 @@ main() {
|
| addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| }
|
| }
|
| + unittest.expect(queryMap["includeValuesInResponse"].first, unittest.equals("$arg_includeValuesInResponse"));
|
| unittest.expect(queryMap["responseValueRenderOption"].first, unittest.equals(arg_responseValueRenderOption));
|
| + unittest.expect(queryMap["insertDataOption"].first, unittest.equals(arg_insertDataOption));
|
| unittest.expect(queryMap["valueInputOption"].first, unittest.equals(arg_valueInputOption));
|
| unittest.expect(queryMap["responseDateTimeRenderOption"].first, unittest.equals(arg_responseDateTimeRenderOption));
|
| - unittest.expect(queryMap["includeValuesInResponse"].first, unittest.equals("$arg_includeValuesInResponse"));
|
| - unittest.expect(queryMap["insertDataOption"].first, unittest.equals(arg_insertDataOption));
|
|
|
|
|
| var h = {
|
| @@ -5322,7 +5354,7 @@ main() {
|
| var resp = convert.JSON.encode(buildAppendValuesResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.append(arg_request, arg_spreadsheetId, arg_range, responseValueRenderOption: arg_responseValueRenderOption, valueInputOption: arg_valueInputOption, responseDateTimeRenderOption: arg_responseDateTimeRenderOption, includeValuesInResponse: arg_includeValuesInResponse, insertDataOption: arg_insertDataOption).then(unittest.expectAsync(((api.AppendValuesResponse response) {
|
| + res.append(arg_request, arg_spreadsheetId, arg_range, includeValuesInResponse: arg_includeValuesInResponse, responseValueRenderOption: arg_responseValueRenderOption, insertDataOption: arg_insertDataOption, valueInputOption: arg_valueInputOption, responseDateTimeRenderOption: arg_responseDateTimeRenderOption).then(unittest.expectAsync(((api.AppendValuesResponse response) {
|
| checkAppendValuesResponse(response);
|
| })));
|
| });
|
| @@ -5387,9 +5419,9 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.SpreadsheetsValuesResourceApi res = new api.SheetsApi(mock).spreadsheets.values;
|
| var arg_spreadsheetId = "foo";
|
| - var arg_ranges = buildUnnamed405();
|
| var arg_valueRenderOption = "foo";
|
| var arg_dateTimeRenderOption = "foo";
|
| + var arg_ranges = buildUnnamed407();
|
| var arg_majorDimension = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| @@ -5424,9 +5456,9 @@ main() {
|
| addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| }
|
| }
|
| - unittest.expect(queryMap["ranges"], unittest.equals(arg_ranges));
|
| unittest.expect(queryMap["valueRenderOption"].first, unittest.equals(arg_valueRenderOption));
|
| unittest.expect(queryMap["dateTimeRenderOption"].first, unittest.equals(arg_dateTimeRenderOption));
|
| + unittest.expect(queryMap["ranges"], unittest.equals(arg_ranges));
|
| unittest.expect(queryMap["majorDimension"].first, unittest.equals(arg_majorDimension));
|
|
|
|
|
| @@ -5436,7 +5468,7 @@ main() {
|
| var resp = convert.JSON.encode(buildBatchGetValuesResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.batchGet(arg_spreadsheetId, ranges: arg_ranges, valueRenderOption: arg_valueRenderOption, dateTimeRenderOption: arg_dateTimeRenderOption, majorDimension: arg_majorDimension).then(unittest.expectAsync(((api.BatchGetValuesResponse response) {
|
| + res.batchGet(arg_spreadsheetId, valueRenderOption: arg_valueRenderOption, dateTimeRenderOption: arg_dateTimeRenderOption, ranges: arg_ranges, majorDimension: arg_majorDimension).then(unittest.expectAsync(((api.BatchGetValuesResponse response) {
|
| checkBatchGetValuesResponse(response);
|
| })));
|
| });
|
| @@ -5627,10 +5659,10 @@ main() {
|
| var arg_request = buildValueRange();
|
| var arg_spreadsheetId = "foo";
|
| var arg_range = "foo";
|
| - var arg_responseValueRenderOption = "foo";
|
| var arg_valueInputOption = "foo";
|
| var arg_responseDateTimeRenderOption = "foo";
|
| var arg_includeValuesInResponse = true;
|
| + var arg_responseValueRenderOption = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var obj = new api.ValueRange.fromJson(json);
|
| checkValueRange(obj);
|
| @@ -5670,10 +5702,10 @@ main() {
|
| addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| }
|
| }
|
| - unittest.expect(queryMap["responseValueRenderOption"].first, unittest.equals(arg_responseValueRenderOption));
|
| unittest.expect(queryMap["valueInputOption"].first, unittest.equals(arg_valueInputOption));
|
| unittest.expect(queryMap["responseDateTimeRenderOption"].first, unittest.equals(arg_responseDateTimeRenderOption));
|
| unittest.expect(queryMap["includeValuesInResponse"].first, unittest.equals("$arg_includeValuesInResponse"));
|
| + unittest.expect(queryMap["responseValueRenderOption"].first, unittest.equals(arg_responseValueRenderOption));
|
|
|
|
|
| var h = {
|
| @@ -5682,7 +5714,7 @@ main() {
|
| var resp = convert.JSON.encode(buildUpdateValuesResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.update(arg_request, arg_spreadsheetId, arg_range, responseValueRenderOption: arg_responseValueRenderOption, valueInputOption: arg_valueInputOption, responseDateTimeRenderOption: arg_responseDateTimeRenderOption, includeValuesInResponse: arg_includeValuesInResponse).then(unittest.expectAsync(((api.UpdateValuesResponse response) {
|
| + res.update(arg_request, arg_spreadsheetId, arg_range, valueInputOption: arg_valueInputOption, responseDateTimeRenderOption: arg_responseDateTimeRenderOption, includeValuesInResponse: arg_includeValuesInResponse, responseValueRenderOption: arg_responseValueRenderOption).then(unittest.expectAsync(((api.UpdateValuesResponse response) {
|
| checkUpdateValuesResponse(response);
|
| })));
|
| });
|
|
|