| 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 3e8817279b97ab4b484a97a0f5f163011964c201..8c6e22dfa9325d96022f91d33397e6ed9af60abf 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--;
|
| }
|
|
|
| -buildUnnamed379() {
|
| +buildUnnamed365() {
|
| var o = new core.List<api.RowData>();
|
| o.add(buildRowData());
|
| o.add(buildRowData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed379(core.List<api.RowData> o) {
|
| +checkUnnamed365(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 = buildUnnamed379();
|
| + o.rows = buildUnnamed365();
|
| o.sheetId = 42;
|
| }
|
| buildCounterAppendCellsRequest--;
|
| @@ -330,7 +330,7 @@ checkAppendCellsRequest(api.AppendCellsRequest o) {
|
| buildCounterAppendCellsRequest++;
|
| if (buildCounterAppendCellsRequest < 3) {
|
| unittest.expect(o.fields, unittest.equals('foo'));
|
| - checkUnnamed379(o.rows);
|
| + checkUnnamed365(o.rows);
|
| unittest.expect(o.sheetId, unittest.equals(42));
|
| }
|
| buildCounterAppendCellsRequest--;
|
| @@ -539,40 +539,40 @@ checkBasicChartSeries(api.BasicChartSeries o) {
|
| buildCounterBasicChartSeries--;
|
| }
|
|
|
| -buildUnnamed380() {
|
| +buildUnnamed366() {
|
| var o = new core.List<api.BasicChartAxis>();
|
| o.add(buildBasicChartAxis());
|
| o.add(buildBasicChartAxis());
|
| return o;
|
| }
|
|
|
| -checkUnnamed380(core.List<api.BasicChartAxis> o) {
|
| +checkUnnamed366(core.List<api.BasicChartAxis> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBasicChartAxis(o[0]);
|
| checkBasicChartAxis(o[1]);
|
| }
|
|
|
| -buildUnnamed381() {
|
| +buildUnnamed367() {
|
| var o = new core.List<api.BasicChartDomain>();
|
| o.add(buildBasicChartDomain());
|
| o.add(buildBasicChartDomain());
|
| return o;
|
| }
|
|
|
| -checkUnnamed381(core.List<api.BasicChartDomain> o) {
|
| +checkUnnamed367(core.List<api.BasicChartDomain> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBasicChartDomain(o[0]);
|
| checkBasicChartDomain(o[1]);
|
| }
|
|
|
| -buildUnnamed382() {
|
| +buildUnnamed368() {
|
| var o = new core.List<api.BasicChartSeries>();
|
| o.add(buildBasicChartSeries());
|
| o.add(buildBasicChartSeries());
|
| return o;
|
| }
|
|
|
| -checkUnnamed382(core.List<api.BasicChartSeries> o) {
|
| +checkUnnamed368(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 = buildUnnamed380();
|
| + o.axis = buildUnnamed366();
|
| o.chartType = "foo";
|
| - o.domains = buildUnnamed381();
|
| + o.domains = buildUnnamed367();
|
| o.headerCount = 42;
|
| o.legendPosition = "foo";
|
| - o.series = buildUnnamed382();
|
| + o.series = buildUnnamed368();
|
| }
|
| buildCounterBasicChartSpec--;
|
| return o;
|
| @@ -597,37 +597,37 @@ buildBasicChartSpec() {
|
| checkBasicChartSpec(api.BasicChartSpec o) {
|
| buildCounterBasicChartSpec++;
|
| if (buildCounterBasicChartSpec < 3) {
|
| - checkUnnamed380(o.axis);
|
| + checkUnnamed366(o.axis);
|
| unittest.expect(o.chartType, unittest.equals('foo'));
|
| - checkUnnamed381(o.domains);
|
| + checkUnnamed367(o.domains);
|
| unittest.expect(o.headerCount, unittest.equals(42));
|
| unittest.expect(o.legendPosition, unittest.equals('foo'));
|
| - checkUnnamed382(o.series);
|
| + checkUnnamed368(o.series);
|
| }
|
| buildCounterBasicChartSpec--;
|
| }
|
|
|
| -buildUnnamed383() {
|
| +buildUnnamed369() {
|
| var o = new core.Map<core.String, api.FilterCriteria>();
|
| o["x"] = buildFilterCriteria();
|
| o["y"] = buildFilterCriteria();
|
| return o;
|
| }
|
|
|
| -checkUnnamed383(core.Map<core.String, api.FilterCriteria> o) {
|
| +checkUnnamed369(core.Map<core.String, api.FilterCriteria> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkFilterCriteria(o["x"]);
|
| checkFilterCriteria(o["y"]);
|
| }
|
|
|
| -buildUnnamed384() {
|
| +buildUnnamed370() {
|
| var o = new core.List<api.SortSpec>();
|
| o.add(buildSortSpec());
|
| o.add(buildSortSpec());
|
| return o;
|
| }
|
|
|
| -checkUnnamed384(core.List<api.SortSpec> o) {
|
| +checkUnnamed370(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 = buildUnnamed383();
|
| + o.criteria = buildUnnamed369();
|
| o.range = buildGridRange();
|
| - o.sortSpecs = buildUnnamed384();
|
| + o.sortSpecs = buildUnnamed370();
|
| }
|
| buildCounterBasicFilter--;
|
| return o;
|
| @@ -649,21 +649,21 @@ buildBasicFilter() {
|
| checkBasicFilter(api.BasicFilter o) {
|
| buildCounterBasicFilter++;
|
| if (buildCounterBasicFilter < 3) {
|
| - checkUnnamed383(o.criteria);
|
| + checkUnnamed369(o.criteria);
|
| checkGridRange(o.range);
|
| - checkUnnamed384(o.sortSpecs);
|
| + checkUnnamed370(o.sortSpecs);
|
| }
|
| buildCounterBasicFilter--;
|
| }
|
|
|
| -buildUnnamed385() {
|
| +buildUnnamed371() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed385(core.List<core.String> o) {
|
| +checkUnnamed371(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 = buildUnnamed385();
|
| + o.ranges = buildUnnamed371();
|
| }
|
| buildCounterBatchClearValuesRequest--;
|
| return o;
|
| @@ -683,19 +683,19 @@ buildBatchClearValuesRequest() {
|
| checkBatchClearValuesRequest(api.BatchClearValuesRequest o) {
|
| buildCounterBatchClearValuesRequest++;
|
| if (buildCounterBatchClearValuesRequest < 3) {
|
| - checkUnnamed385(o.ranges);
|
| + checkUnnamed371(o.ranges);
|
| }
|
| buildCounterBatchClearValuesRequest--;
|
| }
|
|
|
| -buildUnnamed386() {
|
| +buildUnnamed372() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed386(core.List<core.String> o) {
|
| +checkUnnamed372(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 = buildUnnamed386();
|
| + o.clearedRanges = buildUnnamed372();
|
| o.spreadsheetId = "foo";
|
| }
|
| buildCounterBatchClearValuesResponse--;
|
| @@ -716,20 +716,20 @@ buildBatchClearValuesResponse() {
|
| checkBatchClearValuesResponse(api.BatchClearValuesResponse o) {
|
| buildCounterBatchClearValuesResponse++;
|
| if (buildCounterBatchClearValuesResponse < 3) {
|
| - checkUnnamed386(o.clearedRanges);
|
| + checkUnnamed372(o.clearedRanges);
|
| unittest.expect(o.spreadsheetId, unittest.equals('foo'));
|
| }
|
| buildCounterBatchClearValuesResponse--;
|
| }
|
|
|
| -buildUnnamed387() {
|
| +buildUnnamed373() {
|
| var o = new core.List<api.ValueRange>();
|
| o.add(buildValueRange());
|
| o.add(buildValueRange());
|
| return o;
|
| }
|
|
|
| -checkUnnamed387(core.List<api.ValueRange> o) {
|
| +checkUnnamed373(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 = buildUnnamed387();
|
| + o.valueRanges = buildUnnamed373();
|
| }
|
| buildCounterBatchGetValuesResponse--;
|
| return o;
|
| @@ -751,32 +751,32 @@ checkBatchGetValuesResponse(api.BatchGetValuesResponse o) {
|
| buildCounterBatchGetValuesResponse++;
|
| if (buildCounterBatchGetValuesResponse < 3) {
|
| unittest.expect(o.spreadsheetId, unittest.equals('foo'));
|
| - checkUnnamed387(o.valueRanges);
|
| + checkUnnamed373(o.valueRanges);
|
| }
|
| buildCounterBatchGetValuesResponse--;
|
| }
|
|
|
| -buildUnnamed388() {
|
| +buildUnnamed374() {
|
| var o = new core.List<api.Request>();
|
| o.add(buildRequest());
|
| o.add(buildRequest());
|
| return o;
|
| }
|
|
|
| -checkUnnamed388(core.List<api.Request> o) {
|
| +checkUnnamed374(core.List<api.Request> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRequest(o[0]);
|
| checkRequest(o[1]);
|
| }
|
|
|
| -buildUnnamed389() {
|
| +buildUnnamed375() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed389(core.List<core.String> o) {
|
| +checkUnnamed375(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 = buildUnnamed388();
|
| + o.requests = buildUnnamed374();
|
| o.responseIncludeGridData = true;
|
| - o.responseRanges = buildUnnamed389();
|
| + o.responseRanges = buildUnnamed375();
|
| }
|
| buildCounterBatchUpdateSpreadsheetRequest--;
|
| return o;
|
| @@ -800,21 +800,21 @@ checkBatchUpdateSpreadsheetRequest(api.BatchUpdateSpreadsheetRequest o) {
|
| buildCounterBatchUpdateSpreadsheetRequest++;
|
| if (buildCounterBatchUpdateSpreadsheetRequest < 3) {
|
| unittest.expect(o.includeSpreadsheetInResponse, unittest.isTrue);
|
| - checkUnnamed388(o.requests);
|
| + checkUnnamed374(o.requests);
|
| unittest.expect(o.responseIncludeGridData, unittest.isTrue);
|
| - checkUnnamed389(o.responseRanges);
|
| + checkUnnamed375(o.responseRanges);
|
| }
|
| buildCounterBatchUpdateSpreadsheetRequest--;
|
| }
|
|
|
| -buildUnnamed390() {
|
| +buildUnnamed376() {
|
| var o = new core.List<api.Response>();
|
| o.add(buildResponse());
|
| o.add(buildResponse());
|
| return o;
|
| }
|
|
|
| -checkUnnamed390(core.List<api.Response> o) {
|
| +checkUnnamed376(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 = buildUnnamed390();
|
| + o.replies = buildUnnamed376();
|
| o.spreadsheetId = "foo";
|
| o.updatedSpreadsheet = buildSpreadsheet();
|
| }
|
| @@ -836,21 +836,21 @@ buildBatchUpdateSpreadsheetResponse() {
|
| checkBatchUpdateSpreadsheetResponse(api.BatchUpdateSpreadsheetResponse o) {
|
| buildCounterBatchUpdateSpreadsheetResponse++;
|
| if (buildCounterBatchUpdateSpreadsheetResponse < 3) {
|
| - checkUnnamed390(o.replies);
|
| + checkUnnamed376(o.replies);
|
| unittest.expect(o.spreadsheetId, unittest.equals('foo'));
|
| checkSpreadsheet(o.updatedSpreadsheet);
|
| }
|
| buildCounterBatchUpdateSpreadsheetResponse--;
|
| }
|
|
|
| -buildUnnamed391() {
|
| +buildUnnamed377() {
|
| var o = new core.List<api.ValueRange>();
|
| o.add(buildValueRange());
|
| o.add(buildValueRange());
|
| return o;
|
| }
|
|
|
| -checkUnnamed391(core.List<api.ValueRange> o) {
|
| +checkUnnamed377(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 = buildUnnamed391();
|
| + o.data = buildUnnamed377();
|
| o.includeValuesInResponse = true;
|
| o.responseDateTimeRenderOption = "foo";
|
| o.responseValueRenderOption = "foo";
|
| @@ -874,7 +874,7 @@ buildBatchUpdateValuesRequest() {
|
| checkBatchUpdateValuesRequest(api.BatchUpdateValuesRequest o) {
|
| buildCounterBatchUpdateValuesRequest++;
|
| if (buildCounterBatchUpdateValuesRequest < 3) {
|
| - checkUnnamed391(o.data);
|
| + checkUnnamed377(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--;
|
| }
|
|
|
| -buildUnnamed392() {
|
| +buildUnnamed378() {
|
| var o = new core.List<api.UpdateValuesResponse>();
|
| o.add(buildUpdateValuesResponse());
|
| o.add(buildUpdateValuesResponse());
|
| return o;
|
| }
|
|
|
| -checkUnnamed392(core.List<api.UpdateValuesResponse> o) {
|
| +checkUnnamed378(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 = buildUnnamed392();
|
| + o.responses = buildUnnamed378();
|
| o.spreadsheetId = "foo";
|
| o.totalUpdatedCells = 42;
|
| o.totalUpdatedColumns = 42;
|
| @@ -915,7 +915,7 @@ buildBatchUpdateValuesResponse() {
|
| checkBatchUpdateValuesResponse(api.BatchUpdateValuesResponse o) {
|
| buildCounterBatchUpdateValuesResponse++;
|
| if (buildCounterBatchUpdateValuesResponse < 3) {
|
| - checkUnnamed392(o.responses);
|
| + checkUnnamed378(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--;
|
| }
|
|
|
| -buildUnnamed393() {
|
| +buildUnnamed379() {
|
| var o = new core.List<api.ConditionValue>();
|
| o.add(buildConditionValue());
|
| o.add(buildConditionValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed393(core.List<api.ConditionValue> o) {
|
| +checkUnnamed379(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 = buildUnnamed393();
|
| + o.values = buildUnnamed379();
|
| }
|
| buildCounterBooleanCondition--;
|
| return o;
|
| @@ -954,7 +954,7 @@ checkBooleanCondition(api.BooleanCondition o) {
|
| buildCounterBooleanCondition++;
|
| if (buildCounterBooleanCondition < 3) {
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| - checkUnnamed393(o.values);
|
| + checkUnnamed379(o.values);
|
| }
|
| buildCounterBooleanCondition--;
|
| }
|
| @@ -1028,14 +1028,14 @@ checkBorders(api.Borders o) {
|
| buildCounterBorders--;
|
| }
|
|
|
| -buildUnnamed394() {
|
| +buildUnnamed380() {
|
| var o = new core.List<api.TextFormatRun>();
|
| o.add(buildTextFormatRun());
|
| o.add(buildTextFormatRun());
|
| return o;
|
| }
|
|
|
| -checkUnnamed394(core.List<api.TextFormatRun> o) {
|
| +checkUnnamed380(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 = buildUnnamed394();
|
| + o.textFormatRuns = buildUnnamed380();
|
| 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);
|
| - checkUnnamed394(o.textFormatRuns);
|
| + checkUnnamed380(o.textFormatRuns);
|
| checkCellFormat(o.userEnteredFormat);
|
| checkExtendedValue(o.userEnteredValue);
|
| }
|
| @@ -1136,14 +1136,14 @@ checkChartData(api.ChartData o) {
|
| buildCounterChartData--;
|
| }
|
|
|
| -buildUnnamed395() {
|
| +buildUnnamed381() {
|
| var o = new core.List<api.GridRange>();
|
| o.add(buildGridRange());
|
| o.add(buildGridRange());
|
| return o;
|
| }
|
|
|
| -checkUnnamed395(core.List<api.GridRange> o) {
|
| +checkUnnamed381(core.List<api.GridRange> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkGridRange(o[0]);
|
| checkGridRange(o[1]);
|
| @@ -1154,7 +1154,7 @@ buildChartSourceRange() {
|
| var o = new api.ChartSourceRange();
|
| buildCounterChartSourceRange++;
|
| if (buildCounterChartSourceRange < 3) {
|
| - o.sources = buildUnnamed395();
|
| + o.sources = buildUnnamed381();
|
| }
|
| buildCounterChartSourceRange--;
|
| return o;
|
| @@ -1163,7 +1163,7 @@ buildChartSourceRange() {
|
| checkChartSourceRange(api.ChartSourceRange o) {
|
| buildCounterChartSourceRange++;
|
| if (buildCounterChartSourceRange < 3) {
|
| - checkUnnamed395(o.sources);
|
| + checkUnnamed381(o.sources);
|
| }
|
| buildCounterChartSourceRange--;
|
| }
|
| @@ -1296,14 +1296,14 @@ checkConditionValue(api.ConditionValue o) {
|
| buildCounterConditionValue--;
|
| }
|
|
|
| -buildUnnamed396() {
|
| +buildUnnamed382() {
|
| var o = new core.List<api.GridRange>();
|
| o.add(buildGridRange());
|
| o.add(buildGridRange());
|
| return o;
|
| }
|
|
|
| -checkUnnamed396(core.List<api.GridRange> o) {
|
| +checkUnnamed382(core.List<api.GridRange> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkGridRange(o[0]);
|
| checkGridRange(o[1]);
|
| @@ -1316,7 +1316,7 @@ buildConditionalFormatRule() {
|
| if (buildCounterConditionalFormatRule < 3) {
|
| o.booleanRule = buildBooleanRule();
|
| o.gradientRule = buildGradientRule();
|
| - o.ranges = buildUnnamed396();
|
| + o.ranges = buildUnnamed382();
|
| }
|
| buildCounterConditionalFormatRule--;
|
| return o;
|
| @@ -1327,7 +1327,7 @@ checkConditionalFormatRule(api.ConditionalFormatRule o) {
|
| if (buildCounterConditionalFormatRule < 3) {
|
| checkBooleanRule(o.booleanRule);
|
| checkGradientRule(o.gradientRule);
|
| - checkUnnamed396(o.ranges);
|
| + checkUnnamed382(o.ranges);
|
| }
|
| buildCounterConditionalFormatRule--;
|
| }
|
| @@ -1748,27 +1748,27 @@ checkDuplicateSheetResponse(api.DuplicateSheetResponse o) {
|
| buildCounterDuplicateSheetResponse--;
|
| }
|
|
|
| -buildUnnamed397() {
|
| +buildUnnamed383() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed397(core.List<core.String> o) {
|
| +checkUnnamed383(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'));
|
| }
|
|
|
| -buildUnnamed398() {
|
| +buildUnnamed384() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed398(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'));
|
| @@ -1780,8 +1780,8 @@ buildEditors() {
|
| buildCounterEditors++;
|
| if (buildCounterEditors < 3) {
|
| o.domainUsersCanEdit = true;
|
| - o.groups = buildUnnamed397();
|
| - o.users = buildUnnamed398();
|
| + o.groups = buildUnnamed383();
|
| + o.users = buildUnnamed384();
|
| }
|
| buildCounterEditors--;
|
| return o;
|
| @@ -1791,8 +1791,8 @@ checkEditors(api.Editors o) {
|
| buildCounterEditors++;
|
| if (buildCounterEditors < 3) {
|
| unittest.expect(o.domainUsersCanEdit, unittest.isTrue);
|
| - checkUnnamed397(o.groups);
|
| - checkUnnamed398(o.users);
|
| + checkUnnamed383(o.groups);
|
| + checkUnnamed384(o.users);
|
| }
|
| buildCounterEditors--;
|
| }
|
| @@ -1891,14 +1891,14 @@ checkExtendedValue(api.ExtendedValue o) {
|
| buildCounterExtendedValue--;
|
| }
|
|
|
| -buildUnnamed399() {
|
| +buildUnnamed385() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed399(core.List<core.String> o) {
|
| +checkUnnamed385(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'));
|
| @@ -1910,7 +1910,7 @@ buildFilterCriteria() {
|
| buildCounterFilterCriteria++;
|
| if (buildCounterFilterCriteria < 3) {
|
| o.condition = buildBooleanCondition();
|
| - o.hiddenValues = buildUnnamed399();
|
| + o.hiddenValues = buildUnnamed385();
|
| }
|
| buildCounterFilterCriteria--;
|
| return o;
|
| @@ -1920,32 +1920,32 @@ checkFilterCriteria(api.FilterCriteria o) {
|
| buildCounterFilterCriteria++;
|
| if (buildCounterFilterCriteria < 3) {
|
| checkBooleanCondition(o.condition);
|
| - checkUnnamed399(o.hiddenValues);
|
| + checkUnnamed385(o.hiddenValues);
|
| }
|
| buildCounterFilterCriteria--;
|
| }
|
|
|
| -buildUnnamed400() {
|
| +buildUnnamed386() {
|
| var o = new core.Map<core.String, api.FilterCriteria>();
|
| o["x"] = buildFilterCriteria();
|
| o["y"] = buildFilterCriteria();
|
| return o;
|
| }
|
|
|
| -checkUnnamed400(core.Map<core.String, api.FilterCriteria> o) {
|
| +checkUnnamed386(core.Map<core.String, api.FilterCriteria> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkFilterCriteria(o["x"]);
|
| checkFilterCriteria(o["y"]);
|
| }
|
|
|
| -buildUnnamed401() {
|
| +buildUnnamed387() {
|
| var o = new core.List<api.SortSpec>();
|
| o.add(buildSortSpec());
|
| o.add(buildSortSpec());
|
| return o;
|
| }
|
|
|
| -checkUnnamed401(core.List<api.SortSpec> o) {
|
| +checkUnnamed387(core.List<api.SortSpec> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSortSpec(o[0]);
|
| checkSortSpec(o[1]);
|
| @@ -1956,11 +1956,11 @@ buildFilterView() {
|
| var o = new api.FilterView();
|
| buildCounterFilterView++;
|
| if (buildCounterFilterView < 3) {
|
| - o.criteria = buildUnnamed400();
|
| + o.criteria = buildUnnamed386();
|
| o.filterViewId = 42;
|
| o.namedRangeId = "foo";
|
| o.range = buildGridRange();
|
| - o.sortSpecs = buildUnnamed401();
|
| + o.sortSpecs = buildUnnamed387();
|
| o.title = "foo";
|
| }
|
| buildCounterFilterView--;
|
| @@ -1970,11 +1970,11 @@ buildFilterView() {
|
| checkFilterView(api.FilterView o) {
|
| buildCounterFilterView++;
|
| if (buildCounterFilterView < 3) {
|
| - checkUnnamed400(o.criteria);
|
| + checkUnnamed386(o.criteria);
|
| unittest.expect(o.filterViewId, unittest.equals(42));
|
| unittest.expect(o.namedRangeId, unittest.equals('foo'));
|
| checkGridRange(o.range);
|
| - checkUnnamed401(o.sortSpecs);
|
| + checkUnnamed387(o.sortSpecs);
|
| unittest.expect(o.title, unittest.equals('foo'));
|
| }
|
| buildCounterFilterView--;
|
| @@ -2088,40 +2088,40 @@ checkGridCoordinate(api.GridCoordinate o) {
|
| buildCounterGridCoordinate--;
|
| }
|
|
|
| -buildUnnamed402() {
|
| +buildUnnamed388() {
|
| var o = new core.List<api.DimensionProperties>();
|
| o.add(buildDimensionProperties());
|
| o.add(buildDimensionProperties());
|
| return o;
|
| }
|
|
|
| -checkUnnamed402(core.List<api.DimensionProperties> o) {
|
| +checkUnnamed388(core.List<api.DimensionProperties> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimensionProperties(o[0]);
|
| checkDimensionProperties(o[1]);
|
| }
|
|
|
| -buildUnnamed403() {
|
| +buildUnnamed389() {
|
| var o = new core.List<api.RowData>();
|
| o.add(buildRowData());
|
| o.add(buildRowData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed403(core.List<api.RowData> o) {
|
| +checkUnnamed389(core.List<api.RowData> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRowData(o[0]);
|
| checkRowData(o[1]);
|
| }
|
|
|
| -buildUnnamed404() {
|
| +buildUnnamed390() {
|
| var o = new core.List<api.DimensionProperties>();
|
| o.add(buildDimensionProperties());
|
| o.add(buildDimensionProperties());
|
| return o;
|
| }
|
|
|
| -checkUnnamed404(core.List<api.DimensionProperties> o) {
|
| +checkUnnamed390(core.List<api.DimensionProperties> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDimensionProperties(o[0]);
|
| checkDimensionProperties(o[1]);
|
| @@ -2132,9 +2132,9 @@ buildGridData() {
|
| var o = new api.GridData();
|
| buildCounterGridData++;
|
| if (buildCounterGridData < 3) {
|
| - o.columnMetadata = buildUnnamed402();
|
| - o.rowData = buildUnnamed403();
|
| - o.rowMetadata = buildUnnamed404();
|
| + o.columnMetadata = buildUnnamed388();
|
| + o.rowData = buildUnnamed389();
|
| + o.rowMetadata = buildUnnamed390();
|
| o.startColumn = 42;
|
| o.startRow = 42;
|
| }
|
| @@ -2145,9 +2145,9 @@ buildGridData() {
|
| checkGridData(api.GridData o) {
|
| buildCounterGridData++;
|
| if (buildCounterGridData < 3) {
|
| - checkUnnamed402(o.columnMetadata);
|
| - checkUnnamed403(o.rowData);
|
| - checkUnnamed404(o.rowMetadata);
|
| + checkUnnamed388(o.columnMetadata);
|
| + checkUnnamed389(o.rowData);
|
| + checkUnnamed390(o.rowMetadata);
|
| unittest.expect(o.startColumn, unittest.equals(42));
|
| unittest.expect(o.startRow, unittest.equals(42));
|
| }
|
| @@ -2486,14 +2486,14 @@ checkPieChartSpec(api.PieChartSpec o) {
|
| buildCounterPieChartSpec--;
|
| }
|
|
|
| -buildUnnamed405() {
|
| +buildUnnamed391() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed405(core.List<core.String> o) {
|
| +checkUnnamed391(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'));
|
| @@ -2504,7 +2504,7 @@ buildPivotFilterCriteria() {
|
| var o = new api.PivotFilterCriteria();
|
| buildCounterPivotFilterCriteria++;
|
| if (buildCounterPivotFilterCriteria < 3) {
|
| - o.visibleValues = buildUnnamed405();
|
| + o.visibleValues = buildUnnamed391();
|
| }
|
| buildCounterPivotFilterCriteria--;
|
| return o;
|
| @@ -2513,19 +2513,19 @@ buildPivotFilterCriteria() {
|
| checkPivotFilterCriteria(api.PivotFilterCriteria o) {
|
| buildCounterPivotFilterCriteria++;
|
| if (buildCounterPivotFilterCriteria < 3) {
|
| - checkUnnamed405(o.visibleValues);
|
| + checkUnnamed391(o.visibleValues);
|
| }
|
| buildCounterPivotFilterCriteria--;
|
| }
|
|
|
| -buildUnnamed406() {
|
| +buildUnnamed392() {
|
| var o = new core.List<api.PivotGroupValueMetadata>();
|
| o.add(buildPivotGroupValueMetadata());
|
| o.add(buildPivotGroupValueMetadata());
|
| return o;
|
| }
|
|
|
| -checkUnnamed406(core.List<api.PivotGroupValueMetadata> o) {
|
| +checkUnnamed392(core.List<api.PivotGroupValueMetadata> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPivotGroupValueMetadata(o[0]);
|
| checkPivotGroupValueMetadata(o[1]);
|
| @@ -2540,7 +2540,7 @@ buildPivotGroup() {
|
| o.sortOrder = "foo";
|
| o.sourceColumnOffset = 42;
|
| o.valueBucket = buildPivotGroupSortValueBucket();
|
| - o.valueMetadata = buildUnnamed406();
|
| + o.valueMetadata = buildUnnamed392();
|
| }
|
| buildCounterPivotGroup--;
|
| return o;
|
| @@ -2553,19 +2553,19 @@ checkPivotGroup(api.PivotGroup o) {
|
| unittest.expect(o.sortOrder, unittest.equals('foo'));
|
| unittest.expect(o.sourceColumnOffset, unittest.equals(42));
|
| checkPivotGroupSortValueBucket(o.valueBucket);
|
| - checkUnnamed406(o.valueMetadata);
|
| + checkUnnamed392(o.valueMetadata);
|
| }
|
| buildCounterPivotGroup--;
|
| }
|
|
|
| -buildUnnamed407() {
|
| +buildUnnamed393() {
|
| var o = new core.List<api.ExtendedValue>();
|
| o.add(buildExtendedValue());
|
| o.add(buildExtendedValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed407(core.List<api.ExtendedValue> o) {
|
| +checkUnnamed393(core.List<api.ExtendedValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkExtendedValue(o[0]);
|
| checkExtendedValue(o[1]);
|
| @@ -2576,7 +2576,7 @@ buildPivotGroupSortValueBucket() {
|
| var o = new api.PivotGroupSortValueBucket();
|
| buildCounterPivotGroupSortValueBucket++;
|
| if (buildCounterPivotGroupSortValueBucket < 3) {
|
| - o.buckets = buildUnnamed407();
|
| + o.buckets = buildUnnamed393();
|
| o.valuesIndex = 42;
|
| }
|
| buildCounterPivotGroupSortValueBucket--;
|
| @@ -2586,7 +2586,7 @@ buildPivotGroupSortValueBucket() {
|
| checkPivotGroupSortValueBucket(api.PivotGroupSortValueBucket o) {
|
| buildCounterPivotGroupSortValueBucket++;
|
| if (buildCounterPivotGroupSortValueBucket < 3) {
|
| - checkUnnamed407(o.buckets);
|
| + checkUnnamed393(o.buckets);
|
| unittest.expect(o.valuesIndex, unittest.equals(42));
|
| }
|
| buildCounterPivotGroupSortValueBucket--;
|
| @@ -2613,53 +2613,53 @@ checkPivotGroupValueMetadata(api.PivotGroupValueMetadata o) {
|
| buildCounterPivotGroupValueMetadata--;
|
| }
|
|
|
| -buildUnnamed408() {
|
| +buildUnnamed394() {
|
| var o = new core.List<api.PivotGroup>();
|
| o.add(buildPivotGroup());
|
| o.add(buildPivotGroup());
|
| return o;
|
| }
|
|
|
| -checkUnnamed408(core.List<api.PivotGroup> o) {
|
| +checkUnnamed394(core.List<api.PivotGroup> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPivotGroup(o[0]);
|
| checkPivotGroup(o[1]);
|
| }
|
|
|
| -buildUnnamed409() {
|
| +buildUnnamed395() {
|
| var o = new core.Map<core.String, api.PivotFilterCriteria>();
|
| o["x"] = buildPivotFilterCriteria();
|
| o["y"] = buildPivotFilterCriteria();
|
| return o;
|
| }
|
|
|
| -checkUnnamed409(core.Map<core.String, api.PivotFilterCriteria> o) {
|
| +checkUnnamed395(core.Map<core.String, api.PivotFilterCriteria> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPivotFilterCriteria(o["x"]);
|
| checkPivotFilterCriteria(o["y"]);
|
| }
|
|
|
| -buildUnnamed410() {
|
| +buildUnnamed396() {
|
| var o = new core.List<api.PivotGroup>();
|
| o.add(buildPivotGroup());
|
| o.add(buildPivotGroup());
|
| return o;
|
| }
|
|
|
| -checkUnnamed410(core.List<api.PivotGroup> o) {
|
| +checkUnnamed396(core.List<api.PivotGroup> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPivotGroup(o[0]);
|
| checkPivotGroup(o[1]);
|
| }
|
|
|
| -buildUnnamed411() {
|
| +buildUnnamed397() {
|
| var o = new core.List<api.PivotValue>();
|
| o.add(buildPivotValue());
|
| o.add(buildPivotValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed411(core.List<api.PivotValue> o) {
|
| +checkUnnamed397(core.List<api.PivotValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPivotValue(o[0]);
|
| checkPivotValue(o[1]);
|
| @@ -2670,12 +2670,12 @@ buildPivotTable() {
|
| var o = new api.PivotTable();
|
| buildCounterPivotTable++;
|
| if (buildCounterPivotTable < 3) {
|
| - o.columns = buildUnnamed408();
|
| - o.criteria = buildUnnamed409();
|
| - o.rows = buildUnnamed410();
|
| + o.columns = buildUnnamed394();
|
| + o.criteria = buildUnnamed395();
|
| + o.rows = buildUnnamed396();
|
| o.source = buildGridRange();
|
| o.valueLayout = "foo";
|
| - o.values = buildUnnamed411();
|
| + o.values = buildUnnamed397();
|
| }
|
| buildCounterPivotTable--;
|
| return o;
|
| @@ -2684,12 +2684,12 @@ buildPivotTable() {
|
| checkPivotTable(api.PivotTable o) {
|
| buildCounterPivotTable++;
|
| if (buildCounterPivotTable < 3) {
|
| - checkUnnamed408(o.columns);
|
| - checkUnnamed409(o.criteria);
|
| - checkUnnamed410(o.rows);
|
| + checkUnnamed394(o.columns);
|
| + checkUnnamed395(o.criteria);
|
| + checkUnnamed396(o.rows);
|
| checkGridRange(o.source);
|
| unittest.expect(o.valueLayout, unittest.equals('foo'));
|
| - checkUnnamed411(o.values);
|
| + checkUnnamed397(o.values);
|
| }
|
| buildCounterPivotTable--;
|
| }
|
| @@ -2719,14 +2719,14 @@ checkPivotValue(api.PivotValue o) {
|
| buildCounterPivotValue--;
|
| }
|
|
|
| -buildUnnamed412() {
|
| +buildUnnamed398() {
|
| var o = new core.List<api.GridRange>();
|
| o.add(buildGridRange());
|
| o.add(buildGridRange());
|
| return o;
|
| }
|
|
|
| -checkUnnamed412(core.List<api.GridRange> o) {
|
| +checkUnnamed398(core.List<api.GridRange> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkGridRange(o[0]);
|
| checkGridRange(o[1]);
|
| @@ -2743,7 +2743,7 @@ buildProtectedRange() {
|
| o.protectedRangeId = 42;
|
| o.range = buildGridRange();
|
| o.requestingUserCanEdit = true;
|
| - o.unprotectedRanges = buildUnnamed412();
|
| + o.unprotectedRanges = buildUnnamed398();
|
| o.warningOnly = true;
|
| }
|
| buildCounterProtectedRange--;
|
| @@ -2759,7 +2759,7 @@ checkProtectedRange(api.ProtectedRange o) {
|
| unittest.expect(o.protectedRangeId, unittest.equals(42));
|
| checkGridRange(o.range);
|
| unittest.expect(o.requestingUserCanEdit, unittest.isTrue);
|
| - checkUnnamed412(o.unprotectedRanges);
|
| + checkUnnamed398(o.unprotectedRanges);
|
| unittest.expect(o.warningOnly, unittest.isTrue);
|
| }
|
| buildCounterProtectedRange--;
|
| @@ -2944,14 +2944,14 @@ checkResponse(api.Response o) {
|
| buildCounterResponse--;
|
| }
|
|
|
| -buildUnnamed413() {
|
| +buildUnnamed399() {
|
| var o = new core.List<api.CellData>();
|
| o.add(buildCellData());
|
| o.add(buildCellData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed413(core.List<api.CellData> o) {
|
| +checkUnnamed399(core.List<api.CellData> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCellData(o[0]);
|
| checkCellData(o[1]);
|
| @@ -2962,7 +2962,7 @@ buildRowData() {
|
| var o = new api.RowData();
|
| buildCounterRowData++;
|
| if (buildCounterRowData < 3) {
|
| - o.values = buildUnnamed413();
|
| + o.values = buildUnnamed399();
|
| }
|
| buildCounterRowData--;
|
| return o;
|
| @@ -2971,7 +2971,7 @@ buildRowData() {
|
| checkRowData(api.RowData o) {
|
| buildCounterRowData++;
|
| if (buildCounterRowData < 3) {
|
| - checkUnnamed413(o.values);
|
| + checkUnnamed399(o.values);
|
| }
|
| buildCounterRowData--;
|
| }
|
| @@ -3016,92 +3016,92 @@ checkSetDataValidationRequest(api.SetDataValidationRequest o) {
|
| buildCounterSetDataValidationRequest--;
|
| }
|
|
|
| -buildUnnamed414() {
|
| +buildUnnamed400() {
|
| var o = new core.List<api.BandedRange>();
|
| o.add(buildBandedRange());
|
| o.add(buildBandedRange());
|
| return o;
|
| }
|
|
|
| -checkUnnamed414(core.List<api.BandedRange> o) {
|
| +checkUnnamed400(core.List<api.BandedRange> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBandedRange(o[0]);
|
| checkBandedRange(o[1]);
|
| }
|
|
|
| -buildUnnamed415() {
|
| +buildUnnamed401() {
|
| var o = new core.List<api.EmbeddedChart>();
|
| o.add(buildEmbeddedChart());
|
| o.add(buildEmbeddedChart());
|
| return o;
|
| }
|
|
|
| -checkUnnamed415(core.List<api.EmbeddedChart> o) {
|
| +checkUnnamed401(core.List<api.EmbeddedChart> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkEmbeddedChart(o[0]);
|
| checkEmbeddedChart(o[1]);
|
| }
|
|
|
| -buildUnnamed416() {
|
| +buildUnnamed402() {
|
| var o = new core.List<api.ConditionalFormatRule>();
|
| o.add(buildConditionalFormatRule());
|
| o.add(buildConditionalFormatRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed416(core.List<api.ConditionalFormatRule> o) {
|
| +checkUnnamed402(core.List<api.ConditionalFormatRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkConditionalFormatRule(o[0]);
|
| checkConditionalFormatRule(o[1]);
|
| }
|
|
|
| -buildUnnamed417() {
|
| +buildUnnamed403() {
|
| var o = new core.List<api.GridData>();
|
| o.add(buildGridData());
|
| o.add(buildGridData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed417(core.List<api.GridData> o) {
|
| +checkUnnamed403(core.List<api.GridData> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkGridData(o[0]);
|
| checkGridData(o[1]);
|
| }
|
|
|
| -buildUnnamed418() {
|
| +buildUnnamed404() {
|
| var o = new core.List<api.FilterView>();
|
| o.add(buildFilterView());
|
| o.add(buildFilterView());
|
| return o;
|
| }
|
|
|
| -checkUnnamed418(core.List<api.FilterView> o) {
|
| +checkUnnamed404(core.List<api.FilterView> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkFilterView(o[0]);
|
| checkFilterView(o[1]);
|
| }
|
|
|
| -buildUnnamed419() {
|
| +buildUnnamed405() {
|
| var o = new core.List<api.GridRange>();
|
| o.add(buildGridRange());
|
| o.add(buildGridRange());
|
| return o;
|
| }
|
|
|
| -checkUnnamed419(core.List<api.GridRange> o) {
|
| +checkUnnamed405(core.List<api.GridRange> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkGridRange(o[0]);
|
| checkGridRange(o[1]);
|
| }
|
|
|
| -buildUnnamed420() {
|
| +buildUnnamed406() {
|
| var o = new core.List<api.ProtectedRange>();
|
| o.add(buildProtectedRange());
|
| o.add(buildProtectedRange());
|
| return o;
|
| }
|
|
|
| -checkUnnamed420(core.List<api.ProtectedRange> o) {
|
| +checkUnnamed406(core.List<api.ProtectedRange> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkProtectedRange(o[0]);
|
| checkProtectedRange(o[1]);
|
| @@ -3112,15 +3112,15 @@ buildSheet() {
|
| var o = new api.Sheet();
|
| buildCounterSheet++;
|
| if (buildCounterSheet < 3) {
|
| - o.bandedRanges = buildUnnamed414();
|
| + o.bandedRanges = buildUnnamed400();
|
| o.basicFilter = buildBasicFilter();
|
| - o.charts = buildUnnamed415();
|
| - o.conditionalFormats = buildUnnamed416();
|
| - o.data = buildUnnamed417();
|
| - o.filterViews = buildUnnamed418();
|
| - o.merges = buildUnnamed419();
|
| + o.charts = buildUnnamed401();
|
| + o.conditionalFormats = buildUnnamed402();
|
| + o.data = buildUnnamed403();
|
| + o.filterViews = buildUnnamed404();
|
| + o.merges = buildUnnamed405();
|
| o.properties = buildSheetProperties();
|
| - o.protectedRanges = buildUnnamed420();
|
| + o.protectedRanges = buildUnnamed406();
|
| }
|
| buildCounterSheet--;
|
| return o;
|
| @@ -3129,15 +3129,15 @@ buildSheet() {
|
| checkSheet(api.Sheet o) {
|
| buildCounterSheet++;
|
| if (buildCounterSheet < 3) {
|
| - checkUnnamed414(o.bandedRanges);
|
| + checkUnnamed400(o.bandedRanges);
|
| checkBasicFilter(o.basicFilter);
|
| - checkUnnamed415(o.charts);
|
| - checkUnnamed416(o.conditionalFormats);
|
| - checkUnnamed417(o.data);
|
| - checkUnnamed418(o.filterViews);
|
| - checkUnnamed419(o.merges);
|
| + checkUnnamed401(o.charts);
|
| + checkUnnamed402(o.conditionalFormats);
|
| + checkUnnamed403(o.data);
|
| + checkUnnamed404(o.filterViews);
|
| + checkUnnamed405(o.merges);
|
| checkSheetProperties(o.properties);
|
| - checkUnnamed420(o.protectedRanges);
|
| + checkUnnamed406(o.protectedRanges);
|
| }
|
| buildCounterSheet--;
|
| }
|
| @@ -3175,14 +3175,14 @@ checkSheetProperties(api.SheetProperties o) {
|
| buildCounterSheetProperties--;
|
| }
|
|
|
| -buildUnnamed421() {
|
| +buildUnnamed407() {
|
| var o = new core.List<api.SortSpec>();
|
| o.add(buildSortSpec());
|
| o.add(buildSortSpec());
|
| return o;
|
| }
|
|
|
| -checkUnnamed421(core.List<api.SortSpec> o) {
|
| +checkUnnamed407(core.List<api.SortSpec> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSortSpec(o[0]);
|
| checkSortSpec(o[1]);
|
| @@ -3194,7 +3194,7 @@ buildSortRangeRequest() {
|
| buildCounterSortRangeRequest++;
|
| if (buildCounterSortRangeRequest < 3) {
|
| o.range = buildGridRange();
|
| - o.sortSpecs = buildUnnamed421();
|
| + o.sortSpecs = buildUnnamed407();
|
| }
|
| buildCounterSortRangeRequest--;
|
| return o;
|
| @@ -3204,7 +3204,7 @@ checkSortRangeRequest(api.SortRangeRequest o) {
|
| buildCounterSortRangeRequest++;
|
| if (buildCounterSortRangeRequest < 3) {
|
| checkGridRange(o.range);
|
| - checkUnnamed421(o.sortSpecs);
|
| + checkUnnamed407(o.sortSpecs);
|
| }
|
| buildCounterSortRangeRequest--;
|
| }
|
| @@ -3253,27 +3253,27 @@ checkSourceAndDestination(api.SourceAndDestination o) {
|
| buildCounterSourceAndDestination--;
|
| }
|
|
|
| -buildUnnamed422() {
|
| +buildUnnamed408() {
|
| var o = new core.List<api.NamedRange>();
|
| o.add(buildNamedRange());
|
| o.add(buildNamedRange());
|
| return o;
|
| }
|
|
|
| -checkUnnamed422(core.List<api.NamedRange> o) {
|
| +checkUnnamed408(core.List<api.NamedRange> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkNamedRange(o[0]);
|
| checkNamedRange(o[1]);
|
| }
|
|
|
| -buildUnnamed423() {
|
| +buildUnnamed409() {
|
| var o = new core.List<api.Sheet>();
|
| o.add(buildSheet());
|
| o.add(buildSheet());
|
| return o;
|
| }
|
|
|
| -checkUnnamed423(core.List<api.Sheet> o) {
|
| +checkUnnamed409(core.List<api.Sheet> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSheet(o[0]);
|
| checkSheet(o[1]);
|
| @@ -3284,9 +3284,9 @@ buildSpreadsheet() {
|
| var o = new api.Spreadsheet();
|
| buildCounterSpreadsheet++;
|
| if (buildCounterSpreadsheet < 3) {
|
| - o.namedRanges = buildUnnamed422();
|
| + o.namedRanges = buildUnnamed408();
|
| o.properties = buildSpreadsheetProperties();
|
| - o.sheets = buildUnnamed423();
|
| + o.sheets = buildUnnamed409();
|
| o.spreadsheetId = "foo";
|
| o.spreadsheetUrl = "foo";
|
| }
|
| @@ -3297,9 +3297,9 @@ buildSpreadsheet() {
|
| checkSpreadsheet(api.Spreadsheet o) {
|
| buildCounterSpreadsheet++;
|
| if (buildCounterSpreadsheet < 3) {
|
| - checkUnnamed422(o.namedRanges);
|
| + checkUnnamed408(o.namedRanges);
|
| checkSpreadsheetProperties(o.properties);
|
| - checkUnnamed423(o.sheets);
|
| + checkUnnamed409(o.sheets);
|
| unittest.expect(o.spreadsheetId, unittest.equals('foo'));
|
| unittest.expect(o.spreadsheetUrl, unittest.equals('foo'));
|
| }
|
| @@ -3502,14 +3502,14 @@ checkUpdateBordersRequest(api.UpdateBordersRequest o) {
|
| buildCounterUpdateBordersRequest--;
|
| }
|
|
|
| -buildUnnamed424() {
|
| +buildUnnamed410() {
|
| var o = new core.List<api.RowData>();
|
| o.add(buildRowData());
|
| o.add(buildRowData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed424(core.List<api.RowData> o) {
|
| +checkUnnamed410(core.List<api.RowData> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRowData(o[0]);
|
| checkRowData(o[1]);
|
| @@ -3522,7 +3522,7 @@ buildUpdateCellsRequest() {
|
| if (buildCounterUpdateCellsRequest < 3) {
|
| o.fields = "foo";
|
| o.range = buildGridRange();
|
| - o.rows = buildUnnamed424();
|
| + o.rows = buildUnnamed410();
|
| o.start = buildGridCoordinate();
|
| }
|
| buildCounterUpdateCellsRequest--;
|
| @@ -3534,7 +3534,7 @@ checkUpdateCellsRequest(api.UpdateCellsRequest o) {
|
| if (buildCounterUpdateCellsRequest < 3) {
|
| unittest.expect(o.fields, unittest.equals('foo'));
|
| checkGridRange(o.range);
|
| - checkUnnamed424(o.rows);
|
| + checkUnnamed410(o.rows);
|
| checkGridCoordinate(o.start);
|
| }
|
| buildCounterUpdateCellsRequest--;
|
| @@ -3810,30 +3810,30 @@ checkUpdateValuesResponse(api.UpdateValuesResponse o) {
|
| buildCounterUpdateValuesResponse--;
|
| }
|
|
|
| -buildUnnamed425() {
|
| +buildUnnamed411() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed425(core.List<core.Object> o) {
|
| +checkUnnamed411(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'));
|
| }
|
|
|
| -buildUnnamed426() {
|
| +buildUnnamed412() {
|
| var o = new core.List<core.List<core.Object>>();
|
| - o.add(buildUnnamed425());
|
| - o.add(buildUnnamed425());
|
| + o.add(buildUnnamed411());
|
| + o.add(buildUnnamed411());
|
| return o;
|
| }
|
|
|
| -checkUnnamed426(core.List<core.List<core.Object>> o) {
|
| +checkUnnamed412(core.List<core.List<core.Object>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed425(o[0]);
|
| - checkUnnamed425(o[1]);
|
| + checkUnnamed411(o[0]);
|
| + checkUnnamed411(o[1]);
|
| }
|
|
|
| core.int buildCounterValueRange = 0;
|
| @@ -3843,7 +3843,7 @@ buildValueRange() {
|
| if (buildCounterValueRange < 3) {
|
| o.majorDimension = "foo";
|
| o.range = "foo";
|
| - o.values = buildUnnamed426();
|
| + o.values = buildUnnamed412();
|
| }
|
| buildCounterValueRange--;
|
| return o;
|
| @@ -3854,32 +3854,32 @@ checkValueRange(api.ValueRange o) {
|
| if (buildCounterValueRange < 3) {
|
| unittest.expect(o.majorDimension, unittest.equals('foo'));
|
| unittest.expect(o.range, unittest.equals('foo'));
|
| - checkUnnamed426(o.values);
|
| + checkUnnamed412(o.values);
|
| }
|
| buildCounterValueRange--;
|
| }
|
|
|
| -buildUnnamed427() {
|
| +buildUnnamed413() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed427(core.List<core.String> o) {
|
| +checkUnnamed413(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'));
|
| }
|
|
|
| -buildUnnamed428() {
|
| +buildUnnamed414() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed428(core.List<core.String> o) {
|
| +checkUnnamed414(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'));
|
| @@ -5201,7 +5201,7 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.SpreadsheetsResourceApi res = new api.SheetsApi(mock).spreadsheets;
|
| var arg_spreadsheetId = "foo";
|
| - var arg_ranges = buildUnnamed427();
|
| + var arg_ranges = buildUnnamed413();
|
| var arg_includeGridData = true;
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| @@ -5325,11 +5325,11 @@ main() {
|
| var arg_request = buildValueRange();
|
| var arg_spreadsheetId = "foo";
|
| var arg_range = "foo";
|
| + var arg_responseDateTimeRenderOption = "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;
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var obj = new api.ValueRange.fromJson(json);
|
| checkValueRange(obj);
|
| @@ -5373,11 +5373,11 @@ main() {
|
| addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| }
|
| }
|
| + 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));
|
| 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"));
|
|
|
|
|
| var h = {
|
| @@ -5386,7 +5386,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, insertDataOption: arg_insertDataOption, valueInputOption: arg_valueInputOption, responseDateTimeRenderOption: arg_responseDateTimeRenderOption, includeValuesInResponse: arg_includeValuesInResponse).then(unittest.expectAsync(((api.AppendValuesResponse response) {
|
| + res.append(arg_request, arg_spreadsheetId, arg_range, responseDateTimeRenderOption: arg_responseDateTimeRenderOption, includeValuesInResponse: arg_includeValuesInResponse, responseValueRenderOption: arg_responseValueRenderOption, insertDataOption: arg_insertDataOption, valueInputOption: arg_valueInputOption).then(unittest.expectAsync(((api.AppendValuesResponse response) {
|
| checkAppendValuesResponse(response);
|
| })));
|
| });
|
| @@ -5453,7 +5453,7 @@ main() {
|
| var arg_spreadsheetId = "foo";
|
| var arg_valueRenderOption = "foo";
|
| var arg_dateTimeRenderOption = "foo";
|
| - var arg_ranges = buildUnnamed428();
|
| + var arg_ranges = buildUnnamed414();
|
| var arg_majorDimension = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
|
|