| Index: generated/googleapis/test/gmail/v1_test.dart
|
| diff --git a/generated/googleapis/test/gmail/v1_test.dart b/generated/googleapis/test/gmail/v1_test.dart
|
| index 5bda8fd3cca1ced324d93f8185c2e16ac1366df0..2500f3298e72f14afc6a904e9ee9055f84e41443 100644
|
| --- a/generated/googleapis/test/gmail/v1_test.dart
|
| +++ b/generated/googleapis/test/gmail/v1_test.dart
|
| @@ -37,14 +37,14 @@ checkDraft(api.Draft o) {
|
| buildCounterDraft--;
|
| }
|
|
|
| -buildUnnamed164() {
|
| +buildUnnamed872() {
|
| var o = new core.List<api.Message>();
|
| o.add(buildMessage());
|
| o.add(buildMessage());
|
| return o;
|
| }
|
|
|
| -checkUnnamed164(core.List<api.Message> o) {
|
| +checkUnnamed872(core.List<api.Message> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMessage(o[0]);
|
| checkMessage(o[1]);
|
| @@ -56,7 +56,7 @@ buildHistory() {
|
| buildCounterHistory++;
|
| if (buildCounterHistory < 3) {
|
| o.id = "foo";
|
| - o.messages = buildUnnamed164();
|
| + o.messages = buildUnnamed872();
|
| }
|
| buildCounterHistory--;
|
| return o;
|
| @@ -66,7 +66,7 @@ checkHistory(api.History o) {
|
| buildCounterHistory++;
|
| if (buildCounterHistory < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed164(o.messages);
|
| + checkUnnamed872(o.messages);
|
| }
|
| buildCounterHistory--;
|
| }
|
| @@ -106,14 +106,14 @@ checkLabel(api.Label o) {
|
| buildCounterLabel--;
|
| }
|
|
|
| -buildUnnamed165() {
|
| +buildUnnamed873() {
|
| var o = new core.List<api.Draft>();
|
| o.add(buildDraft());
|
| o.add(buildDraft());
|
| return o;
|
| }
|
|
|
| -checkUnnamed165(core.List<api.Draft> o) {
|
| +checkUnnamed873(core.List<api.Draft> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDraft(o[0]);
|
| checkDraft(o[1]);
|
| @@ -124,7 +124,7 @@ buildListDraftsResponse() {
|
| var o = new api.ListDraftsResponse();
|
| buildCounterListDraftsResponse++;
|
| if (buildCounterListDraftsResponse < 3) {
|
| - o.drafts = buildUnnamed165();
|
| + o.drafts = buildUnnamed873();
|
| o.nextPageToken = "foo";
|
| o.resultSizeEstimate = 42;
|
| }
|
| @@ -135,21 +135,21 @@ buildListDraftsResponse() {
|
| checkListDraftsResponse(api.ListDraftsResponse o) {
|
| buildCounterListDraftsResponse++;
|
| if (buildCounterListDraftsResponse < 3) {
|
| - checkUnnamed165(o.drafts);
|
| + checkUnnamed873(o.drafts);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.resultSizeEstimate, unittest.equals(42));
|
| }
|
| buildCounterListDraftsResponse--;
|
| }
|
|
|
| -buildUnnamed166() {
|
| +buildUnnamed874() {
|
| var o = new core.List<api.History>();
|
| o.add(buildHistory());
|
| o.add(buildHistory());
|
| return o;
|
| }
|
|
|
| -checkUnnamed166(core.List<api.History> o) {
|
| +checkUnnamed874(core.List<api.History> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkHistory(o[0]);
|
| checkHistory(o[1]);
|
| @@ -160,7 +160,7 @@ buildListHistoryResponse() {
|
| var o = new api.ListHistoryResponse();
|
| buildCounterListHistoryResponse++;
|
| if (buildCounterListHistoryResponse < 3) {
|
| - o.history = buildUnnamed166();
|
| + o.history = buildUnnamed874();
|
| o.historyId = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -171,21 +171,21 @@ buildListHistoryResponse() {
|
| checkListHistoryResponse(api.ListHistoryResponse o) {
|
| buildCounterListHistoryResponse++;
|
| if (buildCounterListHistoryResponse < 3) {
|
| - checkUnnamed166(o.history);
|
| + checkUnnamed874(o.history);
|
| unittest.expect(o.historyId, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterListHistoryResponse--;
|
| }
|
|
|
| -buildUnnamed167() {
|
| +buildUnnamed875() {
|
| var o = new core.List<api.Label>();
|
| o.add(buildLabel());
|
| o.add(buildLabel());
|
| return o;
|
| }
|
|
|
| -checkUnnamed167(core.List<api.Label> o) {
|
| +checkUnnamed875(core.List<api.Label> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLabel(o[0]);
|
| checkLabel(o[1]);
|
| @@ -196,7 +196,7 @@ buildListLabelsResponse() {
|
| var o = new api.ListLabelsResponse();
|
| buildCounterListLabelsResponse++;
|
| if (buildCounterListLabelsResponse < 3) {
|
| - o.labels = buildUnnamed167();
|
| + o.labels = buildUnnamed875();
|
| }
|
| buildCounterListLabelsResponse--;
|
| return o;
|
| @@ -205,19 +205,19 @@ buildListLabelsResponse() {
|
| checkListLabelsResponse(api.ListLabelsResponse o) {
|
| buildCounterListLabelsResponse++;
|
| if (buildCounterListLabelsResponse < 3) {
|
| - checkUnnamed167(o.labels);
|
| + checkUnnamed875(o.labels);
|
| }
|
| buildCounterListLabelsResponse--;
|
| }
|
|
|
| -buildUnnamed168() {
|
| +buildUnnamed876() {
|
| var o = new core.List<api.Message>();
|
| o.add(buildMessage());
|
| o.add(buildMessage());
|
| return o;
|
| }
|
|
|
| -checkUnnamed168(core.List<api.Message> o) {
|
| +checkUnnamed876(core.List<api.Message> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMessage(o[0]);
|
| checkMessage(o[1]);
|
| @@ -228,7 +228,7 @@ buildListMessagesResponse() {
|
| var o = new api.ListMessagesResponse();
|
| buildCounterListMessagesResponse++;
|
| if (buildCounterListMessagesResponse < 3) {
|
| - o.messages = buildUnnamed168();
|
| + o.messages = buildUnnamed876();
|
| o.nextPageToken = "foo";
|
| o.resultSizeEstimate = 42;
|
| }
|
| @@ -239,21 +239,21 @@ buildListMessagesResponse() {
|
| checkListMessagesResponse(api.ListMessagesResponse o) {
|
| buildCounterListMessagesResponse++;
|
| if (buildCounterListMessagesResponse < 3) {
|
| - checkUnnamed168(o.messages);
|
| + checkUnnamed876(o.messages);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.resultSizeEstimate, unittest.equals(42));
|
| }
|
| buildCounterListMessagesResponse--;
|
| }
|
|
|
| -buildUnnamed169() {
|
| +buildUnnamed877() {
|
| var o = new core.List<api.Thread>();
|
| o.add(buildThread());
|
| o.add(buildThread());
|
| return o;
|
| }
|
|
|
| -checkUnnamed169(core.List<api.Thread> o) {
|
| +checkUnnamed877(core.List<api.Thread> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkThread(o[0]);
|
| checkThread(o[1]);
|
| @@ -266,7 +266,7 @@ buildListThreadsResponse() {
|
| if (buildCounterListThreadsResponse < 3) {
|
| o.nextPageToken = "foo";
|
| o.resultSizeEstimate = 42;
|
| - o.threads = buildUnnamed169();
|
| + o.threads = buildUnnamed877();
|
| }
|
| buildCounterListThreadsResponse--;
|
| return o;
|
| @@ -277,19 +277,19 @@ checkListThreadsResponse(api.ListThreadsResponse o) {
|
| if (buildCounterListThreadsResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.resultSizeEstimate, unittest.equals(42));
|
| - checkUnnamed169(o.threads);
|
| + checkUnnamed877(o.threads);
|
| }
|
| buildCounterListThreadsResponse--;
|
| }
|
|
|
| -buildUnnamed170() {
|
| +buildUnnamed878() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed170(core.List<core.String> o) {
|
| +checkUnnamed878(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'));
|
| @@ -302,7 +302,7 @@ buildMessage() {
|
| if (buildCounterMessage < 3) {
|
| o.historyId = "foo";
|
| o.id = "foo";
|
| - o.labelIds = buildUnnamed170();
|
| + o.labelIds = buildUnnamed878();
|
| o.payload = buildMessagePart();
|
| o.raw = "foo";
|
| o.sizeEstimate = 42;
|
| @@ -318,7 +318,7 @@ checkMessage(api.Message o) {
|
| if (buildCounterMessage < 3) {
|
| unittest.expect(o.historyId, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed170(o.labelIds);
|
| + checkUnnamed878(o.labelIds);
|
| checkMessagePart(o.payload);
|
| unittest.expect(o.raw, unittest.equals('foo'));
|
| unittest.expect(o.sizeEstimate, unittest.equals(42));
|
| @@ -328,27 +328,27 @@ checkMessage(api.Message o) {
|
| buildCounterMessage--;
|
| }
|
|
|
| -buildUnnamed171() {
|
| +buildUnnamed879() {
|
| var o = new core.List<api.MessagePartHeader>();
|
| o.add(buildMessagePartHeader());
|
| o.add(buildMessagePartHeader());
|
| return o;
|
| }
|
|
|
| -checkUnnamed171(core.List<api.MessagePartHeader> o) {
|
| +checkUnnamed879(core.List<api.MessagePartHeader> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMessagePartHeader(o[0]);
|
| checkMessagePartHeader(o[1]);
|
| }
|
|
|
| -buildUnnamed172() {
|
| +buildUnnamed880() {
|
| var o = new core.List<api.MessagePart>();
|
| o.add(buildMessagePart());
|
| o.add(buildMessagePart());
|
| return o;
|
| }
|
|
|
| -checkUnnamed172(core.List<api.MessagePart> o) {
|
| +checkUnnamed880(core.List<api.MessagePart> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMessagePart(o[0]);
|
| checkMessagePart(o[1]);
|
| @@ -361,10 +361,10 @@ buildMessagePart() {
|
| if (buildCounterMessagePart < 3) {
|
| o.body = buildMessagePartBody();
|
| o.filename = "foo";
|
| - o.headers = buildUnnamed171();
|
| + o.headers = buildUnnamed879();
|
| o.mimeType = "foo";
|
| o.partId = "foo";
|
| - o.parts = buildUnnamed172();
|
| + o.parts = buildUnnamed880();
|
| }
|
| buildCounterMessagePart--;
|
| return o;
|
| @@ -375,10 +375,10 @@ checkMessagePart(api.MessagePart o) {
|
| if (buildCounterMessagePart < 3) {
|
| checkMessagePartBody(o.body);
|
| unittest.expect(o.filename, unittest.equals('foo'));
|
| - checkUnnamed171(o.headers);
|
| + checkUnnamed879(o.headers);
|
| unittest.expect(o.mimeType, unittest.equals('foo'));
|
| unittest.expect(o.partId, unittest.equals('foo'));
|
| - checkUnnamed172(o.parts);
|
| + checkUnnamed880(o.parts);
|
| }
|
| buildCounterMessagePart--;
|
| }
|
| @@ -427,27 +427,27 @@ checkMessagePartHeader(api.MessagePartHeader o) {
|
| buildCounterMessagePartHeader--;
|
| }
|
|
|
| -buildUnnamed173() {
|
| +buildUnnamed881() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed173(core.List<core.String> o) {
|
| +checkUnnamed881(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'));
|
| }
|
|
|
| -buildUnnamed174() {
|
| +buildUnnamed882() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed174(core.List<core.String> o) {
|
| +checkUnnamed882(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'));
|
| @@ -458,8 +458,8 @@ buildModifyMessageRequest() {
|
| var o = new api.ModifyMessageRequest();
|
| buildCounterModifyMessageRequest++;
|
| if (buildCounterModifyMessageRequest < 3) {
|
| - o.addLabelIds = buildUnnamed173();
|
| - o.removeLabelIds = buildUnnamed174();
|
| + o.addLabelIds = buildUnnamed881();
|
| + o.removeLabelIds = buildUnnamed882();
|
| }
|
| buildCounterModifyMessageRequest--;
|
| return o;
|
| @@ -468,33 +468,33 @@ buildModifyMessageRequest() {
|
| checkModifyMessageRequest(api.ModifyMessageRequest o) {
|
| buildCounterModifyMessageRequest++;
|
| if (buildCounterModifyMessageRequest < 3) {
|
| - checkUnnamed173(o.addLabelIds);
|
| - checkUnnamed174(o.removeLabelIds);
|
| + checkUnnamed881(o.addLabelIds);
|
| + checkUnnamed882(o.removeLabelIds);
|
| }
|
| buildCounterModifyMessageRequest--;
|
| }
|
|
|
| -buildUnnamed175() {
|
| +buildUnnamed883() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed175(core.List<core.String> o) {
|
| +checkUnnamed883(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'));
|
| }
|
|
|
| -buildUnnamed176() {
|
| +buildUnnamed884() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed176(core.List<core.String> o) {
|
| +checkUnnamed884(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'));
|
| @@ -505,8 +505,8 @@ buildModifyThreadRequest() {
|
| var o = new api.ModifyThreadRequest();
|
| buildCounterModifyThreadRequest++;
|
| if (buildCounterModifyThreadRequest < 3) {
|
| - o.addLabelIds = buildUnnamed175();
|
| - o.removeLabelIds = buildUnnamed176();
|
| + o.addLabelIds = buildUnnamed883();
|
| + o.removeLabelIds = buildUnnamed884();
|
| }
|
| buildCounterModifyThreadRequest--;
|
| return o;
|
| @@ -515,8 +515,8 @@ buildModifyThreadRequest() {
|
| checkModifyThreadRequest(api.ModifyThreadRequest o) {
|
| buildCounterModifyThreadRequest++;
|
| if (buildCounterModifyThreadRequest < 3) {
|
| - checkUnnamed175(o.addLabelIds);
|
| - checkUnnamed176(o.removeLabelIds);
|
| + checkUnnamed883(o.addLabelIds);
|
| + checkUnnamed884(o.removeLabelIds);
|
| }
|
| buildCounterModifyThreadRequest--;
|
| }
|
| @@ -546,14 +546,14 @@ checkProfile(api.Profile o) {
|
| buildCounterProfile--;
|
| }
|
|
|
| -buildUnnamed177() {
|
| +buildUnnamed885() {
|
| var o = new core.List<api.Message>();
|
| o.add(buildMessage());
|
| o.add(buildMessage());
|
| return o;
|
| }
|
|
|
| -checkUnnamed177(core.List<api.Message> o) {
|
| +checkUnnamed885(core.List<api.Message> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMessage(o[0]);
|
| checkMessage(o[1]);
|
| @@ -566,7 +566,7 @@ buildThread() {
|
| if (buildCounterThread < 3) {
|
| o.historyId = "foo";
|
| o.id = "foo";
|
| - o.messages = buildUnnamed177();
|
| + o.messages = buildUnnamed885();
|
| o.snippet = "foo";
|
| }
|
| buildCounterThread--;
|
| @@ -578,59 +578,59 @@ checkThread(api.Thread o) {
|
| if (buildCounterThread < 3) {
|
| unittest.expect(o.historyId, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed177(o.messages);
|
| + checkUnnamed885(o.messages);
|
| unittest.expect(o.snippet, unittest.equals('foo'));
|
| }
|
| buildCounterThread--;
|
| }
|
|
|
| -buildUnnamed178() {
|
| +buildUnnamed886() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed178(core.List<core.String> o) {
|
| +checkUnnamed886(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'));
|
| }
|
|
|
| -buildUnnamed179() {
|
| +buildUnnamed887() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed179(core.List<core.String> o) {
|
| +checkUnnamed887(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'));
|
| }
|
|
|
| -buildUnnamed180() {
|
| +buildUnnamed888() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed180(core.List<core.String> o) {
|
| +checkUnnamed888(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'));
|
| }
|
|
|
| -buildUnnamed181() {
|
| +buildUnnamed889() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed181(core.List<core.String> o) {
|
| +checkUnnamed889(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'));
|
| @@ -1482,7 +1482,7 @@ main() {
|
| var arg_userId = "foo";
|
| var arg_id = "foo";
|
| var arg_format = "foo";
|
| - var arg_metadataHeaders = buildUnnamed178();
|
| + var arg_metadataHeaders = buildUnnamed886();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -1628,7 +1628,7 @@ main() {
|
| api.UsersMessagesResourceApi res = new api.GmailApi(mock).users.messages;
|
| var arg_userId = "foo";
|
| var arg_includeSpamTrash = true;
|
| - var arg_labelIds = buildUnnamed179();
|
| + var arg_labelIds = buildUnnamed887();
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| var arg_q = "foo";
|
| @@ -1955,7 +1955,7 @@ main() {
|
| var arg_userId = "foo";
|
| var arg_id = "foo";
|
| var arg_format = "foo";
|
| - var arg_metadataHeaders = buildUnnamed180();
|
| + var arg_metadataHeaders = buildUnnamed888();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -2001,7 +2001,7 @@ main() {
|
| api.UsersThreadsResourceApi res = new api.GmailApi(mock).users.threads;
|
| var arg_userId = "foo";
|
| var arg_includeSpamTrash = true;
|
| - var arg_labelIds = buildUnnamed181();
|
| + var arg_labelIds = buildUnnamed889();
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| var arg_q = "foo";
|
|
|