| Index: generated/googleapis/test/androidenterprise/v1_test.dart
|
| diff --git a/generated/googleapis/test/androidenterprise/v1_test.dart b/generated/googleapis/test/androidenterprise/v1_test.dart
|
| index 3c5da34c76fdfb0d4b1316bec22542f94ad0cef4..28d9eed374a9c8209ec6043e63f3550a74180566 100644
|
| --- a/generated/googleapis/test/androidenterprise/v1_test.dart
|
| +++ b/generated/googleapis/test/androidenterprise/v1_test.dart
|
| @@ -91,14 +91,14 @@ checkAdministratorWebToken(api.AdministratorWebToken o) {
|
| buildCounterAdministratorWebToken--;
|
| }
|
|
|
| -buildUnnamed1905() {
|
| +buildUnnamed1999() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1905(core.List<core.String> o) {
|
| +checkUnnamed1999(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'));
|
| @@ -111,7 +111,7 @@ buildAdministratorWebTokenSpec() {
|
| if (buildCounterAdministratorWebTokenSpec < 3) {
|
| o.kind = "foo";
|
| o.parent = "foo";
|
| - o.permission = buildUnnamed1905();
|
| + o.permission = buildUnnamed1999();
|
| }
|
| buildCounterAdministratorWebTokenSpec--;
|
| return o;
|
| @@ -122,19 +122,19 @@ checkAdministratorWebTokenSpec(api.AdministratorWebTokenSpec o) {
|
| if (buildCounterAdministratorWebTokenSpec < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.parent, unittest.equals('foo'));
|
| - checkUnnamed1905(o.permission);
|
| + checkUnnamed1999(o.permission);
|
| }
|
| buildCounterAdministratorWebTokenSpec--;
|
| }
|
|
|
| -buildUnnamed1906() {
|
| +buildUnnamed2000() {
|
| var o = new core.List<api.AppRestrictionsSchemaRestriction>();
|
| o.add(buildAppRestrictionsSchemaRestriction());
|
| o.add(buildAppRestrictionsSchemaRestriction());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1906(core.List<api.AppRestrictionsSchemaRestriction> o) {
|
| +checkUnnamed2000(core.List<api.AppRestrictionsSchemaRestriction> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAppRestrictionsSchemaRestriction(o[0]);
|
| checkAppRestrictionsSchemaRestriction(o[1]);
|
| @@ -146,7 +146,7 @@ buildAppRestrictionsSchema() {
|
| buildCounterAppRestrictionsSchema++;
|
| if (buildCounterAppRestrictionsSchema < 3) {
|
| o.kind = "foo";
|
| - o.restrictions = buildUnnamed1906();
|
| + o.restrictions = buildUnnamed2000();
|
| }
|
| buildCounterAppRestrictionsSchema--;
|
| return o;
|
| @@ -156,7 +156,7 @@ checkAppRestrictionsSchema(api.AppRestrictionsSchema o) {
|
| buildCounterAppRestrictionsSchema++;
|
| if (buildCounterAppRestrictionsSchema < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed1906(o.restrictions);
|
| + checkUnnamed2000(o.restrictions);
|
| }
|
| buildCounterAppRestrictionsSchema--;
|
| }
|
| @@ -180,40 +180,40 @@ checkAppRestrictionsSchemaChangeEvent(api.AppRestrictionsSchemaChangeEvent o) {
|
| buildCounterAppRestrictionsSchemaChangeEvent--;
|
| }
|
|
|
| -buildUnnamed1907() {
|
| +buildUnnamed2001() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1907(core.List<core.String> o) {
|
| +checkUnnamed2001(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'));
|
| }
|
|
|
| -buildUnnamed1908() {
|
| +buildUnnamed2002() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1908(core.List<core.String> o) {
|
| +checkUnnamed2002(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'));
|
| }
|
|
|
| -buildUnnamed1909() {
|
| +buildUnnamed2003() {
|
| var o = new core.List<api.AppRestrictionsSchemaRestriction>();
|
| o.add(buildAppRestrictionsSchemaRestriction());
|
| o.add(buildAppRestrictionsSchemaRestriction());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1909(core.List<api.AppRestrictionsSchemaRestriction> o) {
|
| +checkUnnamed2003(core.List<api.AppRestrictionsSchemaRestriction> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAppRestrictionsSchemaRestriction(o[0]);
|
| checkAppRestrictionsSchemaRestriction(o[1]);
|
| @@ -226,10 +226,10 @@ buildAppRestrictionsSchemaRestriction() {
|
| if (buildCounterAppRestrictionsSchemaRestriction < 3) {
|
| o.defaultValue = buildAppRestrictionsSchemaRestrictionRestrictionValue();
|
| o.description = "foo";
|
| - o.entry = buildUnnamed1907();
|
| - o.entryValue = buildUnnamed1908();
|
| + o.entry = buildUnnamed2001();
|
| + o.entryValue = buildUnnamed2002();
|
| o.key = "foo";
|
| - o.nestedRestriction = buildUnnamed1909();
|
| + o.nestedRestriction = buildUnnamed2003();
|
| o.restrictionType = "foo";
|
| o.title = "foo";
|
| }
|
| @@ -242,24 +242,24 @@ checkAppRestrictionsSchemaRestriction(api.AppRestrictionsSchemaRestriction o) {
|
| if (buildCounterAppRestrictionsSchemaRestriction < 3) {
|
| checkAppRestrictionsSchemaRestrictionRestrictionValue(o.defaultValue);
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| - checkUnnamed1907(o.entry);
|
| - checkUnnamed1908(o.entryValue);
|
| + checkUnnamed2001(o.entry);
|
| + checkUnnamed2002(o.entryValue);
|
| unittest.expect(o.key, unittest.equals('foo'));
|
| - checkUnnamed1909(o.nestedRestriction);
|
| + checkUnnamed2003(o.nestedRestriction);
|
| unittest.expect(o.restrictionType, unittest.equals('foo'));
|
| unittest.expect(o.title, unittest.equals('foo'));
|
| }
|
| buildCounterAppRestrictionsSchemaRestriction--;
|
| }
|
|
|
| -buildUnnamed1910() {
|
| +buildUnnamed2004() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1910(core.List<core.String> o) {
|
| +checkUnnamed2004(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'));
|
| @@ -273,7 +273,7 @@ buildAppRestrictionsSchemaRestrictionRestrictionValue() {
|
| o.type = "foo";
|
| o.valueBool = true;
|
| o.valueInteger = 42;
|
| - o.valueMultiselect = buildUnnamed1910();
|
| + o.valueMultiselect = buildUnnamed2004();
|
| o.valueString = "foo";
|
| }
|
| buildCounterAppRestrictionsSchemaRestrictionRestrictionValue--;
|
| @@ -286,7 +286,7 @@ checkAppRestrictionsSchemaRestrictionRestrictionValue(api.AppRestrictionsSchemaR
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| unittest.expect(o.valueBool, unittest.isTrue);
|
| unittest.expect(o.valueInteger, unittest.equals(42));
|
| - checkUnnamed1910(o.valueMultiselect);
|
| + checkUnnamed2004(o.valueMultiselect);
|
| unittest.expect(o.valueString, unittest.equals('foo'));
|
| }
|
| buildCounterAppRestrictionsSchemaRestrictionRestrictionValue--;
|
| @@ -418,14 +418,14 @@ checkDeviceState(api.DeviceState o) {
|
| buildCounterDeviceState--;
|
| }
|
|
|
| -buildUnnamed1911() {
|
| +buildUnnamed2005() {
|
| var o = new core.List<api.Device>();
|
| o.add(buildDevice());
|
| o.add(buildDevice());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1911(core.List<api.Device> o) {
|
| +checkUnnamed2005(core.List<api.Device> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDevice(o[0]);
|
| checkDevice(o[1]);
|
| @@ -436,7 +436,7 @@ buildDevicesListResponse() {
|
| var o = new api.DevicesListResponse();
|
| buildCounterDevicesListResponse++;
|
| if (buildCounterDevicesListResponse < 3) {
|
| - o.device = buildUnnamed1911();
|
| + o.device = buildUnnamed2005();
|
| o.kind = "foo";
|
| }
|
| buildCounterDevicesListResponse--;
|
| @@ -446,20 +446,20 @@ buildDevicesListResponse() {
|
| checkDevicesListResponse(api.DevicesListResponse o) {
|
| buildCounterDevicesListResponse++;
|
| if (buildCounterDevicesListResponse < 3) {
|
| - checkUnnamed1911(o.device);
|
| + checkUnnamed2005(o.device);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterDevicesListResponse--;
|
| }
|
|
|
| -buildUnnamed1912() {
|
| +buildUnnamed2006() {
|
| var o = new core.List<api.Administrator>();
|
| o.add(buildAdministrator());
|
| o.add(buildAdministrator());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1912(core.List<api.Administrator> o) {
|
| +checkUnnamed2006(core.List<api.Administrator> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAdministrator(o[0]);
|
| checkAdministrator(o[1]);
|
| @@ -470,7 +470,7 @@ buildEnterprise() {
|
| var o = new api.Enterprise();
|
| buildCounterEnterprise++;
|
| if (buildCounterEnterprise < 3) {
|
| - o.administrator = buildUnnamed1912();
|
| + o.administrator = buildUnnamed2006();
|
| o.id = "foo";
|
| o.kind = "foo";
|
| o.name = "foo";
|
| @@ -483,7 +483,7 @@ buildEnterprise() {
|
| checkEnterprise(api.Enterprise o) {
|
| buildCounterEnterprise++;
|
| if (buildCounterEnterprise < 3) {
|
| - checkUnnamed1912(o.administrator);
|
| + checkUnnamed2006(o.administrator);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| @@ -513,14 +513,14 @@ checkEnterpriseAccount(api.EnterpriseAccount o) {
|
| buildCounterEnterpriseAccount--;
|
| }
|
|
|
| -buildUnnamed1913() {
|
| +buildUnnamed2007() {
|
| var o = new core.List<api.Enterprise>();
|
| o.add(buildEnterprise());
|
| o.add(buildEnterprise());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1913(core.List<api.Enterprise> o) {
|
| +checkUnnamed2007(core.List<api.Enterprise> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkEnterprise(o[0]);
|
| checkEnterprise(o[1]);
|
| @@ -531,7 +531,7 @@ buildEnterprisesListResponse() {
|
| var o = new api.EnterprisesListResponse();
|
| buildCounterEnterprisesListResponse++;
|
| if (buildCounterEnterprisesListResponse < 3) {
|
| - o.enterprise = buildUnnamed1913();
|
| + o.enterprise = buildUnnamed2007();
|
| o.kind = "foo";
|
| }
|
| buildCounterEnterprisesListResponse--;
|
| @@ -541,7 +541,7 @@ buildEnterprisesListResponse() {
|
| checkEnterprisesListResponse(api.EnterprisesListResponse o) {
|
| buildCounterEnterprisesListResponse++;
|
| if (buildCounterEnterprisesListResponse < 3) {
|
| - checkUnnamed1913(o.enterprise);
|
| + checkUnnamed2007(o.enterprise);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterEnterprisesListResponse--;
|
| @@ -591,14 +591,14 @@ checkEntitlement(api.Entitlement o) {
|
| buildCounterEntitlement--;
|
| }
|
|
|
| -buildUnnamed1914() {
|
| +buildUnnamed2008() {
|
| var o = new core.List<api.Entitlement>();
|
| o.add(buildEntitlement());
|
| o.add(buildEntitlement());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1914(core.List<api.Entitlement> o) {
|
| +checkUnnamed2008(core.List<api.Entitlement> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkEntitlement(o[0]);
|
| checkEntitlement(o[1]);
|
| @@ -609,7 +609,7 @@ buildEntitlementsListResponse() {
|
| var o = new api.EntitlementsListResponse();
|
| buildCounterEntitlementsListResponse++;
|
| if (buildCounterEntitlementsListResponse < 3) {
|
| - o.entitlement = buildUnnamed1914();
|
| + o.entitlement = buildUnnamed2008();
|
| o.kind = "foo";
|
| }
|
| buildCounterEntitlementsListResponse--;
|
| @@ -619,7 +619,7 @@ buildEntitlementsListResponse() {
|
| checkEntitlementsListResponse(api.EntitlementsListResponse o) {
|
| buildCounterEntitlementsListResponse++;
|
| if (buildCounterEntitlementsListResponse < 3) {
|
| - checkUnnamed1914(o.entitlement);
|
| + checkUnnamed2008(o.entitlement);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterEntitlementsListResponse--;
|
| @@ -654,14 +654,14 @@ checkGroupLicense(api.GroupLicense o) {
|
| buildCounterGroupLicense--;
|
| }
|
|
|
| -buildUnnamed1915() {
|
| +buildUnnamed2009() {
|
| var o = new core.List<api.User>();
|
| o.add(buildUser());
|
| o.add(buildUser());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1915(core.List<api.User> o) {
|
| +checkUnnamed2009(core.List<api.User> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUser(o[0]);
|
| checkUser(o[1]);
|
| @@ -673,7 +673,7 @@ buildGroupLicenseUsersListResponse() {
|
| buildCounterGroupLicenseUsersListResponse++;
|
| if (buildCounterGroupLicenseUsersListResponse < 3) {
|
| o.kind = "foo";
|
| - o.user = buildUnnamed1915();
|
| + o.user = buildUnnamed2009();
|
| }
|
| buildCounterGroupLicenseUsersListResponse--;
|
| return o;
|
| @@ -683,19 +683,19 @@ checkGroupLicenseUsersListResponse(api.GroupLicenseUsersListResponse o) {
|
| buildCounterGroupLicenseUsersListResponse++;
|
| if (buildCounterGroupLicenseUsersListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed1915(o.user);
|
| + checkUnnamed2009(o.user);
|
| }
|
| buildCounterGroupLicenseUsersListResponse--;
|
| }
|
|
|
| -buildUnnamed1916() {
|
| +buildUnnamed2010() {
|
| var o = new core.List<api.GroupLicense>();
|
| o.add(buildGroupLicense());
|
| o.add(buildGroupLicense());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1916(core.List<api.GroupLicense> o) {
|
| +checkUnnamed2010(core.List<api.GroupLicense> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkGroupLicense(o[0]);
|
| checkGroupLicense(o[1]);
|
| @@ -706,7 +706,7 @@ buildGroupLicensesListResponse() {
|
| var o = new api.GroupLicensesListResponse();
|
| buildCounterGroupLicensesListResponse++;
|
| if (buildCounterGroupLicensesListResponse < 3) {
|
| - o.groupLicense = buildUnnamed1916();
|
| + o.groupLicense = buildUnnamed2010();
|
| o.kind = "foo";
|
| }
|
| buildCounterGroupLicensesListResponse--;
|
| @@ -716,7 +716,7 @@ buildGroupLicensesListResponse() {
|
| checkGroupLicensesListResponse(api.GroupLicensesListResponse o) {
|
| buildCounterGroupLicensesListResponse++;
|
| if (buildCounterGroupLicensesListResponse < 3) {
|
| - checkUnnamed1916(o.groupLicense);
|
| + checkUnnamed2010(o.groupLicense);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterGroupLicensesListResponse--;
|
| @@ -774,14 +774,14 @@ checkInstallFailureEvent(api.InstallFailureEvent o) {
|
| buildCounterInstallFailureEvent--;
|
| }
|
|
|
| -buildUnnamed1917() {
|
| +buildUnnamed2011() {
|
| var o = new core.List<api.Install>();
|
| o.add(buildInstall());
|
| o.add(buildInstall());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1917(core.List<api.Install> o) {
|
| +checkUnnamed2011(core.List<api.Install> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkInstall(o[0]);
|
| checkInstall(o[1]);
|
| @@ -792,7 +792,7 @@ buildInstallsListResponse() {
|
| var o = new api.InstallsListResponse();
|
| buildCounterInstallsListResponse++;
|
| if (buildCounterInstallsListResponse < 3) {
|
| - o.install = buildUnnamed1917();
|
| + o.install = buildUnnamed2011();
|
| o.kind = "foo";
|
| }
|
| buildCounterInstallsListResponse--;
|
| @@ -802,7 +802,7 @@ buildInstallsListResponse() {
|
| checkInstallsListResponse(api.InstallsListResponse o) {
|
| buildCounterInstallsListResponse++;
|
| if (buildCounterInstallsListResponse < 3) {
|
| - checkUnnamed1917(o.install);
|
| + checkUnnamed2011(o.install);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterInstallsListResponse--;
|
| @@ -829,14 +829,14 @@ checkLocalizedText(api.LocalizedText o) {
|
| buildCounterLocalizedText--;
|
| }
|
|
|
| -buildUnnamed1918() {
|
| +buildUnnamed2012() {
|
| var o = new core.List<api.ManagedProperty>();
|
| o.add(buildManagedProperty());
|
| o.add(buildManagedProperty());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1918(core.List<api.ManagedProperty> o) {
|
| +checkUnnamed2012(core.List<api.ManagedProperty> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkManagedProperty(o[0]);
|
| checkManagedProperty(o[1]);
|
| @@ -848,7 +848,7 @@ buildManagedConfiguration() {
|
| buildCounterManagedConfiguration++;
|
| if (buildCounterManagedConfiguration < 3) {
|
| o.kind = "foo";
|
| - o.managedProperty = buildUnnamed1918();
|
| + o.managedProperty = buildUnnamed2012();
|
| o.productId = "foo";
|
| }
|
| buildCounterManagedConfiguration--;
|
| @@ -859,20 +859,20 @@ checkManagedConfiguration(api.ManagedConfiguration o) {
|
| buildCounterManagedConfiguration++;
|
| if (buildCounterManagedConfiguration < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed1918(o.managedProperty);
|
| + checkUnnamed2012(o.managedProperty);
|
| unittest.expect(o.productId, unittest.equals('foo'));
|
| }
|
| buildCounterManagedConfiguration--;
|
| }
|
|
|
| -buildUnnamed1919() {
|
| +buildUnnamed2013() {
|
| var o = new core.List<api.ManagedConfiguration>();
|
| o.add(buildManagedConfiguration());
|
| o.add(buildManagedConfiguration());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1919(core.List<api.ManagedConfiguration> o) {
|
| +checkUnnamed2013(core.List<api.ManagedConfiguration> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkManagedConfiguration(o[0]);
|
| checkManagedConfiguration(o[1]);
|
| @@ -884,7 +884,7 @@ buildManagedConfigurationsForDeviceListResponse() {
|
| buildCounterManagedConfigurationsForDeviceListResponse++;
|
| if (buildCounterManagedConfigurationsForDeviceListResponse < 3) {
|
| o.kind = "foo";
|
| - o.managedConfigurationForDevice = buildUnnamed1919();
|
| + o.managedConfigurationForDevice = buildUnnamed2013();
|
| }
|
| buildCounterManagedConfigurationsForDeviceListResponse--;
|
| return o;
|
| @@ -894,19 +894,19 @@ checkManagedConfigurationsForDeviceListResponse(api.ManagedConfigurationsForDevi
|
| buildCounterManagedConfigurationsForDeviceListResponse++;
|
| if (buildCounterManagedConfigurationsForDeviceListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed1919(o.managedConfigurationForDevice);
|
| + checkUnnamed2013(o.managedConfigurationForDevice);
|
| }
|
| buildCounterManagedConfigurationsForDeviceListResponse--;
|
| }
|
|
|
| -buildUnnamed1920() {
|
| +buildUnnamed2014() {
|
| var o = new core.List<api.ManagedConfiguration>();
|
| o.add(buildManagedConfiguration());
|
| o.add(buildManagedConfiguration());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1920(core.List<api.ManagedConfiguration> o) {
|
| +checkUnnamed2014(core.List<api.ManagedConfiguration> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkManagedConfiguration(o[0]);
|
| checkManagedConfiguration(o[1]);
|
| @@ -918,7 +918,7 @@ buildManagedConfigurationsForUserListResponse() {
|
| buildCounterManagedConfigurationsForUserListResponse++;
|
| if (buildCounterManagedConfigurationsForUserListResponse < 3) {
|
| o.kind = "foo";
|
| - o.managedConfigurationForUser = buildUnnamed1920();
|
| + o.managedConfigurationForUser = buildUnnamed2014();
|
| }
|
| buildCounterManagedConfigurationsForUserListResponse--;
|
| return o;
|
| @@ -928,32 +928,32 @@ checkManagedConfigurationsForUserListResponse(api.ManagedConfigurationsForUserLi
|
| buildCounterManagedConfigurationsForUserListResponse++;
|
| if (buildCounterManagedConfigurationsForUserListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed1920(o.managedConfigurationForUser);
|
| + checkUnnamed2014(o.managedConfigurationForUser);
|
| }
|
| buildCounterManagedConfigurationsForUserListResponse--;
|
| }
|
|
|
| -buildUnnamed1921() {
|
| +buildUnnamed2015() {
|
| var o = new core.List<api.ManagedPropertyBundle>();
|
| o.add(buildManagedPropertyBundle());
|
| o.add(buildManagedPropertyBundle());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1921(core.List<api.ManagedPropertyBundle> o) {
|
| +checkUnnamed2015(core.List<api.ManagedPropertyBundle> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkManagedPropertyBundle(o[0]);
|
| checkManagedPropertyBundle(o[1]);
|
| }
|
|
|
| -buildUnnamed1922() {
|
| +buildUnnamed2016() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1922(core.List<core.String> o) {
|
| +checkUnnamed2016(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'));
|
| @@ -967,10 +967,10 @@ buildManagedProperty() {
|
| o.key = "foo";
|
| o.valueBool = true;
|
| o.valueBundle = buildManagedPropertyBundle();
|
| - o.valueBundleArray = buildUnnamed1921();
|
| + o.valueBundleArray = buildUnnamed2015();
|
| o.valueInteger = 42;
|
| o.valueString = "foo";
|
| - o.valueStringArray = buildUnnamed1922();
|
| + o.valueStringArray = buildUnnamed2016();
|
| }
|
| buildCounterManagedProperty--;
|
| return o;
|
| @@ -982,22 +982,22 @@ checkManagedProperty(api.ManagedProperty o) {
|
| unittest.expect(o.key, unittest.equals('foo'));
|
| unittest.expect(o.valueBool, unittest.isTrue);
|
| checkManagedPropertyBundle(o.valueBundle);
|
| - checkUnnamed1921(o.valueBundleArray);
|
| + checkUnnamed2015(o.valueBundleArray);
|
| unittest.expect(o.valueInteger, unittest.equals(42));
|
| unittest.expect(o.valueString, unittest.equals('foo'));
|
| - checkUnnamed1922(o.valueStringArray);
|
| + checkUnnamed2016(o.valueStringArray);
|
| }
|
| buildCounterManagedProperty--;
|
| }
|
|
|
| -buildUnnamed1923() {
|
| +buildUnnamed2017() {
|
| var o = new core.List<api.ManagedProperty>();
|
| o.add(buildManagedProperty());
|
| o.add(buildManagedProperty());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1923(core.List<api.ManagedProperty> o) {
|
| +checkUnnamed2017(core.List<api.ManagedProperty> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkManagedProperty(o[0]);
|
| checkManagedProperty(o[1]);
|
| @@ -1008,7 +1008,7 @@ buildManagedPropertyBundle() {
|
| var o = new api.ManagedPropertyBundle();
|
| buildCounterManagedPropertyBundle++;
|
| if (buildCounterManagedPropertyBundle < 3) {
|
| - o.managedProperty = buildUnnamed1923();
|
| + o.managedProperty = buildUnnamed2017();
|
| }
|
| buildCounterManagedPropertyBundle--;
|
| return o;
|
| @@ -1017,7 +1017,7 @@ buildManagedPropertyBundle() {
|
| checkManagedPropertyBundle(api.ManagedPropertyBundle o) {
|
| buildCounterManagedPropertyBundle++;
|
| if (buildCounterManagedPropertyBundle < 3) {
|
| - checkUnnamed1923(o.managedProperty);
|
| + checkUnnamed2017(o.managedProperty);
|
| }
|
| buildCounterManagedPropertyBundle--;
|
| }
|
| @@ -1045,27 +1045,27 @@ checkNewDeviceEvent(api.NewDeviceEvent o) {
|
| buildCounterNewDeviceEvent--;
|
| }
|
|
|
| -buildUnnamed1924() {
|
| +buildUnnamed2018() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1924(core.List<core.String> o) {
|
| +checkUnnamed2018(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'));
|
| }
|
|
|
| -buildUnnamed1925() {
|
| +buildUnnamed2019() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1925(core.List<core.String> o) {
|
| +checkUnnamed2019(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'));
|
| @@ -1076,9 +1076,9 @@ buildNewPermissionsEvent() {
|
| var o = new api.NewPermissionsEvent();
|
| buildCounterNewPermissionsEvent++;
|
| if (buildCounterNewPermissionsEvent < 3) {
|
| - o.approvedPermissions = buildUnnamed1924();
|
| + o.approvedPermissions = buildUnnamed2018();
|
| o.productId = "foo";
|
| - o.requestedPermissions = buildUnnamed1925();
|
| + o.requestedPermissions = buildUnnamed2019();
|
| }
|
| buildCounterNewPermissionsEvent--;
|
| return o;
|
| @@ -1087,9 +1087,9 @@ buildNewPermissionsEvent() {
|
| checkNewPermissionsEvent(api.NewPermissionsEvent o) {
|
| buildCounterNewPermissionsEvent++;
|
| if (buildCounterNewPermissionsEvent < 3) {
|
| - checkUnnamed1924(o.approvedPermissions);
|
| + checkUnnamed2018(o.approvedPermissions);
|
| unittest.expect(o.productId, unittest.equals('foo'));
|
| - checkUnnamed1925(o.requestedPermissions);
|
| + checkUnnamed2019(o.requestedPermissions);
|
| }
|
| buildCounterNewPermissionsEvent--;
|
| }
|
| @@ -1129,14 +1129,14 @@ checkNotification(api.Notification o) {
|
| buildCounterNotification--;
|
| }
|
|
|
| -buildUnnamed1926() {
|
| +buildUnnamed2020() {
|
| var o = new core.List<api.Notification>();
|
| o.add(buildNotification());
|
| o.add(buildNotification());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1926(core.List<api.Notification> o) {
|
| +checkUnnamed2020(core.List<api.Notification> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkNotification(o[0]);
|
| checkNotification(o[1]);
|
| @@ -1148,7 +1148,7 @@ buildNotificationSet() {
|
| buildCounterNotificationSet++;
|
| if (buildCounterNotificationSet < 3) {
|
| o.kind = "foo";
|
| - o.notification = buildUnnamed1926();
|
| + o.notification = buildUnnamed2020();
|
| o.notificationSetId = "foo";
|
| }
|
| buildCounterNotificationSet--;
|
| @@ -1159,7 +1159,7 @@ checkNotificationSet(api.NotificationSet o) {
|
| buildCounterNotificationSet++;
|
| if (buildCounterNotificationSet < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed1926(o.notification);
|
| + checkUnnamed2020(o.notification);
|
| unittest.expect(o.notificationSetId, unittest.equals('foo'));
|
| }
|
| buildCounterNotificationSet--;
|
| @@ -1213,14 +1213,14 @@ checkPermission(api.Permission o) {
|
| buildCounterPermission--;
|
| }
|
|
|
| -buildUnnamed1927() {
|
| +buildUnnamed2021() {
|
| var o = new core.List<api.AppVersion>();
|
| o.add(buildAppVersion());
|
| o.add(buildAppVersion());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1927(core.List<api.AppVersion> o) {
|
| +checkUnnamed2021(core.List<api.AppVersion> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAppVersion(o[0]);
|
| checkAppVersion(o[1]);
|
| @@ -1231,7 +1231,7 @@ buildProduct() {
|
| var o = new api.Product();
|
| buildCounterProduct++;
|
| if (buildCounterProduct < 3) {
|
| - o.appVersion = buildUnnamed1927();
|
| + o.appVersion = buildUnnamed2021();
|
| o.authorName = "foo";
|
| o.detailsUrl = "foo";
|
| o.distributionChannel = "foo";
|
| @@ -1251,7 +1251,7 @@ buildProduct() {
|
| checkProduct(api.Product o) {
|
| buildCounterProduct++;
|
| if (buildCounterProduct < 3) {
|
| - checkUnnamed1927(o.appVersion);
|
| + checkUnnamed2021(o.appVersion);
|
| unittest.expect(o.authorName, unittest.equals('foo'));
|
| unittest.expect(o.detailsUrl, unittest.equals('foo'));
|
| unittest.expect(o.distributionChannel, unittest.equals('foo'));
|
| @@ -1330,14 +1330,14 @@ checkProductPermission(api.ProductPermission o) {
|
| buildCounterProductPermission--;
|
| }
|
|
|
| -buildUnnamed1928() {
|
| +buildUnnamed2022() {
|
| var o = new core.List<api.ProductPermission>();
|
| o.add(buildProductPermission());
|
| o.add(buildProductPermission());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1928(core.List<api.ProductPermission> o) {
|
| +checkUnnamed2022(core.List<api.ProductPermission> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkProductPermission(o[0]);
|
| checkProductPermission(o[1]);
|
| @@ -1349,7 +1349,7 @@ buildProductPermissions() {
|
| buildCounterProductPermissions++;
|
| if (buildCounterProductPermissions < 3) {
|
| o.kind = "foo";
|
| - o.permission = buildUnnamed1928();
|
| + o.permission = buildUnnamed2022();
|
| o.productId = "foo";
|
| }
|
| buildCounterProductPermissions--;
|
| @@ -1360,20 +1360,20 @@ checkProductPermissions(api.ProductPermissions o) {
|
| buildCounterProductPermissions++;
|
| if (buildCounterProductPermissions < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed1928(o.permission);
|
| + checkUnnamed2022(o.permission);
|
| unittest.expect(o.productId, unittest.equals('foo'));
|
| }
|
| buildCounterProductPermissions--;
|
| }
|
|
|
| -buildUnnamed1929() {
|
| +buildUnnamed2023() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1929(core.List<core.String> o) {
|
| +checkUnnamed2023(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'));
|
| @@ -1385,7 +1385,7 @@ buildProductSet() {
|
| buildCounterProductSet++;
|
| if (buildCounterProductSet < 3) {
|
| o.kind = "foo";
|
| - o.productId = buildUnnamed1929();
|
| + o.productId = buildUnnamed2023();
|
| o.productSetBehavior = "foo";
|
| }
|
| buildCounterProductSet--;
|
| @@ -1396,7 +1396,7 @@ checkProductSet(api.ProductSet o) {
|
| buildCounterProductSet++;
|
| if (buildCounterProductSet < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed1929(o.productId);
|
| + checkUnnamed2023(o.productId);
|
| unittest.expect(o.productSetBehavior, unittest.equals('foo'));
|
| }
|
| buildCounterProductSet--;
|
| @@ -1440,14 +1440,14 @@ checkProductsGenerateApprovalUrlResponse(api.ProductsGenerateApprovalUrlResponse
|
| buildCounterProductsGenerateApprovalUrlResponse--;
|
| }
|
|
|
| -buildUnnamed1930() {
|
| +buildUnnamed2024() {
|
| var o = new core.List<api.Product>();
|
| o.add(buildProduct());
|
| o.add(buildProduct());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1930(core.List<api.Product> o) {
|
| +checkUnnamed2024(core.List<api.Product> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkProduct(o[0]);
|
| checkProduct(o[1]);
|
| @@ -1460,7 +1460,7 @@ buildProductsListResponse() {
|
| if (buildCounterProductsListResponse < 3) {
|
| o.kind = "foo";
|
| o.pageInfo = buildPageInfo();
|
| - o.product = buildUnnamed1930();
|
| + o.product = buildUnnamed2024();
|
| o.tokenPagination = buildTokenPagination();
|
| }
|
| buildCounterProductsListResponse--;
|
| @@ -1472,7 +1472,7 @@ checkProductsListResponse(api.ProductsListResponse o) {
|
| if (buildCounterProductsListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| checkPageInfo(o.pageInfo);
|
| - checkUnnamed1930(o.product);
|
| + checkUnnamed2024(o.product);
|
| checkTokenPagination(o.tokenPagination);
|
| }
|
| buildCounterProductsListResponse--;
|
| @@ -1528,14 +1528,14 @@ checkServiceAccountKey(api.ServiceAccountKey o) {
|
| buildCounterServiceAccountKey--;
|
| }
|
|
|
| -buildUnnamed1931() {
|
| +buildUnnamed2025() {
|
| var o = new core.List<api.ServiceAccountKey>();
|
| o.add(buildServiceAccountKey());
|
| o.add(buildServiceAccountKey());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1931(core.List<api.ServiceAccountKey> o) {
|
| +checkUnnamed2025(core.List<api.ServiceAccountKey> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkServiceAccountKey(o[0]);
|
| checkServiceAccountKey(o[1]);
|
| @@ -1546,7 +1546,7 @@ buildServiceAccountKeysListResponse() {
|
| var o = new api.ServiceAccountKeysListResponse();
|
| buildCounterServiceAccountKeysListResponse++;
|
| if (buildCounterServiceAccountKeysListResponse < 3) {
|
| - o.serviceAccountKey = buildUnnamed1931();
|
| + o.serviceAccountKey = buildUnnamed2025();
|
| }
|
| buildCounterServiceAccountKeysListResponse--;
|
| return o;
|
| @@ -1555,7 +1555,7 @@ buildServiceAccountKeysListResponse() {
|
| checkServiceAccountKeysListResponse(api.ServiceAccountKeysListResponse o) {
|
| buildCounterServiceAccountKeysListResponse++;
|
| if (buildCounterServiceAccountKeysListResponse < 3) {
|
| - checkUnnamed1931(o.serviceAccountKey);
|
| + checkUnnamed2025(o.serviceAccountKey);
|
| }
|
| buildCounterServiceAccountKeysListResponse--;
|
| }
|
| @@ -1583,27 +1583,27 @@ checkSignupInfo(api.SignupInfo o) {
|
| buildCounterSignupInfo--;
|
| }
|
|
|
| -buildUnnamed1932() {
|
| +buildUnnamed2026() {
|
| var o = new core.List<api.LocalizedText>();
|
| o.add(buildLocalizedText());
|
| o.add(buildLocalizedText());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1932(core.List<api.LocalizedText> o) {
|
| +checkUnnamed2026(core.List<api.LocalizedText> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLocalizedText(o[0]);
|
| checkLocalizedText(o[1]);
|
| }
|
|
|
| -buildUnnamed1933() {
|
| +buildUnnamed2027() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1933(core.List<core.String> o) {
|
| +checkUnnamed2027(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'));
|
| @@ -1616,9 +1616,9 @@ buildStoreCluster() {
|
| if (buildCounterStoreCluster < 3) {
|
| o.id = "foo";
|
| o.kind = "foo";
|
| - o.name = buildUnnamed1932();
|
| + o.name = buildUnnamed2026();
|
| o.orderInPage = "foo";
|
| - o.productId = buildUnnamed1933();
|
| + o.productId = buildUnnamed2027();
|
| }
|
| buildCounterStoreCluster--;
|
| return o;
|
| @@ -1629,9 +1629,9 @@ checkStoreCluster(api.StoreCluster o) {
|
| if (buildCounterStoreCluster < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed1932(o.name);
|
| + checkUnnamed2026(o.name);
|
| unittest.expect(o.orderInPage, unittest.equals('foo'));
|
| - checkUnnamed1933(o.productId);
|
| + checkUnnamed2027(o.productId);
|
| }
|
| buildCounterStoreCluster--;
|
| }
|
| @@ -1659,14 +1659,14 @@ checkStoreLayout(api.StoreLayout o) {
|
| buildCounterStoreLayout--;
|
| }
|
|
|
| -buildUnnamed1934() {
|
| +buildUnnamed2028() {
|
| var o = new core.List<api.StoreCluster>();
|
| o.add(buildStoreCluster());
|
| o.add(buildStoreCluster());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1934(core.List<api.StoreCluster> o) {
|
| +checkUnnamed2028(core.List<api.StoreCluster> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkStoreCluster(o[0]);
|
| checkStoreCluster(o[1]);
|
| @@ -1677,7 +1677,7 @@ buildStoreLayoutClustersListResponse() {
|
| var o = new api.StoreLayoutClustersListResponse();
|
| buildCounterStoreLayoutClustersListResponse++;
|
| if (buildCounterStoreLayoutClustersListResponse < 3) {
|
| - o.cluster = buildUnnamed1934();
|
| + o.cluster = buildUnnamed2028();
|
| o.kind = "foo";
|
| }
|
| buildCounterStoreLayoutClustersListResponse--;
|
| @@ -1687,20 +1687,20 @@ buildStoreLayoutClustersListResponse() {
|
| checkStoreLayoutClustersListResponse(api.StoreLayoutClustersListResponse o) {
|
| buildCounterStoreLayoutClustersListResponse++;
|
| if (buildCounterStoreLayoutClustersListResponse < 3) {
|
| - checkUnnamed1934(o.cluster);
|
| + checkUnnamed2028(o.cluster);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterStoreLayoutClustersListResponse--;
|
| }
|
|
|
| -buildUnnamed1935() {
|
| +buildUnnamed2029() {
|
| var o = new core.List<api.StorePage>();
|
| o.add(buildStorePage());
|
| o.add(buildStorePage());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1935(core.List<api.StorePage> o) {
|
| +checkUnnamed2029(core.List<api.StorePage> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkStorePage(o[0]);
|
| checkStorePage(o[1]);
|
| @@ -1712,7 +1712,7 @@ buildStoreLayoutPagesListResponse() {
|
| buildCounterStoreLayoutPagesListResponse++;
|
| if (buildCounterStoreLayoutPagesListResponse < 3) {
|
| o.kind = "foo";
|
| - o.page = buildUnnamed1935();
|
| + o.page = buildUnnamed2029();
|
| }
|
| buildCounterStoreLayoutPagesListResponse--;
|
| return o;
|
| @@ -1722,32 +1722,32 @@ checkStoreLayoutPagesListResponse(api.StoreLayoutPagesListResponse o) {
|
| buildCounterStoreLayoutPagesListResponse++;
|
| if (buildCounterStoreLayoutPagesListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed1935(o.page);
|
| + checkUnnamed2029(o.page);
|
| }
|
| buildCounterStoreLayoutPagesListResponse--;
|
| }
|
|
|
| -buildUnnamed1936() {
|
| +buildUnnamed2030() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1936(core.List<core.String> o) {
|
| +checkUnnamed2030(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'));
|
| }
|
|
|
| -buildUnnamed1937() {
|
| +buildUnnamed2031() {
|
| var o = new core.List<api.LocalizedText>();
|
| o.add(buildLocalizedText());
|
| o.add(buildLocalizedText());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1937(core.List<api.LocalizedText> o) {
|
| +checkUnnamed2031(core.List<api.LocalizedText> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLocalizedText(o[0]);
|
| checkLocalizedText(o[1]);
|
| @@ -1760,8 +1760,8 @@ buildStorePage() {
|
| if (buildCounterStorePage < 3) {
|
| o.id = "foo";
|
| o.kind = "foo";
|
| - o.link = buildUnnamed1936();
|
| - o.name = buildUnnamed1937();
|
| + o.link = buildUnnamed2030();
|
| + o.name = buildUnnamed2031();
|
| }
|
| buildCounterStorePage--;
|
| return o;
|
| @@ -1772,8 +1772,8 @@ checkStorePage(api.StorePage o) {
|
| if (buildCounterStorePage < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed1936(o.link);
|
| - checkUnnamed1937(o.name);
|
| + checkUnnamed2030(o.link);
|
| + checkUnnamed2031(o.name);
|
| }
|
| buildCounterStorePage--;
|
| }
|
| @@ -1853,14 +1853,14 @@ checkUserToken(api.UserToken o) {
|
| buildCounterUserToken--;
|
| }
|
|
|
| -buildUnnamed1938() {
|
| +buildUnnamed2032() {
|
| var o = new core.List<api.User>();
|
| o.add(buildUser());
|
| o.add(buildUser());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1938(core.List<api.User> o) {
|
| +checkUnnamed2032(core.List<api.User> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUser(o[0]);
|
| checkUser(o[1]);
|
| @@ -1872,7 +1872,7 @@ buildUsersListResponse() {
|
| buildCounterUsersListResponse++;
|
| if (buildCounterUsersListResponse < 3) {
|
| o.kind = "foo";
|
| - o.user = buildUnnamed1938();
|
| + o.user = buildUnnamed2032();
|
| }
|
| buildCounterUsersListResponse--;
|
| return o;
|
| @@ -1882,7 +1882,7 @@ checkUsersListResponse(api.UsersListResponse o) {
|
| buildCounterUsersListResponse++;
|
| if (buildCounterUsersListResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed1938(o.user);
|
| + checkUnnamed2032(o.user);
|
| }
|
| buildCounterUsersListResponse--;
|
| }
|
| @@ -5595,71 +5595,6 @@ main() {
|
| res.unapprove(arg_enterpriseId, arg_productId).then(unittest.expectAsync((_) {}));
|
| });
|
|
|
| - unittest.test("method--updatePermissions", () {
|
| -
|
| - var mock = new HttpServerMock();
|
| - api.ProductsResourceApi res = new api.AndroidenterpriseApi(mock).products;
|
| - var arg_request = buildProductPermissions();
|
| - var arg_enterpriseId = "foo";
|
| - var arg_productId = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| - var obj = new api.ProductPermissions.fromJson(json);
|
| - checkProductPermissions(obj);
|
| -
|
| - var path = (req.url).path;
|
| - var pathOffset = 0;
|
| - var index;
|
| - var subPart;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| - pathOffset += 1;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.equals("androidenterprise/v1/"));
|
| - pathOffset += 21;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("enterprises/"));
|
| - pathOffset += 12;
|
| - index = path.indexOf("/products/", pathOffset);
|
| - unittest.expect(index >= 0, unittest.isTrue);
|
| - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| - pathOffset = index;
|
| - unittest.expect(subPart, unittest.equals("$arg_enterpriseId"));
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.equals("/products/"));
|
| - pathOffset += 10;
|
| - index = path.indexOf("/permissions", pathOffset);
|
| - unittest.expect(index >= 0, unittest.isTrue);
|
| - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| - pathOffset = index;
|
| - unittest.expect(subPart, unittest.equals("$arg_productId"));
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("/permissions"));
|
| - pathOffset += 12;
|
| -
|
| - var query = (req.url).query;
|
| - var queryOffset = 0;
|
| - var queryMap = {};
|
| - addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
|
| - parseBool(n) {
|
| - if (n == "true") return true;
|
| - if (n == "false") return false;
|
| - if (n == null) return null;
|
| - throw new core.ArgumentError("Invalid boolean: $n");
|
| - }
|
| - if (query.length > 0) {
|
| - for (var part in query.split("&")) {
|
| - var keyvalue = part.split("=");
|
| - addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| - }
|
| - }
|
| -
|
| -
|
| - var h = {
|
| - "content-type" : "application/json; charset=utf-8",
|
| - };
|
| - var resp = convert.JSON.encode(buildProductPermissions());
|
| - return new async.Future.value(stringResponse(200, h, resp));
|
| - }), true);
|
| - res.updatePermissions(arg_request, arg_enterpriseId, arg_productId).then(unittest.expectAsync(((api.ProductPermissions response) {
|
| - checkProductPermissions(response);
|
| - })));
|
| - });
|
| -
|
| });
|
|
|
|
|
|
|