| Index: generated/googleapis/test/slides/v1_test.dart
|
| diff --git a/generated/googleapis/test/slides/v1_test.dart b/generated/googleapis/test/slides/v1_test.dart
|
| index 076b9ece627c80979da9569e32774c2489166ab7..1536264c871c6bff8c209b3201b45b7bf6504b12 100644
|
| --- a/generated/googleapis/test/slides/v1_test.dart
|
| +++ b/generated/googleapis/test/slides/v1_test.dart
|
| @@ -105,14 +105,14 @@ checkAutoText(api.AutoText o) {
|
| buildCounterAutoText--;
|
| }
|
|
|
| -buildUnnamed1690() {
|
| +buildUnnamed1457() {
|
| var o = new core.List<api.Request>();
|
| o.add(buildRequest());
|
| o.add(buildRequest());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1690(core.List<api.Request> o) {
|
| +checkUnnamed1457(core.List<api.Request> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRequest(o[0]);
|
| checkRequest(o[1]);
|
| @@ -123,7 +123,7 @@ buildBatchUpdatePresentationRequest() {
|
| var o = new api.BatchUpdatePresentationRequest();
|
| buildCounterBatchUpdatePresentationRequest++;
|
| if (buildCounterBatchUpdatePresentationRequest < 3) {
|
| - o.requests = buildUnnamed1690();
|
| + o.requests = buildUnnamed1457();
|
| }
|
| buildCounterBatchUpdatePresentationRequest--;
|
| return o;
|
| @@ -132,19 +132,19 @@ buildBatchUpdatePresentationRequest() {
|
| checkBatchUpdatePresentationRequest(api.BatchUpdatePresentationRequest o) {
|
| buildCounterBatchUpdatePresentationRequest++;
|
| if (buildCounterBatchUpdatePresentationRequest < 3) {
|
| - checkUnnamed1690(o.requests);
|
| + checkUnnamed1457(o.requests);
|
| }
|
| buildCounterBatchUpdatePresentationRequest--;
|
| }
|
|
|
| -buildUnnamed1691() {
|
| +buildUnnamed1458() {
|
| var o = new core.List<api.Response>();
|
| o.add(buildResponse());
|
| o.add(buildResponse());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1691(core.List<api.Response> o) {
|
| +checkUnnamed1458(core.List<api.Response> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkResponse(o[0]);
|
| checkResponse(o[1]);
|
| @@ -156,7 +156,7 @@ buildBatchUpdatePresentationResponse() {
|
| buildCounterBatchUpdatePresentationResponse++;
|
| if (buildCounterBatchUpdatePresentationResponse < 3) {
|
| o.presentationId = "foo";
|
| - o.replies = buildUnnamed1691();
|
| + o.replies = buildUnnamed1458();
|
| }
|
| buildCounterBatchUpdatePresentationResponse--;
|
| return o;
|
| @@ -166,7 +166,7 @@ checkBatchUpdatePresentationResponse(api.BatchUpdatePresentationResponse o) {
|
| buildCounterBatchUpdatePresentationResponse++;
|
| if (buildCounterBatchUpdatePresentationResponse < 3) {
|
| unittest.expect(o.presentationId, unittest.equals('foo'));
|
| - checkUnnamed1691(o.replies);
|
| + checkUnnamed1458(o.replies);
|
| }
|
| buildCounterBatchUpdatePresentationResponse--;
|
| }
|
| @@ -196,14 +196,14 @@ checkBullet(api.Bullet o) {
|
| buildCounterBullet--;
|
| }
|
|
|
| -buildUnnamed1692() {
|
| +buildUnnamed1459() {
|
| var o = new core.List<api.ThemeColorPair>();
|
| o.add(buildThemeColorPair());
|
| o.add(buildThemeColorPair());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1692(core.List<api.ThemeColorPair> o) {
|
| +checkUnnamed1459(core.List<api.ThemeColorPair> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkThemeColorPair(o[0]);
|
| checkThemeColorPair(o[1]);
|
| @@ -214,7 +214,7 @@ buildColorScheme() {
|
| var o = new api.ColorScheme();
|
| buildCounterColorScheme++;
|
| if (buildCounterColorScheme < 3) {
|
| - o.colors = buildUnnamed1692();
|
| + o.colors = buildUnnamed1459();
|
| }
|
| buildCounterColorScheme--;
|
| return o;
|
| @@ -223,7 +223,7 @@ buildColorScheme() {
|
| checkColorScheme(api.ColorScheme o) {
|
| buildCounterColorScheme++;
|
| if (buildCounterColorScheme < 3) {
|
| - checkUnnamed1692(o.colors);
|
| + checkUnnamed1459(o.colors);
|
| }
|
| buildCounterColorScheme--;
|
| }
|
| @@ -448,14 +448,14 @@ checkCreateSheetsChartResponse(api.CreateSheetsChartResponse o) {
|
| buildCounterCreateSheetsChartResponse--;
|
| }
|
|
|
| -buildUnnamed1693() {
|
| +buildUnnamed1460() {
|
| var o = new core.List<api.LayoutPlaceholderIdMapping>();
|
| o.add(buildLayoutPlaceholderIdMapping());
|
| o.add(buildLayoutPlaceholderIdMapping());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1693(core.List<api.LayoutPlaceholderIdMapping> o) {
|
| +checkUnnamed1460(core.List<api.LayoutPlaceholderIdMapping> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLayoutPlaceholderIdMapping(o[0]);
|
| checkLayoutPlaceholderIdMapping(o[1]);
|
| @@ -468,7 +468,7 @@ buildCreateSlideRequest() {
|
| if (buildCounterCreateSlideRequest < 3) {
|
| o.insertionIndex = 42;
|
| o.objectId = "foo";
|
| - o.placeholderIdMappings = buildUnnamed1693();
|
| + o.placeholderIdMappings = buildUnnamed1460();
|
| o.slideLayoutReference = buildLayoutReference();
|
| }
|
| buildCounterCreateSlideRequest--;
|
| @@ -480,7 +480,7 @@ checkCreateSlideRequest(api.CreateSlideRequest o) {
|
| if (buildCounterCreateSlideRequest < 3) {
|
| unittest.expect(o.insertionIndex, unittest.equals(42));
|
| unittest.expect(o.objectId, unittest.equals('foo'));
|
| - checkUnnamed1693(o.placeholderIdMappings);
|
| + checkUnnamed1460(o.placeholderIdMappings);
|
| checkLayoutReference(o.slideLayoutReference);
|
| }
|
| buildCounterCreateSlideRequest--;
|
| @@ -748,14 +748,14 @@ checkDimension(api.Dimension o) {
|
| buildCounterDimension--;
|
| }
|
|
|
| -buildUnnamed1694() {
|
| +buildUnnamed1461() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed1694(core.Map<core.String, core.String> o) {
|
| +checkUnnamed1461(core.Map<core.String, core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o["x"], unittest.equals('foo'));
|
| unittest.expect(o["y"], unittest.equals('foo'));
|
| @@ -767,7 +767,7 @@ buildDuplicateObjectRequest() {
|
| buildCounterDuplicateObjectRequest++;
|
| if (buildCounterDuplicateObjectRequest < 3) {
|
| o.objectId = "foo";
|
| - o.objectIds = buildUnnamed1694();
|
| + o.objectIds = buildUnnamed1461();
|
| }
|
| buildCounterDuplicateObjectRequest--;
|
| return o;
|
| @@ -777,7 +777,7 @@ checkDuplicateObjectRequest(api.DuplicateObjectRequest o) {
|
| buildCounterDuplicateObjectRequest++;
|
| if (buildCounterDuplicateObjectRequest < 3) {
|
| unittest.expect(o.objectId, unittest.equals('foo'));
|
| - checkUnnamed1694(o.objectIds);
|
| + checkUnnamed1461(o.objectIds);
|
| }
|
| buildCounterDuplicateObjectRequest--;
|
| }
|
| @@ -801,14 +801,14 @@ checkDuplicateObjectResponse(api.DuplicateObjectResponse o) {
|
| buildCounterDuplicateObjectResponse--;
|
| }
|
|
|
| -buildUnnamed1695() {
|
| +buildUnnamed1462() {
|
| var o = new core.List<api.PageElement>();
|
| o.add(buildPageElement());
|
| o.add(buildPageElement());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1695(core.List<api.PageElement> o) {
|
| +checkUnnamed1462(core.List<api.PageElement> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPageElement(o[0]);
|
| checkPageElement(o[1]);
|
| @@ -819,7 +819,7 @@ buildGroup() {
|
| var o = new api.Group();
|
| buildCounterGroup++;
|
| if (buildCounterGroup < 3) {
|
| - o.children = buildUnnamed1695();
|
| + o.children = buildUnnamed1462();
|
| }
|
| buildCounterGroup--;
|
| return o;
|
| @@ -828,7 +828,7 @@ buildGroup() {
|
| checkGroup(api.Group o) {
|
| buildCounterGroup++;
|
| if (buildCounterGroup < 3) {
|
| - checkUnnamed1695(o.children);
|
| + checkUnnamed1462(o.children);
|
| }
|
| buildCounterGroup--;
|
| }
|
| @@ -1123,14 +1123,14 @@ checkLink(api.Link o) {
|
| buildCounterLink--;
|
| }
|
|
|
| -buildUnnamed1696() {
|
| +buildUnnamed1463() {
|
| var o = new core.Map<core.String, api.NestingLevel>();
|
| o["x"] = buildNestingLevel();
|
| o["y"] = buildNestingLevel();
|
| return o;
|
| }
|
|
|
| -checkUnnamed1696(core.Map<core.String, api.NestingLevel> o) {
|
| +checkUnnamed1463(core.Map<core.String, api.NestingLevel> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkNestingLevel(o["x"]);
|
| checkNestingLevel(o["y"]);
|
| @@ -1142,7 +1142,7 @@ buildList() {
|
| buildCounterList++;
|
| if (buildCounterList < 3) {
|
| o.listId = "foo";
|
| - o.nestingLevel = buildUnnamed1696();
|
| + o.nestingLevel = buildUnnamed1463();
|
| }
|
| buildCounterList--;
|
| return o;
|
| @@ -1152,7 +1152,7 @@ checkList(api.List o) {
|
| buildCounterList++;
|
| if (buildCounterList < 3) {
|
| unittest.expect(o.listId, unittest.equals('foo'));
|
| - checkUnnamed1696(o.nestingLevel);
|
| + checkUnnamed1463(o.nestingLevel);
|
| }
|
| buildCounterList--;
|
| }
|
| @@ -1279,14 +1279,14 @@ checkOutlineFill(api.OutlineFill o) {
|
| buildCounterOutlineFill--;
|
| }
|
|
|
| -buildUnnamed1697() {
|
| +buildUnnamed1464() {
|
| var o = new core.List<api.PageElement>();
|
| o.add(buildPageElement());
|
| o.add(buildPageElement());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1697(core.List<api.PageElement> o) {
|
| +checkUnnamed1464(core.List<api.PageElement> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPageElement(o[0]);
|
| checkPageElement(o[1]);
|
| @@ -1300,7 +1300,7 @@ buildPage() {
|
| o.layoutProperties = buildLayoutProperties();
|
| o.notesProperties = buildNotesProperties();
|
| o.objectId = "foo";
|
| - o.pageElements = buildUnnamed1697();
|
| + o.pageElements = buildUnnamed1464();
|
| o.pageProperties = buildPageProperties();
|
| o.pageType = "foo";
|
| o.slideProperties = buildSlideProperties();
|
| @@ -1315,7 +1315,7 @@ checkPage(api.Page o) {
|
| checkLayoutProperties(o.layoutProperties);
|
| checkNotesProperties(o.notesProperties);
|
| unittest.expect(o.objectId, unittest.equals('foo'));
|
| - checkUnnamed1697(o.pageElements);
|
| + checkUnnamed1464(o.pageElements);
|
| checkPageProperties(o.pageProperties);
|
| unittest.expect(o.pageType, unittest.equals('foo'));
|
| checkSlideProperties(o.slideProperties);
|
| @@ -1512,40 +1512,40 @@ checkPlaceholder(api.Placeholder o) {
|
| buildCounterPlaceholder--;
|
| }
|
|
|
| -buildUnnamed1698() {
|
| +buildUnnamed1465() {
|
| var o = new core.List<api.Page>();
|
| o.add(buildPage());
|
| o.add(buildPage());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1698(core.List<api.Page> o) {
|
| +checkUnnamed1465(core.List<api.Page> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPage(o[0]);
|
| checkPage(o[1]);
|
| }
|
|
|
| -buildUnnamed1699() {
|
| +buildUnnamed1466() {
|
| var o = new core.List<api.Page>();
|
| o.add(buildPage());
|
| o.add(buildPage());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1699(core.List<api.Page> o) {
|
| +checkUnnamed1466(core.List<api.Page> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPage(o[0]);
|
| checkPage(o[1]);
|
| }
|
|
|
| -buildUnnamed1700() {
|
| +buildUnnamed1467() {
|
| var o = new core.List<api.Page>();
|
| o.add(buildPage());
|
| o.add(buildPage());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1700(core.List<api.Page> o) {
|
| +checkUnnamed1467(core.List<api.Page> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPage(o[0]);
|
| checkPage(o[1]);
|
| @@ -1556,13 +1556,13 @@ buildPresentation() {
|
| var o = new api.Presentation();
|
| buildCounterPresentation++;
|
| if (buildCounterPresentation < 3) {
|
| - o.layouts = buildUnnamed1698();
|
| + o.layouts = buildUnnamed1465();
|
| o.locale = "foo";
|
| - o.masters = buildUnnamed1699();
|
| + o.masters = buildUnnamed1466();
|
| o.notesMaster = buildPage();
|
| o.pageSize = buildSize();
|
| o.presentationId = "foo";
|
| - o.slides = buildUnnamed1700();
|
| + o.slides = buildUnnamed1467();
|
| o.title = "foo";
|
| }
|
| buildCounterPresentation--;
|
| @@ -1572,13 +1572,13 @@ buildPresentation() {
|
| checkPresentation(api.Presentation o) {
|
| buildCounterPresentation++;
|
| if (buildCounterPresentation < 3) {
|
| - checkUnnamed1698(o.layouts);
|
| + checkUnnamed1465(o.layouts);
|
| unittest.expect(o.locale, unittest.equals('foo'));
|
| - checkUnnamed1699(o.masters);
|
| + checkUnnamed1466(o.masters);
|
| checkPage(o.notesMaster);
|
| checkSize(o.pageSize);
|
| unittest.expect(o.presentationId, unittest.equals('foo'));
|
| - checkUnnamed1700(o.slides);
|
| + checkUnnamed1467(o.slides);
|
| unittest.expect(o.title, unittest.equals('foo'));
|
| }
|
| buildCounterPresentation--;
|
| @@ -1607,14 +1607,14 @@ checkRange(api.Range o) {
|
| buildCounterRange--;
|
| }
|
|
|
| -buildUnnamed1701() {
|
| +buildUnnamed1468() {
|
| var o = new core.List<api.ColorStop>();
|
| o.add(buildColorStop());
|
| o.add(buildColorStop());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1701(core.List<api.ColorStop> o) {
|
| +checkUnnamed1468(core.List<api.ColorStop> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkColorStop(o[0]);
|
| checkColorStop(o[1]);
|
| @@ -1626,7 +1626,7 @@ buildRecolor() {
|
| buildCounterRecolor++;
|
| if (buildCounterRecolor < 3) {
|
| o.name = "foo";
|
| - o.recolorStops = buildUnnamed1701();
|
| + o.recolorStops = buildUnnamed1468();
|
| }
|
| buildCounterRecolor--;
|
| return o;
|
| @@ -1636,7 +1636,7 @@ checkRecolor(api.Recolor o) {
|
| buildCounterRecolor++;
|
| if (buildCounterRecolor < 3) {
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed1701(o.recolorStops);
|
| + checkUnnamed1468(o.recolorStops);
|
| }
|
| buildCounterRecolor--;
|
| }
|
| @@ -1816,6 +1816,7 @@ buildRequest() {
|
| o.updateLineProperties = buildUpdateLinePropertiesRequest();
|
| o.updatePageElementTransform = buildUpdatePageElementTransformRequest();
|
| o.updatePageProperties = buildUpdatePagePropertiesRequest();
|
| + o.updateParagraphStyle = buildUpdateParagraphStyleRequest();
|
| o.updateShapeProperties = buildUpdateShapePropertiesRequest();
|
| o.updateSlidesPosition = buildUpdateSlidesPositionRequest();
|
| o.updateTableCellProperties = buildUpdateTableCellPropertiesRequest();
|
| @@ -1854,6 +1855,7 @@ checkRequest(api.Request o) {
|
| checkUpdateLinePropertiesRequest(o.updateLineProperties);
|
| checkUpdatePageElementTransformRequest(o.updatePageElementTransform);
|
| checkUpdatePagePropertiesRequest(o.updatePageProperties);
|
| + checkUpdateParagraphStyleRequest(o.updateParagraphStyle);
|
| checkUpdateShapePropertiesRequest(o.updateShapeProperties);
|
| checkUpdateSlidesPositionRequest(o.updateSlidesPosition);
|
| checkUpdateTableCellPropertiesRequest(o.updateTableCellProperties);
|
| @@ -2180,27 +2182,27 @@ checkSubstringMatchCriteria(api.SubstringMatchCriteria o) {
|
| buildCounterSubstringMatchCriteria--;
|
| }
|
|
|
| -buildUnnamed1702() {
|
| +buildUnnamed1469() {
|
| var o = new core.List<api.TableColumnProperties>();
|
| o.add(buildTableColumnProperties());
|
| o.add(buildTableColumnProperties());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1702(core.List<api.TableColumnProperties> o) {
|
| +checkUnnamed1469(core.List<api.TableColumnProperties> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTableColumnProperties(o[0]);
|
| checkTableColumnProperties(o[1]);
|
| }
|
|
|
| -buildUnnamed1703() {
|
| +buildUnnamed1470() {
|
| var o = new core.List<api.TableRow>();
|
| o.add(buildTableRow());
|
| o.add(buildTableRow());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1703(core.List<api.TableRow> o) {
|
| +checkUnnamed1470(core.List<api.TableRow> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTableRow(o[0]);
|
| checkTableRow(o[1]);
|
| @@ -2213,8 +2215,8 @@ buildTable() {
|
| if (buildCounterTable < 3) {
|
| o.columns = 42;
|
| o.rows = 42;
|
| - o.tableColumns = buildUnnamed1702();
|
| - o.tableRows = buildUnnamed1703();
|
| + o.tableColumns = buildUnnamed1469();
|
| + o.tableRows = buildUnnamed1470();
|
| }
|
| buildCounterTable--;
|
| return o;
|
| @@ -2225,8 +2227,8 @@ checkTable(api.Table o) {
|
| if (buildCounterTable < 3) {
|
| unittest.expect(o.columns, unittest.equals(42));
|
| unittest.expect(o.rows, unittest.equals(42));
|
| - checkUnnamed1702(o.tableColumns);
|
| - checkUnnamed1703(o.tableRows);
|
| + checkUnnamed1469(o.tableColumns);
|
| + checkUnnamed1470(o.tableRows);
|
| }
|
| buildCounterTable--;
|
| }
|
| @@ -2361,14 +2363,14 @@ checkTableRange(api.TableRange o) {
|
| buildCounterTableRange--;
|
| }
|
|
|
| -buildUnnamed1704() {
|
| +buildUnnamed1471() {
|
| var o = new core.List<api.TableCell>();
|
| o.add(buildTableCell());
|
| o.add(buildTableCell());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1704(core.List<api.TableCell> o) {
|
| +checkUnnamed1471(core.List<api.TableCell> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTableCell(o[0]);
|
| checkTableCell(o[1]);
|
| @@ -2380,7 +2382,7 @@ buildTableRow() {
|
| buildCounterTableRow++;
|
| if (buildCounterTableRow < 3) {
|
| o.rowHeight = buildDimension();
|
| - o.tableCells = buildUnnamed1704();
|
| + o.tableCells = buildUnnamed1471();
|
| }
|
| buildCounterTableRow--;
|
| return o;
|
| @@ -2390,32 +2392,32 @@ checkTableRow(api.TableRow o) {
|
| buildCounterTableRow++;
|
| if (buildCounterTableRow < 3) {
|
| checkDimension(o.rowHeight);
|
| - checkUnnamed1704(o.tableCells);
|
| + checkUnnamed1471(o.tableCells);
|
| }
|
| buildCounterTableRow--;
|
| }
|
|
|
| -buildUnnamed1705() {
|
| +buildUnnamed1472() {
|
| var o = new core.Map<core.String, api.List>();
|
| o["x"] = buildList();
|
| o["y"] = buildList();
|
| return o;
|
| }
|
|
|
| -checkUnnamed1705(core.Map<core.String, api.List> o) {
|
| +checkUnnamed1472(core.Map<core.String, api.List> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkList(o["x"]);
|
| checkList(o["y"]);
|
| }
|
|
|
| -buildUnnamed1706() {
|
| +buildUnnamed1473() {
|
| var o = new core.List<api.TextElement>();
|
| o.add(buildTextElement());
|
| o.add(buildTextElement());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1706(core.List<api.TextElement> o) {
|
| +checkUnnamed1473(core.List<api.TextElement> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTextElement(o[0]);
|
| checkTextElement(o[1]);
|
| @@ -2426,8 +2428,8 @@ buildTextContent() {
|
| var o = new api.TextContent();
|
| buildCounterTextContent++;
|
| if (buildCounterTextContent < 3) {
|
| - o.lists = buildUnnamed1705();
|
| - o.textElements = buildUnnamed1706();
|
| + o.lists = buildUnnamed1472();
|
| + o.textElements = buildUnnamed1473();
|
| }
|
| buildCounterTextContent--;
|
| return o;
|
| @@ -2436,8 +2438,8 @@ buildTextContent() {
|
| checkTextContent(api.TextContent o) {
|
| buildCounterTextContent++;
|
| if (buildCounterTextContent < 3) {
|
| - checkUnnamed1705(o.lists);
|
| - checkUnnamed1706(o.textElements);
|
| + checkUnnamed1472(o.lists);
|
| + checkUnnamed1473(o.textElements);
|
| }
|
| buildCounterTextContent--;
|
| }
|
| @@ -2642,6 +2644,33 @@ checkUpdatePagePropertiesRequest(api.UpdatePagePropertiesRequest o) {
|
| buildCounterUpdatePagePropertiesRequest--;
|
| }
|
|
|
| +core.int buildCounterUpdateParagraphStyleRequest = 0;
|
| +buildUpdateParagraphStyleRequest() {
|
| + var o = new api.UpdateParagraphStyleRequest();
|
| + buildCounterUpdateParagraphStyleRequest++;
|
| + if (buildCounterUpdateParagraphStyleRequest < 3) {
|
| + o.cellLocation = buildTableCellLocation();
|
| + o.fields = "foo";
|
| + o.objectId = "foo";
|
| + o.style = buildParagraphStyle();
|
| + o.textRange = buildRange();
|
| + }
|
| + buildCounterUpdateParagraphStyleRequest--;
|
| + return o;
|
| +}
|
| +
|
| +checkUpdateParagraphStyleRequest(api.UpdateParagraphStyleRequest o) {
|
| + buildCounterUpdateParagraphStyleRequest++;
|
| + if (buildCounterUpdateParagraphStyleRequest < 3) {
|
| + checkTableCellLocation(o.cellLocation);
|
| + unittest.expect(o.fields, unittest.equals('foo'));
|
| + unittest.expect(o.objectId, unittest.equals('foo'));
|
| + checkParagraphStyle(o.style);
|
| + checkRange(o.textRange);
|
| + }
|
| + buildCounterUpdateParagraphStyleRequest--;
|
| +}
|
| +
|
| core.int buildCounterUpdateShapePropertiesRequest = 0;
|
| buildUpdateShapePropertiesRequest() {
|
| var o = new api.UpdateShapePropertiesRequest();
|
| @@ -2665,14 +2694,14 @@ checkUpdateShapePropertiesRequest(api.UpdateShapePropertiesRequest o) {
|
| buildCounterUpdateShapePropertiesRequest--;
|
| }
|
|
|
| -buildUnnamed1707() {
|
| +buildUnnamed1474() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1707(core.List<core.String> o) {
|
| +checkUnnamed1474(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'));
|
| @@ -2684,7 +2713,7 @@ buildUpdateSlidesPositionRequest() {
|
| buildCounterUpdateSlidesPositionRequest++;
|
| if (buildCounterUpdateSlidesPositionRequest < 3) {
|
| o.insertionIndex = 42;
|
| - o.slideObjectIds = buildUnnamed1707();
|
| + o.slideObjectIds = buildUnnamed1474();
|
| }
|
| buildCounterUpdateSlidesPositionRequest--;
|
| return o;
|
| @@ -2694,7 +2723,7 @@ checkUpdateSlidesPositionRequest(api.UpdateSlidesPositionRequest o) {
|
| buildCounterUpdateSlidesPositionRequest++;
|
| if (buildCounterUpdateSlidesPositionRequest < 3) {
|
| unittest.expect(o.insertionIndex, unittest.equals(42));
|
| - checkUnnamed1707(o.slideObjectIds);
|
| + checkUnnamed1474(o.slideObjectIds);
|
| }
|
| buildCounterUpdateSlidesPositionRequest--;
|
| }
|
| @@ -3739,6 +3768,15 @@ main() {
|
| });
|
|
|
|
|
| + unittest.group("obj-schema-UpdateParagraphStyleRequest", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildUpdateParagraphStyleRequest();
|
| + var od = new api.UpdateParagraphStyleRequest.fromJson(o.toJson());
|
| + checkUpdateParagraphStyleRequest(od);
|
| + });
|
| + });
|
| +
|
| +
|
| unittest.group("obj-schema-UpdateShapePropertiesRequest", () {
|
| unittest.test("to-json--from-json", () {
|
| var o = buildUpdateShapePropertiesRequest();
|
|
|