Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Unified Diff: generated/googleapis/test/slides/v1_test.dart

Issue 2695743002: Api-roll 45: 2017-02-13 (Closed)
Patch Set: reverted local changes to pubspec file Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « generated/googleapis/test/sheets/v4_test.dart ('k') | generated/googleapis/test/storage/v1_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 210166ce949e91eb01bc8bd6bc32687916599245..076b9ece627c80979da9569e32774c2489166ab7 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--;
}
-buildUnnamed1657() {
+buildUnnamed1690() {
var o = new core.List<api.Request>();
o.add(buildRequest());
o.add(buildRequest());
return o;
}
-checkUnnamed1657(core.List<api.Request> o) {
+checkUnnamed1690(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 = buildUnnamed1657();
+ o.requests = buildUnnamed1690();
}
buildCounterBatchUpdatePresentationRequest--;
return o;
@@ -132,19 +132,19 @@ buildBatchUpdatePresentationRequest() {
checkBatchUpdatePresentationRequest(api.BatchUpdatePresentationRequest o) {
buildCounterBatchUpdatePresentationRequest++;
if (buildCounterBatchUpdatePresentationRequest < 3) {
- checkUnnamed1657(o.requests);
+ checkUnnamed1690(o.requests);
}
buildCounterBatchUpdatePresentationRequest--;
}
-buildUnnamed1658() {
+buildUnnamed1691() {
var o = new core.List<api.Response>();
o.add(buildResponse());
o.add(buildResponse());
return o;
}
-checkUnnamed1658(core.List<api.Response> o) {
+checkUnnamed1691(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 = buildUnnamed1658();
+ o.replies = buildUnnamed1691();
}
buildCounterBatchUpdatePresentationResponse--;
return o;
@@ -166,7 +166,7 @@ checkBatchUpdatePresentationResponse(api.BatchUpdatePresentationResponse o) {
buildCounterBatchUpdatePresentationResponse++;
if (buildCounterBatchUpdatePresentationResponse < 3) {
unittest.expect(o.presentationId, unittest.equals('foo'));
- checkUnnamed1658(o.replies);
+ checkUnnamed1691(o.replies);
}
buildCounterBatchUpdatePresentationResponse--;
}
@@ -196,14 +196,14 @@ checkBullet(api.Bullet o) {
buildCounterBullet--;
}
-buildUnnamed1659() {
+buildUnnamed1692() {
var o = new core.List<api.ThemeColorPair>();
o.add(buildThemeColorPair());
o.add(buildThemeColorPair());
return o;
}
-checkUnnamed1659(core.List<api.ThemeColorPair> o) {
+checkUnnamed1692(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 = buildUnnamed1659();
+ o.colors = buildUnnamed1692();
}
buildCounterColorScheme--;
return o;
@@ -223,7 +223,7 @@ buildColorScheme() {
checkColorScheme(api.ColorScheme o) {
buildCounterColorScheme++;
if (buildCounterColorScheme < 3) {
- checkUnnamed1659(o.colors);
+ checkUnnamed1692(o.colors);
}
buildCounterColorScheme--;
}
@@ -448,6 +448,19 @@ checkCreateSheetsChartResponse(api.CreateSheetsChartResponse o) {
buildCounterCreateSheetsChartResponse--;
}
+buildUnnamed1693() {
+ var o = new core.List<api.LayoutPlaceholderIdMapping>();
+ o.add(buildLayoutPlaceholderIdMapping());
+ o.add(buildLayoutPlaceholderIdMapping());
+ return o;
+}
+
+checkUnnamed1693(core.List<api.LayoutPlaceholderIdMapping> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkLayoutPlaceholderIdMapping(o[0]);
+ checkLayoutPlaceholderIdMapping(o[1]);
+}
+
core.int buildCounterCreateSlideRequest = 0;
buildCreateSlideRequest() {
var o = new api.CreateSlideRequest();
@@ -455,6 +468,7 @@ buildCreateSlideRequest() {
if (buildCounterCreateSlideRequest < 3) {
o.insertionIndex = 42;
o.objectId = "foo";
+ o.placeholderIdMappings = buildUnnamed1693();
o.slideLayoutReference = buildLayoutReference();
}
buildCounterCreateSlideRequest--;
@@ -466,6 +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);
checkLayoutReference(o.slideLayoutReference);
}
buildCounterCreateSlideRequest--;
@@ -624,6 +639,29 @@ checkDeleteObjectRequest(api.DeleteObjectRequest o) {
buildCounterDeleteObjectRequest--;
}
+core.int buildCounterDeleteParagraphBulletsRequest = 0;
+buildDeleteParagraphBulletsRequest() {
+ var o = new api.DeleteParagraphBulletsRequest();
+ buildCounterDeleteParagraphBulletsRequest++;
+ if (buildCounterDeleteParagraphBulletsRequest < 3) {
+ o.cellLocation = buildTableCellLocation();
+ o.objectId = "foo";
+ o.textRange = buildRange();
+ }
+ buildCounterDeleteParagraphBulletsRequest--;
+ return o;
+}
+
+checkDeleteParagraphBulletsRequest(api.DeleteParagraphBulletsRequest o) {
+ buildCounterDeleteParagraphBulletsRequest++;
+ if (buildCounterDeleteParagraphBulletsRequest < 3) {
+ checkTableCellLocation(o.cellLocation);
+ unittest.expect(o.objectId, unittest.equals('foo'));
+ checkRange(o.textRange);
+ }
+ buildCounterDeleteParagraphBulletsRequest--;
+}
+
core.int buildCounterDeleteTableColumnRequest = 0;
buildDeleteTableColumnRequest() {
var o = new api.DeleteTableColumnRequest();
@@ -710,14 +748,14 @@ checkDimension(api.Dimension o) {
buildCounterDimension--;
}
-buildUnnamed1660() {
+buildUnnamed1694() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1660(core.Map<core.String, core.String> o) {
+checkUnnamed1694(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'));
@@ -729,7 +767,7 @@ buildDuplicateObjectRequest() {
buildCounterDuplicateObjectRequest++;
if (buildCounterDuplicateObjectRequest < 3) {
o.objectId = "foo";
- o.objectIds = buildUnnamed1660();
+ o.objectIds = buildUnnamed1694();
}
buildCounterDuplicateObjectRequest--;
return o;
@@ -739,7 +777,7 @@ checkDuplicateObjectRequest(api.DuplicateObjectRequest o) {
buildCounterDuplicateObjectRequest++;
if (buildCounterDuplicateObjectRequest < 3) {
unittest.expect(o.objectId, unittest.equals('foo'));
- checkUnnamed1660(o.objectIds);
+ checkUnnamed1694(o.objectIds);
}
buildCounterDuplicateObjectRequest--;
}
@@ -763,14 +801,14 @@ checkDuplicateObjectResponse(api.DuplicateObjectResponse o) {
buildCounterDuplicateObjectResponse--;
}
-buildUnnamed1661() {
+buildUnnamed1695() {
var o = new core.List<api.PageElement>();
o.add(buildPageElement());
o.add(buildPageElement());
return o;
}
-checkUnnamed1661(core.List<api.PageElement> o) {
+checkUnnamed1695(core.List<api.PageElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkPageElement(o[0]);
checkPageElement(o[1]);
@@ -781,7 +819,7 @@ buildGroup() {
var o = new api.Group();
buildCounterGroup++;
if (buildCounterGroup < 3) {
- o.children = buildUnnamed1661();
+ o.children = buildUnnamed1695();
}
buildCounterGroup--;
return o;
@@ -790,7 +828,7 @@ buildGroup() {
checkGroup(api.Group o) {
buildCounterGroup++;
if (buildCounterGroup < 3) {
- checkUnnamed1661(o.children);
+ checkUnnamed1695(o.children);
}
buildCounterGroup--;
}
@@ -924,6 +962,29 @@ checkInsertTextRequest(api.InsertTextRequest o) {
buildCounterInsertTextRequest--;
}
+core.int buildCounterLayoutPlaceholderIdMapping = 0;
+buildLayoutPlaceholderIdMapping() {
+ var o = new api.LayoutPlaceholderIdMapping();
+ buildCounterLayoutPlaceholderIdMapping++;
+ if (buildCounterLayoutPlaceholderIdMapping < 3) {
+ o.layoutPlaceholder = buildPlaceholder();
+ o.layoutPlaceholderObjectId = "foo";
+ o.objectId = "foo";
+ }
+ buildCounterLayoutPlaceholderIdMapping--;
+ return o;
+}
+
+checkLayoutPlaceholderIdMapping(api.LayoutPlaceholderIdMapping o) {
+ buildCounterLayoutPlaceholderIdMapping++;
+ if (buildCounterLayoutPlaceholderIdMapping < 3) {
+ checkPlaceholder(o.layoutPlaceholder);
+ unittest.expect(o.layoutPlaceholderObjectId, unittest.equals('foo'));
+ unittest.expect(o.objectId, unittest.equals('foo'));
+ }
+ buildCounterLayoutPlaceholderIdMapping--;
+}
+
core.int buildCounterLayoutProperties = 0;
buildLayoutProperties() {
var o = new api.LayoutProperties();
@@ -1062,14 +1123,14 @@ checkLink(api.Link o) {
buildCounterLink--;
}
-buildUnnamed1662() {
+buildUnnamed1696() {
var o = new core.Map<core.String, api.NestingLevel>();
o["x"] = buildNestingLevel();
o["y"] = buildNestingLevel();
return o;
}
-checkUnnamed1662(core.Map<core.String, api.NestingLevel> o) {
+checkUnnamed1696(core.Map<core.String, api.NestingLevel> o) {
unittest.expect(o, unittest.hasLength(2));
checkNestingLevel(o["x"]);
checkNestingLevel(o["y"]);
@@ -1081,7 +1142,7 @@ buildList() {
buildCounterList++;
if (buildCounterList < 3) {
o.listId = "foo";
- o.nestingLevel = buildUnnamed1662();
+ o.nestingLevel = buildUnnamed1696();
}
buildCounterList--;
return o;
@@ -1091,7 +1152,7 @@ checkList(api.List o) {
buildCounterList++;
if (buildCounterList < 3) {
unittest.expect(o.listId, unittest.equals('foo'));
- checkUnnamed1662(o.nestingLevel);
+ checkUnnamed1696(o.nestingLevel);
}
buildCounterList--;
}
@@ -1115,6 +1176,25 @@ checkNestingLevel(api.NestingLevel o) {
buildCounterNestingLevel--;
}
+core.int buildCounterNotesProperties = 0;
+buildNotesProperties() {
+ var o = new api.NotesProperties();
+ buildCounterNotesProperties++;
+ if (buildCounterNotesProperties < 3) {
+ o.speakerNotesObjectId = "foo";
+ }
+ buildCounterNotesProperties--;
+ return o;
+}
+
+checkNotesProperties(api.NotesProperties o) {
+ buildCounterNotesProperties++;
+ if (buildCounterNotesProperties < 3) {
+ unittest.expect(o.speakerNotesObjectId, unittest.equals('foo'));
+ }
+ buildCounterNotesProperties--;
+}
+
core.int buildCounterOpaqueColor = 0;
buildOpaqueColor() {
var o = new api.OpaqueColor();
@@ -1199,14 +1279,14 @@ checkOutlineFill(api.OutlineFill o) {
buildCounterOutlineFill--;
}
-buildUnnamed1663() {
+buildUnnamed1697() {
var o = new core.List<api.PageElement>();
o.add(buildPageElement());
o.add(buildPageElement());
return o;
}
-checkUnnamed1663(core.List<api.PageElement> o) {
+checkUnnamed1697(core.List<api.PageElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkPageElement(o[0]);
checkPageElement(o[1]);
@@ -1218,8 +1298,9 @@ buildPage() {
buildCounterPage++;
if (buildCounterPage < 3) {
o.layoutProperties = buildLayoutProperties();
+ o.notesProperties = buildNotesProperties();
o.objectId = "foo";
- o.pageElements = buildUnnamed1663();
+ o.pageElements = buildUnnamed1697();
o.pageProperties = buildPageProperties();
o.pageType = "foo";
o.slideProperties = buildSlideProperties();
@@ -1232,8 +1313,9 @@ checkPage(api.Page o) {
buildCounterPage++;
if (buildCounterPage < 3) {
checkLayoutProperties(o.layoutProperties);
+ checkNotesProperties(o.notesProperties);
unittest.expect(o.objectId, unittest.equals('foo'));
- checkUnnamed1663(o.pageElements);
+ checkUnnamed1697(o.pageElements);
checkPageProperties(o.pageProperties);
unittest.expect(o.pageType, unittest.equals('foo'));
checkSlideProperties(o.slideProperties);
@@ -1430,40 +1512,40 @@ checkPlaceholder(api.Placeholder o) {
buildCounterPlaceholder--;
}
-buildUnnamed1664() {
+buildUnnamed1698() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1664(core.List<api.Page> o) {
+checkUnnamed1698(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
}
-buildUnnamed1665() {
+buildUnnamed1699() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1665(core.List<api.Page> o) {
+checkUnnamed1699(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
}
-buildUnnamed1666() {
+buildUnnamed1700() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed1666(core.List<api.Page> o) {
+checkUnnamed1700(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
@@ -1474,12 +1556,13 @@ buildPresentation() {
var o = new api.Presentation();
buildCounterPresentation++;
if (buildCounterPresentation < 3) {
- o.layouts = buildUnnamed1664();
+ o.layouts = buildUnnamed1698();
o.locale = "foo";
- o.masters = buildUnnamed1665();
+ o.masters = buildUnnamed1699();
+ o.notesMaster = buildPage();
o.pageSize = buildSize();
o.presentationId = "foo";
- o.slides = buildUnnamed1666();
+ o.slides = buildUnnamed1700();
o.title = "foo";
}
buildCounterPresentation--;
@@ -1489,12 +1572,13 @@ buildPresentation() {
checkPresentation(api.Presentation o) {
buildCounterPresentation++;
if (buildCounterPresentation < 3) {
- checkUnnamed1664(o.layouts);
+ checkUnnamed1698(o.layouts);
unittest.expect(o.locale, unittest.equals('foo'));
- checkUnnamed1665(o.masters);
+ checkUnnamed1699(o.masters);
+ checkPage(o.notesMaster);
checkSize(o.pageSize);
unittest.expect(o.presentationId, unittest.equals('foo'));
- checkUnnamed1666(o.slides);
+ checkUnnamed1700(o.slides);
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterPresentation--;
@@ -1523,14 +1607,14 @@ checkRange(api.Range o) {
buildCounterRange--;
}
-buildUnnamed1667() {
+buildUnnamed1701() {
var o = new core.List<api.ColorStop>();
o.add(buildColorStop());
o.add(buildColorStop());
return o;
}
-checkUnnamed1667(core.List<api.ColorStop> o) {
+checkUnnamed1701(core.List<api.ColorStop> o) {
unittest.expect(o, unittest.hasLength(2));
checkColorStop(o[0]);
checkColorStop(o[1]);
@@ -1541,7 +1625,8 @@ buildRecolor() {
var o = new api.Recolor();
buildCounterRecolor++;
if (buildCounterRecolor < 3) {
- o.recolorStops = buildUnnamed1667();
+ o.name = "foo";
+ o.recolorStops = buildUnnamed1701();
}
buildCounterRecolor--;
return o;
@@ -1550,7 +1635,8 @@ buildRecolor() {
checkRecolor(api.Recolor o) {
buildCounterRecolor++;
if (buildCounterRecolor < 3) {
- checkUnnamed1667(o.recolorStops);
+ unittest.expect(o.name, unittest.equals('foo'));
+ checkUnnamed1701(o.recolorStops);
}
buildCounterRecolor--;
}
@@ -1616,6 +1702,50 @@ checkReplaceAllShapesWithImageResponse(api.ReplaceAllShapesWithImageResponse o)
buildCounterReplaceAllShapesWithImageResponse--;
}
+core.int buildCounterReplaceAllShapesWithSheetsChartRequest = 0;
+buildReplaceAllShapesWithSheetsChartRequest() {
+ var o = new api.ReplaceAllShapesWithSheetsChartRequest();
+ buildCounterReplaceAllShapesWithSheetsChartRequest++;
+ if (buildCounterReplaceAllShapesWithSheetsChartRequest < 3) {
+ o.chartId = 42;
+ o.containsText = buildSubstringMatchCriteria();
+ o.linkingMode = "foo";
+ o.spreadsheetId = "foo";
+ }
+ buildCounterReplaceAllShapesWithSheetsChartRequest--;
+ return o;
+}
+
+checkReplaceAllShapesWithSheetsChartRequest(api.ReplaceAllShapesWithSheetsChartRequest o) {
+ buildCounterReplaceAllShapesWithSheetsChartRequest++;
+ if (buildCounterReplaceAllShapesWithSheetsChartRequest < 3) {
+ unittest.expect(o.chartId, unittest.equals(42));
+ checkSubstringMatchCriteria(o.containsText);
+ unittest.expect(o.linkingMode, unittest.equals('foo'));
+ unittest.expect(o.spreadsheetId, unittest.equals('foo'));
+ }
+ buildCounterReplaceAllShapesWithSheetsChartRequest--;
+}
+
+core.int buildCounterReplaceAllShapesWithSheetsChartResponse = 0;
+buildReplaceAllShapesWithSheetsChartResponse() {
+ var o = new api.ReplaceAllShapesWithSheetsChartResponse();
+ buildCounterReplaceAllShapesWithSheetsChartResponse++;
+ if (buildCounterReplaceAllShapesWithSheetsChartResponse < 3) {
+ o.occurrencesChanged = 42;
+ }
+ buildCounterReplaceAllShapesWithSheetsChartResponse--;
+ return o;
+}
+
+checkReplaceAllShapesWithSheetsChartResponse(api.ReplaceAllShapesWithSheetsChartResponse o) {
+ buildCounterReplaceAllShapesWithSheetsChartResponse++;
+ if (buildCounterReplaceAllShapesWithSheetsChartResponse < 3) {
+ unittest.expect(o.occurrencesChanged, unittest.equals(42));
+ }
+ buildCounterReplaceAllShapesWithSheetsChartResponse--;
+}
+
core.int buildCounterReplaceAllTextRequest = 0;
buildReplaceAllTextRequest() {
var o = new api.ReplaceAllTextRequest();
@@ -1670,6 +1800,7 @@ buildRequest() {
o.createTable = buildCreateTableRequest();
o.createVideo = buildCreateVideoRequest();
o.deleteObject = buildDeleteObjectRequest();
+ o.deleteParagraphBullets = buildDeleteParagraphBulletsRequest();
o.deleteTableColumn = buildDeleteTableColumnRequest();
o.deleteTableRow = buildDeleteTableRowRequest();
o.deleteText = buildDeleteTextRequest();
@@ -1679,6 +1810,7 @@ buildRequest() {
o.insertText = buildInsertTextRequest();
o.refreshSheetsChart = buildRefreshSheetsChartRequest();
o.replaceAllShapesWithImage = buildReplaceAllShapesWithImageRequest();
+ o.replaceAllShapesWithSheetsChart = buildReplaceAllShapesWithSheetsChartRequest();
o.replaceAllText = buildReplaceAllTextRequest();
o.updateImageProperties = buildUpdateImagePropertiesRequest();
o.updateLineProperties = buildUpdateLinePropertiesRequest();
@@ -1706,6 +1838,7 @@ checkRequest(api.Request o) {
checkCreateTableRequest(o.createTable);
checkCreateVideoRequest(o.createVideo);
checkDeleteObjectRequest(o.deleteObject);
+ checkDeleteParagraphBulletsRequest(o.deleteParagraphBullets);
checkDeleteTableColumnRequest(o.deleteTableColumn);
checkDeleteTableRowRequest(o.deleteTableRow);
checkDeleteTextRequest(o.deleteText);
@@ -1715,6 +1848,7 @@ checkRequest(api.Request o) {
checkInsertTextRequest(o.insertText);
checkRefreshSheetsChartRequest(o.refreshSheetsChart);
checkReplaceAllShapesWithImageRequest(o.replaceAllShapesWithImage);
+ checkReplaceAllShapesWithSheetsChartRequest(o.replaceAllShapesWithSheetsChart);
checkReplaceAllTextRequest(o.replaceAllText);
checkUpdateImagePropertiesRequest(o.updateImageProperties);
checkUpdateLinePropertiesRequest(o.updateLineProperties);
@@ -1743,6 +1877,7 @@ buildResponse() {
o.createVideo = buildCreateVideoResponse();
o.duplicateObject = buildDuplicateObjectResponse();
o.replaceAllShapesWithImage = buildReplaceAllShapesWithImageResponse();
+ o.replaceAllShapesWithSheetsChart = buildReplaceAllShapesWithSheetsChartResponse();
o.replaceAllText = buildReplaceAllTextResponse();
}
buildCounterResponse--;
@@ -1761,6 +1896,7 @@ checkResponse(api.Response o) {
checkCreateVideoResponse(o.createVideo);
checkDuplicateObjectResponse(o.duplicateObject);
checkReplaceAllShapesWithImageResponse(o.replaceAllShapesWithImage);
+ checkReplaceAllShapesWithSheetsChartResponse(o.replaceAllShapesWithSheetsChart);
checkReplaceAllTextResponse(o.replaceAllText);
}
buildCounterResponse--;
@@ -1965,6 +2101,7 @@ buildSlideProperties() {
if (buildCounterSlideProperties < 3) {
o.layoutObjectId = "foo";
o.masterObjectId = "foo";
+ o.notesPage = buildPage();
}
buildCounterSlideProperties--;
return o;
@@ -1975,6 +2112,7 @@ checkSlideProperties(api.SlideProperties o) {
if (buildCounterSlideProperties < 3) {
unittest.expect(o.layoutObjectId, unittest.equals('foo'));
unittest.expect(o.masterObjectId, unittest.equals('foo'));
+ checkPage(o.notesPage);
}
buildCounterSlideProperties--;
}
@@ -2042,27 +2180,27 @@ checkSubstringMatchCriteria(api.SubstringMatchCriteria o) {
buildCounterSubstringMatchCriteria--;
}
-buildUnnamed1668() {
+buildUnnamed1702() {
var o = new core.List<api.TableColumnProperties>();
o.add(buildTableColumnProperties());
o.add(buildTableColumnProperties());
return o;
}
-checkUnnamed1668(core.List<api.TableColumnProperties> o) {
+checkUnnamed1702(core.List<api.TableColumnProperties> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableColumnProperties(o[0]);
checkTableColumnProperties(o[1]);
}
-buildUnnamed1669() {
+buildUnnamed1703() {
var o = new core.List<api.TableRow>();
o.add(buildTableRow());
o.add(buildTableRow());
return o;
}
-checkUnnamed1669(core.List<api.TableRow> o) {
+checkUnnamed1703(core.List<api.TableRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableRow(o[0]);
checkTableRow(o[1]);
@@ -2075,8 +2213,8 @@ buildTable() {
if (buildCounterTable < 3) {
o.columns = 42;
o.rows = 42;
- o.tableColumns = buildUnnamed1668();
- o.tableRows = buildUnnamed1669();
+ o.tableColumns = buildUnnamed1702();
+ o.tableRows = buildUnnamed1703();
}
buildCounterTable--;
return o;
@@ -2087,8 +2225,8 @@ checkTable(api.Table o) {
if (buildCounterTable < 3) {
unittest.expect(o.columns, unittest.equals(42));
unittest.expect(o.rows, unittest.equals(42));
- checkUnnamed1668(o.tableColumns);
- checkUnnamed1669(o.tableRows);
+ checkUnnamed1702(o.tableColumns);
+ checkUnnamed1703(o.tableRows);
}
buildCounterTable--;
}
@@ -2223,14 +2361,14 @@ checkTableRange(api.TableRange o) {
buildCounterTableRange--;
}
-buildUnnamed1670() {
+buildUnnamed1704() {
var o = new core.List<api.TableCell>();
o.add(buildTableCell());
o.add(buildTableCell());
return o;
}
-checkUnnamed1670(core.List<api.TableCell> o) {
+checkUnnamed1704(core.List<api.TableCell> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableCell(o[0]);
checkTableCell(o[1]);
@@ -2242,7 +2380,7 @@ buildTableRow() {
buildCounterTableRow++;
if (buildCounterTableRow < 3) {
o.rowHeight = buildDimension();
- o.tableCells = buildUnnamed1670();
+ o.tableCells = buildUnnamed1704();
}
buildCounterTableRow--;
return o;
@@ -2252,32 +2390,32 @@ checkTableRow(api.TableRow o) {
buildCounterTableRow++;
if (buildCounterTableRow < 3) {
checkDimension(o.rowHeight);
- checkUnnamed1670(o.tableCells);
+ checkUnnamed1704(o.tableCells);
}
buildCounterTableRow--;
}
-buildUnnamed1671() {
+buildUnnamed1705() {
var o = new core.Map<core.String, api.List>();
o["x"] = buildList();
o["y"] = buildList();
return o;
}
-checkUnnamed1671(core.Map<core.String, api.List> o) {
+checkUnnamed1705(core.Map<core.String, api.List> o) {
unittest.expect(o, unittest.hasLength(2));
checkList(o["x"]);
checkList(o["y"]);
}
-buildUnnamed1672() {
+buildUnnamed1706() {
var o = new core.List<api.TextElement>();
o.add(buildTextElement());
o.add(buildTextElement());
return o;
}
-checkUnnamed1672(core.List<api.TextElement> o) {
+checkUnnamed1706(core.List<api.TextElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkTextElement(o[0]);
checkTextElement(o[1]);
@@ -2288,8 +2426,8 @@ buildTextContent() {
var o = new api.TextContent();
buildCounterTextContent++;
if (buildCounterTextContent < 3) {
- o.lists = buildUnnamed1671();
- o.textElements = buildUnnamed1672();
+ o.lists = buildUnnamed1705();
+ o.textElements = buildUnnamed1706();
}
buildCounterTextContent--;
return o;
@@ -2298,8 +2436,8 @@ buildTextContent() {
checkTextContent(api.TextContent o) {
buildCounterTextContent++;
if (buildCounterTextContent < 3) {
- checkUnnamed1671(o.lists);
- checkUnnamed1672(o.textElements);
+ checkUnnamed1705(o.lists);
+ checkUnnamed1706(o.textElements);
}
buildCounterTextContent--;
}
@@ -2527,14 +2665,14 @@ checkUpdateShapePropertiesRequest(api.UpdateShapePropertiesRequest o) {
buildCounterUpdateShapePropertiesRequest--;
}
-buildUnnamed1673() {
+buildUnnamed1707() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1673(core.List<core.String> o) {
+checkUnnamed1707(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'));
@@ -2546,7 +2684,7 @@ buildUpdateSlidesPositionRequest() {
buildCounterUpdateSlidesPositionRequest++;
if (buildCounterUpdateSlidesPositionRequest < 3) {
o.insertionIndex = 42;
- o.slideObjectIds = buildUnnamed1673();
+ o.slideObjectIds = buildUnnamed1707();
}
buildCounterUpdateSlidesPositionRequest--;
return o;
@@ -2556,7 +2694,7 @@ checkUpdateSlidesPositionRequest(api.UpdateSlidesPositionRequest o) {
buildCounterUpdateSlidesPositionRequest++;
if (buildCounterUpdateSlidesPositionRequest < 3) {
unittest.expect(o.insertionIndex, unittest.equals(42));
- checkUnnamed1673(o.slideObjectIds);
+ checkUnnamed1707(o.slideObjectIds);
}
buildCounterUpdateSlidesPositionRequest--;
}
@@ -2917,6 +3055,15 @@ main() {
});
+ unittest.group("obj-schema-DeleteParagraphBulletsRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildDeleteParagraphBulletsRequest();
+ var od = new api.DeleteParagraphBulletsRequest.fromJson(o.toJson());
+ checkDeleteParagraphBulletsRequest(od);
+ });
+ });
+
+
unittest.group("obj-schema-DeleteTableColumnRequest", () {
unittest.test("to-json--from-json", () {
var o = buildDeleteTableColumnRequest();
@@ -3025,6 +3172,15 @@ main() {
});
+ unittest.group("obj-schema-LayoutPlaceholderIdMapping", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildLayoutPlaceholderIdMapping();
+ var od = new api.LayoutPlaceholderIdMapping.fromJson(o.toJson());
+ checkLayoutPlaceholderIdMapping(od);
+ });
+ });
+
+
unittest.group("obj-schema-LayoutProperties", () {
unittest.test("to-json--from-json", () {
var o = buildLayoutProperties();
@@ -3097,6 +3253,15 @@ main() {
});
+ unittest.group("obj-schema-NotesProperties", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildNotesProperties();
+ var od = new api.NotesProperties.fromJson(o.toJson());
+ checkNotesProperties(od);
+ });
+ });
+
+
unittest.group("obj-schema-OpaqueColor", () {
unittest.test("to-json--from-json", () {
var o = buildOpaqueColor();
@@ -3259,6 +3424,24 @@ main() {
});
+ unittest.group("obj-schema-ReplaceAllShapesWithSheetsChartRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildReplaceAllShapesWithSheetsChartRequest();
+ var od = new api.ReplaceAllShapesWithSheetsChartRequest.fromJson(o.toJson());
+ checkReplaceAllShapesWithSheetsChartRequest(od);
+ });
+ });
+
+
+ unittest.group("obj-schema-ReplaceAllShapesWithSheetsChartResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildReplaceAllShapesWithSheetsChartResponse();
+ var od = new api.ReplaceAllShapesWithSheetsChartResponse.fromJson(o.toJson());
+ checkReplaceAllShapesWithSheetsChartResponse(od);
+ });
+ });
+
+
unittest.group("obj-schema-ReplaceAllTextRequest", () {
unittest.test("to-json--from-json", () {
var o = buildReplaceAllTextRequest();
« no previous file with comments | « generated/googleapis/test/sheets/v4_test.dart ('k') | generated/googleapis/test/storage/v1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698