| Index: generated/googleapis/test/mirror/v1_test.dart
|
| diff --git a/generated/googleapis/test/mirror/v1_test.dart b/generated/googleapis/test/mirror/v1_test.dart
|
| index 0075541fde3da4c9dd10fb9be332d63f1402c11a..b01bc218fbccdc0d603ec94afed311f7bea2eeee 100644
|
| --- a/generated/googleapis/test/mirror/v1_test.dart
|
| +++ b/generated/googleapis/test/mirror/v1_test.dart
|
| @@ -51,40 +51,40 @@ http.StreamedResponse stringResponse(
|
| return new http.StreamedResponse(stream, status, headers: headers);
|
| }
|
|
|
| -buildUnnamed1279() {
|
| +buildUnnamed1332() {
|
| var o = new core.List<api.AuthToken>();
|
| o.add(buildAuthToken());
|
| o.add(buildAuthToken());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1279(core.List<api.AuthToken> o) {
|
| +checkUnnamed1332(core.List<api.AuthToken> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAuthToken(o[0]);
|
| checkAuthToken(o[1]);
|
| }
|
|
|
| -buildUnnamed1280() {
|
| +buildUnnamed1333() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1280(core.List<core.String> o) {
|
| +checkUnnamed1333(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'));
|
| }
|
|
|
| -buildUnnamed1281() {
|
| +buildUnnamed1334() {
|
| var o = new core.List<api.UserData>();
|
| o.add(buildUserData());
|
| o.add(buildUserData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1281(core.List<api.UserData> o) {
|
| +checkUnnamed1334(core.List<api.UserData> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUserData(o[0]);
|
| checkUserData(o[1]);
|
| @@ -95,10 +95,10 @@ buildAccount() {
|
| var o = new api.Account();
|
| buildCounterAccount++;
|
| if (buildCounterAccount < 3) {
|
| - o.authTokens = buildUnnamed1279();
|
| - o.features = buildUnnamed1280();
|
| + o.authTokens = buildUnnamed1332();
|
| + o.features = buildUnnamed1333();
|
| o.password = "foo";
|
| - o.userData = buildUnnamed1281();
|
| + o.userData = buildUnnamed1334();
|
| }
|
| buildCounterAccount--;
|
| return o;
|
| @@ -107,10 +107,10 @@ buildAccount() {
|
| checkAccount(api.Account o) {
|
| buildCounterAccount++;
|
| if (buildCounterAccount < 3) {
|
| - checkUnnamed1279(o.authTokens);
|
| - checkUnnamed1280(o.features);
|
| + checkUnnamed1332(o.authTokens);
|
| + checkUnnamed1333(o.features);
|
| unittest.expect(o.password, unittest.equals('foo'));
|
| - checkUnnamed1281(o.userData);
|
| + checkUnnamed1334(o.userData);
|
| }
|
| buildCounterAccount--;
|
| }
|
| @@ -140,14 +140,14 @@ checkAttachment(api.Attachment o) {
|
| buildCounterAttachment--;
|
| }
|
|
|
| -buildUnnamed1282() {
|
| +buildUnnamed1335() {
|
| var o = new core.List<api.Attachment>();
|
| o.add(buildAttachment());
|
| o.add(buildAttachment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1282(core.List<api.Attachment> o) {
|
| +checkUnnamed1335(core.List<api.Attachment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAttachment(o[0]);
|
| checkAttachment(o[1]);
|
| @@ -158,7 +158,7 @@ buildAttachmentsListResponse() {
|
| var o = new api.AttachmentsListResponse();
|
| buildCounterAttachmentsListResponse++;
|
| if (buildCounterAttachmentsListResponse < 3) {
|
| - o.items = buildUnnamed1282();
|
| + o.items = buildUnnamed1335();
|
| o.kind = "foo";
|
| }
|
| buildCounterAttachmentsListResponse--;
|
| @@ -168,7 +168,7 @@ buildAttachmentsListResponse() {
|
| checkAttachmentsListResponse(api.AttachmentsListResponse o) {
|
| buildCounterAttachmentsListResponse++;
|
| if (buildCounterAttachmentsListResponse < 3) {
|
| - checkUnnamed1282(o.items);
|
| + checkUnnamed1335(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterAttachmentsListResponse--;
|
| @@ -214,53 +214,53 @@ checkCommand(api.Command o) {
|
| buildCounterCommand--;
|
| }
|
|
|
| -buildUnnamed1283() {
|
| +buildUnnamed1336() {
|
| var o = new core.List<api.Command>();
|
| o.add(buildCommand());
|
| o.add(buildCommand());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1283(core.List<api.Command> o) {
|
| +checkUnnamed1336(core.List<api.Command> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCommand(o[0]);
|
| checkCommand(o[1]);
|
| }
|
|
|
| -buildUnnamed1284() {
|
| +buildUnnamed1337() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1284(core.List<core.String> o) {
|
| +checkUnnamed1337(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'));
|
| }
|
|
|
| -buildUnnamed1285() {
|
| +buildUnnamed1338() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1285(core.List<core.String> o) {
|
| +checkUnnamed1338(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'));
|
| }
|
|
|
| -buildUnnamed1286() {
|
| +buildUnnamed1339() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1286(core.List<core.String> o) {
|
| +checkUnnamed1339(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'));
|
| @@ -271,15 +271,15 @@ buildContact() {
|
| var o = new api.Contact();
|
| buildCounterContact++;
|
| if (buildCounterContact < 3) {
|
| - o.acceptCommands = buildUnnamed1283();
|
| - o.acceptTypes = buildUnnamed1284();
|
| + o.acceptCommands = buildUnnamed1336();
|
| + o.acceptTypes = buildUnnamed1337();
|
| o.displayName = "foo";
|
| o.id = "foo";
|
| - o.imageUrls = buildUnnamed1285();
|
| + o.imageUrls = buildUnnamed1338();
|
| o.kind = "foo";
|
| o.phoneNumber = "foo";
|
| o.priority = 42;
|
| - o.sharingFeatures = buildUnnamed1286();
|
| + o.sharingFeatures = buildUnnamed1339();
|
| o.source = "foo";
|
| o.speakableName = "foo";
|
| o.type = "foo";
|
| @@ -291,15 +291,15 @@ buildContact() {
|
| checkContact(api.Contact o) {
|
| buildCounterContact++;
|
| if (buildCounterContact < 3) {
|
| - checkUnnamed1283(o.acceptCommands);
|
| - checkUnnamed1284(o.acceptTypes);
|
| + checkUnnamed1336(o.acceptCommands);
|
| + checkUnnamed1337(o.acceptTypes);
|
| unittest.expect(o.displayName, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed1285(o.imageUrls);
|
| + checkUnnamed1338(o.imageUrls);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.phoneNumber, unittest.equals('foo'));
|
| unittest.expect(o.priority, unittest.equals(42));
|
| - checkUnnamed1286(o.sharingFeatures);
|
| + checkUnnamed1339(o.sharingFeatures);
|
| unittest.expect(o.source, unittest.equals('foo'));
|
| unittest.expect(o.speakableName, unittest.equals('foo'));
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| @@ -307,14 +307,14 @@ checkContact(api.Contact o) {
|
| buildCounterContact--;
|
| }
|
|
|
| -buildUnnamed1287() {
|
| +buildUnnamed1340() {
|
| var o = new core.List<api.Contact>();
|
| o.add(buildContact());
|
| o.add(buildContact());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1287(core.List<api.Contact> o) {
|
| +checkUnnamed1340(core.List<api.Contact> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkContact(o[0]);
|
| checkContact(o[1]);
|
| @@ -325,7 +325,7 @@ buildContactsListResponse() {
|
| var o = new api.ContactsListResponse();
|
| buildCounterContactsListResponse++;
|
| if (buildCounterContactsListResponse < 3) {
|
| - o.items = buildUnnamed1287();
|
| + o.items = buildUnnamed1340();
|
| o.kind = "foo";
|
| }
|
| buildCounterContactsListResponse--;
|
| @@ -335,7 +335,7 @@ buildContactsListResponse() {
|
| checkContactsListResponse(api.ContactsListResponse o) {
|
| buildCounterContactsListResponse++;
|
| if (buildCounterContactsListResponse < 3) {
|
| - checkUnnamed1287(o.items);
|
| + checkUnnamed1340(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterContactsListResponse--;
|
| @@ -374,14 +374,14 @@ checkLocation(api.Location o) {
|
| buildCounterLocation--;
|
| }
|
|
|
| -buildUnnamed1288() {
|
| +buildUnnamed1341() {
|
| var o = new core.List<api.Location>();
|
| o.add(buildLocation());
|
| o.add(buildLocation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1288(core.List<api.Location> o) {
|
| +checkUnnamed1341(core.List<api.Location> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLocation(o[0]);
|
| checkLocation(o[1]);
|
| @@ -392,7 +392,7 @@ buildLocationsListResponse() {
|
| var o = new api.LocationsListResponse();
|
| buildCounterLocationsListResponse++;
|
| if (buildCounterLocationsListResponse < 3) {
|
| - o.items = buildUnnamed1288();
|
| + o.items = buildUnnamed1341();
|
| o.kind = "foo";
|
| }
|
| buildCounterLocationsListResponse--;
|
| @@ -402,20 +402,20 @@ buildLocationsListResponse() {
|
| checkLocationsListResponse(api.LocationsListResponse o) {
|
| buildCounterLocationsListResponse++;
|
| if (buildCounterLocationsListResponse < 3) {
|
| - checkUnnamed1288(o.items);
|
| + checkUnnamed1341(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterLocationsListResponse--;
|
| }
|
|
|
| -buildUnnamed1289() {
|
| +buildUnnamed1342() {
|
| var o = new core.List<api.MenuValue>();
|
| o.add(buildMenuValue());
|
| o.add(buildMenuValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1289(core.List<api.MenuValue> o) {
|
| +checkUnnamed1342(core.List<api.MenuValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMenuValue(o[0]);
|
| checkMenuValue(o[1]);
|
| @@ -431,7 +431,7 @@ buildMenuItem() {
|
| o.id = "foo";
|
| o.payload = "foo";
|
| o.removeWhenSelected = true;
|
| - o.values = buildUnnamed1289();
|
| + o.values = buildUnnamed1342();
|
| }
|
| buildCounterMenuItem--;
|
| return o;
|
| @@ -445,7 +445,7 @@ checkMenuItem(api.MenuItem o) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.payload, unittest.equals('foo'));
|
| unittest.expect(o.removeWhenSelected, unittest.isTrue);
|
| - checkUnnamed1289(o.values);
|
| + checkUnnamed1342(o.values);
|
| }
|
| buildCounterMenuItem--;
|
| }
|
| @@ -473,14 +473,14 @@ checkMenuValue(api.MenuValue o) {
|
| buildCounterMenuValue--;
|
| }
|
|
|
| -buildUnnamed1290() {
|
| +buildUnnamed1343() {
|
| var o = new core.List<api.UserAction>();
|
| o.add(buildUserAction());
|
| o.add(buildUserAction());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1290(core.List<api.UserAction> o) {
|
| +checkUnnamed1343(core.List<api.UserAction> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUserAction(o[0]);
|
| checkUserAction(o[1]);
|
| @@ -494,7 +494,7 @@ buildNotification() {
|
| o.collection = "foo";
|
| o.itemId = "foo";
|
| o.operation = "foo";
|
| - o.userActions = buildUnnamed1290();
|
| + o.userActions = buildUnnamed1343();
|
| o.userToken = "foo";
|
| o.verifyToken = "foo";
|
| }
|
| @@ -508,7 +508,7 @@ checkNotification(api.Notification o) {
|
| unittest.expect(o.collection, unittest.equals('foo'));
|
| unittest.expect(o.itemId, unittest.equals('foo'));
|
| unittest.expect(o.operation, unittest.equals('foo'));
|
| - checkUnnamed1290(o.userActions);
|
| + checkUnnamed1343(o.userActions);
|
| unittest.expect(o.userToken, unittest.equals('foo'));
|
| unittest.expect(o.verifyToken, unittest.equals('foo'));
|
| }
|
| @@ -559,14 +559,14 @@ checkSetting(api.Setting o) {
|
| buildCounterSetting--;
|
| }
|
|
|
| -buildUnnamed1291() {
|
| +buildUnnamed1344() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1291(core.List<core.String> o) {
|
| +checkUnnamed1344(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'));
|
| @@ -582,7 +582,7 @@ buildSubscription() {
|
| o.id = "foo";
|
| o.kind = "foo";
|
| o.notification = buildNotification();
|
| - o.operation = buildUnnamed1291();
|
| + o.operation = buildUnnamed1344();
|
| o.updated = core.DateTime.parse("2002-02-27T14:01:02");
|
| o.userToken = "foo";
|
| o.verifyToken = "foo";
|
| @@ -599,7 +599,7 @@ checkSubscription(api.Subscription o) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| checkNotification(o.notification);
|
| - checkUnnamed1291(o.operation);
|
| + checkUnnamed1344(o.operation);
|
| unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
|
| unittest.expect(o.userToken, unittest.equals('foo'));
|
| unittest.expect(o.verifyToken, unittest.equals('foo'));
|
| @@ -607,14 +607,14 @@ checkSubscription(api.Subscription o) {
|
| buildCounterSubscription--;
|
| }
|
|
|
| -buildUnnamed1292() {
|
| +buildUnnamed1345() {
|
| var o = new core.List<api.Subscription>();
|
| o.add(buildSubscription());
|
| o.add(buildSubscription());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1292(core.List<api.Subscription> o) {
|
| +checkUnnamed1345(core.List<api.Subscription> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSubscription(o[0]);
|
| checkSubscription(o[1]);
|
| @@ -625,7 +625,7 @@ buildSubscriptionsListResponse() {
|
| var o = new api.SubscriptionsListResponse();
|
| buildCounterSubscriptionsListResponse++;
|
| if (buildCounterSubscriptionsListResponse < 3) {
|
| - o.items = buildUnnamed1292();
|
| + o.items = buildUnnamed1345();
|
| o.kind = "foo";
|
| }
|
| buildCounterSubscriptionsListResponse--;
|
| @@ -635,46 +635,46 @@ buildSubscriptionsListResponse() {
|
| checkSubscriptionsListResponse(api.SubscriptionsListResponse o) {
|
| buildCounterSubscriptionsListResponse++;
|
| if (buildCounterSubscriptionsListResponse < 3) {
|
| - checkUnnamed1292(o.items);
|
| + checkUnnamed1345(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterSubscriptionsListResponse--;
|
| }
|
|
|
| -buildUnnamed1293() {
|
| +buildUnnamed1346() {
|
| var o = new core.List<api.Attachment>();
|
| o.add(buildAttachment());
|
| o.add(buildAttachment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1293(core.List<api.Attachment> o) {
|
| +checkUnnamed1346(core.List<api.Attachment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAttachment(o[0]);
|
| checkAttachment(o[1]);
|
| }
|
|
|
| -buildUnnamed1294() {
|
| +buildUnnamed1347() {
|
| var o = new core.List<api.MenuItem>();
|
| o.add(buildMenuItem());
|
| o.add(buildMenuItem());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1294(core.List<api.MenuItem> o) {
|
| +checkUnnamed1347(core.List<api.MenuItem> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMenuItem(o[0]);
|
| checkMenuItem(o[1]);
|
| }
|
|
|
| -buildUnnamed1295() {
|
| +buildUnnamed1348() {
|
| var o = new core.List<api.Contact>();
|
| o.add(buildContact());
|
| o.add(buildContact());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1295(core.List<api.Contact> o) {
|
| +checkUnnamed1348(core.List<api.Contact> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkContact(o[0]);
|
| checkContact(o[1]);
|
| @@ -685,7 +685,7 @@ buildTimelineItem() {
|
| var o = new api.TimelineItem();
|
| buildCounterTimelineItem++;
|
| if (buildCounterTimelineItem < 3) {
|
| - o.attachments = buildUnnamed1293();
|
| + o.attachments = buildUnnamed1346();
|
| o.bundleId = "foo";
|
| o.canonicalUrl = "foo";
|
| o.created = core.DateTime.parse("2002-02-27T14:01:02");
|
| @@ -700,10 +700,10 @@ buildTimelineItem() {
|
| o.isPinned = true;
|
| o.kind = "foo";
|
| o.location = buildLocation();
|
| - o.menuItems = buildUnnamed1294();
|
| + o.menuItems = buildUnnamed1347();
|
| o.notification = buildNotificationConfig();
|
| o.pinScore = 42;
|
| - o.recipients = buildUnnamed1295();
|
| + o.recipients = buildUnnamed1348();
|
| o.selfLink = "foo";
|
| o.sourceItemId = "foo";
|
| o.speakableText = "foo";
|
| @@ -719,7 +719,7 @@ buildTimelineItem() {
|
| checkTimelineItem(api.TimelineItem o) {
|
| buildCounterTimelineItem++;
|
| if (buildCounterTimelineItem < 3) {
|
| - checkUnnamed1293(o.attachments);
|
| + checkUnnamed1346(o.attachments);
|
| unittest.expect(o.bundleId, unittest.equals('foo'));
|
| unittest.expect(o.canonicalUrl, unittest.equals('foo'));
|
| unittest.expect(o.created, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
|
| @@ -734,10 +734,10 @@ checkTimelineItem(api.TimelineItem o) {
|
| unittest.expect(o.isPinned, unittest.isTrue);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| checkLocation(o.location);
|
| - checkUnnamed1294(o.menuItems);
|
| + checkUnnamed1347(o.menuItems);
|
| checkNotificationConfig(o.notification);
|
| unittest.expect(o.pinScore, unittest.equals(42));
|
| - checkUnnamed1295(o.recipients);
|
| + checkUnnamed1348(o.recipients);
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| unittest.expect(o.sourceItemId, unittest.equals('foo'));
|
| unittest.expect(o.speakableText, unittest.equals('foo'));
|
| @@ -749,14 +749,14 @@ checkTimelineItem(api.TimelineItem o) {
|
| buildCounterTimelineItem--;
|
| }
|
|
|
| -buildUnnamed1296() {
|
| +buildUnnamed1349() {
|
| var o = new core.List<api.TimelineItem>();
|
| o.add(buildTimelineItem());
|
| o.add(buildTimelineItem());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1296(core.List<api.TimelineItem> o) {
|
| +checkUnnamed1349(core.List<api.TimelineItem> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTimelineItem(o[0]);
|
| checkTimelineItem(o[1]);
|
| @@ -767,7 +767,7 @@ buildTimelineListResponse() {
|
| var o = new api.TimelineListResponse();
|
| buildCounterTimelineListResponse++;
|
| if (buildCounterTimelineListResponse < 3) {
|
| - o.items = buildUnnamed1296();
|
| + o.items = buildUnnamed1349();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -778,7 +778,7 @@ buildTimelineListResponse() {
|
| checkTimelineListResponse(api.TimelineListResponse o) {
|
| buildCounterTimelineListResponse++;
|
| if (buildCounterTimelineListResponse < 3) {
|
| - checkUnnamed1296(o.items);
|
| + checkUnnamed1349(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
|
|