| OLD | NEW |
| 1 library googleapis.gmail.v1.test; | 1 library googleapis.gmail.v1.test; |
| 2 | 2 |
| 3 import "dart:core" as core; | 3 import "dart:core" as core; |
| 4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
| 5 import "dart:async" as async; | 5 import "dart:async" as async; |
| 6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
| 7 | 7 |
| 8 import 'package:http/http.dart' as http; | 8 import 'package:http/http.dart' as http; |
| 9 import 'package:http/testing.dart' as http_testing; | 9 import 'package:http/testing.dart' as http_testing; |
| 10 import 'package:unittest/unittest.dart' as unittest; | 10 import 'package:unittest/unittest.dart' as unittest; |
| (...skipping 796 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 807 | 807 |
| 808 checkListSendAsResponse(api.ListSendAsResponse o) { | 808 checkListSendAsResponse(api.ListSendAsResponse o) { |
| 809 buildCounterListSendAsResponse++; | 809 buildCounterListSendAsResponse++; |
| 810 if (buildCounterListSendAsResponse < 3) { | 810 if (buildCounterListSendAsResponse < 3) { |
| 811 checkUnnamed117(o.sendAs); | 811 checkUnnamed117(o.sendAs); |
| 812 } | 812 } |
| 813 buildCounterListSendAsResponse--; | 813 buildCounterListSendAsResponse--; |
| 814 } | 814 } |
| 815 | 815 |
| 816 buildUnnamed118() { | 816 buildUnnamed118() { |
| 817 var o = new core.List<api.SmimeInfo>(); |
| 818 o.add(buildSmimeInfo()); |
| 819 o.add(buildSmimeInfo()); |
| 820 return o; |
| 821 } |
| 822 |
| 823 checkUnnamed118(core.List<api.SmimeInfo> o) { |
| 824 unittest.expect(o, unittest.hasLength(2)); |
| 825 checkSmimeInfo(o[0]); |
| 826 checkSmimeInfo(o[1]); |
| 827 } |
| 828 |
| 829 core.int buildCounterListSmimeInfoResponse = 0; |
| 830 buildListSmimeInfoResponse() { |
| 831 var o = new api.ListSmimeInfoResponse(); |
| 832 buildCounterListSmimeInfoResponse++; |
| 833 if (buildCounterListSmimeInfoResponse < 3) { |
| 834 o.smimeInfo = buildUnnamed118(); |
| 835 } |
| 836 buildCounterListSmimeInfoResponse--; |
| 837 return o; |
| 838 } |
| 839 |
| 840 checkListSmimeInfoResponse(api.ListSmimeInfoResponse o) { |
| 841 buildCounterListSmimeInfoResponse++; |
| 842 if (buildCounterListSmimeInfoResponse < 3) { |
| 843 checkUnnamed118(o.smimeInfo); |
| 844 } |
| 845 buildCounterListSmimeInfoResponse--; |
| 846 } |
| 847 |
| 848 buildUnnamed119() { |
| 817 var o = new core.List<api.Thread>(); | 849 var o = new core.List<api.Thread>(); |
| 818 o.add(buildThread()); | 850 o.add(buildThread()); |
| 819 o.add(buildThread()); | 851 o.add(buildThread()); |
| 820 return o; | 852 return o; |
| 821 } | 853 } |
| 822 | 854 |
| 823 checkUnnamed118(core.List<api.Thread> o) { | 855 checkUnnamed119(core.List<api.Thread> o) { |
| 824 unittest.expect(o, unittest.hasLength(2)); | 856 unittest.expect(o, unittest.hasLength(2)); |
| 825 checkThread(o[0]); | 857 checkThread(o[0]); |
| 826 checkThread(o[1]); | 858 checkThread(o[1]); |
| 827 } | 859 } |
| 828 | 860 |
| 829 core.int buildCounterListThreadsResponse = 0; | 861 core.int buildCounterListThreadsResponse = 0; |
| 830 buildListThreadsResponse() { | 862 buildListThreadsResponse() { |
| 831 var o = new api.ListThreadsResponse(); | 863 var o = new api.ListThreadsResponse(); |
| 832 buildCounterListThreadsResponse++; | 864 buildCounterListThreadsResponse++; |
| 833 if (buildCounterListThreadsResponse < 3) { | 865 if (buildCounterListThreadsResponse < 3) { |
| 834 o.nextPageToken = "foo"; | 866 o.nextPageToken = "foo"; |
| 835 o.resultSizeEstimate = 42; | 867 o.resultSizeEstimate = 42; |
| 836 o.threads = buildUnnamed118(); | 868 o.threads = buildUnnamed119(); |
| 837 } | 869 } |
| 838 buildCounterListThreadsResponse--; | 870 buildCounterListThreadsResponse--; |
| 839 return o; | 871 return o; |
| 840 } | 872 } |
| 841 | 873 |
| 842 checkListThreadsResponse(api.ListThreadsResponse o) { | 874 checkListThreadsResponse(api.ListThreadsResponse o) { |
| 843 buildCounterListThreadsResponse++; | 875 buildCounterListThreadsResponse++; |
| 844 if (buildCounterListThreadsResponse < 3) { | 876 if (buildCounterListThreadsResponse < 3) { |
| 845 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 877 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 846 unittest.expect(o.resultSizeEstimate, unittest.equals(42)); | 878 unittest.expect(o.resultSizeEstimate, unittest.equals(42)); |
| 847 checkUnnamed118(o.threads); | 879 checkUnnamed119(o.threads); |
| 848 } | 880 } |
| 849 buildCounterListThreadsResponse--; | 881 buildCounterListThreadsResponse--; |
| 850 } | 882 } |
| 851 | 883 |
| 852 buildUnnamed119() { | 884 buildUnnamed120() { |
| 853 var o = new core.List<core.String>(); | 885 var o = new core.List<core.String>(); |
| 854 o.add("foo"); | 886 o.add("foo"); |
| 855 o.add("foo"); | 887 o.add("foo"); |
| 856 return o; | 888 return o; |
| 857 } | 889 } |
| 858 | 890 |
| 859 checkUnnamed119(core.List<core.String> o) { | 891 checkUnnamed120(core.List<core.String> o) { |
| 860 unittest.expect(o, unittest.hasLength(2)); | 892 unittest.expect(o, unittest.hasLength(2)); |
| 861 unittest.expect(o[0], unittest.equals('foo')); | 893 unittest.expect(o[0], unittest.equals('foo')); |
| 862 unittest.expect(o[1], unittest.equals('foo')); | 894 unittest.expect(o[1], unittest.equals('foo')); |
| 863 } | 895 } |
| 864 | 896 |
| 865 core.int buildCounterMessage = 0; | 897 core.int buildCounterMessage = 0; |
| 866 buildMessage() { | 898 buildMessage() { |
| 867 var o = new api.Message(); | 899 var o = new api.Message(); |
| 868 buildCounterMessage++; | 900 buildCounterMessage++; |
| 869 if (buildCounterMessage < 3) { | 901 if (buildCounterMessage < 3) { |
| 870 o.historyId = "foo"; | 902 o.historyId = "foo"; |
| 871 o.id = "foo"; | 903 o.id = "foo"; |
| 872 o.internalDate = "foo"; | 904 o.internalDate = "foo"; |
| 873 o.labelIds = buildUnnamed119(); | 905 o.labelIds = buildUnnamed120(); |
| 874 o.payload = buildMessagePart(); | 906 o.payload = buildMessagePart(); |
| 875 o.raw = "foo"; | 907 o.raw = "foo"; |
| 876 o.sizeEstimate = 42; | 908 o.sizeEstimate = 42; |
| 877 o.snippet = "foo"; | 909 o.snippet = "foo"; |
| 878 o.threadId = "foo"; | 910 o.threadId = "foo"; |
| 879 } | 911 } |
| 880 buildCounterMessage--; | 912 buildCounterMessage--; |
| 881 return o; | 913 return o; |
| 882 } | 914 } |
| 883 | 915 |
| 884 checkMessage(api.Message o) { | 916 checkMessage(api.Message o) { |
| 885 buildCounterMessage++; | 917 buildCounterMessage++; |
| 886 if (buildCounterMessage < 3) { | 918 if (buildCounterMessage < 3) { |
| 887 unittest.expect(o.historyId, unittest.equals('foo')); | 919 unittest.expect(o.historyId, unittest.equals('foo')); |
| 888 unittest.expect(o.id, unittest.equals('foo')); | 920 unittest.expect(o.id, unittest.equals('foo')); |
| 889 unittest.expect(o.internalDate, unittest.equals('foo')); | 921 unittest.expect(o.internalDate, unittest.equals('foo')); |
| 890 checkUnnamed119(o.labelIds); | 922 checkUnnamed120(o.labelIds); |
| 891 checkMessagePart(o.payload); | 923 checkMessagePart(o.payload); |
| 892 unittest.expect(o.raw, unittest.equals('foo')); | 924 unittest.expect(o.raw, unittest.equals('foo')); |
| 893 unittest.expect(o.sizeEstimate, unittest.equals(42)); | 925 unittest.expect(o.sizeEstimate, unittest.equals(42)); |
| 894 unittest.expect(o.snippet, unittest.equals('foo')); | 926 unittest.expect(o.snippet, unittest.equals('foo')); |
| 895 unittest.expect(o.threadId, unittest.equals('foo')); | 927 unittest.expect(o.threadId, unittest.equals('foo')); |
| 896 } | 928 } |
| 897 buildCounterMessage--; | 929 buildCounterMessage--; |
| 898 } | 930 } |
| 899 | 931 |
| 900 buildUnnamed120() { | 932 buildUnnamed121() { |
| 901 var o = new core.List<api.MessagePartHeader>(); | 933 var o = new core.List<api.MessagePartHeader>(); |
| 902 o.add(buildMessagePartHeader()); | 934 o.add(buildMessagePartHeader()); |
| 903 o.add(buildMessagePartHeader()); | 935 o.add(buildMessagePartHeader()); |
| 904 return o; | 936 return o; |
| 905 } | 937 } |
| 906 | 938 |
| 907 checkUnnamed120(core.List<api.MessagePartHeader> o) { | 939 checkUnnamed121(core.List<api.MessagePartHeader> o) { |
| 908 unittest.expect(o, unittest.hasLength(2)); | 940 unittest.expect(o, unittest.hasLength(2)); |
| 909 checkMessagePartHeader(o[0]); | 941 checkMessagePartHeader(o[0]); |
| 910 checkMessagePartHeader(o[1]); | 942 checkMessagePartHeader(o[1]); |
| 911 } | 943 } |
| 912 | 944 |
| 913 buildUnnamed121() { | 945 buildUnnamed122() { |
| 914 var o = new core.List<api.MessagePart>(); | 946 var o = new core.List<api.MessagePart>(); |
| 915 o.add(buildMessagePart()); | 947 o.add(buildMessagePart()); |
| 916 o.add(buildMessagePart()); | 948 o.add(buildMessagePart()); |
| 917 return o; | 949 return o; |
| 918 } | 950 } |
| 919 | 951 |
| 920 checkUnnamed121(core.List<api.MessagePart> o) { | 952 checkUnnamed122(core.List<api.MessagePart> o) { |
| 921 unittest.expect(o, unittest.hasLength(2)); | 953 unittest.expect(o, unittest.hasLength(2)); |
| 922 checkMessagePart(o[0]); | 954 checkMessagePart(o[0]); |
| 923 checkMessagePart(o[1]); | 955 checkMessagePart(o[1]); |
| 924 } | 956 } |
| 925 | 957 |
| 926 core.int buildCounterMessagePart = 0; | 958 core.int buildCounterMessagePart = 0; |
| 927 buildMessagePart() { | 959 buildMessagePart() { |
| 928 var o = new api.MessagePart(); | 960 var o = new api.MessagePart(); |
| 929 buildCounterMessagePart++; | 961 buildCounterMessagePart++; |
| 930 if (buildCounterMessagePart < 3) { | 962 if (buildCounterMessagePart < 3) { |
| 931 o.body = buildMessagePartBody(); | 963 o.body = buildMessagePartBody(); |
| 932 o.filename = "foo"; | 964 o.filename = "foo"; |
| 933 o.headers = buildUnnamed120(); | 965 o.headers = buildUnnamed121(); |
| 934 o.mimeType = "foo"; | 966 o.mimeType = "foo"; |
| 935 o.partId = "foo"; | 967 o.partId = "foo"; |
| 936 o.parts = buildUnnamed121(); | 968 o.parts = buildUnnamed122(); |
| 937 } | 969 } |
| 938 buildCounterMessagePart--; | 970 buildCounterMessagePart--; |
| 939 return o; | 971 return o; |
| 940 } | 972 } |
| 941 | 973 |
| 942 checkMessagePart(api.MessagePart o) { | 974 checkMessagePart(api.MessagePart o) { |
| 943 buildCounterMessagePart++; | 975 buildCounterMessagePart++; |
| 944 if (buildCounterMessagePart < 3) { | 976 if (buildCounterMessagePart < 3) { |
| 945 checkMessagePartBody(o.body); | 977 checkMessagePartBody(o.body); |
| 946 unittest.expect(o.filename, unittest.equals('foo')); | 978 unittest.expect(o.filename, unittest.equals('foo')); |
| 947 checkUnnamed120(o.headers); | 979 checkUnnamed121(o.headers); |
| 948 unittest.expect(o.mimeType, unittest.equals('foo')); | 980 unittest.expect(o.mimeType, unittest.equals('foo')); |
| 949 unittest.expect(o.partId, unittest.equals('foo')); | 981 unittest.expect(o.partId, unittest.equals('foo')); |
| 950 checkUnnamed121(o.parts); | 982 checkUnnamed122(o.parts); |
| 951 } | 983 } |
| 952 buildCounterMessagePart--; | 984 buildCounterMessagePart--; |
| 953 } | 985 } |
| 954 | 986 |
| 955 core.int buildCounterMessagePartBody = 0; | 987 core.int buildCounterMessagePartBody = 0; |
| 956 buildMessagePartBody() { | 988 buildMessagePartBody() { |
| 957 var o = new api.MessagePartBody(); | 989 var o = new api.MessagePartBody(); |
| 958 buildCounterMessagePartBody++; | 990 buildCounterMessagePartBody++; |
| 959 if (buildCounterMessagePartBody < 3) { | 991 if (buildCounterMessagePartBody < 3) { |
| 960 o.attachmentId = "foo"; | 992 o.attachmentId = "foo"; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 989 | 1021 |
| 990 checkMessagePartHeader(api.MessagePartHeader o) { | 1022 checkMessagePartHeader(api.MessagePartHeader o) { |
| 991 buildCounterMessagePartHeader++; | 1023 buildCounterMessagePartHeader++; |
| 992 if (buildCounterMessagePartHeader < 3) { | 1024 if (buildCounterMessagePartHeader < 3) { |
| 993 unittest.expect(o.name, unittest.equals('foo')); | 1025 unittest.expect(o.name, unittest.equals('foo')); |
| 994 unittest.expect(o.value, unittest.equals('foo')); | 1026 unittest.expect(o.value, unittest.equals('foo')); |
| 995 } | 1027 } |
| 996 buildCounterMessagePartHeader--; | 1028 buildCounterMessagePartHeader--; |
| 997 } | 1029 } |
| 998 | 1030 |
| 999 buildUnnamed122() { | |
| 1000 var o = new core.List<core.String>(); | |
| 1001 o.add("foo"); | |
| 1002 o.add("foo"); | |
| 1003 return o; | |
| 1004 } | |
| 1005 | |
| 1006 checkUnnamed122(core.List<core.String> o) { | |
| 1007 unittest.expect(o, unittest.hasLength(2)); | |
| 1008 unittest.expect(o[0], unittest.equals('foo')); | |
| 1009 unittest.expect(o[1], unittest.equals('foo')); | |
| 1010 } | |
| 1011 | |
| 1012 buildUnnamed123() { | 1031 buildUnnamed123() { |
| 1013 var o = new core.List<core.String>(); | 1032 var o = new core.List<core.String>(); |
| 1014 o.add("foo"); | 1033 o.add("foo"); |
| 1015 o.add("foo"); | 1034 o.add("foo"); |
| 1016 return o; | 1035 return o; |
| 1017 } | 1036 } |
| 1018 | 1037 |
| 1019 checkUnnamed123(core.List<core.String> o) { | 1038 checkUnnamed123(core.List<core.String> o) { |
| 1020 unittest.expect(o, unittest.hasLength(2)); | 1039 unittest.expect(o, unittest.hasLength(2)); |
| 1021 unittest.expect(o[0], unittest.equals('foo')); | 1040 unittest.expect(o[0], unittest.equals('foo')); |
| 1022 unittest.expect(o[1], unittest.equals('foo')); | 1041 unittest.expect(o[1], unittest.equals('foo')); |
| 1042 } |
| 1043 |
| 1044 buildUnnamed124() { |
| 1045 var o = new core.List<core.String>(); |
| 1046 o.add("foo"); |
| 1047 o.add("foo"); |
| 1048 return o; |
| 1049 } |
| 1050 |
| 1051 checkUnnamed124(core.List<core.String> o) { |
| 1052 unittest.expect(o, unittest.hasLength(2)); |
| 1053 unittest.expect(o[0], unittest.equals('foo')); |
| 1054 unittest.expect(o[1], unittest.equals('foo')); |
| 1023 } | 1055 } |
| 1024 | 1056 |
| 1025 core.int buildCounterModifyMessageRequest = 0; | 1057 core.int buildCounterModifyMessageRequest = 0; |
| 1026 buildModifyMessageRequest() { | 1058 buildModifyMessageRequest() { |
| 1027 var o = new api.ModifyMessageRequest(); | 1059 var o = new api.ModifyMessageRequest(); |
| 1028 buildCounterModifyMessageRequest++; | 1060 buildCounterModifyMessageRequest++; |
| 1029 if (buildCounterModifyMessageRequest < 3) { | 1061 if (buildCounterModifyMessageRequest < 3) { |
| 1030 o.addLabelIds = buildUnnamed122(); | 1062 o.addLabelIds = buildUnnamed123(); |
| 1031 o.removeLabelIds = buildUnnamed123(); | 1063 o.removeLabelIds = buildUnnamed124(); |
| 1032 } | 1064 } |
| 1033 buildCounterModifyMessageRequest--; | 1065 buildCounterModifyMessageRequest--; |
| 1034 return o; | 1066 return o; |
| 1035 } | 1067 } |
| 1036 | 1068 |
| 1037 checkModifyMessageRequest(api.ModifyMessageRequest o) { | 1069 checkModifyMessageRequest(api.ModifyMessageRequest o) { |
| 1038 buildCounterModifyMessageRequest++; | 1070 buildCounterModifyMessageRequest++; |
| 1039 if (buildCounterModifyMessageRequest < 3) { | 1071 if (buildCounterModifyMessageRequest < 3) { |
| 1040 checkUnnamed122(o.addLabelIds); | 1072 checkUnnamed123(o.addLabelIds); |
| 1041 checkUnnamed123(o.removeLabelIds); | 1073 checkUnnamed124(o.removeLabelIds); |
| 1042 } | 1074 } |
| 1043 buildCounterModifyMessageRequest--; | 1075 buildCounterModifyMessageRequest--; |
| 1044 } | 1076 } |
| 1045 | 1077 |
| 1046 buildUnnamed124() { | |
| 1047 var o = new core.List<core.String>(); | |
| 1048 o.add("foo"); | |
| 1049 o.add("foo"); | |
| 1050 return o; | |
| 1051 } | |
| 1052 | |
| 1053 checkUnnamed124(core.List<core.String> o) { | |
| 1054 unittest.expect(o, unittest.hasLength(2)); | |
| 1055 unittest.expect(o[0], unittest.equals('foo')); | |
| 1056 unittest.expect(o[1], unittest.equals('foo')); | |
| 1057 } | |
| 1058 | |
| 1059 buildUnnamed125() { | 1078 buildUnnamed125() { |
| 1060 var o = new core.List<core.String>(); | 1079 var o = new core.List<core.String>(); |
| 1061 o.add("foo"); | 1080 o.add("foo"); |
| 1062 o.add("foo"); | 1081 o.add("foo"); |
| 1063 return o; | 1082 return o; |
| 1064 } | 1083 } |
| 1065 | 1084 |
| 1066 checkUnnamed125(core.List<core.String> o) { | 1085 checkUnnamed125(core.List<core.String> o) { |
| 1067 unittest.expect(o, unittest.hasLength(2)); | 1086 unittest.expect(o, unittest.hasLength(2)); |
| 1068 unittest.expect(o[0], unittest.equals('foo')); | 1087 unittest.expect(o[0], unittest.equals('foo')); |
| 1069 unittest.expect(o[1], unittest.equals('foo')); | 1088 unittest.expect(o[1], unittest.equals('foo')); |
| 1089 } |
| 1090 |
| 1091 buildUnnamed126() { |
| 1092 var o = new core.List<core.String>(); |
| 1093 o.add("foo"); |
| 1094 o.add("foo"); |
| 1095 return o; |
| 1096 } |
| 1097 |
| 1098 checkUnnamed126(core.List<core.String> o) { |
| 1099 unittest.expect(o, unittest.hasLength(2)); |
| 1100 unittest.expect(o[0], unittest.equals('foo')); |
| 1101 unittest.expect(o[1], unittest.equals('foo')); |
| 1070 } | 1102 } |
| 1071 | 1103 |
| 1072 core.int buildCounterModifyThreadRequest = 0; | 1104 core.int buildCounterModifyThreadRequest = 0; |
| 1073 buildModifyThreadRequest() { | 1105 buildModifyThreadRequest() { |
| 1074 var o = new api.ModifyThreadRequest(); | 1106 var o = new api.ModifyThreadRequest(); |
| 1075 buildCounterModifyThreadRequest++; | 1107 buildCounterModifyThreadRequest++; |
| 1076 if (buildCounterModifyThreadRequest < 3) { | 1108 if (buildCounterModifyThreadRequest < 3) { |
| 1077 o.addLabelIds = buildUnnamed124(); | 1109 o.addLabelIds = buildUnnamed125(); |
| 1078 o.removeLabelIds = buildUnnamed125(); | 1110 o.removeLabelIds = buildUnnamed126(); |
| 1079 } | 1111 } |
| 1080 buildCounterModifyThreadRequest--; | 1112 buildCounterModifyThreadRequest--; |
| 1081 return o; | 1113 return o; |
| 1082 } | 1114 } |
| 1083 | 1115 |
| 1084 checkModifyThreadRequest(api.ModifyThreadRequest o) { | 1116 checkModifyThreadRequest(api.ModifyThreadRequest o) { |
| 1085 buildCounterModifyThreadRequest++; | 1117 buildCounterModifyThreadRequest++; |
| 1086 if (buildCounterModifyThreadRequest < 3) { | 1118 if (buildCounterModifyThreadRequest < 3) { |
| 1087 checkUnnamed124(o.addLabelIds); | 1119 checkUnnamed125(o.addLabelIds); |
| 1088 checkUnnamed125(o.removeLabelIds); | 1120 checkUnnamed126(o.removeLabelIds); |
| 1089 } | 1121 } |
| 1090 buildCounterModifyThreadRequest--; | 1122 buildCounterModifyThreadRequest--; |
| 1091 } | 1123 } |
| 1092 | 1124 |
| 1093 core.int buildCounterPopSettings = 0; | 1125 core.int buildCounterPopSettings = 0; |
| 1094 buildPopSettings() { | 1126 buildPopSettings() { |
| 1095 var o = new api.PopSettings(); | 1127 var o = new api.PopSettings(); |
| 1096 buildCounterPopSettings++; | 1128 buildCounterPopSettings++; |
| 1097 if (buildCounterPopSettings < 3) { | 1129 if (buildCounterPopSettings < 3) { |
| 1098 o.accessWindow = "foo"; | 1130 o.accessWindow = "foo"; |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1164 unittest.expect(o.replyToAddress, unittest.equals('foo')); | 1196 unittest.expect(o.replyToAddress, unittest.equals('foo')); |
| 1165 unittest.expect(o.sendAsEmail, unittest.equals('foo')); | 1197 unittest.expect(o.sendAsEmail, unittest.equals('foo')); |
| 1166 unittest.expect(o.signature, unittest.equals('foo')); | 1198 unittest.expect(o.signature, unittest.equals('foo')); |
| 1167 checkSmtpMsa(o.smtpMsa); | 1199 checkSmtpMsa(o.smtpMsa); |
| 1168 unittest.expect(o.treatAsAlias, unittest.isTrue); | 1200 unittest.expect(o.treatAsAlias, unittest.isTrue); |
| 1169 unittest.expect(o.verificationStatus, unittest.equals('foo')); | 1201 unittest.expect(o.verificationStatus, unittest.equals('foo')); |
| 1170 } | 1202 } |
| 1171 buildCounterSendAs--; | 1203 buildCounterSendAs--; |
| 1172 } | 1204 } |
| 1173 | 1205 |
| 1206 core.int buildCounterSmimeInfo = 0; |
| 1207 buildSmimeInfo() { |
| 1208 var o = new api.SmimeInfo(); |
| 1209 buildCounterSmimeInfo++; |
| 1210 if (buildCounterSmimeInfo < 3) { |
| 1211 o.encryptedKeyPassword = "foo"; |
| 1212 o.expiration = "foo"; |
| 1213 o.id = "foo"; |
| 1214 o.isDefault = true; |
| 1215 o.issuerCn = "foo"; |
| 1216 o.pem = "foo"; |
| 1217 o.pkcs12 = "foo"; |
| 1218 } |
| 1219 buildCounterSmimeInfo--; |
| 1220 return o; |
| 1221 } |
| 1222 |
| 1223 checkSmimeInfo(api.SmimeInfo o) { |
| 1224 buildCounterSmimeInfo++; |
| 1225 if (buildCounterSmimeInfo < 3) { |
| 1226 unittest.expect(o.encryptedKeyPassword, unittest.equals('foo')); |
| 1227 unittest.expect(o.expiration, unittest.equals('foo')); |
| 1228 unittest.expect(o.id, unittest.equals('foo')); |
| 1229 unittest.expect(o.isDefault, unittest.isTrue); |
| 1230 unittest.expect(o.issuerCn, unittest.equals('foo')); |
| 1231 unittest.expect(o.pem, unittest.equals('foo')); |
| 1232 unittest.expect(o.pkcs12, unittest.equals('foo')); |
| 1233 } |
| 1234 buildCounterSmimeInfo--; |
| 1235 } |
| 1236 |
| 1174 core.int buildCounterSmtpMsa = 0; | 1237 core.int buildCounterSmtpMsa = 0; |
| 1175 buildSmtpMsa() { | 1238 buildSmtpMsa() { |
| 1176 var o = new api.SmtpMsa(); | 1239 var o = new api.SmtpMsa(); |
| 1177 buildCounterSmtpMsa++; | 1240 buildCounterSmtpMsa++; |
| 1178 if (buildCounterSmtpMsa < 3) { | 1241 if (buildCounterSmtpMsa < 3) { |
| 1179 o.host = "foo"; | 1242 o.host = "foo"; |
| 1180 o.password = "foo"; | 1243 o.password = "foo"; |
| 1181 o.port = 42; | 1244 o.port = 42; |
| 1182 o.securityMode = "foo"; | 1245 o.securityMode = "foo"; |
| 1183 o.username = "foo"; | 1246 o.username = "foo"; |
| 1184 } | 1247 } |
| 1185 buildCounterSmtpMsa--; | 1248 buildCounterSmtpMsa--; |
| 1186 return o; | 1249 return o; |
| 1187 } | 1250 } |
| 1188 | 1251 |
| 1189 checkSmtpMsa(api.SmtpMsa o) { | 1252 checkSmtpMsa(api.SmtpMsa o) { |
| 1190 buildCounterSmtpMsa++; | 1253 buildCounterSmtpMsa++; |
| 1191 if (buildCounterSmtpMsa < 3) { | 1254 if (buildCounterSmtpMsa < 3) { |
| 1192 unittest.expect(o.host, unittest.equals('foo')); | 1255 unittest.expect(o.host, unittest.equals('foo')); |
| 1193 unittest.expect(o.password, unittest.equals('foo')); | 1256 unittest.expect(o.password, unittest.equals('foo')); |
| 1194 unittest.expect(o.port, unittest.equals(42)); | 1257 unittest.expect(o.port, unittest.equals(42)); |
| 1195 unittest.expect(o.securityMode, unittest.equals('foo')); | 1258 unittest.expect(o.securityMode, unittest.equals('foo')); |
| 1196 unittest.expect(o.username, unittest.equals('foo')); | 1259 unittest.expect(o.username, unittest.equals('foo')); |
| 1197 } | 1260 } |
| 1198 buildCounterSmtpMsa--; | 1261 buildCounterSmtpMsa--; |
| 1199 } | 1262 } |
| 1200 | 1263 |
| 1201 buildUnnamed126() { | 1264 buildUnnamed127() { |
| 1202 var o = new core.List<api.Message>(); | 1265 var o = new core.List<api.Message>(); |
| 1203 o.add(buildMessage()); | 1266 o.add(buildMessage()); |
| 1204 o.add(buildMessage()); | 1267 o.add(buildMessage()); |
| 1205 return o; | 1268 return o; |
| 1206 } | 1269 } |
| 1207 | 1270 |
| 1208 checkUnnamed126(core.List<api.Message> o) { | 1271 checkUnnamed127(core.List<api.Message> o) { |
| 1209 unittest.expect(o, unittest.hasLength(2)); | 1272 unittest.expect(o, unittest.hasLength(2)); |
| 1210 checkMessage(o[0]); | 1273 checkMessage(o[0]); |
| 1211 checkMessage(o[1]); | 1274 checkMessage(o[1]); |
| 1212 } | 1275 } |
| 1213 | 1276 |
| 1214 core.int buildCounterThread = 0; | 1277 core.int buildCounterThread = 0; |
| 1215 buildThread() { | 1278 buildThread() { |
| 1216 var o = new api.Thread(); | 1279 var o = new api.Thread(); |
| 1217 buildCounterThread++; | 1280 buildCounterThread++; |
| 1218 if (buildCounterThread < 3) { | 1281 if (buildCounterThread < 3) { |
| 1219 o.historyId = "foo"; | 1282 o.historyId = "foo"; |
| 1220 o.id = "foo"; | 1283 o.id = "foo"; |
| 1221 o.messages = buildUnnamed126(); | 1284 o.messages = buildUnnamed127(); |
| 1222 o.snippet = "foo"; | 1285 o.snippet = "foo"; |
| 1223 } | 1286 } |
| 1224 buildCounterThread--; | 1287 buildCounterThread--; |
| 1225 return o; | 1288 return o; |
| 1226 } | 1289 } |
| 1227 | 1290 |
| 1228 checkThread(api.Thread o) { | 1291 checkThread(api.Thread o) { |
| 1229 buildCounterThread++; | 1292 buildCounterThread++; |
| 1230 if (buildCounterThread < 3) { | 1293 if (buildCounterThread < 3) { |
| 1231 unittest.expect(o.historyId, unittest.equals('foo')); | 1294 unittest.expect(o.historyId, unittest.equals('foo')); |
| 1232 unittest.expect(o.id, unittest.equals('foo')); | 1295 unittest.expect(o.id, unittest.equals('foo')); |
| 1233 checkUnnamed126(o.messages); | 1296 checkUnnamed127(o.messages); |
| 1234 unittest.expect(o.snippet, unittest.equals('foo')); | 1297 unittest.expect(o.snippet, unittest.equals('foo')); |
| 1235 } | 1298 } |
| 1236 buildCounterThread--; | 1299 buildCounterThread--; |
| 1237 } | 1300 } |
| 1238 | 1301 |
| 1239 core.int buildCounterVacationSettings = 0; | 1302 core.int buildCounterVacationSettings = 0; |
| 1240 buildVacationSettings() { | 1303 buildVacationSettings() { |
| 1241 var o = new api.VacationSettings(); | 1304 var o = new api.VacationSettings(); |
| 1242 buildCounterVacationSettings++; | 1305 buildCounterVacationSettings++; |
| 1243 if (buildCounterVacationSettings < 3) { | 1306 if (buildCounterVacationSettings < 3) { |
| (...skipping 18 matching lines...) Expand all Loading... |
| 1262 unittest.expect(o.responseBodyHtml, unittest.equals('foo')); | 1325 unittest.expect(o.responseBodyHtml, unittest.equals('foo')); |
| 1263 unittest.expect(o.responseBodyPlainText, unittest.equals('foo')); | 1326 unittest.expect(o.responseBodyPlainText, unittest.equals('foo')); |
| 1264 unittest.expect(o.responseSubject, unittest.equals('foo')); | 1327 unittest.expect(o.responseSubject, unittest.equals('foo')); |
| 1265 unittest.expect(o.restrictToContacts, unittest.isTrue); | 1328 unittest.expect(o.restrictToContacts, unittest.isTrue); |
| 1266 unittest.expect(o.restrictToDomain, unittest.isTrue); | 1329 unittest.expect(o.restrictToDomain, unittest.isTrue); |
| 1267 unittest.expect(o.startTime, unittest.equals('foo')); | 1330 unittest.expect(o.startTime, unittest.equals('foo')); |
| 1268 } | 1331 } |
| 1269 buildCounterVacationSettings--; | 1332 buildCounterVacationSettings--; |
| 1270 } | 1333 } |
| 1271 | 1334 |
| 1272 buildUnnamed127() { | 1335 buildUnnamed128() { |
| 1273 var o = new core.List<core.String>(); | 1336 var o = new core.List<core.String>(); |
| 1274 o.add("foo"); | 1337 o.add("foo"); |
| 1275 o.add("foo"); | 1338 o.add("foo"); |
| 1276 return o; | 1339 return o; |
| 1277 } | 1340 } |
| 1278 | 1341 |
| 1279 checkUnnamed127(core.List<core.String> o) { | 1342 checkUnnamed128(core.List<core.String> o) { |
| 1280 unittest.expect(o, unittest.hasLength(2)); | 1343 unittest.expect(o, unittest.hasLength(2)); |
| 1281 unittest.expect(o[0], unittest.equals('foo')); | 1344 unittest.expect(o[0], unittest.equals('foo')); |
| 1282 unittest.expect(o[1], unittest.equals('foo')); | 1345 unittest.expect(o[1], unittest.equals('foo')); |
| 1283 } | 1346 } |
| 1284 | 1347 |
| 1285 core.int buildCounterWatchRequest = 0; | 1348 core.int buildCounterWatchRequest = 0; |
| 1286 buildWatchRequest() { | 1349 buildWatchRequest() { |
| 1287 var o = new api.WatchRequest(); | 1350 var o = new api.WatchRequest(); |
| 1288 buildCounterWatchRequest++; | 1351 buildCounterWatchRequest++; |
| 1289 if (buildCounterWatchRequest < 3) { | 1352 if (buildCounterWatchRequest < 3) { |
| 1290 o.labelFilterAction = "foo"; | 1353 o.labelFilterAction = "foo"; |
| 1291 o.labelIds = buildUnnamed127(); | 1354 o.labelIds = buildUnnamed128(); |
| 1292 o.topicName = "foo"; | 1355 o.topicName = "foo"; |
| 1293 } | 1356 } |
| 1294 buildCounterWatchRequest--; | 1357 buildCounterWatchRequest--; |
| 1295 return o; | 1358 return o; |
| 1296 } | 1359 } |
| 1297 | 1360 |
| 1298 checkWatchRequest(api.WatchRequest o) { | 1361 checkWatchRequest(api.WatchRequest o) { |
| 1299 buildCounterWatchRequest++; | 1362 buildCounterWatchRequest++; |
| 1300 if (buildCounterWatchRequest < 3) { | 1363 if (buildCounterWatchRequest < 3) { |
| 1301 unittest.expect(o.labelFilterAction, unittest.equals('foo')); | 1364 unittest.expect(o.labelFilterAction, unittest.equals('foo')); |
| 1302 checkUnnamed127(o.labelIds); | 1365 checkUnnamed128(o.labelIds); |
| 1303 unittest.expect(o.topicName, unittest.equals('foo')); | 1366 unittest.expect(o.topicName, unittest.equals('foo')); |
| 1304 } | 1367 } |
| 1305 buildCounterWatchRequest--; | 1368 buildCounterWatchRequest--; |
| 1306 } | 1369 } |
| 1307 | 1370 |
| 1308 core.int buildCounterWatchResponse = 0; | 1371 core.int buildCounterWatchResponse = 0; |
| 1309 buildWatchResponse() { | 1372 buildWatchResponse() { |
| 1310 var o = new api.WatchResponse(); | 1373 var o = new api.WatchResponse(); |
| 1311 buildCounterWatchResponse++; | 1374 buildCounterWatchResponse++; |
| 1312 if (buildCounterWatchResponse < 3) { | 1375 if (buildCounterWatchResponse < 3) { |
| 1313 o.expiration = "foo"; | 1376 o.expiration = "foo"; |
| 1314 o.historyId = "foo"; | 1377 o.historyId = "foo"; |
| 1315 } | 1378 } |
| 1316 buildCounterWatchResponse--; | 1379 buildCounterWatchResponse--; |
| 1317 return o; | 1380 return o; |
| 1318 } | 1381 } |
| 1319 | 1382 |
| 1320 checkWatchResponse(api.WatchResponse o) { | 1383 checkWatchResponse(api.WatchResponse o) { |
| 1321 buildCounterWatchResponse++; | 1384 buildCounterWatchResponse++; |
| 1322 if (buildCounterWatchResponse < 3) { | 1385 if (buildCounterWatchResponse < 3) { |
| 1323 unittest.expect(o.expiration, unittest.equals('foo')); | 1386 unittest.expect(o.expiration, unittest.equals('foo')); |
| 1324 unittest.expect(o.historyId, unittest.equals('foo')); | 1387 unittest.expect(o.historyId, unittest.equals('foo')); |
| 1325 } | 1388 } |
| 1326 buildCounterWatchResponse--; | 1389 buildCounterWatchResponse--; |
| 1327 } | 1390 } |
| 1328 | 1391 |
| 1329 buildUnnamed128() { | |
| 1330 var o = new core.List<core.String>(); | |
| 1331 o.add("foo"); | |
| 1332 o.add("foo"); | |
| 1333 return o; | |
| 1334 } | |
| 1335 | |
| 1336 checkUnnamed128(core.List<core.String> o) { | |
| 1337 unittest.expect(o, unittest.hasLength(2)); | |
| 1338 unittest.expect(o[0], unittest.equals('foo')); | |
| 1339 unittest.expect(o[1], unittest.equals('foo')); | |
| 1340 } | |
| 1341 | |
| 1342 buildUnnamed129() { | 1392 buildUnnamed129() { |
| 1343 var o = new core.List<core.String>(); | 1393 var o = new core.List<core.String>(); |
| 1344 o.add("foo"); | 1394 o.add("foo"); |
| 1345 o.add("foo"); | 1395 o.add("foo"); |
| 1346 return o; | 1396 return o; |
| 1347 } | 1397 } |
| 1348 | 1398 |
| 1349 checkUnnamed129(core.List<core.String> o) { | 1399 checkUnnamed129(core.List<core.String> o) { |
| 1350 unittest.expect(o, unittest.hasLength(2)); | 1400 unittest.expect(o, unittest.hasLength(2)); |
| 1351 unittest.expect(o[0], unittest.equals('foo')); | 1401 unittest.expect(o[0], unittest.equals('foo')); |
| (...skipping 17 matching lines...) Expand all Loading... |
| 1369 var o = new core.List<core.String>(); | 1419 var o = new core.List<core.String>(); |
| 1370 o.add("foo"); | 1420 o.add("foo"); |
| 1371 o.add("foo"); | 1421 o.add("foo"); |
| 1372 return o; | 1422 return o; |
| 1373 } | 1423 } |
| 1374 | 1424 |
| 1375 checkUnnamed131(core.List<core.String> o) { | 1425 checkUnnamed131(core.List<core.String> o) { |
| 1376 unittest.expect(o, unittest.hasLength(2)); | 1426 unittest.expect(o, unittest.hasLength(2)); |
| 1377 unittest.expect(o[0], unittest.equals('foo')); | 1427 unittest.expect(o[0], unittest.equals('foo')); |
| 1378 unittest.expect(o[1], unittest.equals('foo')); | 1428 unittest.expect(o[1], unittest.equals('foo')); |
| 1429 } |
| 1430 |
| 1431 buildUnnamed132() { |
| 1432 var o = new core.List<core.String>(); |
| 1433 o.add("foo"); |
| 1434 o.add("foo"); |
| 1435 return o; |
| 1436 } |
| 1437 |
| 1438 checkUnnamed132(core.List<core.String> o) { |
| 1439 unittest.expect(o, unittest.hasLength(2)); |
| 1440 unittest.expect(o[0], unittest.equals('foo')); |
| 1441 unittest.expect(o[1], unittest.equals('foo')); |
| 1442 } |
| 1443 |
| 1444 buildUnnamed133() { |
| 1445 var o = new core.List<core.String>(); |
| 1446 o.add("foo"); |
| 1447 o.add("foo"); |
| 1448 return o; |
| 1449 } |
| 1450 |
| 1451 checkUnnamed133(core.List<core.String> o) { |
| 1452 unittest.expect(o, unittest.hasLength(2)); |
| 1453 unittest.expect(o[0], unittest.equals('foo')); |
| 1454 unittest.expect(o[1], unittest.equals('foo')); |
| 1379 } | 1455 } |
| 1380 | 1456 |
| 1381 | 1457 |
| 1382 main() { | 1458 main() { |
| 1383 unittest.group("obj-schema-AutoForwarding", () { | 1459 unittest.group("obj-schema-AutoForwarding", () { |
| 1384 unittest.test("to-json--from-json", () { | 1460 unittest.test("to-json--from-json", () { |
| 1385 var o = buildAutoForwarding(); | 1461 var o = buildAutoForwarding(); |
| 1386 var od = new api.AutoForwarding.fromJson(o.toJson()); | 1462 var od = new api.AutoForwarding.fromJson(o.toJson()); |
| 1387 checkAutoForwarding(od); | 1463 checkAutoForwarding(od); |
| 1388 }); | 1464 }); |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1571 | 1647 |
| 1572 unittest.group("obj-schema-ListSendAsResponse", () { | 1648 unittest.group("obj-schema-ListSendAsResponse", () { |
| 1573 unittest.test("to-json--from-json", () { | 1649 unittest.test("to-json--from-json", () { |
| 1574 var o = buildListSendAsResponse(); | 1650 var o = buildListSendAsResponse(); |
| 1575 var od = new api.ListSendAsResponse.fromJson(o.toJson()); | 1651 var od = new api.ListSendAsResponse.fromJson(o.toJson()); |
| 1576 checkListSendAsResponse(od); | 1652 checkListSendAsResponse(od); |
| 1577 }); | 1653 }); |
| 1578 }); | 1654 }); |
| 1579 | 1655 |
| 1580 | 1656 |
| 1657 unittest.group("obj-schema-ListSmimeInfoResponse", () { |
| 1658 unittest.test("to-json--from-json", () { |
| 1659 var o = buildListSmimeInfoResponse(); |
| 1660 var od = new api.ListSmimeInfoResponse.fromJson(o.toJson()); |
| 1661 checkListSmimeInfoResponse(od); |
| 1662 }); |
| 1663 }); |
| 1664 |
| 1665 |
| 1581 unittest.group("obj-schema-ListThreadsResponse", () { | 1666 unittest.group("obj-schema-ListThreadsResponse", () { |
| 1582 unittest.test("to-json--from-json", () { | 1667 unittest.test("to-json--from-json", () { |
| 1583 var o = buildListThreadsResponse(); | 1668 var o = buildListThreadsResponse(); |
| 1584 var od = new api.ListThreadsResponse.fromJson(o.toJson()); | 1669 var od = new api.ListThreadsResponse.fromJson(o.toJson()); |
| 1585 checkListThreadsResponse(od); | 1670 checkListThreadsResponse(od); |
| 1586 }); | 1671 }); |
| 1587 }); | 1672 }); |
| 1588 | 1673 |
| 1589 | 1674 |
| 1590 unittest.group("obj-schema-Message", () { | 1675 unittest.group("obj-schema-Message", () { |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1661 | 1746 |
| 1662 unittest.group("obj-schema-SendAs", () { | 1747 unittest.group("obj-schema-SendAs", () { |
| 1663 unittest.test("to-json--from-json", () { | 1748 unittest.test("to-json--from-json", () { |
| 1664 var o = buildSendAs(); | 1749 var o = buildSendAs(); |
| 1665 var od = new api.SendAs.fromJson(o.toJson()); | 1750 var od = new api.SendAs.fromJson(o.toJson()); |
| 1666 checkSendAs(od); | 1751 checkSendAs(od); |
| 1667 }); | 1752 }); |
| 1668 }); | 1753 }); |
| 1669 | 1754 |
| 1670 | 1755 |
| 1756 unittest.group("obj-schema-SmimeInfo", () { |
| 1757 unittest.test("to-json--from-json", () { |
| 1758 var o = buildSmimeInfo(); |
| 1759 var od = new api.SmimeInfo.fromJson(o.toJson()); |
| 1760 checkSmimeInfo(od); |
| 1761 }); |
| 1762 }); |
| 1763 |
| 1764 |
| 1671 unittest.group("obj-schema-SmtpMsa", () { | 1765 unittest.group("obj-schema-SmtpMsa", () { |
| 1672 unittest.test("to-json--from-json", () { | 1766 unittest.test("to-json--from-json", () { |
| 1673 var o = buildSmtpMsa(); | 1767 var o = buildSmtpMsa(); |
| 1674 var od = new api.SmtpMsa.fromJson(o.toJson()); | 1768 var od = new api.SmtpMsa.fromJson(o.toJson()); |
| 1675 checkSmtpMsa(od); | 1769 checkSmtpMsa(od); |
| 1676 }); | 1770 }); |
| 1677 }); | 1771 }); |
| 1678 | 1772 |
| 1679 | 1773 |
| 1680 unittest.group("obj-schema-Thread", () { | 1774 unittest.group("obj-schema-Thread", () { |
| (...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2129 | 2223 |
| 2130 }); | 2224 }); |
| 2131 | 2225 |
| 2132 | 2226 |
| 2133 unittest.group("resource-UsersHistoryResourceApi", () { | 2227 unittest.group("resource-UsersHistoryResourceApi", () { |
| 2134 unittest.test("method--list", () { | 2228 unittest.test("method--list", () { |
| 2135 | 2229 |
| 2136 var mock = new HttpServerMock(); | 2230 var mock = new HttpServerMock(); |
| 2137 api.UsersHistoryResourceApi res = new api.GmailApi(mock).users.history; | 2231 api.UsersHistoryResourceApi res = new api.GmailApi(mock).users.history; |
| 2138 var arg_userId = "foo"; | 2232 var arg_userId = "foo"; |
| 2233 var arg_historyTypes = buildUnnamed129(); |
| 2139 var arg_labelId = "foo"; | 2234 var arg_labelId = "foo"; |
| 2140 var arg_maxResults = 42; | 2235 var arg_maxResults = 42; |
| 2141 var arg_pageToken = "foo"; | 2236 var arg_pageToken = "foo"; |
| 2142 var arg_startHistoryId = "foo"; | 2237 var arg_startHistoryId = "foo"; |
| 2143 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 2238 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 2144 var path = (req.url).path; | 2239 var path = (req.url).path; |
| 2145 var pathOffset = 0; | 2240 var pathOffset = 0; |
| 2146 var index; | 2241 var index; |
| 2147 var subPart; | 2242 var subPart; |
| 2148 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 2243 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 2149 pathOffset += 1; | 2244 pathOffset += 1; |
| 2150 | 2245 |
| 2151 var query = (req.url).query; | 2246 var query = (req.url).query; |
| 2152 var queryOffset = 0; | 2247 var queryOffset = 0; |
| 2153 var queryMap = {}; | 2248 var queryMap = {}; |
| 2154 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); | 2249 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 2155 parseBool(n) { | 2250 parseBool(n) { |
| 2156 if (n == "true") return true; | 2251 if (n == "true") return true; |
| 2157 if (n == "false") return false; | 2252 if (n == "false") return false; |
| 2158 if (n == null) return null; | 2253 if (n == null) return null; |
| 2159 throw new core.ArgumentError("Invalid boolean: $n"); | 2254 throw new core.ArgumentError("Invalid boolean: $n"); |
| 2160 } | 2255 } |
| 2161 if (query.length > 0) { | 2256 if (query.length > 0) { |
| 2162 for (var part in query.split("&")) { | 2257 for (var part in query.split("&")) { |
| 2163 var keyvalue = part.split("="); | 2258 var keyvalue = part.split("="); |
| 2164 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 2259 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 2165 } | 2260 } |
| 2166 } | 2261 } |
| 2262 unittest.expect(queryMap["historyTypes"], unittest.equals(arg_historyTyp
es)); |
| 2167 unittest.expect(queryMap["labelId"].first, unittest.equals(arg_labelId))
; | 2263 unittest.expect(queryMap["labelId"].first, unittest.equals(arg_labelId))
; |
| 2168 unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.e
quals(arg_maxResults)); | 2264 unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.e
quals(arg_maxResults)); |
| 2169 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); | 2265 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); |
| 2170 unittest.expect(queryMap["startHistoryId"].first, unittest.equals(arg_st
artHistoryId)); | 2266 unittest.expect(queryMap["startHistoryId"].first, unittest.equals(arg_st
artHistoryId)); |
| 2171 | 2267 |
| 2172 | 2268 |
| 2173 var h = { | 2269 var h = { |
| 2174 "content-type" : "application/json; charset=utf-8", | 2270 "content-type" : "application/json; charset=utf-8", |
| 2175 }; | 2271 }; |
| 2176 var resp = convert.JSON.encode(buildListHistoryResponse()); | 2272 var resp = convert.JSON.encode(buildListHistoryResponse()); |
| 2177 return new async.Future.value(stringResponse(200, h, resp)); | 2273 return new async.Future.value(stringResponse(200, h, resp)); |
| 2178 }), true); | 2274 }), true); |
| 2179 res.list(arg_userId, labelId: arg_labelId, maxResults: arg_maxResults, pag
eToken: arg_pageToken, startHistoryId: arg_startHistoryId).then(unittest.expectA
sync(((api.ListHistoryResponse response) { | 2275 res.list(arg_userId, historyTypes: arg_historyTypes, labelId: arg_labelId,
maxResults: arg_maxResults, pageToken: arg_pageToken, startHistoryId: arg_start
HistoryId).then(unittest.expectAsync(((api.ListHistoryResponse response) { |
| 2180 checkListHistoryResponse(response); | 2276 checkListHistoryResponse(response); |
| 2181 }))); | 2277 }))); |
| 2182 }); | 2278 }); |
| 2183 | 2279 |
| 2184 }); | 2280 }); |
| 2185 | 2281 |
| 2186 | 2282 |
| 2187 unittest.group("resource-UsersLabelsResourceApi", () { | 2283 unittest.group("resource-UsersLabelsResourceApi", () { |
| 2188 unittest.test("method--create", () { | 2284 unittest.test("method--create", () { |
| 2189 | 2285 |
| (...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2584 res.delete(arg_userId, arg_id).then(unittest.expectAsync((_) {})); | 2680 res.delete(arg_userId, arg_id).then(unittest.expectAsync((_) {})); |
| 2585 }); | 2681 }); |
| 2586 | 2682 |
| 2587 unittest.test("method--get", () { | 2683 unittest.test("method--get", () { |
| 2588 | 2684 |
| 2589 var mock = new HttpServerMock(); | 2685 var mock = new HttpServerMock(); |
| 2590 api.UsersMessagesResourceApi res = new api.GmailApi(mock).users.messages; | 2686 api.UsersMessagesResourceApi res = new api.GmailApi(mock).users.messages; |
| 2591 var arg_userId = "foo"; | 2687 var arg_userId = "foo"; |
| 2592 var arg_id = "foo"; | 2688 var arg_id = "foo"; |
| 2593 var arg_format = "foo"; | 2689 var arg_format = "foo"; |
| 2594 var arg_metadataHeaders = buildUnnamed128(); | 2690 var arg_metadataHeaders = buildUnnamed130(); |
| 2595 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 2691 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 2596 var path = (req.url).path; | 2692 var path = (req.url).path; |
| 2597 var pathOffset = 0; | 2693 var pathOffset = 0; |
| 2598 var index; | 2694 var index; |
| 2599 var subPart; | 2695 var subPart; |
| 2600 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 2696 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 2601 pathOffset += 1; | 2697 pathOffset += 1; |
| 2602 | 2698 |
| 2603 var query = (req.url).query; | 2699 var query = (req.url).query; |
| 2604 var queryOffset = 0; | 2700 var queryOffset = 0; |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2738 checkMessage(response); | 2834 checkMessage(response); |
| 2739 }))); | 2835 }))); |
| 2740 }); | 2836 }); |
| 2741 | 2837 |
| 2742 unittest.test("method--list", () { | 2838 unittest.test("method--list", () { |
| 2743 | 2839 |
| 2744 var mock = new HttpServerMock(); | 2840 var mock = new HttpServerMock(); |
| 2745 api.UsersMessagesResourceApi res = new api.GmailApi(mock).users.messages; | 2841 api.UsersMessagesResourceApi res = new api.GmailApi(mock).users.messages; |
| 2746 var arg_userId = "foo"; | 2842 var arg_userId = "foo"; |
| 2747 var arg_includeSpamTrash = true; | 2843 var arg_includeSpamTrash = true; |
| 2748 var arg_labelIds = buildUnnamed129(); | 2844 var arg_labelIds = buildUnnamed131(); |
| 2749 var arg_maxResults = 42; | 2845 var arg_maxResults = 42; |
| 2750 var arg_pageToken = "foo"; | 2846 var arg_pageToken = "foo"; |
| 2751 var arg_q = "foo"; | 2847 var arg_q = "foo"; |
| 2752 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 2848 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 2753 var path = (req.url).path; | 2849 var path = (req.url).path; |
| 2754 var pathOffset = 0; | 2850 var pathOffset = 0; |
| 2755 var index; | 2851 var index; |
| 2756 var subPart; | 2852 var subPart; |
| 2757 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 2853 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 2758 pathOffset += 1; | 2854 pathOffset += 1; |
| (...skipping 1276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4035 }; | 4131 }; |
| 4036 var resp = ""; | 4132 var resp = ""; |
| 4037 return new async.Future.value(stringResponse(200, h, resp)); | 4133 return new async.Future.value(stringResponse(200, h, resp)); |
| 4038 }), true); | 4134 }), true); |
| 4039 res.verify(arg_userId, arg_sendAsEmail).then(unittest.expectAsync((_) {}))
; | 4135 res.verify(arg_userId, arg_sendAsEmail).then(unittest.expectAsync((_) {}))
; |
| 4040 }); | 4136 }); |
| 4041 | 4137 |
| 4042 }); | 4138 }); |
| 4043 | 4139 |
| 4044 | 4140 |
| 4141 unittest.group("resource-UsersSettingsSendAsSmimeInfoResourceApi", () { |
| 4142 unittest.test("method--delete", () { |
| 4143 |
| 4144 var mock = new HttpServerMock(); |
| 4145 api.UsersSettingsSendAsSmimeInfoResourceApi res = new api.GmailApi(mock).u
sers.settings.sendAs.smimeInfo; |
| 4146 var arg_userId = "foo"; |
| 4147 var arg_sendAsEmail = "foo"; |
| 4148 var arg_id = "foo"; |
| 4149 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 4150 var path = (req.url).path; |
| 4151 var pathOffset = 0; |
| 4152 var index; |
| 4153 var subPart; |
| 4154 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 4155 pathOffset += 1; |
| 4156 |
| 4157 var query = (req.url).query; |
| 4158 var queryOffset = 0; |
| 4159 var queryMap = {}; |
| 4160 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 4161 parseBool(n) { |
| 4162 if (n == "true") return true; |
| 4163 if (n == "false") return false; |
| 4164 if (n == null) return null; |
| 4165 throw new core.ArgumentError("Invalid boolean: $n"); |
| 4166 } |
| 4167 if (query.length > 0) { |
| 4168 for (var part in query.split("&")) { |
| 4169 var keyvalue = part.split("="); |
| 4170 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 4171 } |
| 4172 } |
| 4173 |
| 4174 |
| 4175 var h = { |
| 4176 "content-type" : "application/json; charset=utf-8", |
| 4177 }; |
| 4178 var resp = ""; |
| 4179 return new async.Future.value(stringResponse(200, h, resp)); |
| 4180 }), true); |
| 4181 res.delete(arg_userId, arg_sendAsEmail, arg_id).then(unittest.expectAsync(
(_) {})); |
| 4182 }); |
| 4183 |
| 4184 unittest.test("method--get", () { |
| 4185 |
| 4186 var mock = new HttpServerMock(); |
| 4187 api.UsersSettingsSendAsSmimeInfoResourceApi res = new api.GmailApi(mock).u
sers.settings.sendAs.smimeInfo; |
| 4188 var arg_userId = "foo"; |
| 4189 var arg_sendAsEmail = "foo"; |
| 4190 var arg_id = "foo"; |
| 4191 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 4192 var path = (req.url).path; |
| 4193 var pathOffset = 0; |
| 4194 var index; |
| 4195 var subPart; |
| 4196 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 4197 pathOffset += 1; |
| 4198 |
| 4199 var query = (req.url).query; |
| 4200 var queryOffset = 0; |
| 4201 var queryMap = {}; |
| 4202 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 4203 parseBool(n) { |
| 4204 if (n == "true") return true; |
| 4205 if (n == "false") return false; |
| 4206 if (n == null) return null; |
| 4207 throw new core.ArgumentError("Invalid boolean: $n"); |
| 4208 } |
| 4209 if (query.length > 0) { |
| 4210 for (var part in query.split("&")) { |
| 4211 var keyvalue = part.split("="); |
| 4212 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 4213 } |
| 4214 } |
| 4215 |
| 4216 |
| 4217 var h = { |
| 4218 "content-type" : "application/json; charset=utf-8", |
| 4219 }; |
| 4220 var resp = convert.JSON.encode(buildSmimeInfo()); |
| 4221 return new async.Future.value(stringResponse(200, h, resp)); |
| 4222 }), true); |
| 4223 res.get(arg_userId, arg_sendAsEmail, arg_id).then(unittest.expectAsync(((a
pi.SmimeInfo response) { |
| 4224 checkSmimeInfo(response); |
| 4225 }))); |
| 4226 }); |
| 4227 |
| 4228 unittest.test("method--insert", () { |
| 4229 |
| 4230 var mock = new HttpServerMock(); |
| 4231 api.UsersSettingsSendAsSmimeInfoResourceApi res = new api.GmailApi(mock).u
sers.settings.sendAs.smimeInfo; |
| 4232 var arg_request = buildSmimeInfo(); |
| 4233 var arg_userId = "foo"; |
| 4234 var arg_sendAsEmail = "foo"; |
| 4235 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 4236 var obj = new api.SmimeInfo.fromJson(json); |
| 4237 checkSmimeInfo(obj); |
| 4238 |
| 4239 var path = (req.url).path; |
| 4240 var pathOffset = 0; |
| 4241 var index; |
| 4242 var subPart; |
| 4243 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 4244 pathOffset += 1; |
| 4245 |
| 4246 var query = (req.url).query; |
| 4247 var queryOffset = 0; |
| 4248 var queryMap = {}; |
| 4249 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 4250 parseBool(n) { |
| 4251 if (n == "true") return true; |
| 4252 if (n == "false") return false; |
| 4253 if (n == null) return null; |
| 4254 throw new core.ArgumentError("Invalid boolean: $n"); |
| 4255 } |
| 4256 if (query.length > 0) { |
| 4257 for (var part in query.split("&")) { |
| 4258 var keyvalue = part.split("="); |
| 4259 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 4260 } |
| 4261 } |
| 4262 |
| 4263 |
| 4264 var h = { |
| 4265 "content-type" : "application/json; charset=utf-8", |
| 4266 }; |
| 4267 var resp = convert.JSON.encode(buildSmimeInfo()); |
| 4268 return new async.Future.value(stringResponse(200, h, resp)); |
| 4269 }), true); |
| 4270 res.insert(arg_request, arg_userId, arg_sendAsEmail).then(unittest.expectA
sync(((api.SmimeInfo response) { |
| 4271 checkSmimeInfo(response); |
| 4272 }))); |
| 4273 }); |
| 4274 |
| 4275 unittest.test("method--list", () { |
| 4276 |
| 4277 var mock = new HttpServerMock(); |
| 4278 api.UsersSettingsSendAsSmimeInfoResourceApi res = new api.GmailApi(mock).u
sers.settings.sendAs.smimeInfo; |
| 4279 var arg_userId = "foo"; |
| 4280 var arg_sendAsEmail = "foo"; |
| 4281 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 4282 var path = (req.url).path; |
| 4283 var pathOffset = 0; |
| 4284 var index; |
| 4285 var subPart; |
| 4286 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 4287 pathOffset += 1; |
| 4288 |
| 4289 var query = (req.url).query; |
| 4290 var queryOffset = 0; |
| 4291 var queryMap = {}; |
| 4292 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 4293 parseBool(n) { |
| 4294 if (n == "true") return true; |
| 4295 if (n == "false") return false; |
| 4296 if (n == null) return null; |
| 4297 throw new core.ArgumentError("Invalid boolean: $n"); |
| 4298 } |
| 4299 if (query.length > 0) { |
| 4300 for (var part in query.split("&")) { |
| 4301 var keyvalue = part.split("="); |
| 4302 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 4303 } |
| 4304 } |
| 4305 |
| 4306 |
| 4307 var h = { |
| 4308 "content-type" : "application/json; charset=utf-8", |
| 4309 }; |
| 4310 var resp = convert.JSON.encode(buildListSmimeInfoResponse()); |
| 4311 return new async.Future.value(stringResponse(200, h, resp)); |
| 4312 }), true); |
| 4313 res.list(arg_userId, arg_sendAsEmail).then(unittest.expectAsync(((api.List
SmimeInfoResponse response) { |
| 4314 checkListSmimeInfoResponse(response); |
| 4315 }))); |
| 4316 }); |
| 4317 |
| 4318 unittest.test("method--setDefault", () { |
| 4319 |
| 4320 var mock = new HttpServerMock(); |
| 4321 api.UsersSettingsSendAsSmimeInfoResourceApi res = new api.GmailApi(mock).u
sers.settings.sendAs.smimeInfo; |
| 4322 var arg_userId = "foo"; |
| 4323 var arg_sendAsEmail = "foo"; |
| 4324 var arg_id = "foo"; |
| 4325 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 4326 var path = (req.url).path; |
| 4327 var pathOffset = 0; |
| 4328 var index; |
| 4329 var subPart; |
| 4330 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 4331 pathOffset += 1; |
| 4332 |
| 4333 var query = (req.url).query; |
| 4334 var queryOffset = 0; |
| 4335 var queryMap = {}; |
| 4336 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 4337 parseBool(n) { |
| 4338 if (n == "true") return true; |
| 4339 if (n == "false") return false; |
| 4340 if (n == null) return null; |
| 4341 throw new core.ArgumentError("Invalid boolean: $n"); |
| 4342 } |
| 4343 if (query.length > 0) { |
| 4344 for (var part in query.split("&")) { |
| 4345 var keyvalue = part.split("="); |
| 4346 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 4347 } |
| 4348 } |
| 4349 |
| 4350 |
| 4351 var h = { |
| 4352 "content-type" : "application/json; charset=utf-8", |
| 4353 }; |
| 4354 var resp = ""; |
| 4355 return new async.Future.value(stringResponse(200, h, resp)); |
| 4356 }), true); |
| 4357 res.setDefault(arg_userId, arg_sendAsEmail, arg_id).then(unittest.expectAs
ync((_) {})); |
| 4358 }); |
| 4359 |
| 4360 }); |
| 4361 |
| 4362 |
| 4045 unittest.group("resource-UsersThreadsResourceApi", () { | 4363 unittest.group("resource-UsersThreadsResourceApi", () { |
| 4046 unittest.test("method--delete", () { | 4364 unittest.test("method--delete", () { |
| 4047 | 4365 |
| 4048 var mock = new HttpServerMock(); | 4366 var mock = new HttpServerMock(); |
| 4049 api.UsersThreadsResourceApi res = new api.GmailApi(mock).users.threads; | 4367 api.UsersThreadsResourceApi res = new api.GmailApi(mock).users.threads; |
| 4050 var arg_userId = "foo"; | 4368 var arg_userId = "foo"; |
| 4051 var arg_id = "foo"; | 4369 var arg_id = "foo"; |
| 4052 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 4370 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 4053 var path = (req.url).path; | 4371 var path = (req.url).path; |
| 4054 var pathOffset = 0; | 4372 var pathOffset = 0; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 4084 res.delete(arg_userId, arg_id).then(unittest.expectAsync((_) {})); | 4402 res.delete(arg_userId, arg_id).then(unittest.expectAsync((_) {})); |
| 4085 }); | 4403 }); |
| 4086 | 4404 |
| 4087 unittest.test("method--get", () { | 4405 unittest.test("method--get", () { |
| 4088 | 4406 |
| 4089 var mock = new HttpServerMock(); | 4407 var mock = new HttpServerMock(); |
| 4090 api.UsersThreadsResourceApi res = new api.GmailApi(mock).users.threads; | 4408 api.UsersThreadsResourceApi res = new api.GmailApi(mock).users.threads; |
| 4091 var arg_userId = "foo"; | 4409 var arg_userId = "foo"; |
| 4092 var arg_id = "foo"; | 4410 var arg_id = "foo"; |
| 4093 var arg_format = "foo"; | 4411 var arg_format = "foo"; |
| 4094 var arg_metadataHeaders = buildUnnamed130(); | 4412 var arg_metadataHeaders = buildUnnamed132(); |
| 4095 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 4413 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 4096 var path = (req.url).path; | 4414 var path = (req.url).path; |
| 4097 var pathOffset = 0; | 4415 var pathOffset = 0; |
| 4098 var index; | 4416 var index; |
| 4099 var subPart; | 4417 var subPart; |
| 4100 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 4418 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 4101 pathOffset += 1; | 4419 pathOffset += 1; |
| 4102 | 4420 |
| 4103 var query = (req.url).query; | 4421 var query = (req.url).query; |
| 4104 var queryOffset = 0; | 4422 var queryOffset = 0; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 4130 checkThread(response); | 4448 checkThread(response); |
| 4131 }))); | 4449 }))); |
| 4132 }); | 4450 }); |
| 4133 | 4451 |
| 4134 unittest.test("method--list", () { | 4452 unittest.test("method--list", () { |
| 4135 | 4453 |
| 4136 var mock = new HttpServerMock(); | 4454 var mock = new HttpServerMock(); |
| 4137 api.UsersThreadsResourceApi res = new api.GmailApi(mock).users.threads; | 4455 api.UsersThreadsResourceApi res = new api.GmailApi(mock).users.threads; |
| 4138 var arg_userId = "foo"; | 4456 var arg_userId = "foo"; |
| 4139 var arg_includeSpamTrash = true; | 4457 var arg_includeSpamTrash = true; |
| 4140 var arg_labelIds = buildUnnamed131(); | 4458 var arg_labelIds = buildUnnamed133(); |
| 4141 var arg_maxResults = 42; | 4459 var arg_maxResults = 42; |
| 4142 var arg_pageToken = "foo"; | 4460 var arg_pageToken = "foo"; |
| 4143 var arg_q = "foo"; | 4461 var arg_q = "foo"; |
| 4144 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 4462 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 4145 var path = (req.url).path; | 4463 var path = (req.url).path; |
| 4146 var pathOffset = 0; | 4464 var pathOffset = 0; |
| 4147 var index; | 4465 var index; |
| 4148 var subPart; | 4466 var subPart; |
| 4149 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 4467 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 4150 pathOffset += 1; | 4468 pathOffset += 1; |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4314 res.untrash(arg_userId, arg_id).then(unittest.expectAsync(((api.Thread res
ponse) { | 4632 res.untrash(arg_userId, arg_id).then(unittest.expectAsync(((api.Thread res
ponse) { |
| 4315 checkThread(response); | 4633 checkThread(response); |
| 4316 }))); | 4634 }))); |
| 4317 }); | 4635 }); |
| 4318 | 4636 |
| 4319 }); | 4637 }); |
| 4320 | 4638 |
| 4321 | 4639 |
| 4322 } | 4640 } |
| 4323 | 4641 |
| OLD | NEW |