Index: generated/googleapis/test/drive/v2_test.dart |
diff --git a/generated/googleapis/test/drive/v2_test.dart b/generated/googleapis/test/drive/v2_test.dart |
index fc0d82fae0cfa97ebce729a9abe20390a0f477fb..d1a26f2a2c3cafc5f0601d36d80c9b23cab82499 100644 |
--- a/generated/googleapis/test/drive/v2_test.dart |
+++ b/generated/googleapis/test/drive/v2_test.dart |
@@ -51,14 +51,14 @@ http.StreamedResponse stringResponse( |
return new http.StreamedResponse(stream, status, headers: headers); |
} |
-buildUnnamed679() { |
+buildUnnamed1615() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed679(core.List<core.String> o) { |
+checkUnnamed1615(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')); |
@@ -69,7 +69,7 @@ buildAboutAdditionalRoleInfoRoleSets() { |
var o = new api.AboutAdditionalRoleInfoRoleSets(); |
buildCounterAboutAdditionalRoleInfoRoleSets++; |
if (buildCounterAboutAdditionalRoleInfoRoleSets < 3) { |
- o.additionalRoles = buildUnnamed679(); |
+ o.additionalRoles = buildUnnamed1615(); |
o.primaryRole = "foo"; |
} |
buildCounterAboutAdditionalRoleInfoRoleSets--; |
@@ -79,20 +79,20 @@ buildAboutAdditionalRoleInfoRoleSets() { |
checkAboutAdditionalRoleInfoRoleSets(api.AboutAdditionalRoleInfoRoleSets o) { |
buildCounterAboutAdditionalRoleInfoRoleSets++; |
if (buildCounterAboutAdditionalRoleInfoRoleSets < 3) { |
- checkUnnamed679(o.additionalRoles); |
+ checkUnnamed1615(o.additionalRoles); |
unittest.expect(o.primaryRole, unittest.equals('foo')); |
} |
buildCounterAboutAdditionalRoleInfoRoleSets--; |
} |
-buildUnnamed680() { |
+buildUnnamed1616() { |
var o = new core.List<api.AboutAdditionalRoleInfoRoleSets>(); |
o.add(buildAboutAdditionalRoleInfoRoleSets()); |
o.add(buildAboutAdditionalRoleInfoRoleSets()); |
return o; |
} |
-checkUnnamed680(core.List<api.AboutAdditionalRoleInfoRoleSets> o) { |
+checkUnnamed1616(core.List<api.AboutAdditionalRoleInfoRoleSets> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkAboutAdditionalRoleInfoRoleSets(o[0]); |
checkAboutAdditionalRoleInfoRoleSets(o[1]); |
@@ -103,7 +103,7 @@ buildAboutAdditionalRoleInfo() { |
var o = new api.AboutAdditionalRoleInfo(); |
buildCounterAboutAdditionalRoleInfo++; |
if (buildCounterAboutAdditionalRoleInfo < 3) { |
- o.roleSets = buildUnnamed680(); |
+ o.roleSets = buildUnnamed1616(); |
o.type = "foo"; |
} |
buildCounterAboutAdditionalRoleInfo--; |
@@ -113,33 +113,33 @@ buildAboutAdditionalRoleInfo() { |
checkAboutAdditionalRoleInfo(api.AboutAdditionalRoleInfo o) { |
buildCounterAboutAdditionalRoleInfo++; |
if (buildCounterAboutAdditionalRoleInfo < 3) { |
- checkUnnamed680(o.roleSets); |
+ checkUnnamed1616(o.roleSets); |
unittest.expect(o.type, unittest.equals('foo')); |
} |
buildCounterAboutAdditionalRoleInfo--; |
} |
-buildUnnamed681() { |
+buildUnnamed1617() { |
var o = new core.List<api.AboutAdditionalRoleInfo>(); |
o.add(buildAboutAdditionalRoleInfo()); |
o.add(buildAboutAdditionalRoleInfo()); |
return o; |
} |
-checkUnnamed681(core.List<api.AboutAdditionalRoleInfo> o) { |
+checkUnnamed1617(core.List<api.AboutAdditionalRoleInfo> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkAboutAdditionalRoleInfo(o[0]); |
checkAboutAdditionalRoleInfo(o[1]); |
} |
-buildUnnamed682() { |
+buildUnnamed1618() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed682(core.List<core.String> o) { |
+checkUnnamed1618(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')); |
@@ -151,7 +151,7 @@ buildAboutExportFormats() { |
buildCounterAboutExportFormats++; |
if (buildCounterAboutExportFormats < 3) { |
o.source = "foo"; |
- o.targets = buildUnnamed682(); |
+ o.targets = buildUnnamed1618(); |
} |
buildCounterAboutExportFormats--; |
return o; |
@@ -161,19 +161,19 @@ checkAboutExportFormats(api.AboutExportFormats o) { |
buildCounterAboutExportFormats++; |
if (buildCounterAboutExportFormats < 3) { |
unittest.expect(o.source, unittest.equals('foo')); |
- checkUnnamed682(o.targets); |
+ checkUnnamed1618(o.targets); |
} |
buildCounterAboutExportFormats--; |
} |
-buildUnnamed683() { |
+buildUnnamed1619() { |
var o = new core.List<api.AboutExportFormats>(); |
o.add(buildAboutExportFormats()); |
o.add(buildAboutExportFormats()); |
return o; |
} |
-checkUnnamed683(core.List<api.AboutExportFormats> o) { |
+checkUnnamed1619(core.List<api.AboutExportFormats> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkAboutExportFormats(o[0]); |
checkAboutExportFormats(o[1]); |
@@ -200,40 +200,40 @@ checkAboutFeatures(api.AboutFeatures o) { |
buildCounterAboutFeatures--; |
} |
-buildUnnamed684() { |
+buildUnnamed1620() { |
var o = new core.List<api.AboutFeatures>(); |
o.add(buildAboutFeatures()); |
o.add(buildAboutFeatures()); |
return o; |
} |
-checkUnnamed684(core.List<api.AboutFeatures> o) { |
+checkUnnamed1620(core.List<api.AboutFeatures> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkAboutFeatures(o[0]); |
checkAboutFeatures(o[1]); |
} |
-buildUnnamed685() { |
+buildUnnamed1621() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed685(core.List<core.String> o) { |
+checkUnnamed1621(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')); |
} |
-buildUnnamed686() { |
+buildUnnamed1622() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed686(core.List<core.String> o) { |
+checkUnnamed1622(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')); |
@@ -245,7 +245,7 @@ buildAboutImportFormats() { |
buildCounterAboutImportFormats++; |
if (buildCounterAboutImportFormats < 3) { |
o.source = "foo"; |
- o.targets = buildUnnamed686(); |
+ o.targets = buildUnnamed1622(); |
} |
buildCounterAboutImportFormats--; |
return o; |
@@ -255,19 +255,19 @@ checkAboutImportFormats(api.AboutImportFormats o) { |
buildCounterAboutImportFormats++; |
if (buildCounterAboutImportFormats < 3) { |
unittest.expect(o.source, unittest.equals('foo')); |
- checkUnnamed686(o.targets); |
+ checkUnnamed1622(o.targets); |
} |
buildCounterAboutImportFormats--; |
} |
-buildUnnamed687() { |
+buildUnnamed1623() { |
var o = new core.List<api.AboutImportFormats>(); |
o.add(buildAboutImportFormats()); |
o.add(buildAboutImportFormats()); |
return o; |
} |
-checkUnnamed687(core.List<api.AboutImportFormats> o) { |
+checkUnnamed1623(core.List<api.AboutImportFormats> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkAboutImportFormats(o[0]); |
checkAboutImportFormats(o[1]); |
@@ -294,14 +294,14 @@ checkAboutMaxUploadSizes(api.AboutMaxUploadSizes o) { |
buildCounterAboutMaxUploadSizes--; |
} |
-buildUnnamed688() { |
+buildUnnamed1624() { |
var o = new core.List<api.AboutMaxUploadSizes>(); |
o.add(buildAboutMaxUploadSizes()); |
o.add(buildAboutMaxUploadSizes()); |
return o; |
} |
-checkUnnamed688(core.List<api.AboutMaxUploadSizes> o) { |
+checkUnnamed1624(core.List<api.AboutMaxUploadSizes> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkAboutMaxUploadSizes(o[0]); |
checkAboutMaxUploadSizes(o[1]); |
@@ -328,14 +328,14 @@ checkAboutQuotaBytesByService(api.AboutQuotaBytesByService o) { |
buildCounterAboutQuotaBytesByService--; |
} |
-buildUnnamed689() { |
+buildUnnamed1625() { |
var o = new core.List<api.AboutQuotaBytesByService>(); |
o.add(buildAboutQuotaBytesByService()); |
o.add(buildAboutQuotaBytesByService()); |
return o; |
} |
-checkUnnamed689(core.List<api.AboutQuotaBytesByService> o) { |
+checkUnnamed1625(core.List<api.AboutQuotaBytesByService> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkAboutQuotaBytesByService(o[0]); |
checkAboutQuotaBytesByService(o[1]); |
@@ -346,21 +346,21 @@ buildAbout() { |
var o = new api.About(); |
buildCounterAbout++; |
if (buildCounterAbout < 3) { |
- o.additionalRoleInfo = buildUnnamed681(); |
+ o.additionalRoleInfo = buildUnnamed1617(); |
o.domainSharingPolicy = "foo"; |
o.etag = "foo"; |
- o.exportFormats = buildUnnamed683(); |
- o.features = buildUnnamed684(); |
- o.folderColorPalette = buildUnnamed685(); |
- o.importFormats = buildUnnamed687(); |
+ o.exportFormats = buildUnnamed1619(); |
+ o.features = buildUnnamed1620(); |
+ o.folderColorPalette = buildUnnamed1621(); |
+ o.importFormats = buildUnnamed1623(); |
o.isCurrentAppInstalled = true; |
o.kind = "foo"; |
o.languageCode = "foo"; |
o.largestChangeId = "foo"; |
- o.maxUploadSizes = buildUnnamed688(); |
+ o.maxUploadSizes = buildUnnamed1624(); |
o.name = "foo"; |
o.permissionId = "foo"; |
- o.quotaBytesByService = buildUnnamed689(); |
+ o.quotaBytesByService = buildUnnamed1625(); |
o.quotaBytesTotal = "foo"; |
o.quotaBytesUsed = "foo"; |
o.quotaBytesUsedAggregate = "foo"; |
@@ -378,21 +378,21 @@ buildAbout() { |
checkAbout(api.About o) { |
buildCounterAbout++; |
if (buildCounterAbout < 3) { |
- checkUnnamed681(o.additionalRoleInfo); |
+ checkUnnamed1617(o.additionalRoleInfo); |
unittest.expect(o.domainSharingPolicy, unittest.equals('foo')); |
unittest.expect(o.etag, unittest.equals('foo')); |
- checkUnnamed683(o.exportFormats); |
- checkUnnamed684(o.features); |
- checkUnnamed685(o.folderColorPalette); |
- checkUnnamed687(o.importFormats); |
+ checkUnnamed1619(o.exportFormats); |
+ checkUnnamed1620(o.features); |
+ checkUnnamed1621(o.folderColorPalette); |
+ checkUnnamed1623(o.importFormats); |
unittest.expect(o.isCurrentAppInstalled, unittest.isTrue); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.languageCode, unittest.equals('foo')); |
unittest.expect(o.largestChangeId, unittest.equals('foo')); |
- checkUnnamed688(o.maxUploadSizes); |
+ checkUnnamed1624(o.maxUploadSizes); |
unittest.expect(o.name, unittest.equals('foo')); |
unittest.expect(o.permissionId, unittest.equals('foo')); |
- checkUnnamed689(o.quotaBytesByService); |
+ checkUnnamed1625(o.quotaBytesByService); |
unittest.expect(o.quotaBytesTotal, unittest.equals('foo')); |
unittest.expect(o.quotaBytesUsed, unittest.equals('foo')); |
unittest.expect(o.quotaBytesUsedAggregate, unittest.equals('foo')); |
@@ -429,66 +429,66 @@ checkAppIcons(api.AppIcons o) { |
buildCounterAppIcons--; |
} |
-buildUnnamed690() { |
+buildUnnamed1626() { |
var o = new core.List<api.AppIcons>(); |
o.add(buildAppIcons()); |
o.add(buildAppIcons()); |
return o; |
} |
-checkUnnamed690(core.List<api.AppIcons> o) { |
+checkUnnamed1626(core.List<api.AppIcons> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkAppIcons(o[0]); |
checkAppIcons(o[1]); |
} |
-buildUnnamed691() { |
+buildUnnamed1627() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed691(core.List<core.String> o) { |
+checkUnnamed1627(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')); |
} |
-buildUnnamed692() { |
+buildUnnamed1628() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed692(core.List<core.String> o) { |
+checkUnnamed1628(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')); |
} |
-buildUnnamed693() { |
+buildUnnamed1629() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed693(core.List<core.String> o) { |
+checkUnnamed1629(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')); |
} |
-buildUnnamed694() { |
+buildUnnamed1630() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed694(core.List<core.String> o) { |
+checkUnnamed1630(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')); |
@@ -503,7 +503,7 @@ buildApp() { |
o.createInFolderTemplate = "foo"; |
o.createUrl = "foo"; |
o.hasDriveWideScope = true; |
- o.icons = buildUnnamed690(); |
+ o.icons = buildUnnamed1626(); |
o.id = "foo"; |
o.installed = true; |
o.kind = "foo"; |
@@ -511,12 +511,12 @@ buildApp() { |
o.name = "foo"; |
o.objectType = "foo"; |
o.openUrlTemplate = "foo"; |
- o.primaryFileExtensions = buildUnnamed691(); |
- o.primaryMimeTypes = buildUnnamed692(); |
+ o.primaryFileExtensions = buildUnnamed1627(); |
+ o.primaryMimeTypes = buildUnnamed1628(); |
o.productId = "foo"; |
o.productUrl = "foo"; |
- o.secondaryFileExtensions = buildUnnamed693(); |
- o.secondaryMimeTypes = buildUnnamed694(); |
+ o.secondaryFileExtensions = buildUnnamed1629(); |
+ o.secondaryMimeTypes = buildUnnamed1630(); |
o.shortDescription = "foo"; |
o.supportsCreate = true; |
o.supportsImport = true; |
@@ -535,7 +535,7 @@ checkApp(api.App o) { |
unittest.expect(o.createInFolderTemplate, unittest.equals('foo')); |
unittest.expect(o.createUrl, unittest.equals('foo')); |
unittest.expect(o.hasDriveWideScope, unittest.isTrue); |
- checkUnnamed690(o.icons); |
+ checkUnnamed1626(o.icons); |
unittest.expect(o.id, unittest.equals('foo')); |
unittest.expect(o.installed, unittest.isTrue); |
unittest.expect(o.kind, unittest.equals('foo')); |
@@ -543,12 +543,12 @@ checkApp(api.App o) { |
unittest.expect(o.name, unittest.equals('foo')); |
unittest.expect(o.objectType, unittest.equals('foo')); |
unittest.expect(o.openUrlTemplate, unittest.equals('foo')); |
- checkUnnamed691(o.primaryFileExtensions); |
- checkUnnamed692(o.primaryMimeTypes); |
+ checkUnnamed1627(o.primaryFileExtensions); |
+ checkUnnamed1628(o.primaryMimeTypes); |
unittest.expect(o.productId, unittest.equals('foo')); |
unittest.expect(o.productUrl, unittest.equals('foo')); |
- checkUnnamed693(o.secondaryFileExtensions); |
- checkUnnamed694(o.secondaryMimeTypes); |
+ checkUnnamed1629(o.secondaryFileExtensions); |
+ checkUnnamed1630(o.secondaryMimeTypes); |
unittest.expect(o.shortDescription, unittest.equals('foo')); |
unittest.expect(o.supportsCreate, unittest.isTrue); |
unittest.expect(o.supportsImport, unittest.isTrue); |
@@ -559,27 +559,27 @@ checkApp(api.App o) { |
buildCounterApp--; |
} |
-buildUnnamed695() { |
+buildUnnamed1631() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed695(core.List<core.String> o) { |
+checkUnnamed1631(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')); |
} |
-buildUnnamed696() { |
+buildUnnamed1632() { |
var o = new core.List<api.App>(); |
o.add(buildApp()); |
o.add(buildApp()); |
return o; |
} |
-checkUnnamed696(core.List<api.App> o) { |
+checkUnnamed1632(core.List<api.App> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkApp(o[0]); |
checkApp(o[1]); |
@@ -590,9 +590,9 @@ buildAppList() { |
var o = new api.AppList(); |
buildCounterAppList++; |
if (buildCounterAppList < 3) { |
- o.defaultAppIds = buildUnnamed695(); |
+ o.defaultAppIds = buildUnnamed1631(); |
o.etag = "foo"; |
- o.items = buildUnnamed696(); |
+ o.items = buildUnnamed1632(); |
o.kind = "foo"; |
o.selfLink = "foo"; |
} |
@@ -603,9 +603,9 @@ buildAppList() { |
checkAppList(api.AppList o) { |
buildCounterAppList++; |
if (buildCounterAppList < 3) { |
- checkUnnamed695(o.defaultAppIds); |
+ checkUnnamed1631(o.defaultAppIds); |
unittest.expect(o.etag, unittest.equals('foo')); |
- checkUnnamed696(o.items); |
+ checkUnnamed1632(o.items); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.selfLink, unittest.equals('foo')); |
} |
@@ -643,14 +643,14 @@ checkChange(api.Change o) { |
buildCounterChange--; |
} |
-buildUnnamed697() { |
+buildUnnamed1633() { |
var o = new core.List<api.Change>(); |
o.add(buildChange()); |
o.add(buildChange()); |
return o; |
} |
-checkUnnamed697(core.List<api.Change> o) { |
+checkUnnamed1633(core.List<api.Change> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkChange(o[0]); |
checkChange(o[1]); |
@@ -662,7 +662,7 @@ buildChangeList() { |
buildCounterChangeList++; |
if (buildCounterChangeList < 3) { |
o.etag = "foo"; |
- o.items = buildUnnamed697(); |
+ o.items = buildUnnamed1633(); |
o.kind = "foo"; |
o.largestChangeId = "foo"; |
o.nextLink = "foo"; |
@@ -677,7 +677,7 @@ checkChangeList(api.ChangeList o) { |
buildCounterChangeList++; |
if (buildCounterChangeList < 3) { |
unittest.expect(o.etag, unittest.equals('foo')); |
- checkUnnamed697(o.items); |
+ checkUnnamed1633(o.items); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.largestChangeId, unittest.equals('foo')); |
unittest.expect(o.nextLink, unittest.equals('foo')); |
@@ -687,14 +687,14 @@ checkChangeList(api.ChangeList o) { |
buildCounterChangeList--; |
} |
-buildUnnamed698() { |
+buildUnnamed1634() { |
var o = new core.Map<core.String, core.String>(); |
o["x"] = "foo"; |
o["y"] = "foo"; |
return o; |
} |
-checkUnnamed698(core.Map<core.String, core.String> o) { |
+checkUnnamed1634(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')); |
@@ -709,7 +709,7 @@ buildChannel() { |
o.expiration = "foo"; |
o.id = "foo"; |
o.kind = "foo"; |
- o.params = buildUnnamed698(); |
+ o.params = buildUnnamed1634(); |
o.payload = true; |
o.resourceId = "foo"; |
o.resourceUri = "foo"; |
@@ -727,7 +727,7 @@ checkChannel(api.Channel o) { |
unittest.expect(o.expiration, unittest.equals('foo')); |
unittest.expect(o.id, unittest.equals('foo')); |
unittest.expect(o.kind, unittest.equals('foo')); |
- checkUnnamed698(o.params); |
+ checkUnnamed1634(o.params); |
unittest.expect(o.payload, unittest.isTrue); |
unittest.expect(o.resourceId, unittest.equals('foo')); |
unittest.expect(o.resourceUri, unittest.equals('foo')); |
@@ -737,14 +737,14 @@ checkChannel(api.Channel o) { |
buildCounterChannel--; |
} |
-buildUnnamed699() { |
+buildUnnamed1635() { |
var o = new core.List<api.ChildReference>(); |
o.add(buildChildReference()); |
o.add(buildChildReference()); |
return o; |
} |
-checkUnnamed699(core.List<api.ChildReference> o) { |
+checkUnnamed1635(core.List<api.ChildReference> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkChildReference(o[0]); |
checkChildReference(o[1]); |
@@ -756,7 +756,7 @@ buildChildList() { |
buildCounterChildList++; |
if (buildCounterChildList < 3) { |
o.etag = "foo"; |
- o.items = buildUnnamed699(); |
+ o.items = buildUnnamed1635(); |
o.kind = "foo"; |
o.nextLink = "foo"; |
o.nextPageToken = "foo"; |
@@ -770,7 +770,7 @@ checkChildList(api.ChildList o) { |
buildCounterChildList++; |
if (buildCounterChildList < 3) { |
unittest.expect(o.etag, unittest.equals('foo')); |
- checkUnnamed699(o.items); |
+ checkUnnamed1635(o.items); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.nextLink, unittest.equals('foo')); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
@@ -825,14 +825,14 @@ checkCommentContext(api.CommentContext o) { |
buildCounterCommentContext--; |
} |
-buildUnnamed700() { |
+buildUnnamed1636() { |
var o = new core.List<api.CommentReply>(); |
o.add(buildCommentReply()); |
o.add(buildCommentReply()); |
return o; |
} |
-checkUnnamed700(core.List<api.CommentReply> o) { |
+checkUnnamed1636(core.List<api.CommentReply> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkCommentReply(o[0]); |
checkCommentReply(o[1]); |
@@ -855,7 +855,7 @@ buildComment() { |
o.htmlContent = "foo"; |
o.kind = "foo"; |
o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02"); |
- o.replies = buildUnnamed700(); |
+ o.replies = buildUnnamed1636(); |
o.selfLink = "foo"; |
o.status = "foo"; |
} |
@@ -878,21 +878,21 @@ checkComment(api.Comment o) { |
unittest.expect(o.htmlContent, unittest.equals('foo')); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); |
- checkUnnamed700(o.replies); |
+ checkUnnamed1636(o.replies); |
unittest.expect(o.selfLink, unittest.equals('foo')); |
unittest.expect(o.status, unittest.equals('foo')); |
} |
buildCounterComment--; |
} |
-buildUnnamed701() { |
+buildUnnamed1637() { |
var o = new core.List<api.Comment>(); |
o.add(buildComment()); |
o.add(buildComment()); |
return o; |
} |
-checkUnnamed701(core.List<api.Comment> o) { |
+checkUnnamed1637(core.List<api.Comment> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkComment(o[0]); |
checkComment(o[1]); |
@@ -903,7 +903,7 @@ buildCommentList() { |
var o = new api.CommentList(); |
buildCounterCommentList++; |
if (buildCounterCommentList < 3) { |
- o.items = buildUnnamed701(); |
+ o.items = buildUnnamed1637(); |
o.kind = "foo"; |
o.nextLink = "foo"; |
o.nextPageToken = "foo"; |
@@ -916,7 +916,7 @@ buildCommentList() { |
checkCommentList(api.CommentList o) { |
buildCounterCommentList++; |
if (buildCounterCommentList < 3) { |
- checkUnnamed701(o.items); |
+ checkUnnamed1637(o.items); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.nextLink, unittest.equals('foo')); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
@@ -960,14 +960,14 @@ checkCommentReply(api.CommentReply o) { |
buildCounterCommentReply--; |
} |
-buildUnnamed702() { |
+buildUnnamed1638() { |
var o = new core.List<api.CommentReply>(); |
o.add(buildCommentReply()); |
o.add(buildCommentReply()); |
return o; |
} |
-checkUnnamed702(core.List<api.CommentReply> o) { |
+checkUnnamed1638(core.List<api.CommentReply> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkCommentReply(o[0]); |
checkCommentReply(o[1]); |
@@ -978,7 +978,7 @@ buildCommentReplyList() { |
var o = new api.CommentReplyList(); |
buildCounterCommentReplyList++; |
if (buildCounterCommentReplyList < 3) { |
- o.items = buildUnnamed702(); |
+ o.items = buildUnnamed1638(); |
o.kind = "foo"; |
o.nextLink = "foo"; |
o.nextPageToken = "foo"; |
@@ -991,7 +991,7 @@ buildCommentReplyList() { |
checkCommentReplyList(api.CommentReplyList o) { |
buildCounterCommentReplyList++; |
if (buildCounterCommentReplyList < 3) { |
- checkUnnamed702(o.items); |
+ checkUnnamed1638(o.items); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.nextLink, unittest.equals('foo')); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
@@ -1000,14 +1000,14 @@ checkCommentReplyList(api.CommentReplyList o) { |
buildCounterCommentReplyList--; |
} |
-buildUnnamed703() { |
+buildUnnamed1639() { |
var o = new core.Map<core.String, core.String>(); |
o["x"] = "foo"; |
o["y"] = "foo"; |
return o; |
} |
-checkUnnamed703(core.Map<core.String, core.String> o) { |
+checkUnnamed1639(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')); |
@@ -1141,92 +1141,92 @@ checkFileLabels(api.FileLabels o) { |
buildCounterFileLabels--; |
} |
-buildUnnamed704() { |
+buildUnnamed1640() { |
var o = new core.Map<core.String, core.String>(); |
o["x"] = "foo"; |
o["y"] = "foo"; |
return o; |
} |
-checkUnnamed704(core.Map<core.String, core.String> o) { |
+checkUnnamed1640(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')); |
} |
-buildUnnamed705() { |
+buildUnnamed1641() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed705(core.List<core.String> o) { |
+checkUnnamed1641(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')); |
} |
-buildUnnamed706() { |
+buildUnnamed1642() { |
var o = new core.List<api.User>(); |
o.add(buildUser()); |
o.add(buildUser()); |
return o; |
} |
-checkUnnamed706(core.List<api.User> o) { |
+checkUnnamed1642(core.List<api.User> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkUser(o[0]); |
checkUser(o[1]); |
} |
-buildUnnamed707() { |
+buildUnnamed1643() { |
var o = new core.List<api.ParentReference>(); |
o.add(buildParentReference()); |
o.add(buildParentReference()); |
return o; |
} |
-checkUnnamed707(core.List<api.ParentReference> o) { |
+checkUnnamed1643(core.List<api.ParentReference> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkParentReference(o[0]); |
checkParentReference(o[1]); |
} |
-buildUnnamed708() { |
+buildUnnamed1644() { |
var o = new core.List<api.Permission>(); |
o.add(buildPermission()); |
o.add(buildPermission()); |
return o; |
} |
-checkUnnamed708(core.List<api.Permission> o) { |
+checkUnnamed1644(core.List<api.Permission> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkPermission(o[0]); |
checkPermission(o[1]); |
} |
-buildUnnamed709() { |
+buildUnnamed1645() { |
var o = new core.List<api.Property>(); |
o.add(buildProperty()); |
o.add(buildProperty()); |
return o; |
} |
-checkUnnamed709(core.List<api.Property> o) { |
+checkUnnamed1645(core.List<api.Property> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkProperty(o[0]); |
checkProperty(o[1]); |
} |
-buildUnnamed710() { |
+buildUnnamed1646() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed710(core.List<core.String> o) { |
+checkUnnamed1646(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')); |
@@ -1293,7 +1293,7 @@ buildFile() { |
o.embedLink = "foo"; |
o.etag = "foo"; |
o.explicitlyTrashed = true; |
- o.exportLinks = buildUnnamed703(); |
+ o.exportLinks = buildUnnamed1639(); |
o.fileExtension = "foo"; |
o.fileSize = "foo"; |
o.folderColorRgb = "foo"; |
@@ -1312,21 +1312,21 @@ buildFile() { |
o.mimeType = "foo"; |
o.modifiedByMeDate = core.DateTime.parse("2002-02-27T14:01:02"); |
o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02"); |
- o.openWithLinks = buildUnnamed704(); |
+ o.openWithLinks = buildUnnamed1640(); |
o.originalFilename = "foo"; |
o.ownedByMe = true; |
- o.ownerNames = buildUnnamed705(); |
- o.owners = buildUnnamed706(); |
- o.parents = buildUnnamed707(); |
- o.permissions = buildUnnamed708(); |
- o.properties = buildUnnamed709(); |
+ o.ownerNames = buildUnnamed1641(); |
+ o.owners = buildUnnamed1642(); |
+ o.parents = buildUnnamed1643(); |
+ o.permissions = buildUnnamed1644(); |
+ o.properties = buildUnnamed1645(); |
o.quotaBytesUsed = "foo"; |
o.selfLink = "foo"; |
o.shareable = true; |
o.shared = true; |
o.sharedWithMeDate = core.DateTime.parse("2002-02-27T14:01:02"); |
o.sharingUser = buildUser(); |
- o.spaces = buildUnnamed710(); |
+ o.spaces = buildUnnamed1646(); |
o.thumbnail = buildFileThumbnail(); |
o.thumbnailLink = "foo"; |
o.title = "foo"; |
@@ -1356,7 +1356,7 @@ checkFile(api.File o) { |
unittest.expect(o.embedLink, unittest.equals('foo')); |
unittest.expect(o.etag, unittest.equals('foo')); |
unittest.expect(o.explicitlyTrashed, unittest.isTrue); |
- checkUnnamed703(o.exportLinks); |
+ checkUnnamed1639(o.exportLinks); |
unittest.expect(o.fileExtension, unittest.equals('foo')); |
unittest.expect(o.fileSize, unittest.equals('foo')); |
unittest.expect(o.folderColorRgb, unittest.equals('foo')); |
@@ -1375,21 +1375,21 @@ checkFile(api.File o) { |
unittest.expect(o.mimeType, unittest.equals('foo')); |
unittest.expect(o.modifiedByMeDate, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); |
unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); |
- checkUnnamed704(o.openWithLinks); |
+ checkUnnamed1640(o.openWithLinks); |
unittest.expect(o.originalFilename, unittest.equals('foo')); |
unittest.expect(o.ownedByMe, unittest.isTrue); |
- checkUnnamed705(o.ownerNames); |
- checkUnnamed706(o.owners); |
- checkUnnamed707(o.parents); |
- checkUnnamed708(o.permissions); |
- checkUnnamed709(o.properties); |
+ checkUnnamed1641(o.ownerNames); |
+ checkUnnamed1642(o.owners); |
+ checkUnnamed1643(o.parents); |
+ checkUnnamed1644(o.permissions); |
+ checkUnnamed1645(o.properties); |
unittest.expect(o.quotaBytesUsed, unittest.equals('foo')); |
unittest.expect(o.selfLink, unittest.equals('foo')); |
unittest.expect(o.shareable, unittest.isTrue); |
unittest.expect(o.shared, unittest.isTrue); |
unittest.expect(o.sharedWithMeDate, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); |
checkUser(o.sharingUser); |
- checkUnnamed710(o.spaces); |
+ checkUnnamed1646(o.spaces); |
checkFileThumbnail(o.thumbnail); |
unittest.expect(o.thumbnailLink, unittest.equals('foo')); |
unittest.expect(o.title, unittest.equals('foo')); |
@@ -1403,14 +1403,14 @@ checkFile(api.File o) { |
buildCounterFile--; |
} |
-buildUnnamed711() { |
+buildUnnamed1647() { |
var o = new core.List<api.File>(); |
o.add(buildFile()); |
o.add(buildFile()); |
return o; |
} |
-checkUnnamed711(core.List<api.File> o) { |
+checkUnnamed1647(core.List<api.File> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkFile(o[0]); |
checkFile(o[1]); |
@@ -1422,7 +1422,7 @@ buildFileList() { |
buildCounterFileList++; |
if (buildCounterFileList < 3) { |
o.etag = "foo"; |
- o.items = buildUnnamed711(); |
+ o.items = buildUnnamed1647(); |
o.kind = "foo"; |
o.nextLink = "foo"; |
o.nextPageToken = "foo"; |
@@ -1436,7 +1436,7 @@ checkFileList(api.FileList o) { |
buildCounterFileList++; |
if (buildCounterFileList < 3) { |
unittest.expect(o.etag, unittest.equals('foo')); |
- checkUnnamed711(o.items); |
+ checkUnnamed1647(o.items); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.nextLink, unittest.equals('foo')); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
@@ -1445,14 +1445,14 @@ checkFileList(api.FileList o) { |
buildCounterFileList--; |
} |
-buildUnnamed712() { |
+buildUnnamed1648() { |
var o = new core.List<api.ParentReference>(); |
o.add(buildParentReference()); |
o.add(buildParentReference()); |
return o; |
} |
-checkUnnamed712(core.List<api.ParentReference> o) { |
+checkUnnamed1648(core.List<api.ParentReference> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkParentReference(o[0]); |
checkParentReference(o[1]); |
@@ -1464,7 +1464,7 @@ buildParentList() { |
buildCounterParentList++; |
if (buildCounterParentList < 3) { |
o.etag = "foo"; |
- o.items = buildUnnamed712(); |
+ o.items = buildUnnamed1648(); |
o.kind = "foo"; |
o.selfLink = "foo"; |
} |
@@ -1476,7 +1476,7 @@ checkParentList(api.ParentList o) { |
buildCounterParentList++; |
if (buildCounterParentList < 3) { |
unittest.expect(o.etag, unittest.equals('foo')); |
- checkUnnamed712(o.items); |
+ checkUnnamed1648(o.items); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.selfLink, unittest.equals('foo')); |
} |
@@ -1510,14 +1510,14 @@ checkParentReference(api.ParentReference o) { |
buildCounterParentReference--; |
} |
-buildUnnamed713() { |
+buildUnnamed1649() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed713(core.List<core.String> o) { |
+checkUnnamed1649(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')); |
@@ -1528,7 +1528,7 @@ buildPermission() { |
var o = new api.Permission(); |
buildCounterPermission++; |
if (buildCounterPermission < 3) { |
- o.additionalRoles = buildUnnamed713(); |
+ o.additionalRoles = buildUnnamed1649(); |
o.authKey = "foo"; |
o.domain = "foo"; |
o.emailAddress = "foo"; |
@@ -1550,7 +1550,7 @@ buildPermission() { |
checkPermission(api.Permission o) { |
buildCounterPermission++; |
if (buildCounterPermission < 3) { |
- checkUnnamed713(o.additionalRoles); |
+ checkUnnamed1649(o.additionalRoles); |
unittest.expect(o.authKey, unittest.equals('foo')); |
unittest.expect(o.domain, unittest.equals('foo')); |
unittest.expect(o.emailAddress, unittest.equals('foo')); |
@@ -1589,14 +1589,14 @@ checkPermissionId(api.PermissionId o) { |
buildCounterPermissionId--; |
} |
-buildUnnamed714() { |
+buildUnnamed1650() { |
var o = new core.List<api.Permission>(); |
o.add(buildPermission()); |
o.add(buildPermission()); |
return o; |
} |
-checkUnnamed714(core.List<api.Permission> o) { |
+checkUnnamed1650(core.List<api.Permission> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkPermission(o[0]); |
checkPermission(o[1]); |
@@ -1608,7 +1608,7 @@ buildPermissionList() { |
buildCounterPermissionList++; |
if (buildCounterPermissionList < 3) { |
o.etag = "foo"; |
- o.items = buildUnnamed714(); |
+ o.items = buildUnnamed1650(); |
o.kind = "foo"; |
o.selfLink = "foo"; |
} |
@@ -1620,7 +1620,7 @@ checkPermissionList(api.PermissionList o) { |
buildCounterPermissionList++; |
if (buildCounterPermissionList < 3) { |
unittest.expect(o.etag, unittest.equals('foo')); |
- checkUnnamed714(o.items); |
+ checkUnnamed1650(o.items); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.selfLink, unittest.equals('foo')); |
} |
@@ -1656,14 +1656,14 @@ checkProperty(api.Property o) { |
buildCounterProperty--; |
} |
-buildUnnamed715() { |
+buildUnnamed1651() { |
var o = new core.List<api.Property>(); |
o.add(buildProperty()); |
o.add(buildProperty()); |
return o; |
} |
-checkUnnamed715(core.List<api.Property> o) { |
+checkUnnamed1651(core.List<api.Property> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkProperty(o[0]); |
checkProperty(o[1]); |
@@ -1675,7 +1675,7 @@ buildPropertyList() { |
buildCounterPropertyList++; |
if (buildCounterPropertyList < 3) { |
o.etag = "foo"; |
- o.items = buildUnnamed715(); |
+ o.items = buildUnnamed1651(); |
o.kind = "foo"; |
o.selfLink = "foo"; |
} |
@@ -1687,21 +1687,21 @@ checkPropertyList(api.PropertyList o) { |
buildCounterPropertyList++; |
if (buildCounterPropertyList < 3) { |
unittest.expect(o.etag, unittest.equals('foo')); |
- checkUnnamed715(o.items); |
+ checkUnnamed1651(o.items); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.selfLink, unittest.equals('foo')); |
} |
buildCounterPropertyList--; |
} |
-buildUnnamed716() { |
+buildUnnamed1652() { |
var o = new core.Map<core.String, core.String>(); |
o["x"] = "foo"; |
o["y"] = "foo"; |
return o; |
} |
-checkUnnamed716(core.Map<core.String, core.String> o) { |
+checkUnnamed1652(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')); |
@@ -1714,7 +1714,7 @@ buildRevision() { |
if (buildCounterRevision < 3) { |
o.downloadUrl = "foo"; |
o.etag = "foo"; |
- o.exportLinks = buildUnnamed716(); |
+ o.exportLinks = buildUnnamed1652(); |
o.fileSize = "foo"; |
o.id = "foo"; |
o.kind = "foo"; |
@@ -1740,7 +1740,7 @@ checkRevision(api.Revision o) { |
if (buildCounterRevision < 3) { |
unittest.expect(o.downloadUrl, unittest.equals('foo')); |
unittest.expect(o.etag, unittest.equals('foo')); |
- checkUnnamed716(o.exportLinks); |
+ checkUnnamed1652(o.exportLinks); |
unittest.expect(o.fileSize, unittest.equals('foo')); |
unittest.expect(o.id, unittest.equals('foo')); |
unittest.expect(o.kind, unittest.equals('foo')); |
@@ -1760,14 +1760,14 @@ checkRevision(api.Revision o) { |
buildCounterRevision--; |
} |
-buildUnnamed717() { |
+buildUnnamed1653() { |
var o = new core.List<api.Revision>(); |
o.add(buildRevision()); |
o.add(buildRevision()); |
return o; |
} |
-checkUnnamed717(core.List<api.Revision> o) { |
+checkUnnamed1653(core.List<api.Revision> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkRevision(o[0]); |
checkRevision(o[1]); |
@@ -1779,7 +1779,7 @@ buildRevisionList() { |
buildCounterRevisionList++; |
if (buildCounterRevisionList < 3) { |
o.etag = "foo"; |
- o.items = buildUnnamed717(); |
+ o.items = buildUnnamed1653(); |
o.kind = "foo"; |
o.selfLink = "foo"; |
} |
@@ -1791,7 +1791,7 @@ checkRevisionList(api.RevisionList o) { |
buildCounterRevisionList++; |
if (buildCounterRevisionList < 3) { |
unittest.expect(o.etag, unittest.equals('foo')); |
- checkUnnamed717(o.items); |
+ checkUnnamed1653(o.items); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.selfLink, unittest.equals('foo')); |
} |
@@ -3532,6 +3532,7 @@ main() { |
var arg_fileId = "foo"; |
var arg_addParents = "foo"; |
var arg_convert = true; |
+ var arg_modifiedDateBehavior = "foo"; |
var arg_newRevision = true; |
var arg_ocr = true; |
var arg_ocrLanguage = "foo"; |
@@ -3578,6 +3579,7 @@ main() { |
} |
unittest.expect(queryMap["addParents"].first, unittest.equals(arg_addParents)); |
unittest.expect(queryMap["convert"].first, unittest.equals("$arg_convert")); |
+ unittest.expect(queryMap["modifiedDateBehavior"].first, unittest.equals(arg_modifiedDateBehavior)); |
unittest.expect(queryMap["newRevision"].first, unittest.equals("$arg_newRevision")); |
unittest.expect(queryMap["ocr"].first, unittest.equals("$arg_ocr")); |
unittest.expect(queryMap["ocrLanguage"].first, unittest.equals(arg_ocrLanguage)); |
@@ -3596,7 +3598,7 @@ main() { |
var resp = convert.JSON.encode(buildFile()); |
return new async.Future.value(stringResponse(200, h, resp)); |
}), true); |
- res.patch(arg_request, arg_fileId, addParents: arg_addParents, convert: arg_convert, newRevision: arg_newRevision, ocr: arg_ocr, ocrLanguage: arg_ocrLanguage, pinned: arg_pinned, removeParents: arg_removeParents, setModifiedDate: arg_setModifiedDate, timedTextLanguage: arg_timedTextLanguage, timedTextTrackName: arg_timedTextTrackName, updateViewedDate: arg_updateViewedDate, useContentAsIndexableText: arg_useContentAsIndexableText).then(unittest.expectAsync(((api.File response) { |
+ res.patch(arg_request, arg_fileId, addParents: arg_addParents, convert: arg_convert, modifiedDateBehavior: arg_modifiedDateBehavior, newRevision: arg_newRevision, ocr: arg_ocr, ocrLanguage: arg_ocrLanguage, pinned: arg_pinned, removeParents: arg_removeParents, setModifiedDate: arg_setModifiedDate, timedTextLanguage: arg_timedTextLanguage, timedTextTrackName: arg_timedTextTrackName, updateViewedDate: arg_updateViewedDate, useContentAsIndexableText: arg_useContentAsIndexableText).then(unittest.expectAsync(((api.File response) { |
checkFile(response); |
}))); |
}); |
@@ -3770,6 +3772,7 @@ main() { |
var arg_fileId = "foo"; |
var arg_addParents = "foo"; |
var arg_convert = true; |
+ var arg_modifiedDateBehavior = "foo"; |
var arg_newRevision = true; |
var arg_ocr = true; |
var arg_ocrLanguage = "foo"; |
@@ -3816,6 +3819,7 @@ main() { |
} |
unittest.expect(queryMap["addParents"].first, unittest.equals(arg_addParents)); |
unittest.expect(queryMap["convert"].first, unittest.equals("$arg_convert")); |
+ unittest.expect(queryMap["modifiedDateBehavior"].first, unittest.equals(arg_modifiedDateBehavior)); |
unittest.expect(queryMap["newRevision"].first, unittest.equals("$arg_newRevision")); |
unittest.expect(queryMap["ocr"].first, unittest.equals("$arg_ocr")); |
unittest.expect(queryMap["ocrLanguage"].first, unittest.equals(arg_ocrLanguage)); |
@@ -3834,7 +3838,7 @@ main() { |
var resp = convert.JSON.encode(buildFile()); |
return new async.Future.value(stringResponse(200, h, resp)); |
}), true); |
- res.update(arg_request, arg_fileId, addParents: arg_addParents, convert: arg_convert, newRevision: arg_newRevision, ocr: arg_ocr, ocrLanguage: arg_ocrLanguage, pinned: arg_pinned, removeParents: arg_removeParents, setModifiedDate: arg_setModifiedDate, timedTextLanguage: arg_timedTextLanguage, timedTextTrackName: arg_timedTextTrackName, updateViewedDate: arg_updateViewedDate, useContentAsIndexableText: arg_useContentAsIndexableText).then(unittest.expectAsync(((api.File response) { |
+ res.update(arg_request, arg_fileId, addParents: arg_addParents, convert: arg_convert, modifiedDateBehavior: arg_modifiedDateBehavior, newRevision: arg_newRevision, ocr: arg_ocr, ocrLanguage: arg_ocrLanguage, pinned: arg_pinned, removeParents: arg_removeParents, setModifiedDate: arg_setModifiedDate, timedTextLanguage: arg_timedTextLanguage, timedTextTrackName: arg_timedTextTrackName, updateViewedDate: arg_updateViewedDate, useContentAsIndexableText: arg_useContentAsIndexableText).then(unittest.expectAsync(((api.File response) { |
checkFile(response); |
}))); |
}); |