| 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 95c2533ed5e2242a1589ad0a6dc9c36e3781beca..9abeb9b2ef15f4fd02ad83eaa6256bd6c79ca734 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--;
|
| }
|
|
|
| -buildUnnamed814() {
|
| +buildUnnamed789() {
|
| var o = new core.List<core.Object>();
|
| o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
|
| o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
|
| return o;
|
| }
|
|
|
| -checkUnnamed814(core.List<core.Object> o) {
|
| +checkUnnamed789(core.List<core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted1 = (o[0]) 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'));
|
| var casted2 = (o[1]) 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'));
|
| @@ -96,7 +96,7 @@ buildAliases() {
|
| var o = new api.Aliases();
|
| buildCounterAliases++;
|
| if (buildCounterAliases < 3) {
|
| - o.aliases = buildUnnamed814();
|
| + o.aliases = buildUnnamed789();
|
| o.etag = "foo";
|
| o.kind = "foo";
|
| }
|
| @@ -107,7 +107,7 @@ buildAliases() {
|
| checkAliases(api.Aliases o) {
|
| buildCounterAliases++;
|
| if (buildCounterAliases < 3) {
|
| - checkUnnamed814(o.aliases);
|
| + checkUnnamed789(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--;
|
| }
|
|
|
| -buildUnnamed815() {
|
| +buildUnnamed790() {
|
| var o = new core.List<api.Asp>();
|
| o.add(buildAsp());
|
| o.add(buildAsp());
|
| return o;
|
| }
|
|
|
| -checkUnnamed815(core.List<api.Asp> o) {
|
| +checkUnnamed790(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 = buildUnnamed815();
|
| + o.items = buildUnnamed790();
|
| o.kind = "foo";
|
| }
|
| buildCounterAsps--;
|
| @@ -175,7 +175,7 @@ checkAsps(api.Asps o) {
|
| buildCounterAsps++;
|
| if (buildCounterAsps < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed815(o.items);
|
| + checkUnnamed790(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterAsps--;
|
| @@ -212,14 +212,14 @@ checkCalendarResource(api.CalendarResource o) {
|
| buildCounterCalendarResource--;
|
| }
|
|
|
| -buildUnnamed816() {
|
| +buildUnnamed791() {
|
| var o = new core.List<api.CalendarResource>();
|
| o.add(buildCalendarResource());
|
| o.add(buildCalendarResource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed816(core.List<api.CalendarResource> o) {
|
| +checkUnnamed791(core.List<api.CalendarResource> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCalendarResource(o[0]);
|
| checkCalendarResource(o[1]);
|
| @@ -231,7 +231,7 @@ buildCalendarResources() {
|
| buildCounterCalendarResources++;
|
| if (buildCounterCalendarResources < 3) {
|
| o.etag = "foo";
|
| - o.items = buildUnnamed816();
|
| + o.items = buildUnnamed791();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -243,21 +243,21 @@ checkCalendarResources(api.CalendarResources o) {
|
| buildCounterCalendarResources++;
|
| if (buildCounterCalendarResources < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed816(o.items);
|
| + checkUnnamed791(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterCalendarResources--;
|
| }
|
|
|
| -buildUnnamed817() {
|
| +buildUnnamed792() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed817(core.Map<core.String, core.String> o) {
|
| +checkUnnamed792(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'));
|
| @@ -272,7 +272,7 @@ buildChannel() {
|
| o.expiration = "foo";
|
| o.id = "foo";
|
| o.kind = "foo";
|
| - o.params = buildUnnamed817();
|
| + o.params = buildUnnamed792();
|
| o.payload = true;
|
| o.resourceId = "foo";
|
| o.resourceUri = "foo";
|
| @@ -290,7 +290,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'));
|
| - checkUnnamed817(o.params);
|
| + checkUnnamed792(o.params);
|
| unittest.expect(o.payload, unittest.isTrue);
|
| unittest.expect(o.resourceId, unittest.equals('foo'));
|
| unittest.expect(o.resourceUri, unittest.equals('foo'));
|
| @@ -321,14 +321,14 @@ checkChromeOsDeviceActiveTimeRanges(api.ChromeOsDeviceActiveTimeRanges o) {
|
| buildCounterChromeOsDeviceActiveTimeRanges--;
|
| }
|
|
|
| -buildUnnamed818() {
|
| +buildUnnamed793() {
|
| var o = new core.List<api.ChromeOsDeviceActiveTimeRanges>();
|
| o.add(buildChromeOsDeviceActiveTimeRanges());
|
| o.add(buildChromeOsDeviceActiveTimeRanges());
|
| return o;
|
| }
|
|
|
| -checkUnnamed818(core.List<api.ChromeOsDeviceActiveTimeRanges> o) {
|
| +checkUnnamed793(core.List<api.ChromeOsDeviceActiveTimeRanges> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkChromeOsDeviceActiveTimeRanges(o[0]);
|
| checkChromeOsDeviceActiveTimeRanges(o[1]);
|
| @@ -355,14 +355,14 @@ checkChromeOsDeviceRecentUsers(api.ChromeOsDeviceRecentUsers o) {
|
| buildCounterChromeOsDeviceRecentUsers--;
|
| }
|
|
|
| -buildUnnamed819() {
|
| +buildUnnamed794() {
|
| var o = new core.List<api.ChromeOsDeviceRecentUsers>();
|
| o.add(buildChromeOsDeviceRecentUsers());
|
| o.add(buildChromeOsDeviceRecentUsers());
|
| return o;
|
| }
|
|
|
| -checkUnnamed819(core.List<api.ChromeOsDeviceRecentUsers> o) {
|
| +checkUnnamed794(core.List<api.ChromeOsDeviceRecentUsers> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkChromeOsDeviceRecentUsers(o[0]);
|
| checkChromeOsDeviceRecentUsers(o[1]);
|
| @@ -373,7 +373,7 @@ buildChromeOsDevice() {
|
| var o = new api.ChromeOsDevice();
|
| buildCounterChromeOsDevice++;
|
| if (buildCounterChromeOsDevice < 3) {
|
| - o.activeTimeRanges = buildUnnamed818();
|
| + o.activeTimeRanges = buildUnnamed793();
|
| o.annotatedAssetId = "foo";
|
| o.annotatedLocation = "foo";
|
| o.annotatedUser = "foo";
|
| @@ -393,7 +393,7 @@ buildChromeOsDevice() {
|
| o.orgUnitPath = "foo";
|
| o.osVersion = "foo";
|
| o.platformVersion = "foo";
|
| - o.recentUsers = buildUnnamed819();
|
| + o.recentUsers = buildUnnamed794();
|
| o.serialNumber = "foo";
|
| o.status = "foo";
|
| o.supportEndDate = core.DateTime.parse("2002-02-27T14:01:02");
|
| @@ -406,7 +406,7 @@ buildChromeOsDevice() {
|
| checkChromeOsDevice(api.ChromeOsDevice o) {
|
| buildCounterChromeOsDevice++;
|
| if (buildCounterChromeOsDevice < 3) {
|
| - checkUnnamed818(o.activeTimeRanges);
|
| + checkUnnamed793(o.activeTimeRanges);
|
| unittest.expect(o.annotatedAssetId, unittest.equals('foo'));
|
| unittest.expect(o.annotatedLocation, unittest.equals('foo'));
|
| unittest.expect(o.annotatedUser, unittest.equals('foo'));
|
| @@ -426,7 +426,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'));
|
| - checkUnnamed819(o.recentUsers);
|
| + checkUnnamed794(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")));
|
| @@ -456,14 +456,14 @@ checkChromeOsDeviceAction(api.ChromeOsDeviceAction o) {
|
| buildCounterChromeOsDeviceAction--;
|
| }
|
|
|
| -buildUnnamed820() {
|
| +buildUnnamed795() {
|
| var o = new core.List<api.ChromeOsDevice>();
|
| o.add(buildChromeOsDevice());
|
| o.add(buildChromeOsDevice());
|
| return o;
|
| }
|
|
|
| -checkUnnamed820(core.List<api.ChromeOsDevice> o) {
|
| +checkUnnamed795(core.List<api.ChromeOsDevice> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkChromeOsDevice(o[0]);
|
| checkChromeOsDevice(o[1]);
|
| @@ -474,7 +474,7 @@ buildChromeOsDevices() {
|
| var o = new api.ChromeOsDevices();
|
| buildCounterChromeOsDevices++;
|
| if (buildCounterChromeOsDevices < 3) {
|
| - o.chromeosdevices = buildUnnamed820();
|
| + o.chromeosdevices = buildUnnamed795();
|
| o.etag = "foo";
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| @@ -486,7 +486,7 @@ buildChromeOsDevices() {
|
| checkChromeOsDevices(api.ChromeOsDevices o) {
|
| buildCounterChromeOsDevices++;
|
| if (buildCounterChromeOsDevices < 3) {
|
| - checkUnnamed820(o.chromeosdevices);
|
| + checkUnnamed795(o.chromeosdevices);
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| @@ -494,6 +494,38 @@ checkChromeOsDevices(api.ChromeOsDevices o) {
|
| buildCounterChromeOsDevices--;
|
| }
|
|
|
| +buildUnnamed796() {
|
| + var o = new core.List<core.String>();
|
| + o.add("foo");
|
| + o.add("foo");
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed796(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'));
|
| +}
|
| +
|
| +core.int buildCounterChromeOsMoveDevicesToOu = 0;
|
| +buildChromeOsMoveDevicesToOu() {
|
| + var o = new api.ChromeOsMoveDevicesToOu();
|
| + buildCounterChromeOsMoveDevicesToOu++;
|
| + if (buildCounterChromeOsMoveDevicesToOu < 3) {
|
| + o.deviceIds = buildUnnamed796();
|
| + }
|
| + buildCounterChromeOsMoveDevicesToOu--;
|
| + return o;
|
| +}
|
| +
|
| +checkChromeOsMoveDevicesToOu(api.ChromeOsMoveDevicesToOu o) {
|
| + buildCounterChromeOsMoveDevicesToOu++;
|
| + if (buildCounterChromeOsMoveDevicesToOu < 3) {
|
| + checkUnnamed796(o.deviceIds);
|
| + }
|
| + buildCounterChromeOsMoveDevicesToOu--;
|
| +}
|
| +
|
| core.int buildCounterCustomer = 0;
|
| buildCustomer() {
|
| var o = new api.Customer();
|
| @@ -593,14 +625,14 @@ checkDomainAlias(api.DomainAlias o) {
|
| buildCounterDomainAlias--;
|
| }
|
|
|
| -buildUnnamed821() {
|
| +buildUnnamed797() {
|
| var o = new core.List<api.DomainAlias>();
|
| o.add(buildDomainAlias());
|
| o.add(buildDomainAlias());
|
| return o;
|
| }
|
|
|
| -checkUnnamed821(core.List<api.DomainAlias> o) {
|
| +checkUnnamed797(core.List<api.DomainAlias> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDomainAlias(o[0]);
|
| checkDomainAlias(o[1]);
|
| @@ -611,7 +643,7 @@ buildDomainAliases() {
|
| var o = new api.DomainAliases();
|
| buildCounterDomainAliases++;
|
| if (buildCounterDomainAliases < 3) {
|
| - o.domainAliases = buildUnnamed821();
|
| + o.domainAliases = buildUnnamed797();
|
| o.etag = "foo";
|
| o.kind = "foo";
|
| }
|
| @@ -622,21 +654,21 @@ buildDomainAliases() {
|
| checkDomainAliases(api.DomainAliases o) {
|
| buildCounterDomainAliases++;
|
| if (buildCounterDomainAliases < 3) {
|
| - checkUnnamed821(o.domainAliases);
|
| + checkUnnamed797(o.domainAliases);
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterDomainAliases--;
|
| }
|
|
|
| -buildUnnamed822() {
|
| +buildUnnamed798() {
|
| var o = new core.List<api.DomainAlias>();
|
| o.add(buildDomainAlias());
|
| o.add(buildDomainAlias());
|
| return o;
|
| }
|
|
|
| -checkUnnamed822(core.List<api.DomainAlias> o) {
|
| +checkUnnamed798(core.List<api.DomainAlias> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDomainAlias(o[0]);
|
| checkDomainAlias(o[1]);
|
| @@ -648,7 +680,7 @@ buildDomains() {
|
| buildCounterDomains++;
|
| if (buildCounterDomains < 3) {
|
| o.creationTime = "foo";
|
| - o.domainAliases = buildUnnamed822();
|
| + o.domainAliases = buildUnnamed798();
|
| o.domainName = "foo";
|
| o.etag = "foo";
|
| o.isPrimary = true;
|
| @@ -663,7 +695,7 @@ checkDomains(api.Domains o) {
|
| buildCounterDomains++;
|
| if (buildCounterDomains < 3) {
|
| unittest.expect(o.creationTime, unittest.equals('foo'));
|
| - checkUnnamed822(o.domainAliases);
|
| + checkUnnamed798(o.domainAliases);
|
| unittest.expect(o.domainName, unittest.equals('foo'));
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.isPrimary, unittest.isTrue);
|
| @@ -673,14 +705,14 @@ checkDomains(api.Domains o) {
|
| buildCounterDomains--;
|
| }
|
|
|
| -buildUnnamed823() {
|
| +buildUnnamed799() {
|
| var o = new core.List<api.Domains>();
|
| o.add(buildDomains());
|
| o.add(buildDomains());
|
| return o;
|
| }
|
|
|
| -checkUnnamed823(core.List<api.Domains> o) {
|
| +checkUnnamed799(core.List<api.Domains> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDomains(o[0]);
|
| checkDomains(o[1]);
|
| @@ -691,7 +723,7 @@ buildDomains2() {
|
| var o = new api.Domains2();
|
| buildCounterDomains2++;
|
| if (buildCounterDomains2 < 3) {
|
| - o.domains = buildUnnamed823();
|
| + o.domains = buildUnnamed799();
|
| o.etag = "foo";
|
| o.kind = "foo";
|
| }
|
| @@ -702,34 +734,34 @@ buildDomains2() {
|
| checkDomains2(api.Domains2 o) {
|
| buildCounterDomains2++;
|
| if (buildCounterDomains2 < 3) {
|
| - checkUnnamed823(o.domains);
|
| + checkUnnamed799(o.domains);
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterDomains2--;
|
| }
|
|
|
| -buildUnnamed824() {
|
| +buildUnnamed800() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed824(core.List<core.String> o) {
|
| +checkUnnamed800(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'));
|
| }
|
|
|
| -buildUnnamed825() {
|
| +buildUnnamed801() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed825(core.List<core.String> o) {
|
| +checkUnnamed801(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'));
|
| @@ -741,7 +773,7 @@ buildGroup() {
|
| buildCounterGroup++;
|
| if (buildCounterGroup < 3) {
|
| o.adminCreated = true;
|
| - o.aliases = buildUnnamed824();
|
| + o.aliases = buildUnnamed800();
|
| o.description = "foo";
|
| o.directMembersCount = "foo";
|
| o.email = "foo";
|
| @@ -749,7 +781,7 @@ buildGroup() {
|
| o.id = "foo";
|
| o.kind = "foo";
|
| o.name = "foo";
|
| - o.nonEditableAliases = buildUnnamed825();
|
| + o.nonEditableAliases = buildUnnamed801();
|
| }
|
| buildCounterGroup--;
|
| return o;
|
| @@ -759,7 +791,7 @@ checkGroup(api.Group o) {
|
| buildCounterGroup++;
|
| if (buildCounterGroup < 3) {
|
| unittest.expect(o.adminCreated, unittest.isTrue);
|
| - checkUnnamed824(o.aliases);
|
| + checkUnnamed800(o.aliases);
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| unittest.expect(o.directMembersCount, unittest.equals('foo'));
|
| unittest.expect(o.email, unittest.equals('foo'));
|
| @@ -767,19 +799,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'));
|
| - checkUnnamed825(o.nonEditableAliases);
|
| + checkUnnamed801(o.nonEditableAliases);
|
| }
|
| buildCounterGroup--;
|
| }
|
|
|
| -buildUnnamed826() {
|
| +buildUnnamed802() {
|
| var o = new core.List<api.Group>();
|
| o.add(buildGroup());
|
| o.add(buildGroup());
|
| return o;
|
| }
|
|
|
| -checkUnnamed826(core.List<api.Group> o) {
|
| +checkUnnamed802(core.List<api.Group> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkGroup(o[0]);
|
| checkGroup(o[1]);
|
| @@ -791,7 +823,7 @@ buildGroups() {
|
| buildCounterGroups++;
|
| if (buildCounterGroups < 3) {
|
| o.etag = "foo";
|
| - o.groups = buildUnnamed826();
|
| + o.groups = buildUnnamed802();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -803,7 +835,7 @@ checkGroups(api.Groups o) {
|
| buildCounterGroups++;
|
| if (buildCounterGroups < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed826(o.groups);
|
| + checkUnnamed802(o.groups);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| @@ -841,14 +873,14 @@ checkMember(api.Member o) {
|
| buildCounterMember--;
|
| }
|
|
|
| -buildUnnamed827() {
|
| +buildUnnamed803() {
|
| var o = new core.List<api.Member>();
|
| o.add(buildMember());
|
| o.add(buildMember());
|
| return o;
|
| }
|
|
|
| -checkUnnamed827(core.List<api.Member> o) {
|
| +checkUnnamed803(core.List<api.Member> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMember(o[0]);
|
| checkMember(o[1]);
|
| @@ -861,7 +893,7 @@ buildMembers() {
|
| if (buildCounterMembers < 3) {
|
| o.etag = "foo";
|
| o.kind = "foo";
|
| - o.members = buildUnnamed827();
|
| + o.members = buildUnnamed803();
|
| o.nextPageToken = "foo";
|
| }
|
| buildCounterMembers--;
|
| @@ -873,20 +905,20 @@ checkMembers(api.Members o) {
|
| if (buildCounterMembers < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed827(o.members);
|
| + checkUnnamed803(o.members);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterMembers--;
|
| }
|
|
|
| -buildUnnamed828() {
|
| +buildUnnamed804() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed828(core.List<core.String> o) {
|
| +checkUnnamed804(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'));
|
| @@ -899,7 +931,7 @@ buildMobileDeviceApplications() {
|
| if (buildCounterMobileDeviceApplications < 3) {
|
| o.displayName = "foo";
|
| o.packageName = "foo";
|
| - o.permission = buildUnnamed828();
|
| + o.permission = buildUnnamed804();
|
| o.versionCode = 42;
|
| o.versionName = "foo";
|
| }
|
| @@ -912,60 +944,60 @@ checkMobileDeviceApplications(api.MobileDeviceApplications o) {
|
| if (buildCounterMobileDeviceApplications < 3) {
|
| unittest.expect(o.displayName, unittest.equals('foo'));
|
| unittest.expect(o.packageName, unittest.equals('foo'));
|
| - checkUnnamed828(o.permission);
|
| + checkUnnamed804(o.permission);
|
| unittest.expect(o.versionCode, unittest.equals(42));
|
| unittest.expect(o.versionName, unittest.equals('foo'));
|
| }
|
| buildCounterMobileDeviceApplications--;
|
| }
|
|
|
| -buildUnnamed829() {
|
| +buildUnnamed805() {
|
| var o = new core.List<api.MobileDeviceApplications>();
|
| o.add(buildMobileDeviceApplications());
|
| o.add(buildMobileDeviceApplications());
|
| return o;
|
| }
|
|
|
| -checkUnnamed829(core.List<api.MobileDeviceApplications> o) {
|
| +checkUnnamed805(core.List<api.MobileDeviceApplications> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMobileDeviceApplications(o[0]);
|
| checkMobileDeviceApplications(o[1]);
|
| }
|
|
|
| -buildUnnamed830() {
|
| +buildUnnamed806() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed830(core.List<core.String> o) {
|
| +checkUnnamed806(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'));
|
| }
|
|
|
| -buildUnnamed831() {
|
| +buildUnnamed807() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed831(core.List<core.String> o) {
|
| +checkUnnamed807(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'));
|
| }
|
|
|
| -buildUnnamed832() {
|
| +buildUnnamed808() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed832(core.List<core.String> o) {
|
| +checkUnnamed808(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -977,7 +1009,7 @@ buildMobileDevice() {
|
| buildCounterMobileDevice++;
|
| if (buildCounterMobileDevice < 3) {
|
| o.adbStatus = true;
|
| - o.applications = buildUnnamed829();
|
| + o.applications = buildUnnamed805();
|
| o.basebandVersion = "foo";
|
| o.bootloaderVersion = "foo";
|
| o.brand = "foo";
|
| @@ -987,7 +1019,7 @@ buildMobileDevice() {
|
| o.deviceCompromisedStatus = "foo";
|
| o.deviceId = "foo";
|
| o.devicePasswordStatus = "foo";
|
| - o.email = buildUnnamed830();
|
| + o.email = buildUnnamed806();
|
| o.encryptionStatus = "foo";
|
| o.etag = "foo";
|
| o.firstSync = core.DateTime.parse("2002-02-27T14:01:02");
|
| @@ -1001,10 +1033,10 @@ buildMobileDevice() {
|
| o.manufacturer = "foo";
|
| o.meid = "foo";
|
| o.model = "foo";
|
| - o.name = buildUnnamed831();
|
| + o.name = buildUnnamed807();
|
| o.networkOperator = "foo";
|
| o.os = "foo";
|
| - o.otherAccountsInfo = buildUnnamed832();
|
| + o.otherAccountsInfo = buildUnnamed808();
|
| o.privilege = "foo";
|
| o.releaseVersion = "foo";
|
| o.resourceId = "foo";
|
| @@ -1025,7 +1057,7 @@ checkMobileDevice(api.MobileDevice o) {
|
| buildCounterMobileDevice++;
|
| if (buildCounterMobileDevice < 3) {
|
| unittest.expect(o.adbStatus, unittest.isTrue);
|
| - checkUnnamed829(o.applications);
|
| + checkUnnamed805(o.applications);
|
| unittest.expect(o.basebandVersion, unittest.equals('foo'));
|
| unittest.expect(o.bootloaderVersion, unittest.equals('foo'));
|
| unittest.expect(o.brand, unittest.equals('foo'));
|
| @@ -1035,7 +1067,7 @@ checkMobileDevice(api.MobileDevice o) {
|
| unittest.expect(o.deviceCompromisedStatus, unittest.equals('foo'));
|
| unittest.expect(o.deviceId, unittest.equals('foo'));
|
| unittest.expect(o.devicePasswordStatus, unittest.equals('foo'));
|
| - checkUnnamed830(o.email);
|
| + checkUnnamed806(o.email);
|
| unittest.expect(o.encryptionStatus, unittest.equals('foo'));
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.firstSync, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
|
| @@ -1049,10 +1081,10 @@ checkMobileDevice(api.MobileDevice o) {
|
| unittest.expect(o.manufacturer, unittest.equals('foo'));
|
| unittest.expect(o.meid, unittest.equals('foo'));
|
| unittest.expect(o.model, unittest.equals('foo'));
|
| - checkUnnamed831(o.name);
|
| + checkUnnamed807(o.name);
|
| unittest.expect(o.networkOperator, unittest.equals('foo'));
|
| unittest.expect(o.os, unittest.equals('foo'));
|
| - checkUnnamed832(o.otherAccountsInfo);
|
| + checkUnnamed808(o.otherAccountsInfo);
|
| unittest.expect(o.privilege, unittest.equals('foo'));
|
| unittest.expect(o.releaseVersion, unittest.equals('foo'));
|
| unittest.expect(o.resourceId, unittest.equals('foo'));
|
| @@ -1087,14 +1119,14 @@ checkMobileDeviceAction(api.MobileDeviceAction o) {
|
| buildCounterMobileDeviceAction--;
|
| }
|
|
|
| -buildUnnamed833() {
|
| +buildUnnamed809() {
|
| var o = new core.List<api.MobileDevice>();
|
| o.add(buildMobileDevice());
|
| o.add(buildMobileDevice());
|
| return o;
|
| }
|
|
|
| -checkUnnamed833(core.List<api.MobileDevice> o) {
|
| +checkUnnamed809(core.List<api.MobileDevice> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMobileDevice(o[0]);
|
| checkMobileDevice(o[1]);
|
| @@ -1107,7 +1139,7 @@ buildMobileDevices() {
|
| if (buildCounterMobileDevices < 3) {
|
| o.etag = "foo";
|
| o.kind = "foo";
|
| - o.mobiledevices = buildUnnamed833();
|
| + o.mobiledevices = buildUnnamed809();
|
| o.nextPageToken = "foo";
|
| }
|
| buildCounterMobileDevices--;
|
| @@ -1119,7 +1151,7 @@ checkMobileDevices(api.MobileDevices o) {
|
| if (buildCounterMobileDevices < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed833(o.mobiledevices);
|
| + checkUnnamed809(o.mobiledevices);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterMobileDevices--;
|
| @@ -1158,14 +1190,14 @@ checkNotification(api.Notification o) {
|
| buildCounterNotification--;
|
| }
|
|
|
| -buildUnnamed834() {
|
| +buildUnnamed810() {
|
| var o = new core.List<api.Notification>();
|
| o.add(buildNotification());
|
| o.add(buildNotification());
|
| return o;
|
| }
|
|
|
| -checkUnnamed834(core.List<api.Notification> o) {
|
| +checkUnnamed810(core.List<api.Notification> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkNotification(o[0]);
|
| checkNotification(o[1]);
|
| @@ -1177,7 +1209,7 @@ buildNotifications() {
|
| buildCounterNotifications++;
|
| if (buildCounterNotifications < 3) {
|
| o.etag = "foo";
|
| - o.items = buildUnnamed834();
|
| + o.items = buildUnnamed810();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.unreadNotificationsCount = 42;
|
| @@ -1190,7 +1222,7 @@ checkNotifications(api.Notifications o) {
|
| buildCounterNotifications++;
|
| if (buildCounterNotifications < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed834(o.items);
|
| + checkUnnamed810(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.unreadNotificationsCount, unittest.equals(42));
|
| @@ -1233,14 +1265,14 @@ checkOrgUnit(api.OrgUnit o) {
|
| buildCounterOrgUnit--;
|
| }
|
|
|
| -buildUnnamed835() {
|
| +buildUnnamed811() {
|
| var o = new core.List<api.OrgUnit>();
|
| o.add(buildOrgUnit());
|
| o.add(buildOrgUnit());
|
| return o;
|
| }
|
|
|
| -checkUnnamed835(core.List<api.OrgUnit> o) {
|
| +checkUnnamed811(core.List<api.OrgUnit> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrgUnit(o[0]);
|
| checkOrgUnit(o[1]);
|
| @@ -1253,7 +1285,7 @@ buildOrgUnits() {
|
| if (buildCounterOrgUnits < 3) {
|
| o.etag = "foo";
|
| o.kind = "foo";
|
| - o.organizationUnits = buildUnnamed835();
|
| + o.organizationUnits = buildUnnamed811();
|
| }
|
| buildCounterOrgUnits--;
|
| return o;
|
| @@ -1264,19 +1296,19 @@ checkOrgUnits(api.OrgUnits o) {
|
| if (buildCounterOrgUnits < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed835(o.organizationUnits);
|
| + checkUnnamed811(o.organizationUnits);
|
| }
|
| buildCounterOrgUnits--;
|
| }
|
|
|
| -buildUnnamed836() {
|
| +buildUnnamed812() {
|
| var o = new core.List<api.Privilege>();
|
| o.add(buildPrivilege());
|
| o.add(buildPrivilege());
|
| return o;
|
| }
|
|
|
| -checkUnnamed836(core.List<api.Privilege> o) {
|
| +checkUnnamed812(core.List<api.Privilege> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPrivilege(o[0]);
|
| checkPrivilege(o[1]);
|
| @@ -1287,7 +1319,7 @@ buildPrivilege() {
|
| var o = new api.Privilege();
|
| buildCounterPrivilege++;
|
| if (buildCounterPrivilege < 3) {
|
| - o.childPrivileges = buildUnnamed836();
|
| + o.childPrivileges = buildUnnamed812();
|
| o.etag = "foo";
|
| o.isOuScopable = true;
|
| o.kind = "foo";
|
| @@ -1302,7 +1334,7 @@ buildPrivilege() {
|
| checkPrivilege(api.Privilege o) {
|
| buildCounterPrivilege++;
|
| if (buildCounterPrivilege < 3) {
|
| - checkUnnamed836(o.childPrivileges);
|
| + checkUnnamed812(o.childPrivileges);
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.isOuScopable, unittest.isTrue);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| @@ -1313,14 +1345,14 @@ checkPrivilege(api.Privilege o) {
|
| buildCounterPrivilege--;
|
| }
|
|
|
| -buildUnnamed837() {
|
| +buildUnnamed813() {
|
| var o = new core.List<api.Privilege>();
|
| o.add(buildPrivilege());
|
| o.add(buildPrivilege());
|
| return o;
|
| }
|
|
|
| -checkUnnamed837(core.List<api.Privilege> o) {
|
| +checkUnnamed813(core.List<api.Privilege> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPrivilege(o[0]);
|
| checkPrivilege(o[1]);
|
| @@ -1332,7 +1364,7 @@ buildPrivileges() {
|
| buildCounterPrivileges++;
|
| if (buildCounterPrivileges < 3) {
|
| o.etag = "foo";
|
| - o.items = buildUnnamed837();
|
| + o.items = buildUnnamed813();
|
| o.kind = "foo";
|
| }
|
| buildCounterPrivileges--;
|
| @@ -1343,7 +1375,7 @@ checkPrivileges(api.Privileges o) {
|
| buildCounterPrivileges++;
|
| if (buildCounterPrivileges < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed837(o.items);
|
| + checkUnnamed813(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterPrivileges--;
|
| @@ -1370,14 +1402,14 @@ checkRoleRolePrivileges(api.RoleRolePrivileges o) {
|
| buildCounterRoleRolePrivileges--;
|
| }
|
|
|
| -buildUnnamed838() {
|
| +buildUnnamed814() {
|
| var o = new core.List<api.RoleRolePrivileges>();
|
| o.add(buildRoleRolePrivileges());
|
| o.add(buildRoleRolePrivileges());
|
| return o;
|
| }
|
|
|
| -checkUnnamed838(core.List<api.RoleRolePrivileges> o) {
|
| +checkUnnamed814(core.List<api.RoleRolePrivileges> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRoleRolePrivileges(o[0]);
|
| checkRoleRolePrivileges(o[1]);
|
| @@ -1395,7 +1427,7 @@ buildRole() {
|
| o.roleDescription = "foo";
|
| o.roleId = "foo";
|
| o.roleName = "foo";
|
| - o.rolePrivileges = buildUnnamed838();
|
| + o.rolePrivileges = buildUnnamed814();
|
| }
|
| buildCounterRole--;
|
| return o;
|
| @@ -1411,7 +1443,7 @@ checkRole(api.Role o) {
|
| unittest.expect(o.roleDescription, unittest.equals('foo'));
|
| unittest.expect(o.roleId, unittest.equals('foo'));
|
| unittest.expect(o.roleName, unittest.equals('foo'));
|
| - checkUnnamed838(o.rolePrivileges);
|
| + checkUnnamed814(o.rolePrivileges);
|
| }
|
| buildCounterRole--;
|
| }
|
| @@ -1447,14 +1479,14 @@ checkRoleAssignment(api.RoleAssignment o) {
|
| buildCounterRoleAssignment--;
|
| }
|
|
|
| -buildUnnamed839() {
|
| +buildUnnamed815() {
|
| var o = new core.List<api.RoleAssignment>();
|
| o.add(buildRoleAssignment());
|
| o.add(buildRoleAssignment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed839(core.List<api.RoleAssignment> o) {
|
| +checkUnnamed815(core.List<api.RoleAssignment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRoleAssignment(o[0]);
|
| checkRoleAssignment(o[1]);
|
| @@ -1466,7 +1498,7 @@ buildRoleAssignments() {
|
| buildCounterRoleAssignments++;
|
| if (buildCounterRoleAssignments < 3) {
|
| o.etag = "foo";
|
| - o.items = buildUnnamed839();
|
| + o.items = buildUnnamed815();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -1478,21 +1510,21 @@ checkRoleAssignments(api.RoleAssignments o) {
|
| buildCounterRoleAssignments++;
|
| if (buildCounterRoleAssignments < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed839(o.items);
|
| + checkUnnamed815(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterRoleAssignments--;
|
| }
|
|
|
| -buildUnnamed840() {
|
| +buildUnnamed816() {
|
| var o = new core.List<api.Role>();
|
| o.add(buildRole());
|
| o.add(buildRole());
|
| return o;
|
| }
|
|
|
| -checkUnnamed840(core.List<api.Role> o) {
|
| +checkUnnamed816(core.List<api.Role> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRole(o[0]);
|
| checkRole(o[1]);
|
| @@ -1504,7 +1536,7 @@ buildRoles() {
|
| buildCounterRoles++;
|
| if (buildCounterRoles < 3) {
|
| o.etag = "foo";
|
| - o.items = buildUnnamed840();
|
| + o.items = buildUnnamed816();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -1516,21 +1548,21 @@ checkRoles(api.Roles o) {
|
| buildCounterRoles++;
|
| if (buildCounterRoles < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed840(o.items);
|
| + checkUnnamed816(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterRoles--;
|
| }
|
|
|
| -buildUnnamed841() {
|
| +buildUnnamed817() {
|
| var o = new core.List<api.SchemaFieldSpec>();
|
| o.add(buildSchemaFieldSpec());
|
| o.add(buildSchemaFieldSpec());
|
| return o;
|
| }
|
|
|
| -checkUnnamed841(core.List<api.SchemaFieldSpec> o) {
|
| +checkUnnamed817(core.List<api.SchemaFieldSpec> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSchemaFieldSpec(o[0]);
|
| checkSchemaFieldSpec(o[1]);
|
| @@ -1542,7 +1574,7 @@ buildSchema() {
|
| buildCounterSchema++;
|
| if (buildCounterSchema < 3) {
|
| o.etag = "foo";
|
| - o.fields = buildUnnamed841();
|
| + o.fields = buildUnnamed817();
|
| o.kind = "foo";
|
| o.schemaId = "foo";
|
| o.schemaName = "foo";
|
| @@ -1555,7 +1587,7 @@ checkSchema(api.Schema o) {
|
| buildCounterSchema++;
|
| if (buildCounterSchema < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed841(o.fields);
|
| + checkUnnamed817(o.fields);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.schemaId, unittest.equals('foo'));
|
| unittest.expect(o.schemaName, unittest.equals('foo'));
|
| @@ -1619,14 +1651,14 @@ checkSchemaFieldSpec(api.SchemaFieldSpec o) {
|
| buildCounterSchemaFieldSpec--;
|
| }
|
|
|
| -buildUnnamed842() {
|
| +buildUnnamed818() {
|
| var o = new core.List<api.Schema>();
|
| o.add(buildSchema());
|
| o.add(buildSchema());
|
| return o;
|
| }
|
|
|
| -checkUnnamed842(core.List<api.Schema> o) {
|
| +checkUnnamed818(core.List<api.Schema> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSchema(o[0]);
|
| checkSchema(o[1]);
|
| @@ -1639,7 +1671,7 @@ buildSchemas() {
|
| if (buildCounterSchemas < 3) {
|
| o.etag = "foo";
|
| o.kind = "foo";
|
| - o.schemas = buildUnnamed842();
|
| + o.schemas = buildUnnamed818();
|
| }
|
| buildCounterSchemas--;
|
| return o;
|
| @@ -1650,19 +1682,19 @@ checkSchemas(api.Schemas o) {
|
| if (buildCounterSchemas < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed842(o.schemas);
|
| + checkUnnamed818(o.schemas);
|
| }
|
| buildCounterSchemas--;
|
| }
|
|
|
| -buildUnnamed843() {
|
| +buildUnnamed819() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed843(core.List<core.String> o) {
|
| +checkUnnamed819(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'));
|
| @@ -1679,7 +1711,7 @@ buildToken() {
|
| o.etag = "foo";
|
| o.kind = "foo";
|
| o.nativeApp = true;
|
| - o.scopes = buildUnnamed843();
|
| + o.scopes = buildUnnamed819();
|
| o.userKey = "foo";
|
| }
|
| buildCounterToken--;
|
| @@ -1695,20 +1727,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);
|
| - checkUnnamed843(o.scopes);
|
| + checkUnnamed819(o.scopes);
|
| unittest.expect(o.userKey, unittest.equals('foo'));
|
| }
|
| buildCounterToken--;
|
| }
|
|
|
| -buildUnnamed844() {
|
| +buildUnnamed820() {
|
| var o = new core.List<api.Token>();
|
| o.add(buildToken());
|
| o.add(buildToken());
|
| return o;
|
| }
|
|
|
| -checkUnnamed844(core.List<api.Token> o) {
|
| +checkUnnamed820(core.List<api.Token> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkToken(o[0]);
|
| checkToken(o[1]);
|
| @@ -1720,7 +1752,7 @@ buildTokens() {
|
| buildCounterTokens++;
|
| if (buildCounterTokens < 3) {
|
| o.etag = "foo";
|
| - o.items = buildUnnamed844();
|
| + o.items = buildUnnamed820();
|
| o.kind = "foo";
|
| }
|
| buildCounterTokens--;
|
| @@ -1731,46 +1763,46 @@ checkTokens(api.Tokens o) {
|
| buildCounterTokens++;
|
| if (buildCounterTokens < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed844(o.items);
|
| + checkUnnamed820(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterTokens--;
|
| }
|
|
|
| -buildUnnamed845() {
|
| +buildUnnamed821() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed845(core.List<core.String> o) {
|
| +checkUnnamed821(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'));
|
| }
|
|
|
| -buildUnnamed846() {
|
| +buildUnnamed822() {
|
| var o = new core.Map<core.String, api.UserCustomProperties>();
|
| o["x"] = buildUserCustomProperties();
|
| o["y"] = buildUserCustomProperties();
|
| return o;
|
| }
|
|
|
| -checkUnnamed846(core.Map<core.String, api.UserCustomProperties> o) {
|
| +checkUnnamed822(core.Map<core.String, api.UserCustomProperties> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUserCustomProperties(o["x"]);
|
| checkUserCustomProperties(o["y"]);
|
| }
|
|
|
| -buildUnnamed847() {
|
| +buildUnnamed823() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed847(core.List<core.String> o) {
|
| +checkUnnamed823(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'));
|
| @@ -1783,10 +1815,10 @@ buildUser() {
|
| if (buildCounterUser < 3) {
|
| o.addresses = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
|
| o.agreedToTerms = true;
|
| - o.aliases = buildUnnamed845();
|
| + o.aliases = buildUnnamed821();
|
| o.changePasswordAtNextLogin = true;
|
| o.creationTime = core.DateTime.parse("2002-02-27T14:01:02");
|
| - o.customSchemas = buildUnnamed846();
|
| + o.customSchemas = buildUnnamed822();
|
| o.customerId = "foo";
|
| o.deletionTime = core.DateTime.parse("2002-02-27T14:01:02");
|
| o.emails = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
|
| @@ -1802,12 +1834,13 @@ buildUser() {
|
| o.isEnforcedIn2Sv = true;
|
| o.isEnrolledIn2Sv = true;
|
| o.isMailboxSetup = true;
|
| + o.keywords = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
|
| o.kind = "foo";
|
| o.languages = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
|
| o.lastLoginTime = core.DateTime.parse("2002-02-27T14:01:02");
|
| o.locations = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
|
| o.name = buildUserName();
|
| - o.nonEditableAliases = buildUnnamed847();
|
| + o.nonEditableAliases = buildUnnamed823();
|
| o.notes = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
|
| o.orgUnitPath = "foo";
|
| o.organizations = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
|
| @@ -1832,10 +1865,10 @@ checkUser(api.User o) {
|
| if (buildCounterUser < 3) {
|
| var casted3 = (o.addresses) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.expect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"], unittest.equals('foo'));
|
| unittest.expect(o.agreedToTerms, unittest.isTrue);
|
| - checkUnnamed845(o.aliases);
|
| + checkUnnamed821(o.aliases);
|
| unittest.expect(o.changePasswordAtNextLogin, unittest.isTrue);
|
| unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
|
| - checkUnnamed846(o.customSchemas);
|
| + checkUnnamed822(o.customSchemas);
|
| unittest.expect(o.customerId, unittest.equals('foo'));
|
| unittest.expect(o.deletionTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
|
| var casted4 = (o.emails) as core.Map; unittest.expect(casted4, unittest.hasLength(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.expect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], unittest.equals('foo'));
|
| @@ -1851,26 +1884,27 @@ checkUser(api.User o) {
|
| unittest.expect(o.isEnforcedIn2Sv, unittest.isTrue);
|
| unittest.expect(o.isEnrolledIn2Sv, unittest.isTrue);
|
| unittest.expect(o.isMailboxSetup, unittest.isTrue);
|
| + var casted7 = (o.keywords) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest.expect(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string"], unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - var casted7 = (o.languages) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest.expect(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string"], unittest.equals('foo'));
|
| + var casted8 = (o.languages) as core.Map; unittest.expect(casted8, unittest.hasLength(3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.expect(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"], unittest.equals('foo'));
|
| unittest.expect(o.lastLoginTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
|
| - var casted8 = (o.locations) as core.Map; unittest.expect(casted8, unittest.hasLength(3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.expect(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"], unittest.equals('foo'));
|
| + var casted9 = (o.locations) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.expect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"], unittest.equals('foo'));
|
| checkUserName(o.name);
|
| - checkUnnamed847(o.nonEditableAliases);
|
| - var casted9 = (o.notes) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.expect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"], unittest.equals('foo'));
|
| + checkUnnamed823(o.nonEditableAliases);
|
| + var casted10 = (o.notes) as core.Map; unittest.expect(casted10, unittest.hasLength(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unittest.expect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["string"], unittest.equals('foo'));
|
| unittest.expect(o.orgUnitPath, unittest.equals('foo'));
|
| - var casted10 = (o.organizations) as core.Map; unittest.expect(casted10, unittest.hasLength(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unittest.expect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["string"], unittest.equals('foo'));
|
| + var casted11 = (o.organizations) as core.Map; unittest.expect(casted11, unittest.hasLength(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest.expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["string"], unittest.equals('foo'));
|
| unittest.expect(o.password, unittest.equals('foo'));
|
| - var casted11 = (o.phones) as core.Map; unittest.expect(casted11, unittest.hasLength(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest.expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["string"], unittest.equals('foo'));
|
| - var casted12 = (o.posixAccounts) as core.Map; unittest.expect(casted12, unittest.hasLength(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest.expect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["string"], unittest.equals('foo'));
|
| + var casted12 = (o.phones) as core.Map; unittest.expect(casted12, unittest.hasLength(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest.expect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["string"], unittest.equals('foo'));
|
| + var casted13 = (o.posixAccounts) as core.Map; unittest.expect(casted13, unittest.hasLength(3)); unittest.expect(casted13["list"], unittest.equals([1, 2, 3])); unittest.expect(casted13["bool"], unittest.equals(true)); unittest.expect(casted13["string"], unittest.equals('foo'));
|
| unittest.expect(o.primaryEmail, unittest.equals('foo'));
|
| - var casted13 = (o.relations) as core.Map; unittest.expect(casted13, unittest.hasLength(3)); unittest.expect(casted13["list"], unittest.equals([1, 2, 3])); unittest.expect(casted13["bool"], unittest.equals(true)); unittest.expect(casted13["string"], unittest.equals('foo'));
|
| - var casted14 = (o.sshPublicKeys) as core.Map; unittest.expect(casted14, unittest.hasLength(3)); unittest.expect(casted14["list"], unittest.equals([1, 2, 3])); unittest.expect(casted14["bool"], unittest.equals(true)); unittest.expect(casted14["string"], unittest.equals('foo'));
|
| + var casted14 = (o.relations) as core.Map; unittest.expect(casted14, unittest.hasLength(3)); unittest.expect(casted14["list"], unittest.equals([1, 2, 3])); unittest.expect(casted14["bool"], unittest.equals(true)); unittest.expect(casted14["string"], unittest.equals('foo'));
|
| + var casted15 = (o.sshPublicKeys) as core.Map; unittest.expect(casted15, unittest.hasLength(3)); unittest.expect(casted15["list"], unittest.equals([1, 2, 3])); unittest.expect(casted15["bool"], unittest.equals(true)); unittest.expect(casted15["string"], unittest.equals('foo'));
|
| unittest.expect(o.suspended, unittest.isTrue);
|
| unittest.expect(o.suspensionReason, unittest.equals('foo'));
|
| unittest.expect(o.thumbnailPhotoEtag, unittest.equals('foo'));
|
| unittest.expect(o.thumbnailPhotoUrl, unittest.equals('foo'));
|
| - var casted15 = (o.websites) as core.Map; unittest.expect(casted15, unittest.hasLength(3)); unittest.expect(casted15["list"], unittest.equals([1, 2, 3])); unittest.expect(casted15["bool"], unittest.equals(true)); unittest.expect(casted15["string"], unittest.equals('foo'));
|
| + var casted16 = (o.websites) as core.Map; unittest.expect(casted16, unittest.hasLength(3)); unittest.expect(casted16["list"], unittest.equals([1, 2, 3])); unittest.expect(casted16["bool"], unittest.equals(true)); unittest.expect(casted16["string"], unittest.equals('foo'));
|
| }
|
| buildCounterUser--;
|
| }
|
| @@ -1948,8 +1982,8 @@ buildUserCustomProperties() {
|
|
|
| checkUserCustomProperties(api.UserCustomProperties o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - var casted16 = (o["a"]) as core.Map; unittest.expect(casted16, unittest.hasLength(3)); unittest.expect(casted16["list"], unittest.equals([1, 2, 3])); unittest.expect(casted16["bool"], unittest.equals(true)); unittest.expect(casted16["string"], unittest.equals('foo'));
|
| - var casted17 = (o["b"]) as core.Map; unittest.expect(casted17, unittest.hasLength(3)); unittest.expect(casted17["list"], unittest.equals([1, 2, 3])); unittest.expect(casted17["bool"], unittest.equals(true)); unittest.expect(casted17["string"], unittest.equals('foo'));
|
| + var casted17 = (o["a"]) as core.Map; unittest.expect(casted17, unittest.hasLength(3)); unittest.expect(casted17["list"], unittest.equals([1, 2, 3])); unittest.expect(casted17["bool"], unittest.equals(true)); unittest.expect(casted17["string"], unittest.equals('foo'));
|
| + var casted18 = (o["b"]) as core.Map; unittest.expect(casted18, unittest.hasLength(3)); unittest.expect(casted18["list"], unittest.equals([1, 2, 3])); unittest.expect(casted18["bool"], unittest.equals(true)); unittest.expect(casted18["string"], unittest.equals('foo'));
|
| }
|
|
|
| core.int buildCounterUserEmail = 0;
|
| @@ -2029,6 +2063,29 @@ checkUserIm(api.UserIm o) {
|
| buildCounterUserIm--;
|
| }
|
|
|
| +core.int buildCounterUserKeyword = 0;
|
| +buildUserKeyword() {
|
| + var o = new api.UserKeyword();
|
| + buildCounterUserKeyword++;
|
| + if (buildCounterUserKeyword < 3) {
|
| + o.customType = "foo";
|
| + o.type = "foo";
|
| + o.value = "foo";
|
| + }
|
| + buildCounterUserKeyword--;
|
| + return o;
|
| +}
|
| +
|
| +checkUserKeyword(api.UserKeyword o) {
|
| + buildCounterUserKeyword++;
|
| + if (buildCounterUserKeyword < 3) {
|
| + unittest.expect(o.customType, unittest.equals('foo'));
|
| + unittest.expect(o.type, unittest.equals('foo'));
|
| + unittest.expect(o.value, unittest.equals('foo'));
|
| + }
|
| + buildCounterUserKeyword--;
|
| +}
|
| +
|
| core.int buildCounterUserLanguage = 0;
|
| buildUserLanguage() {
|
| var o = new api.UserLanguage();
|
| @@ -2345,14 +2402,14 @@ checkUserWebsite(api.UserWebsite o) {
|
| buildCounterUserWebsite--;
|
| }
|
|
|
| -buildUnnamed848() {
|
| +buildUnnamed824() {
|
| var o = new core.List<api.User>();
|
| o.add(buildUser());
|
| o.add(buildUser());
|
| return o;
|
| }
|
|
|
| -checkUnnamed848(core.List<api.User> o) {
|
| +checkUnnamed824(core.List<api.User> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUser(o[0]);
|
| checkUser(o[1]);
|
| @@ -2367,7 +2424,7 @@ buildUsers() {
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.triggerEvent = "foo";
|
| - o.users = buildUnnamed848();
|
| + o.users = buildUnnamed824();
|
| }
|
| buildCounterUsers--;
|
| return o;
|
| @@ -2380,7 +2437,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'));
|
| - checkUnnamed848(o.users);
|
| + checkUnnamed824(o.users);
|
| }
|
| buildCounterUsers--;
|
| }
|
| @@ -2410,14 +2467,14 @@ checkVerificationCode(api.VerificationCode o) {
|
| buildCounterVerificationCode--;
|
| }
|
|
|
| -buildUnnamed849() {
|
| +buildUnnamed825() {
|
| var o = new core.List<api.VerificationCode>();
|
| o.add(buildVerificationCode());
|
| o.add(buildVerificationCode());
|
| return o;
|
| }
|
|
|
| -checkUnnamed849(core.List<api.VerificationCode> o) {
|
| +checkUnnamed825(core.List<api.VerificationCode> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVerificationCode(o[0]);
|
| checkVerificationCode(o[1]);
|
| @@ -2429,7 +2486,7 @@ buildVerificationCodes() {
|
| buildCounterVerificationCodes++;
|
| if (buildCounterVerificationCodes < 3) {
|
| o.etag = "foo";
|
| - o.items = buildUnnamed849();
|
| + o.items = buildUnnamed825();
|
| o.kind = "foo";
|
| }
|
| buildCounterVerificationCodes--;
|
| @@ -2440,59 +2497,59 @@ checkVerificationCodes(api.VerificationCodes o) {
|
| buildCounterVerificationCodes++;
|
| if (buildCounterVerificationCodes < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed849(o.items);
|
| + checkUnnamed825(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterVerificationCodes--;
|
| }
|
|
|
| -buildUnnamed850() {
|
| +buildUnnamed826() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed850(core.List<core.String> o) {
|
| +checkUnnamed826(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'));
|
| }
|
|
|
| -buildUnnamed851() {
|
| +buildUnnamed827() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed851(core.List<core.String> o) {
|
| +checkUnnamed827(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'));
|
| }
|
|
|
| -buildUnnamed852() {
|
| +buildUnnamed828() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed852(core.List<core.String> o) {
|
| +checkUnnamed828(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'));
|
| }
|
|
|
| -buildUnnamed853() {
|
| +buildUnnamed829() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed853(core.List<core.String> o) {
|
| +checkUnnamed829(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'));
|
| @@ -2608,6 +2665,15 @@ main() {
|
| });
|
|
|
|
|
| + unittest.group("obj-schema-ChromeOsMoveDevicesToOu", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildChromeOsMoveDevicesToOu();
|
| + var od = new api.ChromeOsMoveDevicesToOu.fromJson(o.toJson());
|
| + checkChromeOsMoveDevicesToOu(od);
|
| + });
|
| + });
|
| +
|
| +
|
| unittest.group("obj-schema-Customer", () {
|
| unittest.test("to-json--from-json", () {
|
| var o = buildCustomer();
|
| @@ -2950,6 +3016,15 @@ main() {
|
| });
|
|
|
|
|
| + unittest.group("obj-schema-UserKeyword", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildUserKeyword();
|
| + var od = new api.UserKeyword.fromJson(o.toJson());
|
| + checkUserKeyword(od);
|
| + });
|
| + });
|
| +
|
| +
|
| unittest.group("obj-schema-UserLanguage", () {
|
| unittest.test("to-json--from-json", () {
|
| var o = buildUserLanguage();
|
| @@ -3493,6 +3568,63 @@ main() {
|
| })));
|
| });
|
|
|
| + unittest.test("method--moveDevicesToOu", () {
|
| +
|
| + var mock = new HttpServerMock();
|
| + api.ChromeosdevicesResourceApi res = new api.AdminApi(mock).chromeosdevices;
|
| + var arg_request = buildChromeOsMoveDevicesToOu();
|
| + var arg_customerId = "foo";
|
| + var arg_orgUnitPath = "foo";
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| + var obj = new api.ChromeOsMoveDevicesToOu.fromJson(json);
|
| + checkChromeOsMoveDevicesToOu(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 + 19), unittest.equals("admin/directory/v1/"));
|
| + pathOffset += 19;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("customer/"));
|
| + pathOffset += 9;
|
| + index = path.indexOf("/devices/chromeos/moveDevicesToOu", pathOffset);
|
| + unittest.expect(index >= 0, unittest.isTrue);
|
| + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| + pathOffset = index;
|
| + unittest.expect(subPart, unittest.equals("$arg_customerId"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 33), unittest.equals("/devices/chromeos/moveDevicesToOu"));
|
| + pathOffset += 33;
|
| +
|
| + 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]));
|
| + }
|
| + }
|
| + unittest.expect(queryMap["orgUnitPath"].first, unittest.equals(arg_orgUnitPath));
|
| +
|
| +
|
| + var h = {
|
| + "content-type" : "application/json; charset=utf-8",
|
| + };
|
| + var resp = "";
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| + }), true);
|
| + res.moveDevicesToOu(arg_request, arg_customerId, arg_orgUnitPath).then(unittest.expectAsync1((_) {}));
|
| + });
|
| +
|
| unittest.test("method--patch", () {
|
|
|
| var mock = new HttpServerMock();
|
| @@ -5617,7 +5749,7 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits;
|
| var arg_customerId = "foo";
|
| - var arg_orgUnitPath = buildUnnamed850();
|
| + var arg_orgUnitPath = buildUnnamed826();
|
| mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -5671,7 +5803,7 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits;
|
| var arg_customerId = "foo";
|
| - var arg_orgUnitPath = buildUnnamed851();
|
| + var arg_orgUnitPath = buildUnnamed827();
|
| mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -5842,7 +5974,7 @@ main() {
|
| api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits;
|
| var arg_request = buildOrgUnit();
|
| var arg_customerId = "foo";
|
| - var arg_orgUnitPath = buildUnnamed852();
|
| + var arg_orgUnitPath = buildUnnamed828();
|
| mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var obj = new api.OrgUnit.fromJson(json);
|
| checkOrgUnit(obj);
|
| @@ -5902,7 +6034,7 @@ main() {
|
| api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits;
|
| var arg_request = buildOrgUnit();
|
| var arg_customerId = "foo";
|
| - var arg_orgUnitPath = buildUnnamed853();
|
| + var arg_orgUnitPath = buildUnnamed829();
|
| mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var obj = new api.OrgUnit.fromJson(json);
|
| checkOrgUnit(obj);
|
|
|