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

Unified Diff: generated/googleapis/test/drive/v2_test.dart

Issue 2039113004: Api-roll 37: 2016-06-06 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 4 years, 6 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
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 4dfcaba16be3e729232bf67e1f727d0227d26fc7..f1264823cf3d0f4816d6b5a3f4c25aa6f55fce6d 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);
}
-buildUnnamed2135() {
+buildUnnamed777() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2135(core.List<core.String> o) {
+checkUnnamed777(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 = buildUnnamed2135();
+ o.additionalRoles = buildUnnamed777();
o.primaryRole = "foo";
}
buildCounterAboutAdditionalRoleInfoRoleSets--;
@@ -79,20 +79,20 @@ buildAboutAdditionalRoleInfoRoleSets() {
checkAboutAdditionalRoleInfoRoleSets(api.AboutAdditionalRoleInfoRoleSets o) {
buildCounterAboutAdditionalRoleInfoRoleSets++;
if (buildCounterAboutAdditionalRoleInfoRoleSets < 3) {
- checkUnnamed2135(o.additionalRoles);
+ checkUnnamed777(o.additionalRoles);
unittest.expect(o.primaryRole, unittest.equals('foo'));
}
buildCounterAboutAdditionalRoleInfoRoleSets--;
}
-buildUnnamed2136() {
+buildUnnamed778() {
var o = new core.List<api.AboutAdditionalRoleInfoRoleSets>();
o.add(buildAboutAdditionalRoleInfoRoleSets());
o.add(buildAboutAdditionalRoleInfoRoleSets());
return o;
}
-checkUnnamed2136(core.List<api.AboutAdditionalRoleInfoRoleSets> o) {
+checkUnnamed778(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 = buildUnnamed2136();
+ o.roleSets = buildUnnamed778();
o.type = "foo";
}
buildCounterAboutAdditionalRoleInfo--;
@@ -113,33 +113,33 @@ buildAboutAdditionalRoleInfo() {
checkAboutAdditionalRoleInfo(api.AboutAdditionalRoleInfo o) {
buildCounterAboutAdditionalRoleInfo++;
if (buildCounterAboutAdditionalRoleInfo < 3) {
- checkUnnamed2136(o.roleSets);
+ checkUnnamed778(o.roleSets);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterAboutAdditionalRoleInfo--;
}
-buildUnnamed2137() {
+buildUnnamed779() {
var o = new core.List<api.AboutAdditionalRoleInfo>();
o.add(buildAboutAdditionalRoleInfo());
o.add(buildAboutAdditionalRoleInfo());
return o;
}
-checkUnnamed2137(core.List<api.AboutAdditionalRoleInfo> o) {
+checkUnnamed779(core.List<api.AboutAdditionalRoleInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutAdditionalRoleInfo(o[0]);
checkAboutAdditionalRoleInfo(o[1]);
}
-buildUnnamed2138() {
+buildUnnamed780() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2138(core.List<core.String> o) {
+checkUnnamed780(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 = buildUnnamed2138();
+ o.targets = buildUnnamed780();
}
buildCounterAboutExportFormats--;
return o;
@@ -161,19 +161,19 @@ checkAboutExportFormats(api.AboutExportFormats o) {
buildCounterAboutExportFormats++;
if (buildCounterAboutExportFormats < 3) {
unittest.expect(o.source, unittest.equals('foo'));
- checkUnnamed2138(o.targets);
+ checkUnnamed780(o.targets);
}
buildCounterAboutExportFormats--;
}
-buildUnnamed2139() {
+buildUnnamed781() {
var o = new core.List<api.AboutExportFormats>();
o.add(buildAboutExportFormats());
o.add(buildAboutExportFormats());
return o;
}
-checkUnnamed2139(core.List<api.AboutExportFormats> o) {
+checkUnnamed781(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--;
}
-buildUnnamed2140() {
+buildUnnamed782() {
var o = new core.List<api.AboutFeatures>();
o.add(buildAboutFeatures());
o.add(buildAboutFeatures());
return o;
}
-checkUnnamed2140(core.List<api.AboutFeatures> o) {
+checkUnnamed782(core.List<api.AboutFeatures> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutFeatures(o[0]);
checkAboutFeatures(o[1]);
}
-buildUnnamed2141() {
+buildUnnamed783() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2141(core.List<core.String> o) {
+checkUnnamed783(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'));
}
-buildUnnamed2142() {
+buildUnnamed784() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2142(core.List<core.String> o) {
+checkUnnamed784(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 = buildUnnamed2142();
+ o.targets = buildUnnamed784();
}
buildCounterAboutImportFormats--;
return o;
@@ -255,19 +255,19 @@ checkAboutImportFormats(api.AboutImportFormats o) {
buildCounterAboutImportFormats++;
if (buildCounterAboutImportFormats < 3) {
unittest.expect(o.source, unittest.equals('foo'));
- checkUnnamed2142(o.targets);
+ checkUnnamed784(o.targets);
}
buildCounterAboutImportFormats--;
}
-buildUnnamed2143() {
+buildUnnamed785() {
var o = new core.List<api.AboutImportFormats>();
o.add(buildAboutImportFormats());
o.add(buildAboutImportFormats());
return o;
}
-checkUnnamed2143(core.List<api.AboutImportFormats> o) {
+checkUnnamed785(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--;
}
-buildUnnamed2144() {
+buildUnnamed786() {
var o = new core.List<api.AboutMaxUploadSizes>();
o.add(buildAboutMaxUploadSizes());
o.add(buildAboutMaxUploadSizes());
return o;
}
-checkUnnamed2144(core.List<api.AboutMaxUploadSizes> o) {
+checkUnnamed786(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--;
}
-buildUnnamed2145() {
+buildUnnamed787() {
var o = new core.List<api.AboutQuotaBytesByService>();
o.add(buildAboutQuotaBytesByService());
o.add(buildAboutQuotaBytesByService());
return o;
}
-checkUnnamed2145(core.List<api.AboutQuotaBytesByService> o) {
+checkUnnamed787(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 = buildUnnamed2137();
+ o.additionalRoleInfo = buildUnnamed779();
o.domainSharingPolicy = "foo";
o.etag = "foo";
- o.exportFormats = buildUnnamed2139();
- o.features = buildUnnamed2140();
- o.folderColorPalette = buildUnnamed2141();
- o.importFormats = buildUnnamed2143();
+ o.exportFormats = buildUnnamed781();
+ o.features = buildUnnamed782();
+ o.folderColorPalette = buildUnnamed783();
+ o.importFormats = buildUnnamed785();
o.isCurrentAppInstalled = true;
o.kind = "foo";
o.languageCode = "foo";
o.largestChangeId = "foo";
- o.maxUploadSizes = buildUnnamed2144();
+ o.maxUploadSizes = buildUnnamed786();
o.name = "foo";
o.permissionId = "foo";
- o.quotaBytesByService = buildUnnamed2145();
+ o.quotaBytesByService = buildUnnamed787();
o.quotaBytesTotal = "foo";
o.quotaBytesUsed = "foo";
o.quotaBytesUsedAggregate = "foo";
@@ -378,21 +378,21 @@ buildAbout() {
checkAbout(api.About o) {
buildCounterAbout++;
if (buildCounterAbout < 3) {
- checkUnnamed2137(o.additionalRoleInfo);
+ checkUnnamed779(o.additionalRoleInfo);
unittest.expect(o.domainSharingPolicy, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2139(o.exportFormats);
- checkUnnamed2140(o.features);
- checkUnnamed2141(o.folderColorPalette);
- checkUnnamed2143(o.importFormats);
+ checkUnnamed781(o.exportFormats);
+ checkUnnamed782(o.features);
+ checkUnnamed783(o.folderColorPalette);
+ checkUnnamed785(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'));
- checkUnnamed2144(o.maxUploadSizes);
+ checkUnnamed786(o.maxUploadSizes);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.permissionId, unittest.equals('foo'));
- checkUnnamed2145(o.quotaBytesByService);
+ checkUnnamed787(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--;
}
-buildUnnamed2146() {
+buildUnnamed788() {
var o = new core.List<api.AppIcons>();
o.add(buildAppIcons());
o.add(buildAppIcons());
return o;
}
-checkUnnamed2146(core.List<api.AppIcons> o) {
+checkUnnamed788(core.List<api.AppIcons> o) {
unittest.expect(o, unittest.hasLength(2));
checkAppIcons(o[0]);
checkAppIcons(o[1]);
}
-buildUnnamed2147() {
+buildUnnamed789() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2147(core.List<core.String> o) {
+checkUnnamed789(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'));
}
-buildUnnamed2148() {
+buildUnnamed790() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2148(core.List<core.String> o) {
+checkUnnamed790(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'));
}
-buildUnnamed2149() {
+buildUnnamed791() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2149(core.List<core.String> o) {
+checkUnnamed791(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'));
}
-buildUnnamed2150() {
+buildUnnamed792() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2150(core.List<core.String> o) {
+checkUnnamed792(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 = buildUnnamed2146();
+ o.icons = buildUnnamed788();
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 = buildUnnamed2147();
- o.primaryMimeTypes = buildUnnamed2148();
+ o.primaryFileExtensions = buildUnnamed789();
+ o.primaryMimeTypes = buildUnnamed790();
o.productId = "foo";
o.productUrl = "foo";
- o.secondaryFileExtensions = buildUnnamed2149();
- o.secondaryMimeTypes = buildUnnamed2150();
+ o.secondaryFileExtensions = buildUnnamed791();
+ o.secondaryMimeTypes = buildUnnamed792();
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);
- checkUnnamed2146(o.icons);
+ checkUnnamed788(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'));
- checkUnnamed2147(o.primaryFileExtensions);
- checkUnnamed2148(o.primaryMimeTypes);
+ checkUnnamed789(o.primaryFileExtensions);
+ checkUnnamed790(o.primaryMimeTypes);
unittest.expect(o.productId, unittest.equals('foo'));
unittest.expect(o.productUrl, unittest.equals('foo'));
- checkUnnamed2149(o.secondaryFileExtensions);
- checkUnnamed2150(o.secondaryMimeTypes);
+ checkUnnamed791(o.secondaryFileExtensions);
+ checkUnnamed792(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--;
}
-buildUnnamed2151() {
+buildUnnamed793() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2151(core.List<core.String> o) {
+checkUnnamed793(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'));
}
-buildUnnamed2152() {
+buildUnnamed794() {
var o = new core.List<api.App>();
o.add(buildApp());
o.add(buildApp());
return o;
}
-checkUnnamed2152(core.List<api.App> o) {
+checkUnnamed794(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 = buildUnnamed2151();
+ o.defaultAppIds = buildUnnamed793();
o.etag = "foo";
- o.items = buildUnnamed2152();
+ o.items = buildUnnamed794();
o.kind = "foo";
o.selfLink = "foo";
}
@@ -603,9 +603,9 @@ buildAppList() {
checkAppList(api.AppList o) {
buildCounterAppList++;
if (buildCounterAppList < 3) {
- checkUnnamed2151(o.defaultAppIds);
+ checkUnnamed793(o.defaultAppIds);
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2152(o.items);
+ checkUnnamed794(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--;
}
-buildUnnamed2153() {
+buildUnnamed795() {
var o = new core.List<api.Change>();
o.add(buildChange());
o.add(buildChange());
return o;
}
-checkUnnamed2153(core.List<api.Change> o) {
+checkUnnamed795(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 = buildUnnamed2153();
+ o.items = buildUnnamed795();
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'));
- checkUnnamed2153(o.items);
+ checkUnnamed795(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--;
}
-buildUnnamed2154() {
+buildUnnamed796() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2154(core.Map<core.String, core.String> o) {
+checkUnnamed796(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 = buildUnnamed2154();
+ o.params = buildUnnamed796();
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'));
- checkUnnamed2154(o.params);
+ checkUnnamed796(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--;
}
-buildUnnamed2155() {
+buildUnnamed797() {
var o = new core.List<api.ChildReference>();
o.add(buildChildReference());
o.add(buildChildReference());
return o;
}
-checkUnnamed2155(core.List<api.ChildReference> o) {
+checkUnnamed797(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 = buildUnnamed2155();
+ o.items = buildUnnamed797();
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'));
- checkUnnamed2155(o.items);
+ checkUnnamed797(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--;
}
-buildUnnamed2156() {
+buildUnnamed798() {
var o = new core.List<api.CommentReply>();
o.add(buildCommentReply());
o.add(buildCommentReply());
return o;
}
-checkUnnamed2156(core.List<api.CommentReply> o) {
+checkUnnamed798(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 = buildUnnamed2156();
+ o.replies = buildUnnamed798();
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")));
- checkUnnamed2156(o.replies);
+ checkUnnamed798(o.replies);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterComment--;
}
-buildUnnamed2157() {
+buildUnnamed799() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed2157(core.List<api.Comment> o) {
+checkUnnamed799(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 = buildUnnamed2157();
+ o.items = buildUnnamed799();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -916,7 +916,7 @@ buildCommentList() {
checkCommentList(api.CommentList o) {
buildCounterCommentList++;
if (buildCounterCommentList < 3) {
- checkUnnamed2157(o.items);
+ checkUnnamed799(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--;
}
-buildUnnamed2158() {
+buildUnnamed800() {
var o = new core.List<api.CommentReply>();
o.add(buildCommentReply());
o.add(buildCommentReply());
return o;
}
-checkUnnamed2158(core.List<api.CommentReply> o) {
+checkUnnamed800(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 = buildUnnamed2158();
+ o.items = buildUnnamed800();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -991,7 +991,7 @@ buildCommentReplyList() {
checkCommentReplyList(api.CommentReplyList o) {
buildCounterCommentReplyList++;
if (buildCounterCommentReplyList < 3) {
- checkUnnamed2158(o.items);
+ checkUnnamed800(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--;
}
-buildUnnamed2159() {
+buildUnnamed801() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2159(core.Map<core.String, core.String> o) {
+checkUnnamed801(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--;
}
-buildUnnamed2160() {
+buildUnnamed802() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2160(core.Map<core.String, core.String> o) {
+checkUnnamed802(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'));
}
-buildUnnamed2161() {
+buildUnnamed803() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2161(core.List<core.String> o) {
+checkUnnamed803(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'));
}
-buildUnnamed2162() {
+buildUnnamed804() {
var o = new core.List<api.User>();
o.add(buildUser());
o.add(buildUser());
return o;
}
-checkUnnamed2162(core.List<api.User> o) {
+checkUnnamed804(core.List<api.User> o) {
unittest.expect(o, unittest.hasLength(2));
checkUser(o[0]);
checkUser(o[1]);
}
-buildUnnamed2163() {
+buildUnnamed805() {
var o = new core.List<api.ParentReference>();
o.add(buildParentReference());
o.add(buildParentReference());
return o;
}
-checkUnnamed2163(core.List<api.ParentReference> o) {
+checkUnnamed805(core.List<api.ParentReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkParentReference(o[0]);
checkParentReference(o[1]);
}
-buildUnnamed2164() {
+buildUnnamed806() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed2164(core.List<api.Permission> o) {
+checkUnnamed806(core.List<api.Permission> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermission(o[0]);
checkPermission(o[1]);
}
-buildUnnamed2165() {
+buildUnnamed807() {
var o = new core.List<api.Property>();
o.add(buildProperty());
o.add(buildProperty());
return o;
}
-checkUnnamed2165(core.List<api.Property> o) {
+checkUnnamed807(core.List<api.Property> o) {
unittest.expect(o, unittest.hasLength(2));
checkProperty(o[0]);
checkProperty(o[1]);
}
-buildUnnamed2166() {
+buildUnnamed808() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2166(core.List<core.String> o) {
+checkUnnamed808(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'));
@@ -1294,7 +1294,7 @@ buildFile() {
o.embedLink = "foo";
o.etag = "foo";
o.explicitlyTrashed = true;
- o.exportLinks = buildUnnamed2159();
+ o.exportLinks = buildUnnamed801();
o.fileExtension = "foo";
o.fileSize = "foo";
o.folderColorRgb = "foo";
@@ -1315,21 +1315,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 = buildUnnamed2160();
+ o.openWithLinks = buildUnnamed802();
o.originalFilename = "foo";
o.ownedByMe = true;
- o.ownerNames = buildUnnamed2161();
- o.owners = buildUnnamed2162();
- o.parents = buildUnnamed2163();
- o.permissions = buildUnnamed2164();
- o.properties = buildUnnamed2165();
+ o.ownerNames = buildUnnamed803();
+ o.owners = buildUnnamed804();
+ o.parents = buildUnnamed805();
+ o.permissions = buildUnnamed806();
+ o.properties = buildUnnamed807();
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 = buildUnnamed2166();
+ o.spaces = buildUnnamed808();
o.thumbnail = buildFileThumbnail();
o.thumbnailLink = "foo";
o.title = "foo";
@@ -1360,7 +1360,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);
- checkUnnamed2159(o.exportLinks);
+ checkUnnamed801(o.exportLinks);
unittest.expect(o.fileExtension, unittest.equals('foo'));
unittest.expect(o.fileSize, unittest.equals('foo'));
unittest.expect(o.folderColorRgb, unittest.equals('foo'));
@@ -1381,21 +1381,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")));
- checkUnnamed2160(o.openWithLinks);
+ checkUnnamed802(o.openWithLinks);
unittest.expect(o.originalFilename, unittest.equals('foo'));
unittest.expect(o.ownedByMe, unittest.isTrue);
- checkUnnamed2161(o.ownerNames);
- checkUnnamed2162(o.owners);
- checkUnnamed2163(o.parents);
- checkUnnamed2164(o.permissions);
- checkUnnamed2165(o.properties);
+ checkUnnamed803(o.ownerNames);
+ checkUnnamed804(o.owners);
+ checkUnnamed805(o.parents);
+ checkUnnamed806(o.permissions);
+ checkUnnamed807(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);
- checkUnnamed2166(o.spaces);
+ checkUnnamed808(o.spaces);
checkFileThumbnail(o.thumbnail);
unittest.expect(o.thumbnailLink, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
@@ -1409,14 +1409,14 @@ checkFile(api.File o) {
buildCounterFile--;
}
-buildUnnamed2167() {
+buildUnnamed809() {
var o = new core.List<api.File>();
o.add(buildFile());
o.add(buildFile());
return o;
}
-checkUnnamed2167(core.List<api.File> o) {
+checkUnnamed809(core.List<api.File> o) {
unittest.expect(o, unittest.hasLength(2));
checkFile(o[0]);
checkFile(o[1]);
@@ -1428,7 +1428,7 @@ buildFileList() {
buildCounterFileList++;
if (buildCounterFileList < 3) {
o.etag = "foo";
- o.items = buildUnnamed2167();
+ o.items = buildUnnamed809();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -1442,7 +1442,7 @@ checkFileList(api.FileList o) {
buildCounterFileList++;
if (buildCounterFileList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2167(o.items);
+ checkUnnamed809(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -1451,14 +1451,14 @@ checkFileList(api.FileList o) {
buildCounterFileList--;
}
-buildUnnamed2168() {
+buildUnnamed810() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2168(core.List<core.String> o) {
+checkUnnamed810(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'));
@@ -1469,7 +1469,7 @@ buildGeneratedIds() {
var o = new api.GeneratedIds();
buildCounterGeneratedIds++;
if (buildCounterGeneratedIds < 3) {
- o.ids = buildUnnamed2168();
+ o.ids = buildUnnamed810();
o.kind = "foo";
o.space = "foo";
}
@@ -1480,21 +1480,21 @@ buildGeneratedIds() {
checkGeneratedIds(api.GeneratedIds o) {
buildCounterGeneratedIds++;
if (buildCounterGeneratedIds < 3) {
- checkUnnamed2168(o.ids);
+ checkUnnamed810(o.ids);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.space, unittest.equals('foo'));
}
buildCounterGeneratedIds--;
}
-buildUnnamed2169() {
+buildUnnamed811() {
var o = new core.List<api.ParentReference>();
o.add(buildParentReference());
o.add(buildParentReference());
return o;
}
-checkUnnamed2169(core.List<api.ParentReference> o) {
+checkUnnamed811(core.List<api.ParentReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkParentReference(o[0]);
checkParentReference(o[1]);
@@ -1506,7 +1506,7 @@ buildParentList() {
buildCounterParentList++;
if (buildCounterParentList < 3) {
o.etag = "foo";
- o.items = buildUnnamed2169();
+ o.items = buildUnnamed811();
o.kind = "foo";
o.selfLink = "foo";
}
@@ -1518,7 +1518,7 @@ checkParentList(api.ParentList o) {
buildCounterParentList++;
if (buildCounterParentList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2169(o.items);
+ checkUnnamed811(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
}
@@ -1552,14 +1552,14 @@ checkParentReference(api.ParentReference o) {
buildCounterParentReference--;
}
-buildUnnamed2170() {
+buildUnnamed812() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2170(core.List<core.String> o) {
+checkUnnamed812(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'));
@@ -1570,11 +1570,12 @@ buildPermission() {
var o = new api.Permission();
buildCounterPermission++;
if (buildCounterPermission < 3) {
- o.additionalRoles = buildUnnamed2170();
+ o.additionalRoles = buildUnnamed812();
o.authKey = "foo";
o.domain = "foo";
o.emailAddress = "foo";
o.etag = "foo";
+ o.expirationDate = core.DateTime.parse("2002-02-27T14:01:02");
o.id = "foo";
o.kind = "foo";
o.name = "foo";
@@ -1592,11 +1593,12 @@ buildPermission() {
checkPermission(api.Permission o) {
buildCounterPermission++;
if (buildCounterPermission < 3) {
- checkUnnamed2170(o.additionalRoles);
+ checkUnnamed812(o.additionalRoles);
unittest.expect(o.authKey, unittest.equals('foo'));
unittest.expect(o.domain, unittest.equals('foo'));
unittest.expect(o.emailAddress, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
+ unittest.expect(o.expirationDate, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -1631,14 +1633,14 @@ checkPermissionId(api.PermissionId o) {
buildCounterPermissionId--;
}
-buildUnnamed2171() {
+buildUnnamed813() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed2171(core.List<api.Permission> o) {
+checkUnnamed813(core.List<api.Permission> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermission(o[0]);
checkPermission(o[1]);
@@ -1650,7 +1652,7 @@ buildPermissionList() {
buildCounterPermissionList++;
if (buildCounterPermissionList < 3) {
o.etag = "foo";
- o.items = buildUnnamed2171();
+ o.items = buildUnnamed813();
o.kind = "foo";
o.selfLink = "foo";
}
@@ -1662,7 +1664,7 @@ checkPermissionList(api.PermissionList o) {
buildCounterPermissionList++;
if (buildCounterPermissionList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2171(o.items);
+ checkUnnamed813(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
}
@@ -1698,14 +1700,14 @@ checkProperty(api.Property o) {
buildCounterProperty--;
}
-buildUnnamed2172() {
+buildUnnamed814() {
var o = new core.List<api.Property>();
o.add(buildProperty());
o.add(buildProperty());
return o;
}
-checkUnnamed2172(core.List<api.Property> o) {
+checkUnnamed814(core.List<api.Property> o) {
unittest.expect(o, unittest.hasLength(2));
checkProperty(o[0]);
checkProperty(o[1]);
@@ -1717,7 +1719,7 @@ buildPropertyList() {
buildCounterPropertyList++;
if (buildCounterPropertyList < 3) {
o.etag = "foo";
- o.items = buildUnnamed2172();
+ o.items = buildUnnamed814();
o.kind = "foo";
o.selfLink = "foo";
}
@@ -1729,21 +1731,21 @@ checkPropertyList(api.PropertyList o) {
buildCounterPropertyList++;
if (buildCounterPropertyList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2172(o.items);
+ checkUnnamed814(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
}
buildCounterPropertyList--;
}
-buildUnnamed2173() {
+buildUnnamed815() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2173(core.Map<core.String, core.String> o) {
+checkUnnamed815(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'));
@@ -1756,7 +1758,7 @@ buildRevision() {
if (buildCounterRevision < 3) {
o.downloadUrl = "foo";
o.etag = "foo";
- o.exportLinks = buildUnnamed2173();
+ o.exportLinks = buildUnnamed815();
o.fileSize = "foo";
o.id = "foo";
o.kind = "foo";
@@ -1782,7 +1784,7 @@ checkRevision(api.Revision o) {
if (buildCounterRevision < 3) {
unittest.expect(o.downloadUrl, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2173(o.exportLinks);
+ checkUnnamed815(o.exportLinks);
unittest.expect(o.fileSize, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
@@ -1802,14 +1804,14 @@ checkRevision(api.Revision o) {
buildCounterRevision--;
}
-buildUnnamed2174() {
+buildUnnamed816() {
var o = new core.List<api.Revision>();
o.add(buildRevision());
o.add(buildRevision());
return o;
}
-checkUnnamed2174(core.List<api.Revision> o) {
+checkUnnamed816(core.List<api.Revision> o) {
unittest.expect(o, unittest.hasLength(2));
checkRevision(o[0]);
checkRevision(o[1]);
@@ -1821,7 +1823,7 @@ buildRevisionList() {
buildCounterRevisionList++;
if (buildCounterRevisionList < 3) {
o.etag = "foo";
- o.items = buildUnnamed2174();
+ o.items = buildUnnamed816();
o.kind = "foo";
o.selfLink = "foo";
}
@@ -1833,7 +1835,7 @@ checkRevisionList(api.RevisionList o) {
buildCounterRevisionList++;
if (buildCounterRevisionList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2174(o.items);
+ checkUnnamed816(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
}
@@ -4581,6 +4583,7 @@ main() {
var arg_request = buildPermission();
var arg_fileId = "foo";
var arg_permissionId = "foo";
+ var arg_removeExpiration = true;
var arg_transferOwnership = true;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var obj = new api.Permission.fromJson(json);
@@ -4623,6 +4626,7 @@ main() {
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["removeExpiration"].first, unittest.equals("$arg_removeExpiration"));
unittest.expect(queryMap["transferOwnership"].first, unittest.equals("$arg_transferOwnership"));
@@ -4632,7 +4636,7 @@ main() {
var resp = convert.JSON.encode(buildPermission());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.patch(arg_request, arg_fileId, arg_permissionId, transferOwnership: arg_transferOwnership).then(unittest.expectAsync(((api.Permission response) {
+ res.patch(arg_request, arg_fileId, arg_permissionId, removeExpiration: arg_removeExpiration, transferOwnership: arg_transferOwnership).then(unittest.expectAsync(((api.Permission response) {
checkPermission(response);
})));
});
@@ -4644,6 +4648,7 @@ main() {
var arg_request = buildPermission();
var arg_fileId = "foo";
var arg_permissionId = "foo";
+ var arg_removeExpiration = true;
var arg_transferOwnership = true;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var obj = new api.Permission.fromJson(json);
@@ -4686,6 +4691,7 @@ main() {
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["removeExpiration"].first, unittest.equals("$arg_removeExpiration"));
unittest.expect(queryMap["transferOwnership"].first, unittest.equals("$arg_transferOwnership"));
@@ -4695,7 +4701,7 @@ main() {
var resp = convert.JSON.encode(buildPermission());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.update(arg_request, arg_fileId, arg_permissionId, transferOwnership: arg_transferOwnership).then(unittest.expectAsync(((api.Permission response) {
+ res.update(arg_request, arg_fileId, arg_permissionId, removeExpiration: arg_removeExpiration, transferOwnership: arg_transferOwnership).then(unittest.expectAsync(((api.Permission response) {
checkPermission(response);
})));
});
« no previous file with comments | « generated/googleapis/test/doubleclicksearch/v2_test.dart ('k') | generated/googleapis/test/drive/v3_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698