| Index: generated/googleapis_beta/test/adexchangebuyer2/v2beta1_test.dart
|
| diff --git a/generated/googleapis_beta/test/adexchangebuyer2/v2beta1_test.dart b/generated/googleapis_beta/test/adexchangebuyer2/v2beta1_test.dart
|
| index 37e3d45f205af15a126991e5a9f8c900201b9184..a6b85f92e5181a15d6e5c1a47ec5e8672ff604d3 100644
|
| --- a/generated/googleapis_beta/test/adexchangebuyer2/v2beta1_test.dart
|
| +++ b/generated/googleapis_beta/test/adexchangebuyer2/v2beta1_test.dart
|
| @@ -132,14 +132,14 @@ checkClientUserInvitation(api.ClientUserInvitation o) {
|
| buildCounterClientUserInvitation--;
|
| }
|
|
|
| -buildUnnamed3793() {
|
| +buildUnnamed3885() {
|
| var o = new core.List<api.ClientUserInvitation>();
|
| o.add(buildClientUserInvitation());
|
| o.add(buildClientUserInvitation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3793(core.List<api.ClientUserInvitation> o) {
|
| +checkUnnamed3885(core.List<api.ClientUserInvitation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkClientUserInvitation(o[0]);
|
| checkClientUserInvitation(o[1]);
|
| @@ -150,7 +150,7 @@ buildListClientUserInvitationsResponse() {
|
| var o = new api.ListClientUserInvitationsResponse();
|
| buildCounterListClientUserInvitationsResponse++;
|
| if (buildCounterListClientUserInvitationsResponse < 3) {
|
| - o.invitations = buildUnnamed3793();
|
| + o.invitations = buildUnnamed3885();
|
| o.nextPageToken = "foo";
|
| }
|
| buildCounterListClientUserInvitationsResponse--;
|
| @@ -160,20 +160,20 @@ buildListClientUserInvitationsResponse() {
|
| checkListClientUserInvitationsResponse(api.ListClientUserInvitationsResponse o) {
|
| buildCounterListClientUserInvitationsResponse++;
|
| if (buildCounterListClientUserInvitationsResponse < 3) {
|
| - checkUnnamed3793(o.invitations);
|
| + checkUnnamed3885(o.invitations);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterListClientUserInvitationsResponse--;
|
| }
|
|
|
| -buildUnnamed3794() {
|
| +buildUnnamed3886() {
|
| var o = new core.List<api.ClientUser>();
|
| o.add(buildClientUser());
|
| o.add(buildClientUser());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3794(core.List<api.ClientUser> o) {
|
| +checkUnnamed3886(core.List<api.ClientUser> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkClientUser(o[0]);
|
| checkClientUser(o[1]);
|
| @@ -185,7 +185,7 @@ buildListClientUsersResponse() {
|
| buildCounterListClientUsersResponse++;
|
| if (buildCounterListClientUsersResponse < 3) {
|
| o.nextPageToken = "foo";
|
| - o.users = buildUnnamed3794();
|
| + o.users = buildUnnamed3886();
|
| }
|
| buildCounterListClientUsersResponse--;
|
| return o;
|
| @@ -195,19 +195,19 @@ checkListClientUsersResponse(api.ListClientUsersResponse o) {
|
| buildCounterListClientUsersResponse++;
|
| if (buildCounterListClientUsersResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed3794(o.users);
|
| + checkUnnamed3886(o.users);
|
| }
|
| buildCounterListClientUsersResponse--;
|
| }
|
|
|
| -buildUnnamed3795() {
|
| +buildUnnamed3887() {
|
| var o = new core.List<api.Client>();
|
| o.add(buildClient());
|
| o.add(buildClient());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3795(core.List<api.Client> o) {
|
| +checkUnnamed3887(core.List<api.Client> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkClient(o[0]);
|
| checkClient(o[1]);
|
| @@ -218,7 +218,7 @@ buildListClientsResponse() {
|
| var o = new api.ListClientsResponse();
|
| buildCounterListClientsResponse++;
|
| if (buildCounterListClientsResponse < 3) {
|
| - o.clients = buildUnnamed3795();
|
| + o.clients = buildUnnamed3887();
|
| o.nextPageToken = "foo";
|
| }
|
| buildCounterListClientsResponse--;
|
| @@ -228,7 +228,7 @@ buildListClientsResponse() {
|
| checkListClientsResponse(api.ListClientsResponse o) {
|
| buildCounterListClientsResponse++;
|
| if (buildCounterListClientsResponse < 3) {
|
| - checkUnnamed3795(o.clients);
|
| + checkUnnamed3887(o.clients);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterListClientsResponse--;
|
| @@ -651,8 +651,8 @@ main() {
|
| api.AccountsClientsInvitationsResourceApi res = new api.Adexchangebuyer2Api(mock).accounts.clients.invitations;
|
| var arg_accountId = "foo";
|
| var arg_clientAccountId = "foo";
|
| - var arg_pageSize = 42;
|
| var arg_pageToken = "foo";
|
| + var arg_pageSize = 42;
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -693,8 +693,8 @@ main() {
|
| addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| }
|
| }
|
| - unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
|
| unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
|
| + unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
|
|
|
|
|
| var h = {
|
| @@ -703,7 +703,7 @@ main() {
|
| var resp = convert.JSON.encode(buildListClientUserInvitationsResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_accountId, arg_clientAccountId, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListClientUserInvitationsResponse response) {
|
| + res.list(arg_accountId, arg_clientAccountId, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListClientUserInvitationsResponse response) {
|
| checkListClientUserInvitationsResponse(response);
|
| })));
|
| });
|
| @@ -781,8 +781,8 @@ main() {
|
| api.AccountsClientsUsersResourceApi res = new api.Adexchangebuyer2Api(mock).accounts.clients.users;
|
| var arg_accountId = "foo";
|
| var arg_clientAccountId = "foo";
|
| - var arg_pageSize = 42;
|
| var arg_pageToken = "foo";
|
| + var arg_pageSize = 42;
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -823,8 +823,8 @@ main() {
|
| addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| }
|
| }
|
| - unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
|
| unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
|
| + unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
|
|
|
|
|
| var h = {
|
| @@ -833,7 +833,7 @@ main() {
|
| var resp = convert.JSON.encode(buildListClientUsersResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_accountId, arg_clientAccountId, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListClientUsersResponse response) {
|
| + res.list(arg_accountId, arg_clientAccountId, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListClientUsersResponse response) {
|
| checkListClientUsersResponse(response);
|
| })));
|
| });
|
|
|