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

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

Issue 1296863002: Api-roll 22: 2015-08-17 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 5 years, 4 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/androidenterprise/v1_test.dart
diff --git a/generated/googleapis/test/androidenterprise/v1_test.dart b/generated/googleapis/test/androidenterprise/v1_test.dart
index 6abf5f9592597ce2c5572f1089a6c664a2fd5222..c10b3e405246f3c15029774af2ba6dcf7c3eff1a 100644
--- a/generated/googleapis/test/androidenterprise/v1_test.dart
+++ b/generated/googleapis/test/androidenterprise/v1_test.dart
@@ -51,14 +51,14 @@ http.StreamedResponse stringResponse(
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed292() {
+buildUnnamed1616() {
var o = new core.List<api.AppRestrictionsSchemaRestriction>();
o.add(buildAppRestrictionsSchemaRestriction());
o.add(buildAppRestrictionsSchemaRestriction());
return o;
}
-checkUnnamed292(core.List<api.AppRestrictionsSchemaRestriction> o) {
+checkUnnamed1616(core.List<api.AppRestrictionsSchemaRestriction> o) {
unittest.expect(o, unittest.hasLength(2));
checkAppRestrictionsSchemaRestriction(o[0]);
checkAppRestrictionsSchemaRestriction(o[1]);
@@ -70,7 +70,7 @@ buildAppRestrictionsSchema() {
buildCounterAppRestrictionsSchema++;
if (buildCounterAppRestrictionsSchema < 3) {
o.kind = "foo";
- o.restrictions = buildUnnamed292();
+ o.restrictions = buildUnnamed1616();
}
buildCounterAppRestrictionsSchema--;
return o;
@@ -80,32 +80,32 @@ checkAppRestrictionsSchema(api.AppRestrictionsSchema o) {
buildCounterAppRestrictionsSchema++;
if (buildCounterAppRestrictionsSchema < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed292(o.restrictions);
+ checkUnnamed1616(o.restrictions);
}
buildCounterAppRestrictionsSchema--;
}
-buildUnnamed293() {
+buildUnnamed1617() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed293(core.List<core.String> o) {
+checkUnnamed1617(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'));
}
-buildUnnamed294() {
+buildUnnamed1618() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed294(core.List<core.String> o) {
+checkUnnamed1618(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -118,8 +118,8 @@ buildAppRestrictionsSchemaRestriction() {
if (buildCounterAppRestrictionsSchemaRestriction < 3) {
o.defaultValue = buildAppRestrictionsSchemaRestrictionRestrictionValue();
o.description = "foo";
- o.entry = buildUnnamed293();
- o.entryValue = buildUnnamed294();
+ o.entry = buildUnnamed1617();
+ o.entryValue = buildUnnamed1618();
o.key = "foo";
o.restrictionType = "foo";
o.title = "foo";
@@ -133,8 +133,8 @@ checkAppRestrictionsSchemaRestriction(api.AppRestrictionsSchemaRestriction o) {
if (buildCounterAppRestrictionsSchemaRestriction < 3) {
checkAppRestrictionsSchemaRestrictionRestrictionValue(o.defaultValue);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed293(o.entry);
- checkUnnamed294(o.entryValue);
+ checkUnnamed1617(o.entry);
+ checkUnnamed1618(o.entryValue);
unittest.expect(o.key, unittest.equals('foo'));
unittest.expect(o.restrictionType, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
@@ -142,14 +142,14 @@ checkAppRestrictionsSchemaRestriction(api.AppRestrictionsSchemaRestriction o) {
buildCounterAppRestrictionsSchemaRestriction--;
}
-buildUnnamed295() {
+buildUnnamed1619() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed295(core.List<core.String> o) {
+checkUnnamed1619(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'));
@@ -163,7 +163,7 @@ buildAppRestrictionsSchemaRestrictionRestrictionValue() {
o.type = "foo";
o.valueBool = true;
o.valueInteger = 42;
- o.valueMultiselect = buildUnnamed295();
+ o.valueMultiselect = buildUnnamed1619();
o.valueString = "foo";
}
buildCounterAppRestrictionsSchemaRestrictionRestrictionValue--;
@@ -176,7 +176,7 @@ checkAppRestrictionsSchemaRestrictionRestrictionValue(api.AppRestrictionsSchemaR
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.valueBool, unittest.isTrue);
unittest.expect(o.valueInteger, unittest.equals(42));
- checkUnnamed295(o.valueMultiselect);
+ checkUnnamed1619(o.valueMultiselect);
unittest.expect(o.valueString, unittest.equals('foo'));
}
buildCounterAppRestrictionsSchemaRestrictionRestrictionValue--;
@@ -224,14 +224,14 @@ checkApprovalUrlInfo(api.ApprovalUrlInfo o) {
buildCounterApprovalUrlInfo--;
}
-buildUnnamed296() {
+buildUnnamed1620() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed296(core.List<core.String> o) {
+checkUnnamed1620(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 @@ buildCollection() {
o.collectionId = "foo";
o.kind = "foo";
o.name = "foo";
- o.productId = buildUnnamed296();
+ o.productId = buildUnnamed1620();
o.visibility = "foo";
}
buildCounterCollection--;
@@ -258,20 +258,20 @@ checkCollection(api.Collection o) {
unittest.expect(o.collectionId, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed296(o.productId);
+ checkUnnamed1620(o.productId);
unittest.expect(o.visibility, unittest.equals('foo'));
}
buildCounterCollection--;
}
-buildUnnamed297() {
+buildUnnamed1621() {
var o = new core.List<api.User>();
o.add(buildUser());
o.add(buildUser());
return o;
}
-checkUnnamed297(core.List<api.User> o) {
+checkUnnamed1621(core.List<api.User> o) {
unittest.expect(o, unittest.hasLength(2));
checkUser(o[0]);
checkUser(o[1]);
@@ -283,7 +283,7 @@ buildCollectionViewersListResponse() {
buildCounterCollectionViewersListResponse++;
if (buildCounterCollectionViewersListResponse < 3) {
o.kind = "foo";
- o.user = buildUnnamed297();
+ o.user = buildUnnamed1621();
}
buildCounterCollectionViewersListResponse--;
return o;
@@ -293,19 +293,19 @@ checkCollectionViewersListResponse(api.CollectionViewersListResponse o) {
buildCounterCollectionViewersListResponse++;
if (buildCounterCollectionViewersListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed297(o.user);
+ checkUnnamed1621(o.user);
}
buildCounterCollectionViewersListResponse--;
}
-buildUnnamed298() {
+buildUnnamed1622() {
var o = new core.List<api.Collection>();
o.add(buildCollection());
o.add(buildCollection());
return o;
}
-checkUnnamed298(core.List<api.Collection> o) {
+checkUnnamed1622(core.List<api.Collection> o) {
unittest.expect(o, unittest.hasLength(2));
checkCollection(o[0]);
checkCollection(o[1]);
@@ -316,7 +316,7 @@ buildCollectionsListResponse() {
var o = new api.CollectionsListResponse();
buildCounterCollectionsListResponse++;
if (buildCounterCollectionsListResponse < 3) {
- o.collection = buildUnnamed298();
+ o.collection = buildUnnamed1622();
o.kind = "foo";
}
buildCounterCollectionsListResponse--;
@@ -326,7 +326,7 @@ buildCollectionsListResponse() {
checkCollectionsListResponse(api.CollectionsListResponse o) {
buildCounterCollectionsListResponse++;
if (buildCounterCollectionsListResponse < 3) {
- checkUnnamed298(o.collection);
+ checkUnnamed1622(o.collection);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCollectionsListResponse--;
@@ -376,14 +376,14 @@ checkDeviceState(api.DeviceState o) {
buildCounterDeviceState--;
}
-buildUnnamed299() {
+buildUnnamed1623() {
var o = new core.List<api.Device>();
o.add(buildDevice());
o.add(buildDevice());
return o;
}
-checkUnnamed299(core.List<api.Device> o) {
+checkUnnamed1623(core.List<api.Device> o) {
unittest.expect(o, unittest.hasLength(2));
checkDevice(o[0]);
checkDevice(o[1]);
@@ -394,7 +394,7 @@ buildDevicesListResponse() {
var o = new api.DevicesListResponse();
buildCounterDevicesListResponse++;
if (buildCounterDevicesListResponse < 3) {
- o.device = buildUnnamed299();
+ o.device = buildUnnamed1623();
o.kind = "foo";
}
buildCounterDevicesListResponse--;
@@ -404,7 +404,7 @@ buildDevicesListResponse() {
checkDevicesListResponse(api.DevicesListResponse o) {
buildCounterDevicesListResponse++;
if (buildCounterDevicesListResponse < 3) {
- checkUnnamed299(o.device);
+ checkUnnamed1623(o.device);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDevicesListResponse--;
@@ -456,14 +456,14 @@ checkEnterpriseAccount(api.EnterpriseAccount o) {
buildCounterEnterpriseAccount--;
}
-buildUnnamed300() {
+buildUnnamed1624() {
var o = new core.List<api.Enterprise>();
o.add(buildEnterprise());
o.add(buildEnterprise());
return o;
}
-checkUnnamed300(core.List<api.Enterprise> o) {
+checkUnnamed1624(core.List<api.Enterprise> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnterprise(o[0]);
checkEnterprise(o[1]);
@@ -474,7 +474,7 @@ buildEnterprisesListResponse() {
var o = new api.EnterprisesListResponse();
buildCounterEnterprisesListResponse++;
if (buildCounterEnterprisesListResponse < 3) {
- o.enterprise = buildUnnamed300();
+ o.enterprise = buildUnnamed1624();
o.kind = "foo";
}
buildCounterEnterprisesListResponse--;
@@ -484,7 +484,7 @@ buildEnterprisesListResponse() {
checkEnterprisesListResponse(api.EnterprisesListResponse o) {
buildCounterEnterprisesListResponse++;
if (buildCounterEnterprisesListResponse < 3) {
- checkUnnamed300(o.enterprise);
+ checkUnnamed1624(o.enterprise);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterEnterprisesListResponse--;
@@ -513,14 +513,14 @@ checkEntitlement(api.Entitlement o) {
buildCounterEntitlement--;
}
-buildUnnamed301() {
+buildUnnamed1625() {
var o = new core.List<api.Entitlement>();
o.add(buildEntitlement());
o.add(buildEntitlement());
return o;
}
-checkUnnamed301(core.List<api.Entitlement> o) {
+checkUnnamed1625(core.List<api.Entitlement> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntitlement(o[0]);
checkEntitlement(o[1]);
@@ -531,7 +531,7 @@ buildEntitlementsListResponse() {
var o = new api.EntitlementsListResponse();
buildCounterEntitlementsListResponse++;
if (buildCounterEntitlementsListResponse < 3) {
- o.entitlement = buildUnnamed301();
+ o.entitlement = buildUnnamed1625();
o.kind = "foo";
}
buildCounterEntitlementsListResponse--;
@@ -541,7 +541,7 @@ buildEntitlementsListResponse() {
checkEntitlementsListResponse(api.EntitlementsListResponse o) {
buildCounterEntitlementsListResponse++;
if (buildCounterEntitlementsListResponse < 3) {
- checkUnnamed301(o.entitlement);
+ checkUnnamed1625(o.entitlement);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterEntitlementsListResponse--;
@@ -576,14 +576,14 @@ checkGroupLicense(api.GroupLicense o) {
buildCounterGroupLicense--;
}
-buildUnnamed302() {
+buildUnnamed1626() {
var o = new core.List<api.User>();
o.add(buildUser());
o.add(buildUser());
return o;
}
-checkUnnamed302(core.List<api.User> o) {
+checkUnnamed1626(core.List<api.User> o) {
unittest.expect(o, unittest.hasLength(2));
checkUser(o[0]);
checkUser(o[1]);
@@ -595,7 +595,7 @@ buildGroupLicenseUsersListResponse() {
buildCounterGroupLicenseUsersListResponse++;
if (buildCounterGroupLicenseUsersListResponse < 3) {
o.kind = "foo";
- o.user = buildUnnamed302();
+ o.user = buildUnnamed1626();
}
buildCounterGroupLicenseUsersListResponse--;
return o;
@@ -605,19 +605,19 @@ checkGroupLicenseUsersListResponse(api.GroupLicenseUsersListResponse o) {
buildCounterGroupLicenseUsersListResponse++;
if (buildCounterGroupLicenseUsersListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed302(o.user);
+ checkUnnamed1626(o.user);
}
buildCounterGroupLicenseUsersListResponse--;
}
-buildUnnamed303() {
+buildUnnamed1627() {
var o = new core.List<api.GroupLicense>();
o.add(buildGroupLicense());
o.add(buildGroupLicense());
return o;
}
-checkUnnamed303(core.List<api.GroupLicense> o) {
+checkUnnamed1627(core.List<api.GroupLicense> o) {
unittest.expect(o, unittest.hasLength(2));
checkGroupLicense(o[0]);
checkGroupLicense(o[1]);
@@ -628,7 +628,7 @@ buildGroupLicensesListResponse() {
var o = new api.GroupLicensesListResponse();
buildCounterGroupLicensesListResponse++;
if (buildCounterGroupLicensesListResponse < 3) {
- o.groupLicense = buildUnnamed303();
+ o.groupLicense = buildUnnamed1627();
o.kind = "foo";
}
buildCounterGroupLicensesListResponse--;
@@ -638,7 +638,7 @@ buildGroupLicensesListResponse() {
checkGroupLicensesListResponse(api.GroupLicensesListResponse o) {
buildCounterGroupLicensesListResponse++;
if (buildCounterGroupLicensesListResponse < 3) {
- checkUnnamed303(o.groupLicense);
+ checkUnnamed1627(o.groupLicense);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterGroupLicensesListResponse--;
@@ -669,14 +669,14 @@ checkInstall(api.Install o) {
buildCounterInstall--;
}
-buildUnnamed304() {
+buildUnnamed1628() {
var o = new core.List<api.Install>();
o.add(buildInstall());
o.add(buildInstall());
return o;
}
-checkUnnamed304(core.List<api.Install> o) {
+checkUnnamed1628(core.List<api.Install> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstall(o[0]);
checkInstall(o[1]);
@@ -687,7 +687,7 @@ buildInstallsListResponse() {
var o = new api.InstallsListResponse();
buildCounterInstallsListResponse++;
if (buildCounterInstallsListResponse < 3) {
- o.install = buildUnnamed304();
+ o.install = buildUnnamed1628();
o.kind = "foo";
}
buildCounterInstallsListResponse--;
@@ -697,7 +697,7 @@ buildInstallsListResponse() {
checkInstallsListResponse(api.InstallsListResponse o) {
buildCounterInstallsListResponse++;
if (buildCounterInstallsListResponse < 3) {
- checkUnnamed304(o.install);
+ checkUnnamed1628(o.install);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterInstallsListResponse--;
@@ -728,14 +728,14 @@ checkPermission(api.Permission o) {
buildCounterPermission--;
}
-buildUnnamed305() {
+buildUnnamed1629() {
var o = new core.List<api.AppVersion>();
o.add(buildAppVersion());
o.add(buildAppVersion());
return o;
}
-checkUnnamed305(core.List<api.AppVersion> o) {
+checkUnnamed1629(core.List<api.AppVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkAppVersion(o[0]);
checkAppVersion(o[1]);
@@ -746,7 +746,7 @@ buildProduct() {
var o = new api.Product();
buildCounterProduct++;
if (buildCounterProduct < 3) {
- o.appVersion = buildUnnamed305();
+ o.appVersion = buildUnnamed1629();
o.authorName = "foo";
o.detailsUrl = "foo";
o.distributionChannel = "foo";
@@ -764,7 +764,7 @@ buildProduct() {
checkProduct(api.Product o) {
buildCounterProduct++;
if (buildCounterProduct < 3) {
- checkUnnamed305(o.appVersion);
+ checkUnnamed1629(o.appVersion);
unittest.expect(o.authorName, unittest.equals('foo'));
unittest.expect(o.detailsUrl, unittest.equals('foo'));
unittest.expect(o.distributionChannel, unittest.equals('foo'));
@@ -799,14 +799,14 @@ checkProductPermission(api.ProductPermission o) {
buildCounterProductPermission--;
}
-buildUnnamed306() {
+buildUnnamed1630() {
var o = new core.List<api.ProductPermission>();
o.add(buildProductPermission());
o.add(buildProductPermission());
return o;
}
-checkUnnamed306(core.List<api.ProductPermission> o) {
+checkUnnamed1630(core.List<api.ProductPermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductPermission(o[0]);
checkProductPermission(o[1]);
@@ -818,7 +818,7 @@ buildProductPermissions() {
buildCounterProductPermissions++;
if (buildCounterProductPermissions < 3) {
o.kind = "foo";
- o.permission = buildUnnamed306();
+ o.permission = buildUnnamed1630();
o.productId = "foo";
}
buildCounterProductPermissions--;
@@ -829,20 +829,20 @@ checkProductPermissions(api.ProductPermissions o) {
buildCounterProductPermissions++;
if (buildCounterProductPermissions < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed306(o.permission);
+ checkUnnamed1630(o.permission);
unittest.expect(o.productId, unittest.equals('foo'));
}
buildCounterProductPermissions--;
}
-buildUnnamed307() {
+buildUnnamed1631() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed307(core.List<core.String> o) {
+checkUnnamed1631(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -854,7 +854,7 @@ buildProductSet() {
buildCounterProductSet++;
if (buildCounterProductSet < 3) {
o.kind = "foo";
- o.productId = buildUnnamed307();
+ o.productId = buildUnnamed1631();
}
buildCounterProductSet--;
return o;
@@ -864,7 +864,7 @@ checkProductSet(api.ProductSet o) {
buildCounterProductSet++;
if (buildCounterProductSet < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed307(o.productId);
+ checkUnnamed1631(o.productId);
}
buildCounterProductSet--;
}
@@ -953,14 +953,14 @@ checkUserToken(api.UserToken o) {
buildCounterUserToken--;
}
-buildUnnamed308() {
+buildUnnamed1632() {
var o = new core.List<api.User>();
o.add(buildUser());
o.add(buildUser());
return o;
}
-checkUnnamed308(core.List<api.User> o) {
+checkUnnamed1632(core.List<api.User> o) {
unittest.expect(o, unittest.hasLength(2));
checkUser(o[0]);
checkUser(o[1]);
@@ -972,7 +972,7 @@ buildUsersListResponse() {
buildCounterUsersListResponse++;
if (buildCounterUsersListResponse < 3) {
o.kind = "foo";
- o.user = buildUnnamed308();
+ o.user = buildUnnamed1632();
}
buildCounterUsersListResponse--;
return o;
@@ -982,7 +982,7 @@ checkUsersListResponse(api.UsersListResponse o) {
buildCounterUsersListResponse++;
if (buildCounterUsersListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed308(o.user);
+ checkUnnamed1632(o.user);
}
buildCounterUsersListResponse--;
}
« no previous file with comments | « generated/googleapis/test/analytics/v3_test.dart ('k') | generated/googleapis/test/androidpublisher/v2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698