| 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 d71513de29bc85de539e75e17b55677f3761c233..13677556c535f21db3053ce993bb104a472e8f30 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);
|
| }
|
|
|
| -buildUnnamed822() {
|
| +buildUnnamed846() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed822(core.List<core.String> o) {
|
| +checkUnnamed846(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 = buildUnnamed822();
|
| + o.additionalRoles = buildUnnamed846();
|
| o.primaryRole = "foo";
|
| }
|
| buildCounterAboutAdditionalRoleInfoRoleSets--;
|
| @@ -79,20 +79,20 @@ buildAboutAdditionalRoleInfoRoleSets() {
|
| checkAboutAdditionalRoleInfoRoleSets(api.AboutAdditionalRoleInfoRoleSets o) {
|
| buildCounterAboutAdditionalRoleInfoRoleSets++;
|
| if (buildCounterAboutAdditionalRoleInfoRoleSets < 3) {
|
| - checkUnnamed822(o.additionalRoles);
|
| + checkUnnamed846(o.additionalRoles);
|
| unittest.expect(o.primaryRole, unittest.equals('foo'));
|
| }
|
| buildCounterAboutAdditionalRoleInfoRoleSets--;
|
| }
|
|
|
| -buildUnnamed823() {
|
| +buildUnnamed847() {
|
| var o = new core.List<api.AboutAdditionalRoleInfoRoleSets>();
|
| o.add(buildAboutAdditionalRoleInfoRoleSets());
|
| o.add(buildAboutAdditionalRoleInfoRoleSets());
|
| return o;
|
| }
|
|
|
| -checkUnnamed823(core.List<api.AboutAdditionalRoleInfoRoleSets> o) {
|
| +checkUnnamed847(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 = buildUnnamed823();
|
| + o.roleSets = buildUnnamed847();
|
| o.type = "foo";
|
| }
|
| buildCounterAboutAdditionalRoleInfo--;
|
| @@ -113,33 +113,33 @@ buildAboutAdditionalRoleInfo() {
|
| checkAboutAdditionalRoleInfo(api.AboutAdditionalRoleInfo o) {
|
| buildCounterAboutAdditionalRoleInfo++;
|
| if (buildCounterAboutAdditionalRoleInfo < 3) {
|
| - checkUnnamed823(o.roleSets);
|
| + checkUnnamed847(o.roleSets);
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| }
|
| buildCounterAboutAdditionalRoleInfo--;
|
| }
|
|
|
| -buildUnnamed824() {
|
| +buildUnnamed848() {
|
| var o = new core.List<api.AboutAdditionalRoleInfo>();
|
| o.add(buildAboutAdditionalRoleInfo());
|
| o.add(buildAboutAdditionalRoleInfo());
|
| return o;
|
| }
|
|
|
| -checkUnnamed824(core.List<api.AboutAdditionalRoleInfo> o) {
|
| +checkUnnamed848(core.List<api.AboutAdditionalRoleInfo> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAboutAdditionalRoleInfo(o[0]);
|
| checkAboutAdditionalRoleInfo(o[1]);
|
| }
|
|
|
| -buildUnnamed825() {
|
| +buildUnnamed849() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed825(core.List<core.String> o) {
|
| +checkUnnamed849(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 = buildUnnamed825();
|
| + o.targets = buildUnnamed849();
|
| }
|
| buildCounterAboutExportFormats--;
|
| return o;
|
| @@ -161,19 +161,19 @@ checkAboutExportFormats(api.AboutExportFormats o) {
|
| buildCounterAboutExportFormats++;
|
| if (buildCounterAboutExportFormats < 3) {
|
| unittest.expect(o.source, unittest.equals('foo'));
|
| - checkUnnamed825(o.targets);
|
| + checkUnnamed849(o.targets);
|
| }
|
| buildCounterAboutExportFormats--;
|
| }
|
|
|
| -buildUnnamed826() {
|
| +buildUnnamed850() {
|
| var o = new core.List<api.AboutExportFormats>();
|
| o.add(buildAboutExportFormats());
|
| o.add(buildAboutExportFormats());
|
| return o;
|
| }
|
|
|
| -checkUnnamed826(core.List<api.AboutExportFormats> o) {
|
| +checkUnnamed850(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--;
|
| }
|
|
|
| -buildUnnamed827() {
|
| +buildUnnamed851() {
|
| var o = new core.List<api.AboutFeatures>();
|
| o.add(buildAboutFeatures());
|
| o.add(buildAboutFeatures());
|
| return o;
|
| }
|
|
|
| -checkUnnamed827(core.List<api.AboutFeatures> o) {
|
| +checkUnnamed851(core.List<api.AboutFeatures> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAboutFeatures(o[0]);
|
| checkAboutFeatures(o[1]);
|
| }
|
|
|
| -buildUnnamed828() {
|
| +buildUnnamed852() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed828(core.List<core.String> o) {
|
| +checkUnnamed852(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'));
|
| }
|
|
|
| -buildUnnamed829() {
|
| +buildUnnamed853() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed829(core.List<core.String> o) {
|
| +checkUnnamed853(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 = buildUnnamed829();
|
| + o.targets = buildUnnamed853();
|
| }
|
| buildCounterAboutImportFormats--;
|
| return o;
|
| @@ -255,19 +255,19 @@ checkAboutImportFormats(api.AboutImportFormats o) {
|
| buildCounterAboutImportFormats++;
|
| if (buildCounterAboutImportFormats < 3) {
|
| unittest.expect(o.source, unittest.equals('foo'));
|
| - checkUnnamed829(o.targets);
|
| + checkUnnamed853(o.targets);
|
| }
|
| buildCounterAboutImportFormats--;
|
| }
|
|
|
| -buildUnnamed830() {
|
| +buildUnnamed854() {
|
| var o = new core.List<api.AboutImportFormats>();
|
| o.add(buildAboutImportFormats());
|
| o.add(buildAboutImportFormats());
|
| return o;
|
| }
|
|
|
| -checkUnnamed830(core.List<api.AboutImportFormats> o) {
|
| +checkUnnamed854(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--;
|
| }
|
|
|
| -buildUnnamed831() {
|
| +buildUnnamed855() {
|
| var o = new core.List<api.AboutMaxUploadSizes>();
|
| o.add(buildAboutMaxUploadSizes());
|
| o.add(buildAboutMaxUploadSizes());
|
| return o;
|
| }
|
|
|
| -checkUnnamed831(core.List<api.AboutMaxUploadSizes> o) {
|
| +checkUnnamed855(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--;
|
| }
|
|
|
| -buildUnnamed832() {
|
| +buildUnnamed856() {
|
| var o = new core.List<api.AboutQuotaBytesByService>();
|
| o.add(buildAboutQuotaBytesByService());
|
| o.add(buildAboutQuotaBytesByService());
|
| return o;
|
| }
|
|
|
| -checkUnnamed832(core.List<api.AboutQuotaBytesByService> o) {
|
| +checkUnnamed856(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 = buildUnnamed824();
|
| + o.additionalRoleInfo = buildUnnamed848();
|
| o.domainSharingPolicy = "foo";
|
| o.etag = "foo";
|
| - o.exportFormats = buildUnnamed826();
|
| - o.features = buildUnnamed827();
|
| - o.folderColorPalette = buildUnnamed828();
|
| - o.importFormats = buildUnnamed830();
|
| + o.exportFormats = buildUnnamed850();
|
| + o.features = buildUnnamed851();
|
| + o.folderColorPalette = buildUnnamed852();
|
| + o.importFormats = buildUnnamed854();
|
| o.isCurrentAppInstalled = true;
|
| o.kind = "foo";
|
| o.languageCode = "foo";
|
| o.largestChangeId = "foo";
|
| - o.maxUploadSizes = buildUnnamed831();
|
| + o.maxUploadSizes = buildUnnamed855();
|
| o.name = "foo";
|
| o.permissionId = "foo";
|
| - o.quotaBytesByService = buildUnnamed832();
|
| + o.quotaBytesByService = buildUnnamed856();
|
| o.quotaBytesTotal = "foo";
|
| o.quotaBytesUsed = "foo";
|
| o.quotaBytesUsedAggregate = "foo";
|
| @@ -378,21 +378,21 @@ buildAbout() {
|
| checkAbout(api.About o) {
|
| buildCounterAbout++;
|
| if (buildCounterAbout < 3) {
|
| - checkUnnamed824(o.additionalRoleInfo);
|
| + checkUnnamed848(o.additionalRoleInfo);
|
| unittest.expect(o.domainSharingPolicy, unittest.equals('foo'));
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed826(o.exportFormats);
|
| - checkUnnamed827(o.features);
|
| - checkUnnamed828(o.folderColorPalette);
|
| - checkUnnamed830(o.importFormats);
|
| + checkUnnamed850(o.exportFormats);
|
| + checkUnnamed851(o.features);
|
| + checkUnnamed852(o.folderColorPalette);
|
| + checkUnnamed854(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'));
|
| - checkUnnamed831(o.maxUploadSizes);
|
| + checkUnnamed855(o.maxUploadSizes);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.permissionId, unittest.equals('foo'));
|
| - checkUnnamed832(o.quotaBytesByService);
|
| + checkUnnamed856(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--;
|
| }
|
|
|
| -buildUnnamed833() {
|
| +buildUnnamed857() {
|
| var o = new core.List<api.AppIcons>();
|
| o.add(buildAppIcons());
|
| o.add(buildAppIcons());
|
| return o;
|
| }
|
|
|
| -checkUnnamed833(core.List<api.AppIcons> o) {
|
| +checkUnnamed857(core.List<api.AppIcons> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAppIcons(o[0]);
|
| checkAppIcons(o[1]);
|
| }
|
|
|
| -buildUnnamed834() {
|
| +buildUnnamed858() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed834(core.List<core.String> o) {
|
| +checkUnnamed858(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'));
|
| }
|
|
|
| -buildUnnamed835() {
|
| +buildUnnamed859() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed835(core.List<core.String> o) {
|
| +checkUnnamed859(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'));
|
| }
|
|
|
| -buildUnnamed836() {
|
| +buildUnnamed860() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed836(core.List<core.String> o) {
|
| +checkUnnamed860(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'));
|
| }
|
|
|
| -buildUnnamed837() {
|
| +buildUnnamed861() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed837(core.List<core.String> o) {
|
| +checkUnnamed861(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 = buildUnnamed833();
|
| + o.icons = buildUnnamed857();
|
| 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 = buildUnnamed834();
|
| - o.primaryMimeTypes = buildUnnamed835();
|
| + o.primaryFileExtensions = buildUnnamed858();
|
| + o.primaryMimeTypes = buildUnnamed859();
|
| o.productId = "foo";
|
| o.productUrl = "foo";
|
| - o.secondaryFileExtensions = buildUnnamed836();
|
| - o.secondaryMimeTypes = buildUnnamed837();
|
| + o.secondaryFileExtensions = buildUnnamed860();
|
| + o.secondaryMimeTypes = buildUnnamed861();
|
| 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);
|
| - checkUnnamed833(o.icons);
|
| + checkUnnamed857(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'));
|
| - checkUnnamed834(o.primaryFileExtensions);
|
| - checkUnnamed835(o.primaryMimeTypes);
|
| + checkUnnamed858(o.primaryFileExtensions);
|
| + checkUnnamed859(o.primaryMimeTypes);
|
| unittest.expect(o.productId, unittest.equals('foo'));
|
| unittest.expect(o.productUrl, unittest.equals('foo'));
|
| - checkUnnamed836(o.secondaryFileExtensions);
|
| - checkUnnamed837(o.secondaryMimeTypes);
|
| + checkUnnamed860(o.secondaryFileExtensions);
|
| + checkUnnamed861(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--;
|
| }
|
|
|
| -buildUnnamed838() {
|
| +buildUnnamed862() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed838(core.List<core.String> o) {
|
| +checkUnnamed862(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'));
|
| }
|
|
|
| -buildUnnamed839() {
|
| +buildUnnamed863() {
|
| var o = new core.List<api.App>();
|
| o.add(buildApp());
|
| o.add(buildApp());
|
| return o;
|
| }
|
|
|
| -checkUnnamed839(core.List<api.App> o) {
|
| +checkUnnamed863(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 = buildUnnamed838();
|
| + o.defaultAppIds = buildUnnamed862();
|
| o.etag = "foo";
|
| - o.items = buildUnnamed839();
|
| + o.items = buildUnnamed863();
|
| o.kind = "foo";
|
| o.selfLink = "foo";
|
| }
|
| @@ -603,9 +603,9 @@ buildAppList() {
|
| checkAppList(api.AppList o) {
|
| buildCounterAppList++;
|
| if (buildCounterAppList < 3) {
|
| - checkUnnamed838(o.defaultAppIds);
|
| + checkUnnamed862(o.defaultAppIds);
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed839(o.items);
|
| + checkUnnamed863(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--;
|
| }
|
|
|
| -buildUnnamed840() {
|
| +buildUnnamed864() {
|
| var o = new core.List<api.Change>();
|
| o.add(buildChange());
|
| o.add(buildChange());
|
| return o;
|
| }
|
|
|
| -checkUnnamed840(core.List<api.Change> o) {
|
| +checkUnnamed864(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 = buildUnnamed840();
|
| + o.items = buildUnnamed864();
|
| 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'));
|
| - checkUnnamed840(o.items);
|
| + checkUnnamed864(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--;
|
| }
|
|
|
| -buildUnnamed841() {
|
| +buildUnnamed865() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed841(core.Map<core.String, core.String> o) {
|
| +checkUnnamed865(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 = buildUnnamed841();
|
| + o.params = buildUnnamed865();
|
| 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'));
|
| - checkUnnamed841(o.params);
|
| + checkUnnamed865(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--;
|
| }
|
|
|
| -buildUnnamed842() {
|
| +buildUnnamed866() {
|
| var o = new core.List<api.ChildReference>();
|
| o.add(buildChildReference());
|
| o.add(buildChildReference());
|
| return o;
|
| }
|
|
|
| -checkUnnamed842(core.List<api.ChildReference> o) {
|
| +checkUnnamed866(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 = buildUnnamed842();
|
| + o.items = buildUnnamed866();
|
| 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'));
|
| - checkUnnamed842(o.items);
|
| + checkUnnamed866(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--;
|
| }
|
|
|
| -buildUnnamed843() {
|
| +buildUnnamed867() {
|
| var o = new core.List<api.CommentReply>();
|
| o.add(buildCommentReply());
|
| o.add(buildCommentReply());
|
| return o;
|
| }
|
|
|
| -checkUnnamed843(core.List<api.CommentReply> o) {
|
| +checkUnnamed867(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 = buildUnnamed843();
|
| + o.replies = buildUnnamed867();
|
| 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")));
|
| - checkUnnamed843(o.replies);
|
| + checkUnnamed867(o.replies);
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| unittest.expect(o.status, unittest.equals('foo'));
|
| }
|
| buildCounterComment--;
|
| }
|
|
|
| -buildUnnamed844() {
|
| +buildUnnamed868() {
|
| var o = new core.List<api.Comment>();
|
| o.add(buildComment());
|
| o.add(buildComment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed844(core.List<api.Comment> o) {
|
| +checkUnnamed868(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 = buildUnnamed844();
|
| + o.items = buildUnnamed868();
|
| o.kind = "foo";
|
| o.nextLink = "foo";
|
| o.nextPageToken = "foo";
|
| @@ -916,7 +916,7 @@ buildCommentList() {
|
| checkCommentList(api.CommentList o) {
|
| buildCounterCommentList++;
|
| if (buildCounterCommentList < 3) {
|
| - checkUnnamed844(o.items);
|
| + checkUnnamed868(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--;
|
| }
|
|
|
| -buildUnnamed845() {
|
| +buildUnnamed869() {
|
| var o = new core.List<api.CommentReply>();
|
| o.add(buildCommentReply());
|
| o.add(buildCommentReply());
|
| return o;
|
| }
|
|
|
| -checkUnnamed845(core.List<api.CommentReply> o) {
|
| +checkUnnamed869(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 = buildUnnamed845();
|
| + o.items = buildUnnamed869();
|
| o.kind = "foo";
|
| o.nextLink = "foo";
|
| o.nextPageToken = "foo";
|
| @@ -991,7 +991,7 @@ buildCommentReplyList() {
|
| checkCommentReplyList(api.CommentReplyList o) {
|
| buildCounterCommentReplyList++;
|
| if (buildCounterCommentReplyList < 3) {
|
| - checkUnnamed845(o.items);
|
| + checkUnnamed869(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--;
|
| }
|
|
|
| -buildUnnamed846() {
|
| +buildUnnamed870() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed846(core.Map<core.String, core.String> o) {
|
| +checkUnnamed870(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'));
|
| @@ -1120,6 +1120,7 @@ buildFileLabels() {
|
| buildCounterFileLabels++;
|
| if (buildCounterFileLabels < 3) {
|
| o.hidden = true;
|
| + o.modified = true;
|
| o.restricted = true;
|
| o.starred = true;
|
| o.trashed = true;
|
| @@ -1133,6 +1134,7 @@ checkFileLabels(api.FileLabels o) {
|
| buildCounterFileLabels++;
|
| if (buildCounterFileLabels < 3) {
|
| unittest.expect(o.hidden, unittest.isTrue);
|
| + unittest.expect(o.modified, unittest.isTrue);
|
| unittest.expect(o.restricted, unittest.isTrue);
|
| unittest.expect(o.starred, unittest.isTrue);
|
| unittest.expect(o.trashed, unittest.isTrue);
|
| @@ -1141,92 +1143,92 @@ checkFileLabels(api.FileLabels o) {
|
| buildCounterFileLabels--;
|
| }
|
|
|
| -buildUnnamed847() {
|
| +buildUnnamed871() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed847(core.Map<core.String, core.String> o) {
|
| +checkUnnamed871(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'));
|
| }
|
|
|
| -buildUnnamed848() {
|
| +buildUnnamed872() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed848(core.List<core.String> o) {
|
| +checkUnnamed872(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'));
|
| }
|
|
|
| -buildUnnamed849() {
|
| +buildUnnamed873() {
|
| var o = new core.List<api.User>();
|
| o.add(buildUser());
|
| o.add(buildUser());
|
| return o;
|
| }
|
|
|
| -checkUnnamed849(core.List<api.User> o) {
|
| +checkUnnamed873(core.List<api.User> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUser(o[0]);
|
| checkUser(o[1]);
|
| }
|
|
|
| -buildUnnamed850() {
|
| +buildUnnamed874() {
|
| var o = new core.List<api.ParentReference>();
|
| o.add(buildParentReference());
|
| o.add(buildParentReference());
|
| return o;
|
| }
|
|
|
| -checkUnnamed850(core.List<api.ParentReference> o) {
|
| +checkUnnamed874(core.List<api.ParentReference> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkParentReference(o[0]);
|
| checkParentReference(o[1]);
|
| }
|
|
|
| -buildUnnamed851() {
|
| +buildUnnamed875() {
|
| var o = new core.List<api.Permission>();
|
| o.add(buildPermission());
|
| o.add(buildPermission());
|
| return o;
|
| }
|
|
|
| -checkUnnamed851(core.List<api.Permission> o) {
|
| +checkUnnamed875(core.List<api.Permission> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPermission(o[0]);
|
| checkPermission(o[1]);
|
| }
|
|
|
| -buildUnnamed852() {
|
| +buildUnnamed876() {
|
| var o = new core.List<api.Property>();
|
| o.add(buildProperty());
|
| o.add(buildProperty());
|
| return o;
|
| }
|
|
|
| -checkUnnamed852(core.List<api.Property> o) {
|
| +checkUnnamed876(core.List<api.Property> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkProperty(o[0]);
|
| checkProperty(o[1]);
|
| }
|
|
|
| -buildUnnamed853() {
|
| +buildUnnamed877() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed853(core.List<core.String> o) {
|
| +checkUnnamed877(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 +1296,7 @@ buildFile() {
|
| o.embedLink = "foo";
|
| o.etag = "foo";
|
| o.explicitlyTrashed = true;
|
| - o.exportLinks = buildUnnamed846();
|
| + o.exportLinks = buildUnnamed870();
|
| o.fileExtension = "foo";
|
| o.fileSize = "foo";
|
| o.folderColorRgb = "foo";
|
| @@ -1315,21 +1317,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 = buildUnnamed847();
|
| + o.openWithLinks = buildUnnamed871();
|
| o.originalFilename = "foo";
|
| o.ownedByMe = true;
|
| - o.ownerNames = buildUnnamed848();
|
| - o.owners = buildUnnamed849();
|
| - o.parents = buildUnnamed850();
|
| - o.permissions = buildUnnamed851();
|
| - o.properties = buildUnnamed852();
|
| + o.ownerNames = buildUnnamed872();
|
| + o.owners = buildUnnamed873();
|
| + o.parents = buildUnnamed874();
|
| + o.permissions = buildUnnamed875();
|
| + o.properties = buildUnnamed876();
|
| 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 = buildUnnamed853();
|
| + o.spaces = buildUnnamed877();
|
| o.thumbnail = buildFileThumbnail();
|
| o.thumbnailLink = "foo";
|
| o.title = "foo";
|
| @@ -1360,7 +1362,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);
|
| - checkUnnamed846(o.exportLinks);
|
| + checkUnnamed870(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 +1383,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")));
|
| - checkUnnamed847(o.openWithLinks);
|
| + checkUnnamed871(o.openWithLinks);
|
| unittest.expect(o.originalFilename, unittest.equals('foo'));
|
| unittest.expect(o.ownedByMe, unittest.isTrue);
|
| - checkUnnamed848(o.ownerNames);
|
| - checkUnnamed849(o.owners);
|
| - checkUnnamed850(o.parents);
|
| - checkUnnamed851(o.permissions);
|
| - checkUnnamed852(o.properties);
|
| + checkUnnamed872(o.ownerNames);
|
| + checkUnnamed873(o.owners);
|
| + checkUnnamed874(o.parents);
|
| + checkUnnamed875(o.permissions);
|
| + checkUnnamed876(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);
|
| - checkUnnamed853(o.spaces);
|
| + checkUnnamed877(o.spaces);
|
| checkFileThumbnail(o.thumbnail);
|
| unittest.expect(o.thumbnailLink, unittest.equals('foo'));
|
| unittest.expect(o.title, unittest.equals('foo'));
|
| @@ -1409,14 +1411,14 @@ checkFile(api.File o) {
|
| buildCounterFile--;
|
| }
|
|
|
| -buildUnnamed854() {
|
| +buildUnnamed878() {
|
| var o = new core.List<api.File>();
|
| o.add(buildFile());
|
| o.add(buildFile());
|
| return o;
|
| }
|
|
|
| -checkUnnamed854(core.List<api.File> o) {
|
| +checkUnnamed878(core.List<api.File> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkFile(o[0]);
|
| checkFile(o[1]);
|
| @@ -1428,7 +1430,7 @@ buildFileList() {
|
| buildCounterFileList++;
|
| if (buildCounterFileList < 3) {
|
| o.etag = "foo";
|
| - o.items = buildUnnamed854();
|
| + o.items = buildUnnamed878();
|
| o.kind = "foo";
|
| o.nextLink = "foo";
|
| o.nextPageToken = "foo";
|
| @@ -1442,7 +1444,7 @@ checkFileList(api.FileList o) {
|
| buildCounterFileList++;
|
| if (buildCounterFileList < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed854(o.items);
|
| + checkUnnamed878(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 +1453,14 @@ checkFileList(api.FileList o) {
|
| buildCounterFileList--;
|
| }
|
|
|
| -buildUnnamed855() {
|
| +buildUnnamed879() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed855(core.List<core.String> o) {
|
| +checkUnnamed879(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 +1471,7 @@ buildGeneratedIds() {
|
| var o = new api.GeneratedIds();
|
| buildCounterGeneratedIds++;
|
| if (buildCounterGeneratedIds < 3) {
|
| - o.ids = buildUnnamed855();
|
| + o.ids = buildUnnamed879();
|
| o.kind = "foo";
|
| o.space = "foo";
|
| }
|
| @@ -1480,21 +1482,21 @@ buildGeneratedIds() {
|
| checkGeneratedIds(api.GeneratedIds o) {
|
| buildCounterGeneratedIds++;
|
| if (buildCounterGeneratedIds < 3) {
|
| - checkUnnamed855(o.ids);
|
| + checkUnnamed879(o.ids);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.space, unittest.equals('foo'));
|
| }
|
| buildCounterGeneratedIds--;
|
| }
|
|
|
| -buildUnnamed856() {
|
| +buildUnnamed880() {
|
| var o = new core.List<api.ParentReference>();
|
| o.add(buildParentReference());
|
| o.add(buildParentReference());
|
| return o;
|
| }
|
|
|
| -checkUnnamed856(core.List<api.ParentReference> o) {
|
| +checkUnnamed880(core.List<api.ParentReference> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkParentReference(o[0]);
|
| checkParentReference(o[1]);
|
| @@ -1506,7 +1508,7 @@ buildParentList() {
|
| buildCounterParentList++;
|
| if (buildCounterParentList < 3) {
|
| o.etag = "foo";
|
| - o.items = buildUnnamed856();
|
| + o.items = buildUnnamed880();
|
| o.kind = "foo";
|
| o.selfLink = "foo";
|
| }
|
| @@ -1518,7 +1520,7 @@ checkParentList(api.ParentList o) {
|
| buildCounterParentList++;
|
| if (buildCounterParentList < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed856(o.items);
|
| + checkUnnamed880(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| }
|
| @@ -1552,14 +1554,14 @@ checkParentReference(api.ParentReference o) {
|
| buildCounterParentReference--;
|
| }
|
|
|
| -buildUnnamed857() {
|
| +buildUnnamed881() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed857(core.List<core.String> o) {
|
| +checkUnnamed881(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,7 +1572,7 @@ buildPermission() {
|
| var o = new api.Permission();
|
| buildCounterPermission++;
|
| if (buildCounterPermission < 3) {
|
| - o.additionalRoles = buildUnnamed857();
|
| + o.additionalRoles = buildUnnamed881();
|
| o.authKey = "foo";
|
| o.domain = "foo";
|
| o.emailAddress = "foo";
|
| @@ -1593,7 +1595,7 @@ buildPermission() {
|
| checkPermission(api.Permission o) {
|
| buildCounterPermission++;
|
| if (buildCounterPermission < 3) {
|
| - checkUnnamed857(o.additionalRoles);
|
| + checkUnnamed881(o.additionalRoles);
|
| unittest.expect(o.authKey, unittest.equals('foo'));
|
| unittest.expect(o.domain, unittest.equals('foo'));
|
| unittest.expect(o.emailAddress, unittest.equals('foo'));
|
| @@ -1633,14 +1635,14 @@ checkPermissionId(api.PermissionId o) {
|
| buildCounterPermissionId--;
|
| }
|
|
|
| -buildUnnamed858() {
|
| +buildUnnamed882() {
|
| var o = new core.List<api.Permission>();
|
| o.add(buildPermission());
|
| o.add(buildPermission());
|
| return o;
|
| }
|
|
|
| -checkUnnamed858(core.List<api.Permission> o) {
|
| +checkUnnamed882(core.List<api.Permission> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPermission(o[0]);
|
| checkPermission(o[1]);
|
| @@ -1652,7 +1654,7 @@ buildPermissionList() {
|
| buildCounterPermissionList++;
|
| if (buildCounterPermissionList < 3) {
|
| o.etag = "foo";
|
| - o.items = buildUnnamed858();
|
| + o.items = buildUnnamed882();
|
| o.kind = "foo";
|
| o.selfLink = "foo";
|
| }
|
| @@ -1664,7 +1666,7 @@ checkPermissionList(api.PermissionList o) {
|
| buildCounterPermissionList++;
|
| if (buildCounterPermissionList < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed858(o.items);
|
| + checkUnnamed882(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| }
|
| @@ -1700,14 +1702,14 @@ checkProperty(api.Property o) {
|
| buildCounterProperty--;
|
| }
|
|
|
| -buildUnnamed859() {
|
| +buildUnnamed883() {
|
| var o = new core.List<api.Property>();
|
| o.add(buildProperty());
|
| o.add(buildProperty());
|
| return o;
|
| }
|
|
|
| -checkUnnamed859(core.List<api.Property> o) {
|
| +checkUnnamed883(core.List<api.Property> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkProperty(o[0]);
|
| checkProperty(o[1]);
|
| @@ -1719,7 +1721,7 @@ buildPropertyList() {
|
| buildCounterPropertyList++;
|
| if (buildCounterPropertyList < 3) {
|
| o.etag = "foo";
|
| - o.items = buildUnnamed859();
|
| + o.items = buildUnnamed883();
|
| o.kind = "foo";
|
| o.selfLink = "foo";
|
| }
|
| @@ -1731,21 +1733,21 @@ checkPropertyList(api.PropertyList o) {
|
| buildCounterPropertyList++;
|
| if (buildCounterPropertyList < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed859(o.items);
|
| + checkUnnamed883(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| }
|
| buildCounterPropertyList--;
|
| }
|
|
|
| -buildUnnamed860() {
|
| +buildUnnamed884() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed860(core.Map<core.String, core.String> o) {
|
| +checkUnnamed884(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'));
|
| @@ -1758,7 +1760,7 @@ buildRevision() {
|
| if (buildCounterRevision < 3) {
|
| o.downloadUrl = "foo";
|
| o.etag = "foo";
|
| - o.exportLinks = buildUnnamed860();
|
| + o.exportLinks = buildUnnamed884();
|
| o.fileSize = "foo";
|
| o.id = "foo";
|
| o.kind = "foo";
|
| @@ -1784,7 +1786,7 @@ checkRevision(api.Revision o) {
|
| if (buildCounterRevision < 3) {
|
| unittest.expect(o.downloadUrl, unittest.equals('foo'));
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed860(o.exportLinks);
|
| + checkUnnamed884(o.exportLinks);
|
| unittest.expect(o.fileSize, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| @@ -1804,14 +1806,14 @@ checkRevision(api.Revision o) {
|
| buildCounterRevision--;
|
| }
|
|
|
| -buildUnnamed861() {
|
| +buildUnnamed885() {
|
| var o = new core.List<api.Revision>();
|
| o.add(buildRevision());
|
| o.add(buildRevision());
|
| return o;
|
| }
|
|
|
| -checkUnnamed861(core.List<api.Revision> o) {
|
| +checkUnnamed885(core.List<api.Revision> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRevision(o[0]);
|
| checkRevision(o[1]);
|
| @@ -1823,8 +1825,9 @@ buildRevisionList() {
|
| buildCounterRevisionList++;
|
| if (buildCounterRevisionList < 3) {
|
| o.etag = "foo";
|
| - o.items = buildUnnamed861();
|
| + o.items = buildUnnamed885();
|
| o.kind = "foo";
|
| + o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| }
|
| buildCounterRevisionList--;
|
| @@ -1835,8 +1838,9 @@ checkRevisionList(api.RevisionList o) {
|
| buildCounterRevisionList++;
|
| if (buildCounterRevisionList < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed861(o.items);
|
| + checkUnnamed885(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| + unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| }
|
| buildCounterRevisionList--;
|
| @@ -5701,6 +5705,8 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.RevisionsResourceApi res = new api.DriveApi(mock).revisions;
|
| var arg_fileId = "foo";
|
| + var arg_maxResults = 42;
|
| + var arg_pageToken = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -5736,6 +5742,8 @@ main() {
|
| addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| }
|
| }
|
| + unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.equals(arg_maxResults));
|
| + unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
|
|
|
|
|
| var h = {
|
| @@ -5744,7 +5752,7 @@ main() {
|
| var resp = convert.JSON.encode(buildRevisionList());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_fileId).then(unittest.expectAsync(((api.RevisionList response) {
|
| + res.list(arg_fileId, maxResults: arg_maxResults, pageToken: arg_pageToken).then(unittest.expectAsync(((api.RevisionList response) {
|
| checkRevisionList(response);
|
| })));
|
| });
|
|
|