| Index: generated/googleapis/test/appsactivity/v1_test.dart
|
| diff --git a/generated/googleapis/test/appsactivity/v1_test.dart b/generated/googleapis/test/appsactivity/v1_test.dart
|
| index d751a6ad87cc067665e34d99b9e799238b9d1299..bfb75bb324f7bdbb91193d180802fa1bb396e4a0 100644
|
| --- a/generated/googleapis/test/appsactivity/v1_test.dart
|
| +++ b/generated/googleapis/test/appsactivity/v1_test.dart
|
| @@ -51,14 +51,14 @@ http.StreamedResponse stringResponse(
|
| return new http.StreamedResponse(stream, status, headers: headers);
|
| }
|
|
|
| -buildUnnamed1311() {
|
| +buildUnnamed1568() {
|
| var o = new core.List<api.Event>();
|
| o.add(buildEvent());
|
| o.add(buildEvent());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1311(core.List<api.Event> o) {
|
| +checkUnnamed1568(core.List<api.Event> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkEvent(o[0]);
|
| checkEvent(o[1]);
|
| @@ -70,7 +70,7 @@ buildActivity() {
|
| buildCounterActivity++;
|
| if (buildCounterActivity < 3) {
|
| o.combinedEvent = buildEvent();
|
| - o.singleEvents = buildUnnamed1311();
|
| + o.singleEvents = buildUnnamed1568();
|
| }
|
| buildCounterActivity--;
|
| return o;
|
| @@ -80,32 +80,32 @@ checkActivity(api.Activity o) {
|
| buildCounterActivity++;
|
| if (buildCounterActivity < 3) {
|
| checkEvent(o.combinedEvent);
|
| - checkUnnamed1311(o.singleEvents);
|
| + checkUnnamed1568(o.singleEvents);
|
| }
|
| buildCounterActivity--;
|
| }
|
|
|
| -buildUnnamed1312() {
|
| +buildUnnamed1569() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1312(core.List<core.String> o) {
|
| +checkUnnamed1569(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'));
|
| }
|
|
|
| -buildUnnamed1313() {
|
| +buildUnnamed1570() {
|
| var o = new core.List<api.PermissionChange>();
|
| o.add(buildPermissionChange());
|
| o.add(buildPermissionChange());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1313(core.List<api.PermissionChange> o) {
|
| +checkUnnamed1570(core.List<api.PermissionChange> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPermissionChange(o[0]);
|
| checkPermissionChange(o[1]);
|
| @@ -116,11 +116,11 @@ buildEvent() {
|
| var o = new api.Event();
|
| buildCounterEvent++;
|
| if (buildCounterEvent < 3) {
|
| - o.additionalEventTypes = buildUnnamed1312();
|
| + o.additionalEventTypes = buildUnnamed1569();
|
| o.eventTimeMillis = "foo";
|
| o.fromUserDeletion = true;
|
| o.move = buildMove();
|
| - o.permissionChanges = buildUnnamed1313();
|
| + o.permissionChanges = buildUnnamed1570();
|
| o.primaryEventType = "foo";
|
| o.rename = buildRename();
|
| o.target = buildTarget();
|
| @@ -133,11 +133,11 @@ buildEvent() {
|
| checkEvent(api.Event o) {
|
| buildCounterEvent++;
|
| if (buildCounterEvent < 3) {
|
| - checkUnnamed1312(o.additionalEventTypes);
|
| + checkUnnamed1569(o.additionalEventTypes);
|
| unittest.expect(o.eventTimeMillis, unittest.equals('foo'));
|
| unittest.expect(o.fromUserDeletion, unittest.isTrue);
|
| checkMove(o.move);
|
| - checkUnnamed1313(o.permissionChanges);
|
| + checkUnnamed1570(o.permissionChanges);
|
| unittest.expect(o.primaryEventType, unittest.equals('foo'));
|
| checkRename(o.rename);
|
| checkTarget(o.target);
|
| @@ -146,14 +146,14 @@ checkEvent(api.Event o) {
|
| buildCounterEvent--;
|
| }
|
|
|
| -buildUnnamed1314() {
|
| +buildUnnamed1571() {
|
| var o = new core.List<api.Activity>();
|
| o.add(buildActivity());
|
| o.add(buildActivity());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1314(core.List<api.Activity> o) {
|
| +checkUnnamed1571(core.List<api.Activity> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkActivity(o[0]);
|
| checkActivity(o[1]);
|
| @@ -164,7 +164,7 @@ buildListActivitiesResponse() {
|
| var o = new api.ListActivitiesResponse();
|
| buildCounterListActivitiesResponse++;
|
| if (buildCounterListActivitiesResponse < 3) {
|
| - o.activities = buildUnnamed1314();
|
| + o.activities = buildUnnamed1571();
|
| o.nextPageToken = "foo";
|
| }
|
| buildCounterListActivitiesResponse--;
|
| @@ -174,33 +174,33 @@ buildListActivitiesResponse() {
|
| checkListActivitiesResponse(api.ListActivitiesResponse o) {
|
| buildCounterListActivitiesResponse++;
|
| if (buildCounterListActivitiesResponse < 3) {
|
| - checkUnnamed1314(o.activities);
|
| + checkUnnamed1571(o.activities);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterListActivitiesResponse--;
|
| }
|
|
|
| -buildUnnamed1315() {
|
| +buildUnnamed1572() {
|
| var o = new core.List<api.Parent>();
|
| o.add(buildParent());
|
| o.add(buildParent());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1315(core.List<api.Parent> o) {
|
| +checkUnnamed1572(core.List<api.Parent> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkParent(o[0]);
|
| checkParent(o[1]);
|
| }
|
|
|
| -buildUnnamed1316() {
|
| +buildUnnamed1573() {
|
| var o = new core.List<api.Parent>();
|
| o.add(buildParent());
|
| o.add(buildParent());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1316(core.List<api.Parent> o) {
|
| +checkUnnamed1573(core.List<api.Parent> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkParent(o[0]);
|
| checkParent(o[1]);
|
| @@ -211,8 +211,8 @@ buildMove() {
|
| var o = new api.Move();
|
| buildCounterMove++;
|
| if (buildCounterMove < 3) {
|
| - o.addedParents = buildUnnamed1315();
|
| - o.removedParents = buildUnnamed1316();
|
| + o.addedParents = buildUnnamed1572();
|
| + o.removedParents = buildUnnamed1573();
|
| }
|
| buildCounterMove--;
|
| return o;
|
| @@ -221,8 +221,8 @@ buildMove() {
|
| checkMove(api.Move o) {
|
| buildCounterMove++;
|
| if (buildCounterMove < 3) {
|
| - checkUnnamed1315(o.addedParents);
|
| - checkUnnamed1316(o.removedParents);
|
| + checkUnnamed1572(o.addedParents);
|
| + checkUnnamed1573(o.removedParents);
|
| }
|
| buildCounterMove--;
|
| }
|
| @@ -279,27 +279,27 @@ checkPermission(api.Permission o) {
|
| buildCounterPermission--;
|
| }
|
|
|
| -buildUnnamed1317() {
|
| +buildUnnamed1574() {
|
| var o = new core.List<api.Permission>();
|
| o.add(buildPermission());
|
| o.add(buildPermission());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1317(core.List<api.Permission> o) {
|
| +checkUnnamed1574(core.List<api.Permission> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPermission(o[0]);
|
| checkPermission(o[1]);
|
| }
|
|
|
| -buildUnnamed1318() {
|
| +buildUnnamed1575() {
|
| var o = new core.List<api.Permission>();
|
| o.add(buildPermission());
|
| o.add(buildPermission());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1318(core.List<api.Permission> o) {
|
| +checkUnnamed1575(core.List<api.Permission> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPermission(o[0]);
|
| checkPermission(o[1]);
|
| @@ -310,8 +310,8 @@ buildPermissionChange() {
|
| var o = new api.PermissionChange();
|
| buildCounterPermissionChange++;
|
| if (buildCounterPermissionChange < 3) {
|
| - o.addedPermissions = buildUnnamed1317();
|
| - o.removedPermissions = buildUnnamed1318();
|
| + o.addedPermissions = buildUnnamed1574();
|
| + o.removedPermissions = buildUnnamed1575();
|
| }
|
| buildCounterPermissionChange--;
|
| return o;
|
| @@ -320,8 +320,8 @@ buildPermissionChange() {
|
| checkPermissionChange(api.PermissionChange o) {
|
| buildCounterPermissionChange++;
|
| if (buildCounterPermissionChange < 3) {
|
| - checkUnnamed1317(o.addedPermissions);
|
| - checkUnnamed1318(o.removedPermissions);
|
| + checkUnnamed1574(o.addedPermissions);
|
| + checkUnnamed1575(o.removedPermissions);
|
| }
|
| buildCounterPermissionChange--;
|
| }
|
| @@ -394,7 +394,9 @@ buildUser() {
|
| var o = new api.User();
|
| buildCounterUser++;
|
| if (buildCounterUser < 3) {
|
| + o.isDeleted = true;
|
| o.name = "foo";
|
| + o.permissionId = "foo";
|
| o.photo = buildPhoto();
|
| }
|
| buildCounterUser--;
|
| @@ -404,7 +406,9 @@ buildUser() {
|
| checkUser(api.User o) {
|
| buildCounterUser++;
|
| if (buildCounterUser < 3) {
|
| + unittest.expect(o.isDeleted, unittest.isTrue);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| + unittest.expect(o.permissionId, unittest.equals('foo'));
|
| checkPhoto(o.photo);
|
| }
|
| buildCounterUser--;
|
|
|