Index: generated/googleapis/test/admin/directory_v1_test.dart |
diff --git a/generated/googleapis/test/admin/directory_v1_test.dart b/generated/googleapis/test/admin/directory_v1_test.dart |
index f7c2e9713b7815cf383aaf6c32abbeb5db7845f4..ec6f0856f4bc005c3ac813c0dd751fe2c09f8a3e 100644 |
--- a/generated/googleapis/test/admin/directory_v1_test.dart |
+++ b/generated/googleapis/test/admin/directory_v1_test.dart |
@@ -78,14 +78,14 @@ checkAlias(api.Alias o) { |
buildCounterAlias--; |
} |
-buildUnnamed753() { |
+buildUnnamed138() { |
var o = new core.List<api.Alias>(); |
o.add(buildAlias()); |
o.add(buildAlias()); |
return o; |
} |
-checkUnnamed753(core.List<api.Alias> o) { |
+checkUnnamed138(core.List<api.Alias> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkAlias(o[0]); |
checkAlias(o[1]); |
@@ -96,7 +96,7 @@ buildAliases() { |
var o = new api.Aliases(); |
buildCounterAliases++; |
if (buildCounterAliases < 3) { |
- o.aliases = buildUnnamed753(); |
+ o.aliases = buildUnnamed138(); |
o.etag = "foo"; |
o.kind = "foo"; |
} |
@@ -107,7 +107,7 @@ buildAliases() { |
checkAliases(api.Aliases o) { |
buildCounterAliases++; |
if (buildCounterAliases < 3) { |
- checkUnnamed753(o.aliases); |
+ checkUnnamed138(o.aliases); |
unittest.expect(o.etag, unittest.equals('foo')); |
unittest.expect(o.kind, unittest.equals('foo')); |
} |
@@ -145,14 +145,14 @@ checkAsp(api.Asp o) { |
buildCounterAsp--; |
} |
-buildUnnamed754() { |
+buildUnnamed139() { |
var o = new core.List<api.Asp>(); |
o.add(buildAsp()); |
o.add(buildAsp()); |
return o; |
} |
-checkUnnamed754(core.List<api.Asp> o) { |
+checkUnnamed139(core.List<api.Asp> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkAsp(o[0]); |
checkAsp(o[1]); |
@@ -164,7 +164,7 @@ buildAsps() { |
buildCounterAsps++; |
if (buildCounterAsps < 3) { |
o.etag = "foo"; |
- o.items = buildUnnamed754(); |
+ o.items = buildUnnamed139(); |
o.kind = "foo"; |
} |
buildCounterAsps--; |
@@ -175,20 +175,20 @@ checkAsps(api.Asps o) { |
buildCounterAsps++; |
if (buildCounterAsps < 3) { |
unittest.expect(o.etag, unittest.equals('foo')); |
- checkUnnamed754(o.items); |
+ checkUnnamed139(o.items); |
unittest.expect(o.kind, unittest.equals('foo')); |
} |
buildCounterAsps--; |
} |
-buildUnnamed755() { |
+buildUnnamed140() { |
var o = new core.Map<core.String, core.String>(); |
o["x"] = "foo"; |
o["y"] = "foo"; |
return o; |
} |
-checkUnnamed755(core.Map<core.String, core.String> o) { |
+checkUnnamed140(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')); |
@@ -203,7 +203,7 @@ buildChannel() { |
o.expiration = "foo"; |
o.id = "foo"; |
o.kind = "foo"; |
- o.params = buildUnnamed755(); |
+ o.params = buildUnnamed140(); |
o.payload = true; |
o.resourceId = "foo"; |
o.resourceUri = "foo"; |
@@ -221,7 +221,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')); |
- checkUnnamed755(o.params); |
+ checkUnnamed140(o.params); |
unittest.expect(o.payload, unittest.isTrue); |
unittest.expect(o.resourceId, unittest.equals('foo')); |
unittest.expect(o.resourceUri, unittest.equals('foo')); |
@@ -252,14 +252,14 @@ checkChromeOsDeviceActiveTimeRanges(api.ChromeOsDeviceActiveTimeRanges o) { |
buildCounterChromeOsDeviceActiveTimeRanges--; |
} |
-buildUnnamed756() { |
+buildUnnamed141() { |
var o = new core.List<api.ChromeOsDeviceActiveTimeRanges>(); |
o.add(buildChromeOsDeviceActiveTimeRanges()); |
o.add(buildChromeOsDeviceActiveTimeRanges()); |
return o; |
} |
-checkUnnamed756(core.List<api.ChromeOsDeviceActiveTimeRanges> o) { |
+checkUnnamed141(core.List<api.ChromeOsDeviceActiveTimeRanges> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkChromeOsDeviceActiveTimeRanges(o[0]); |
checkChromeOsDeviceActiveTimeRanges(o[1]); |
@@ -286,14 +286,14 @@ checkChromeOsDeviceRecentUsers(api.ChromeOsDeviceRecentUsers o) { |
buildCounterChromeOsDeviceRecentUsers--; |
} |
-buildUnnamed757() { |
+buildUnnamed142() { |
var o = new core.List<api.ChromeOsDeviceRecentUsers>(); |
o.add(buildChromeOsDeviceRecentUsers()); |
o.add(buildChromeOsDeviceRecentUsers()); |
return o; |
} |
-checkUnnamed757(core.List<api.ChromeOsDeviceRecentUsers> o) { |
+checkUnnamed142(core.List<api.ChromeOsDeviceRecentUsers> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkChromeOsDeviceRecentUsers(o[0]); |
checkChromeOsDeviceRecentUsers(o[1]); |
@@ -304,7 +304,7 @@ buildChromeOsDevice() { |
var o = new api.ChromeOsDevice(); |
buildCounterChromeOsDevice++; |
if (buildCounterChromeOsDevice < 3) { |
- o.activeTimeRanges = buildUnnamed756(); |
+ o.activeTimeRanges = buildUnnamed141(); |
o.annotatedAssetId = "foo"; |
o.annotatedLocation = "foo"; |
o.annotatedUser = "foo"; |
@@ -324,7 +324,7 @@ buildChromeOsDevice() { |
o.orgUnitPath = "foo"; |
o.osVersion = "foo"; |
o.platformVersion = "foo"; |
- o.recentUsers = buildUnnamed757(); |
+ o.recentUsers = buildUnnamed142(); |
o.serialNumber = "foo"; |
o.status = "foo"; |
o.supportEndDate = core.DateTime.parse("2002-02-27T14:01:02"); |
@@ -337,7 +337,7 @@ buildChromeOsDevice() { |
checkChromeOsDevice(api.ChromeOsDevice o) { |
buildCounterChromeOsDevice++; |
if (buildCounterChromeOsDevice < 3) { |
- checkUnnamed756(o.activeTimeRanges); |
+ checkUnnamed141(o.activeTimeRanges); |
unittest.expect(o.annotatedAssetId, unittest.equals('foo')); |
unittest.expect(o.annotatedLocation, unittest.equals('foo')); |
unittest.expect(o.annotatedUser, unittest.equals('foo')); |
@@ -357,7 +357,7 @@ checkChromeOsDevice(api.ChromeOsDevice o) { |
unittest.expect(o.orgUnitPath, unittest.equals('foo')); |
unittest.expect(o.osVersion, unittest.equals('foo')); |
unittest.expect(o.platformVersion, unittest.equals('foo')); |
- checkUnnamed757(o.recentUsers); |
+ checkUnnamed142(o.recentUsers); |
unittest.expect(o.serialNumber, unittest.equals('foo')); |
unittest.expect(o.status, unittest.equals('foo')); |
unittest.expect(o.supportEndDate, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); |
@@ -366,14 +366,14 @@ checkChromeOsDevice(api.ChromeOsDevice o) { |
buildCounterChromeOsDevice--; |
} |
-buildUnnamed758() { |
+buildUnnamed143() { |
var o = new core.List<api.ChromeOsDevice>(); |
o.add(buildChromeOsDevice()); |
o.add(buildChromeOsDevice()); |
return o; |
} |
-checkUnnamed758(core.List<api.ChromeOsDevice> o) { |
+checkUnnamed143(core.List<api.ChromeOsDevice> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkChromeOsDevice(o[0]); |
checkChromeOsDevice(o[1]); |
@@ -384,7 +384,7 @@ buildChromeOsDevices() { |
var o = new api.ChromeOsDevices(); |
buildCounterChromeOsDevices++; |
if (buildCounterChromeOsDevices < 3) { |
- o.chromeosdevices = buildUnnamed758(); |
+ o.chromeosdevices = buildUnnamed143(); |
o.etag = "foo"; |
o.kind = "foo"; |
o.nextPageToken = "foo"; |
@@ -396,7 +396,7 @@ buildChromeOsDevices() { |
checkChromeOsDevices(api.ChromeOsDevices o) { |
buildCounterChromeOsDevices++; |
if (buildCounterChromeOsDevices < 3) { |
- checkUnnamed758(o.chromeosdevices); |
+ checkUnnamed143(o.chromeosdevices); |
unittest.expect(o.etag, unittest.equals('foo')); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
@@ -404,27 +404,27 @@ checkChromeOsDevices(api.ChromeOsDevices o) { |
buildCounterChromeOsDevices--; |
} |
-buildUnnamed759() { |
+buildUnnamed144() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed759(core.List<core.String> o) { |
+checkUnnamed144(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')); |
} |
-buildUnnamed760() { |
+buildUnnamed145() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed760(core.List<core.String> o) { |
+checkUnnamed145(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')); |
@@ -436,7 +436,7 @@ buildGroup() { |
buildCounterGroup++; |
if (buildCounterGroup < 3) { |
o.adminCreated = true; |
- o.aliases = buildUnnamed759(); |
+ o.aliases = buildUnnamed144(); |
o.description = "foo"; |
o.directMembersCount = "foo"; |
o.email = "foo"; |
@@ -444,7 +444,7 @@ buildGroup() { |
o.id = "foo"; |
o.kind = "foo"; |
o.name = "foo"; |
- o.nonEditableAliases = buildUnnamed760(); |
+ o.nonEditableAliases = buildUnnamed145(); |
} |
buildCounterGroup--; |
return o; |
@@ -454,7 +454,7 @@ checkGroup(api.Group o) { |
buildCounterGroup++; |
if (buildCounterGroup < 3) { |
unittest.expect(o.adminCreated, unittest.isTrue); |
- checkUnnamed759(o.aliases); |
+ checkUnnamed144(o.aliases); |
unittest.expect(o.description, unittest.equals('foo')); |
unittest.expect(o.directMembersCount, unittest.equals('foo')); |
unittest.expect(o.email, unittest.equals('foo')); |
@@ -462,19 +462,19 @@ checkGroup(api.Group o) { |
unittest.expect(o.id, unittest.equals('foo')); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.name, unittest.equals('foo')); |
- checkUnnamed760(o.nonEditableAliases); |
+ checkUnnamed145(o.nonEditableAliases); |
} |
buildCounterGroup--; |
} |
-buildUnnamed761() { |
+buildUnnamed146() { |
var o = new core.List<api.Group>(); |
o.add(buildGroup()); |
o.add(buildGroup()); |
return o; |
} |
-checkUnnamed761(core.List<api.Group> o) { |
+checkUnnamed146(core.List<api.Group> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkGroup(o[0]); |
checkGroup(o[1]); |
@@ -486,7 +486,7 @@ buildGroups() { |
buildCounterGroups++; |
if (buildCounterGroups < 3) { |
o.etag = "foo"; |
- o.groups = buildUnnamed761(); |
+ o.groups = buildUnnamed146(); |
o.kind = "foo"; |
o.nextPageToken = "foo"; |
} |
@@ -498,7 +498,7 @@ checkGroups(api.Groups o) { |
buildCounterGroups++; |
if (buildCounterGroups < 3) { |
unittest.expect(o.etag, unittest.equals('foo')); |
- checkUnnamed761(o.groups); |
+ checkUnnamed146(o.groups); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
} |
@@ -534,14 +534,14 @@ checkMember(api.Member o) { |
buildCounterMember--; |
} |
-buildUnnamed762() { |
+buildUnnamed147() { |
var o = new core.List<api.Member>(); |
o.add(buildMember()); |
o.add(buildMember()); |
return o; |
} |
-checkUnnamed762(core.List<api.Member> o) { |
+checkUnnamed147(core.List<api.Member> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkMember(o[0]); |
checkMember(o[1]); |
@@ -554,7 +554,7 @@ buildMembers() { |
if (buildCounterMembers < 3) { |
o.etag = "foo"; |
o.kind = "foo"; |
- o.members = buildUnnamed762(); |
+ o.members = buildUnnamed147(); |
o.nextPageToken = "foo"; |
} |
buildCounterMembers--; |
@@ -566,20 +566,20 @@ checkMembers(api.Members o) { |
if (buildCounterMembers < 3) { |
unittest.expect(o.etag, unittest.equals('foo')); |
unittest.expect(o.kind, unittest.equals('foo')); |
- checkUnnamed762(o.members); |
+ checkUnnamed147(o.members); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
} |
buildCounterMembers--; |
} |
-buildUnnamed763() { |
+buildUnnamed148() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed763(core.List<core.String> o) { |
+checkUnnamed148(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')); |
@@ -592,7 +592,7 @@ buildMobileDeviceApplications() { |
if (buildCounterMobileDeviceApplications < 3) { |
o.displayName = "foo"; |
o.packageName = "foo"; |
- o.permission = buildUnnamed763(); |
+ o.permission = buildUnnamed148(); |
o.versionCode = 42; |
o.versionName = "foo"; |
} |
@@ -605,47 +605,60 @@ checkMobileDeviceApplications(api.MobileDeviceApplications o) { |
if (buildCounterMobileDeviceApplications < 3) { |
unittest.expect(o.displayName, unittest.equals('foo')); |
unittest.expect(o.packageName, unittest.equals('foo')); |
- checkUnnamed763(o.permission); |
+ checkUnnamed148(o.permission); |
unittest.expect(o.versionCode, unittest.equals(42)); |
unittest.expect(o.versionName, unittest.equals('foo')); |
} |
buildCounterMobileDeviceApplications--; |
} |
-buildUnnamed764() { |
+buildUnnamed149() { |
var o = new core.List<api.MobileDeviceApplications>(); |
o.add(buildMobileDeviceApplications()); |
o.add(buildMobileDeviceApplications()); |
return o; |
} |
-checkUnnamed764(core.List<api.MobileDeviceApplications> o) { |
+checkUnnamed149(core.List<api.MobileDeviceApplications> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkMobileDeviceApplications(o[0]); |
checkMobileDeviceApplications(o[1]); |
} |
-buildUnnamed765() { |
+buildUnnamed150() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed765(core.List<core.String> o) { |
+checkUnnamed150(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')); |
} |
-buildUnnamed766() { |
+buildUnnamed151() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed766(core.List<core.String> o) { |
+checkUnnamed151(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')); |
+} |
+ |
+buildUnnamed152() { |
+ var o = new core.List<core.String>(); |
+ o.add("foo"); |
+ o.add("foo"); |
+ return o; |
+} |
+ |
+checkUnnamed152(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')); |
@@ -656,13 +669,15 @@ buildMobileDevice() { |
var o = new api.MobileDevice(); |
buildCounterMobileDevice++; |
if (buildCounterMobileDevice < 3) { |
- o.applications = buildUnnamed764(); |
+ o.adbStatus = true; |
+ o.applications = buildUnnamed149(); |
o.basebandVersion = "foo"; |
o.buildNumber = "foo"; |
o.defaultLanguage = "foo"; |
+ o.developerOptionsStatus = true; |
o.deviceCompromisedStatus = "foo"; |
o.deviceId = "foo"; |
- o.email = buildUnnamed765(); |
+ o.email = buildUnnamed150(); |
o.etag = "foo"; |
o.firstSync = core.DateTime.parse("2002-02-27T14:01:02"); |
o.hardwareId = "foo"; |
@@ -673,13 +688,16 @@ buildMobileDevice() { |
o.managedAccountIsOnOwnerProfile = true; |
o.meid = "foo"; |
o.model = "foo"; |
- o.name = buildUnnamed766(); |
+ o.name = buildUnnamed151(); |
o.networkOperator = "foo"; |
o.os = "foo"; |
+ o.otherAccountsInfo = buildUnnamed152(); |
o.resourceId = "foo"; |
o.serialNumber = "foo"; |
o.status = "foo"; |
+ o.supportsWorkProfile = true; |
o.type = "foo"; |
+ o.unknownSourcesStatus = true; |
o.userAgent = "foo"; |
o.wifiMacAddress = "foo"; |
} |
@@ -690,13 +708,15 @@ buildMobileDevice() { |
checkMobileDevice(api.MobileDevice o) { |
buildCounterMobileDevice++; |
if (buildCounterMobileDevice < 3) { |
- checkUnnamed764(o.applications); |
+ unittest.expect(o.adbStatus, unittest.isTrue); |
+ checkUnnamed149(o.applications); |
unittest.expect(o.basebandVersion, unittest.equals('foo')); |
unittest.expect(o.buildNumber, unittest.equals('foo')); |
unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
+ unittest.expect(o.developerOptionsStatus, unittest.isTrue); |
unittest.expect(o.deviceCompromisedStatus, unittest.equals('foo')); |
unittest.expect(o.deviceId, unittest.equals('foo')); |
- checkUnnamed765(o.email); |
+ checkUnnamed150(o.email); |
unittest.expect(o.etag, unittest.equals('foo')); |
unittest.expect(o.firstSync, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); |
unittest.expect(o.hardwareId, unittest.equals('foo')); |
@@ -707,13 +727,16 @@ checkMobileDevice(api.MobileDevice o) { |
unittest.expect(o.managedAccountIsOnOwnerProfile, unittest.isTrue); |
unittest.expect(o.meid, unittest.equals('foo')); |
unittest.expect(o.model, unittest.equals('foo')); |
- checkUnnamed766(o.name); |
+ checkUnnamed151(o.name); |
unittest.expect(o.networkOperator, unittest.equals('foo')); |
unittest.expect(o.os, unittest.equals('foo')); |
+ checkUnnamed152(o.otherAccountsInfo); |
unittest.expect(o.resourceId, unittest.equals('foo')); |
unittest.expect(o.serialNumber, unittest.equals('foo')); |
unittest.expect(o.status, unittest.equals('foo')); |
+ unittest.expect(o.supportsWorkProfile, unittest.isTrue); |
unittest.expect(o.type, unittest.equals('foo')); |
+ unittest.expect(o.unknownSourcesStatus, unittest.isTrue); |
unittest.expect(o.userAgent, unittest.equals('foo')); |
unittest.expect(o.wifiMacAddress, unittest.equals('foo')); |
} |
@@ -739,14 +762,14 @@ checkMobileDeviceAction(api.MobileDeviceAction o) { |
buildCounterMobileDeviceAction--; |
} |
-buildUnnamed767() { |
+buildUnnamed153() { |
var o = new core.List<api.MobileDevice>(); |
o.add(buildMobileDevice()); |
o.add(buildMobileDevice()); |
return o; |
} |
-checkUnnamed767(core.List<api.MobileDevice> o) { |
+checkUnnamed153(core.List<api.MobileDevice> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkMobileDevice(o[0]); |
checkMobileDevice(o[1]); |
@@ -759,7 +782,7 @@ buildMobileDevices() { |
if (buildCounterMobileDevices < 3) { |
o.etag = "foo"; |
o.kind = "foo"; |
- o.mobiledevices = buildUnnamed767(); |
+ o.mobiledevices = buildUnnamed153(); |
o.nextPageToken = "foo"; |
} |
buildCounterMobileDevices--; |
@@ -771,7 +794,7 @@ checkMobileDevices(api.MobileDevices o) { |
if (buildCounterMobileDevices < 3) { |
unittest.expect(o.etag, unittest.equals('foo')); |
unittest.expect(o.kind, unittest.equals('foo')); |
- checkUnnamed767(o.mobiledevices); |
+ checkUnnamed153(o.mobiledevices); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
} |
buildCounterMobileDevices--; |
@@ -810,14 +833,14 @@ checkNotification(api.Notification o) { |
buildCounterNotification--; |
} |
-buildUnnamed768() { |
+buildUnnamed154() { |
var o = new core.List<api.Notification>(); |
o.add(buildNotification()); |
o.add(buildNotification()); |
return o; |
} |
-checkUnnamed768(core.List<api.Notification> o) { |
+checkUnnamed154(core.List<api.Notification> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkNotification(o[0]); |
checkNotification(o[1]); |
@@ -829,7 +852,7 @@ buildNotifications() { |
buildCounterNotifications++; |
if (buildCounterNotifications < 3) { |
o.etag = "foo"; |
- o.items = buildUnnamed768(); |
+ o.items = buildUnnamed154(); |
o.kind = "foo"; |
o.nextPageToken = "foo"; |
o.unreadNotificationsCount = 42; |
@@ -842,7 +865,7 @@ checkNotifications(api.Notifications o) { |
buildCounterNotifications++; |
if (buildCounterNotifications < 3) { |
unittest.expect(o.etag, unittest.equals('foo')); |
- checkUnnamed768(o.items); |
+ checkUnnamed154(o.items); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
unittest.expect(o.unreadNotificationsCount, unittest.equals(42)); |
@@ -885,14 +908,14 @@ checkOrgUnit(api.OrgUnit o) { |
buildCounterOrgUnit--; |
} |
-buildUnnamed769() { |
+buildUnnamed155() { |
var o = new core.List<api.OrgUnit>(); |
o.add(buildOrgUnit()); |
o.add(buildOrgUnit()); |
return o; |
} |
-checkUnnamed769(core.List<api.OrgUnit> o) { |
+checkUnnamed155(core.List<api.OrgUnit> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkOrgUnit(o[0]); |
checkOrgUnit(o[1]); |
@@ -905,7 +928,7 @@ buildOrgUnits() { |
if (buildCounterOrgUnits < 3) { |
o.etag = "foo"; |
o.kind = "foo"; |
- o.organizationUnits = buildUnnamed769(); |
+ o.organizationUnits = buildUnnamed155(); |
} |
buildCounterOrgUnits--; |
return o; |
@@ -916,19 +939,19 @@ checkOrgUnits(api.OrgUnits o) { |
if (buildCounterOrgUnits < 3) { |
unittest.expect(o.etag, unittest.equals('foo')); |
unittest.expect(o.kind, unittest.equals('foo')); |
- checkUnnamed769(o.organizationUnits); |
+ checkUnnamed155(o.organizationUnits); |
} |
buildCounterOrgUnits--; |
} |
-buildUnnamed770() { |
+buildUnnamed156() { |
var o = new core.List<api.SchemaFieldSpec>(); |
o.add(buildSchemaFieldSpec()); |
o.add(buildSchemaFieldSpec()); |
return o; |
} |
-checkUnnamed770(core.List<api.SchemaFieldSpec> o) { |
+checkUnnamed156(core.List<api.SchemaFieldSpec> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkSchemaFieldSpec(o[0]); |
checkSchemaFieldSpec(o[1]); |
@@ -940,7 +963,7 @@ buildSchema() { |
buildCounterSchema++; |
if (buildCounterSchema < 3) { |
o.etag = "foo"; |
- o.fields = buildUnnamed770(); |
+ o.fields = buildUnnamed156(); |
o.kind = "foo"; |
o.schemaId = "foo"; |
o.schemaName = "foo"; |
@@ -953,7 +976,7 @@ checkSchema(api.Schema o) { |
buildCounterSchema++; |
if (buildCounterSchema < 3) { |
unittest.expect(o.etag, unittest.equals('foo')); |
- checkUnnamed770(o.fields); |
+ checkUnnamed156(o.fields); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.schemaId, unittest.equals('foo')); |
unittest.expect(o.schemaName, unittest.equals('foo')); |
@@ -1017,14 +1040,14 @@ checkSchemaFieldSpec(api.SchemaFieldSpec o) { |
buildCounterSchemaFieldSpec--; |
} |
-buildUnnamed771() { |
+buildUnnamed157() { |
var o = new core.List<api.Schema>(); |
o.add(buildSchema()); |
o.add(buildSchema()); |
return o; |
} |
-checkUnnamed771(core.List<api.Schema> o) { |
+checkUnnamed157(core.List<api.Schema> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkSchema(o[0]); |
checkSchema(o[1]); |
@@ -1037,7 +1060,7 @@ buildSchemas() { |
if (buildCounterSchemas < 3) { |
o.etag = "foo"; |
o.kind = "foo"; |
- o.schemas = buildUnnamed771(); |
+ o.schemas = buildUnnamed157(); |
} |
buildCounterSchemas--; |
return o; |
@@ -1048,19 +1071,19 @@ checkSchemas(api.Schemas o) { |
if (buildCounterSchemas < 3) { |
unittest.expect(o.etag, unittest.equals('foo')); |
unittest.expect(o.kind, unittest.equals('foo')); |
- checkUnnamed771(o.schemas); |
+ checkUnnamed157(o.schemas); |
} |
buildCounterSchemas--; |
} |
-buildUnnamed772() { |
+buildUnnamed158() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed772(core.List<core.String> o) { |
+checkUnnamed158(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')); |
@@ -1077,7 +1100,7 @@ buildToken() { |
o.etag = "foo"; |
o.kind = "foo"; |
o.nativeApp = true; |
- o.scopes = buildUnnamed772(); |
+ o.scopes = buildUnnamed158(); |
o.userKey = "foo"; |
} |
buildCounterToken--; |
@@ -1093,20 +1116,20 @@ checkToken(api.Token o) { |
unittest.expect(o.etag, unittest.equals('foo')); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.nativeApp, unittest.isTrue); |
- checkUnnamed772(o.scopes); |
+ checkUnnamed158(o.scopes); |
unittest.expect(o.userKey, unittest.equals('foo')); |
} |
buildCounterToken--; |
} |
-buildUnnamed773() { |
+buildUnnamed159() { |
var o = new core.List<api.Token>(); |
o.add(buildToken()); |
o.add(buildToken()); |
return o; |
} |
-checkUnnamed773(core.List<api.Token> o) { |
+checkUnnamed159(core.List<api.Token> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkToken(o[0]); |
checkToken(o[1]); |
@@ -1118,7 +1141,7 @@ buildTokens() { |
buildCounterTokens++; |
if (buildCounterTokens < 3) { |
o.etag = "foo"; |
- o.items = buildUnnamed773(); |
+ o.items = buildUnnamed159(); |
o.kind = "foo"; |
} |
buildCounterTokens--; |
@@ -1129,46 +1152,46 @@ checkTokens(api.Tokens o) { |
buildCounterTokens++; |
if (buildCounterTokens < 3) { |
unittest.expect(o.etag, unittest.equals('foo')); |
- checkUnnamed773(o.items); |
+ checkUnnamed159(o.items); |
unittest.expect(o.kind, unittest.equals('foo')); |
} |
buildCounterTokens--; |
} |
-buildUnnamed774() { |
+buildUnnamed160() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed774(core.List<core.String> o) { |
+checkUnnamed160(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')); |
} |
-buildUnnamed775() { |
+buildUnnamed161() { |
var o = new core.Map<core.String, api.UserCustomProperties>(); |
o["x"] = buildUserCustomProperties(); |
o["y"] = buildUserCustomProperties(); |
return o; |
} |
-checkUnnamed775(core.Map<core.String, api.UserCustomProperties> o) { |
+checkUnnamed161(core.Map<core.String, api.UserCustomProperties> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkUserCustomProperties(o["x"]); |
checkUserCustomProperties(o["y"]); |
} |
-buildUnnamed776() { |
+buildUnnamed162() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed776(core.List<core.String> o) { |
+checkUnnamed162(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')); |
@@ -1181,10 +1204,10 @@ buildUser() { |
if (buildCounterUser < 3) { |
o.addresses = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
o.agreedToTerms = true; |
- o.aliases = buildUnnamed774(); |
+ o.aliases = buildUnnamed160(); |
o.changePasswordAtNextLogin = true; |
o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); |
- o.customSchemas = buildUnnamed775(); |
+ o.customSchemas = buildUnnamed161(); |
o.customerId = "foo"; |
o.deletionTime = core.DateTime.parse("2002-02-27T14:01:02"); |
o.emails = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
@@ -1201,7 +1224,7 @@ buildUser() { |
o.kind = "foo"; |
o.lastLoginTime = core.DateTime.parse("2002-02-27T14:01:02"); |
o.name = buildUserName(); |
- o.nonEditableAliases = buildUnnamed776(); |
+ o.nonEditableAliases = buildUnnamed162(); |
o.notes = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
o.orgUnitPath = "foo"; |
o.organizations = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
@@ -1224,10 +1247,10 @@ checkUser(api.User o) { |
if (buildCounterUser < 3) { |
var casted1 = (o.addresses) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], unittest.equals('foo')); |
unittest.expect(o.agreedToTerms, unittest.isTrue); |
- checkUnnamed774(o.aliases); |
+ checkUnnamed160(o.aliases); |
unittest.expect(o.changePasswordAtNextLogin, unittest.isTrue); |
unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); |
- checkUnnamed775(o.customSchemas); |
+ checkUnnamed161(o.customSchemas); |
unittest.expect(o.customerId, unittest.equals('foo')); |
unittest.expect(o.deletionTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); |
var casted2 = (o.emails) as core.Map; unittest.expect(casted2, unittest.hasLength(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], unittest.equals('foo')); |
@@ -1244,7 +1267,7 @@ checkUser(api.User o) { |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.lastLoginTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02"))); |
checkUserName(o.name); |
- checkUnnamed776(o.nonEditableAliases); |
+ checkUnnamed162(o.nonEditableAliases); |
var casted5 = (o.notes) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.expect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"], unittest.equals('foo')); |
unittest.expect(o.orgUnitPath, unittest.equals('foo')); |
var casted6 = (o.organizations) as core.Map; unittest.expect(casted6, unittest.hasLength(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.expect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"], unittest.equals('foo')); |
@@ -1621,14 +1644,14 @@ checkUserWebsite(api.UserWebsite o) { |
buildCounterUserWebsite--; |
} |
-buildUnnamed777() { |
+buildUnnamed163() { |
var o = new core.List<api.User>(); |
o.add(buildUser()); |
o.add(buildUser()); |
return o; |
} |
-checkUnnamed777(core.List<api.User> o) { |
+checkUnnamed163(core.List<api.User> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkUser(o[0]); |
checkUser(o[1]); |
@@ -1643,7 +1666,7 @@ buildUsers() { |
o.kind = "foo"; |
o.nextPageToken = "foo"; |
o.triggerEvent = "foo"; |
- o.users = buildUnnamed777(); |
+ o.users = buildUnnamed163(); |
} |
buildCounterUsers--; |
return o; |
@@ -1656,7 +1679,7 @@ checkUsers(api.Users o) { |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
unittest.expect(o.triggerEvent, unittest.equals('foo')); |
- checkUnnamed777(o.users); |
+ checkUnnamed163(o.users); |
} |
buildCounterUsers--; |
} |
@@ -1686,14 +1709,14 @@ checkVerificationCode(api.VerificationCode o) { |
buildCounterVerificationCode--; |
} |
-buildUnnamed778() { |
+buildUnnamed164() { |
var o = new core.List<api.VerificationCode>(); |
o.add(buildVerificationCode()); |
o.add(buildVerificationCode()); |
return o; |
} |
-checkUnnamed778(core.List<api.VerificationCode> o) { |
+checkUnnamed164(core.List<api.VerificationCode> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkVerificationCode(o[0]); |
checkVerificationCode(o[1]); |
@@ -1705,7 +1728,7 @@ buildVerificationCodes() { |
buildCounterVerificationCodes++; |
if (buildCounterVerificationCodes < 3) { |
o.etag = "foo"; |
- o.items = buildUnnamed778(); |
+ o.items = buildUnnamed164(); |
o.kind = "foo"; |
} |
buildCounterVerificationCodes--; |
@@ -1716,59 +1739,59 @@ checkVerificationCodes(api.VerificationCodes o) { |
buildCounterVerificationCodes++; |
if (buildCounterVerificationCodes < 3) { |
unittest.expect(o.etag, unittest.equals('foo')); |
- checkUnnamed778(o.items); |
+ checkUnnamed164(o.items); |
unittest.expect(o.kind, unittest.equals('foo')); |
} |
buildCounterVerificationCodes--; |
} |
-buildUnnamed779() { |
+buildUnnamed165() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed779(core.List<core.String> o) { |
+checkUnnamed165(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')); |
} |
-buildUnnamed780() { |
+buildUnnamed166() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed780(core.List<core.String> o) { |
+checkUnnamed166(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')); |
} |
-buildUnnamed781() { |
+buildUnnamed167() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed781(core.List<core.String> o) { |
+checkUnnamed167(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')); |
} |
-buildUnnamed782() { |
+buildUnnamed168() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed782(core.List<core.String> o) { |
+checkUnnamed168(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')); |
@@ -4035,7 +4058,7 @@ main() { |
var mock = new HttpServerMock(); |
api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; |
var arg_customerId = "foo"; |
- var arg_orgUnitPath = buildUnnamed779(); |
+ var arg_orgUnitPath = buildUnnamed165(); |
mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
var path = (req.url).path; |
var pathOffset = 0; |
@@ -4089,7 +4112,7 @@ main() { |
var mock = new HttpServerMock(); |
api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; |
var arg_customerId = "foo"; |
- var arg_orgUnitPath = buildUnnamed780(); |
+ var arg_orgUnitPath = buildUnnamed166(); |
mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
var path = (req.url).path; |
var pathOffset = 0; |
@@ -4260,7 +4283,7 @@ main() { |
api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; |
var arg_request = buildOrgUnit(); |
var arg_customerId = "foo"; |
- var arg_orgUnitPath = buildUnnamed781(); |
+ var arg_orgUnitPath = buildUnnamed167(); |
mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
var obj = new api.OrgUnit.fromJson(json); |
checkOrgUnit(obj); |
@@ -4320,7 +4343,7 @@ main() { |
api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; |
var arg_request = buildOrgUnit(); |
var arg_customerId = "foo"; |
- var arg_orgUnitPath = buildUnnamed782(); |
+ var arg_orgUnitPath = buildUnnamed168(); |
mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
var obj = new api.OrgUnit.fromJson(json); |
checkOrgUnit(obj); |