-
Notifications
You must be signed in to change notification settings - Fork 26
/
types_test.go
221 lines (179 loc) · 3.94 KB
/
types_test.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
package echotron
import "testing"
func TestAPIResponseBase(_ *testing.T) {
a := APIResponseBase{}
a.Base()
}
func TestAPIResponseUpdate(_ *testing.T) {
a := APIResponseUpdate{}
a.Base()
}
func TestAPIResponseUser(_ *testing.T) {
a := APIResponseUser{}
a.Base()
}
func TestAPIResponseMessage(_ *testing.T) {
a := APIResponseMessage{}
a.Base()
}
func TestAPIResponseMessageArray(_ *testing.T) {
a := APIResponseMessageArray{}
a.Base()
}
func TestAPIResponseMessageID(_ *testing.T) {
a := APIResponseMessageID{}
a.Base()
}
func TestAPIResponseCommands(_ *testing.T) {
a := APIResponseCommands{}
a.Base()
}
func TestAPIResponseBool(_ *testing.T) {
a := APIResponseBool{}
a.Base()
}
func TestAPIResponseString(_ *testing.T) {
a := APIResponseString{}
a.Base()
}
func TestAPIResponseChat(_ *testing.T) {
a := APIResponseChat{}
a.Base()
}
func TestAPIResponseInviteLink(_ *testing.T) {
a := APIResponseInviteLink{}
a.Base()
}
func TestAPIResponseStickerSet(_ *testing.T) {
a := APIResponseStickerSet{}
a.Base()
}
func TestAPIResponseUserProfile(_ *testing.T) {
a := APIResponseUserProfile{}
a.Base()
}
func TestAPIResponseFile(_ *testing.T) {
a := APIResponseFile{}
a.Base()
}
func TestAPIResponseAdministrators(_ *testing.T) {
a := APIResponseAdministrators{}
a.Base()
}
func TestAPIResponseChatMember(_ *testing.T) {
a := APIResponseChatMember{}
a.Base()
}
func TestAPIResponseInteger(_ *testing.T) {
a := APIResponseInteger{}
a.Base()
}
func TestAPIResponsePoll(_ *testing.T) {
a := APIResponsePoll{}
a.Base()
}
func TestAPIResponseGameHighScore(_ *testing.T) {
a := APIResponseGameHighScore{}
a.Base()
}
func TestAPIResponseWebhook(_ *testing.T) {
a := APIResponseWebhook{}
a.Base()
}
func TestAPIResponseSentWebAppMessage(_ *testing.T) {
a := APIResponseSentWebAppMessage{}
a.Base()
}
func TestAPIResponseMenuButton(_ *testing.T) {
a := APIResponseMenuButton{}
a.Base()
}
func TestAPIResponseChatAdministratorRights(_ *testing.T) {
a := APIResponseChatAdministratorRights{}
a.Base()
}
func TestAPIResponseBotDescription(_ *testing.T) {
a := APIResponseBotDescription{}
a.Base()
}
func TestAPIResponseBotShortDescription(_ *testing.T) {
a := APIResponseBotShortDescription{}
a.Base()
}
func TestAPIResponseBusinessConnection(_ *testing.T) {
a := APIResponseBusinessConnection{}
a.Base()
}
func TestAPIResponseStarTransactions(_ *testing.T) {
a := APIResponseStarTransactions{}
a.Base()
}
func TestInputMediaPhoto(_ *testing.T) {
i := InputMediaPhoto{}
i.media()
i.thumbnail()
i.groupable()
}
func TestInputMediaVideo(_ *testing.T) {
i := InputMediaVideo{}
i.media()
i.thumbnail()
i.groupable()
}
func TestInputMediaAnimation(_ *testing.T) {
i := InputMediaAnimation{}
i.media()
i.thumbnail()
}
func TestInputMediaAudio(_ *testing.T) {
i := InputMediaAudio{}
i.media()
i.thumbnail()
i.groupable()
}
func TestInputMediaDocument(_ *testing.T) {
i := InputMediaDocument{}
i.media()
i.thumbnail()
i.groupable()
}
func TestInputPaidMediaPhoto(_ *testing.T) {
i := InputPaidMediaPhoto{}
i.media()
i.groupable()
i.thumbnail()
}
func TestInputPaidMediaVideo(_ *testing.T) {
i := InputPaidMediaVideo{}
i.media()
i.groupable()
i.thumbnail()
}
func TestBackgroundFillSolid(_ *testing.T) {
b := BackgroundFillSolid{}
b.ImplementsBackgroundFill()
}
func TestBackgroundFillGradient(_ *testing.T) {
b := BackgroundFillGradient{}
b.ImplementsBackgroundFill()
}
func TestBackgroundFillFreeformGradient(_ *testing.T) {
b := BackgroundFillFreeformGradient{}
b.ImplementsBackgroundFill()
}
func TestBackgroundTypeFill(_ *testing.T) {
b := BackgroundTypeFill{}
b.ImplementsBackgroundType()
}
func TestBackgroundTypeWallpaper(_ *testing.T) {
b := BackgroundTypeWallpaper{}
b.ImplementsBackgroundType()
}
func TestBackgroundTypePattern(_ *testing.T) {
b := BackgroundTypePattern{}
b.ImplementsBackgroundType()
}
func TestBackgroundTypeChatTheme(_ *testing.T) {
b := BackgroundTypeChatTheme{}
b.ImplementsBackgroundType()
}