1// Code generated by xtgen; DO NOT EDIT.
2package xproto
3
4import "testing"
5
6func TestWireSizes(t *testing.T) {
7 if Char2bSize != 2 {
8 t.Errorf("Char2b fixed prefix = %d", Char2bSize)
9 }
10 if PointSize != 4 {
11 t.Errorf("Point fixed prefix = %d", PointSize)
12 }
13 if RectangleSize != 8 {
14 t.Errorf("Rectangle fixed prefix = %d", RectangleSize)
15 }
16 if ArcSize != 12 {
17 t.Errorf("Arc fixed prefix = %d", ArcSize)
18 }
19 if FormatSize != 8 {
20 t.Errorf("Format fixed prefix = %d", FormatSize)
21 }
22 if VisualtypeSize != 24 {
23 t.Errorf("Visualtype fixed prefix = %d", VisualtypeSize)
24 }
25 if DepthSize != 8 {
26 t.Errorf("Depth fixed prefix = %d", DepthSize)
27 }
28 if ScreenSize != 40 {
29 t.Errorf("Screen fixed prefix = %d", ScreenSize)
30 }
31 if SetupRequestSize != 12 {
32 t.Errorf("SetupRequest fixed prefix = %d", SetupRequestSize)
33 }
34 if SetupFailedSize != 8 {
35 t.Errorf("SetupFailed fixed prefix = %d", SetupFailedSize)
36 }
37 if SetupAuthenticateSize != 8 {
38 t.Errorf("SetupAuthenticate fixed prefix = %d", SetupAuthenticateSize)
39 }
40 if SetupSize != 40 {
41 t.Errorf("Setup fixed prefix = %d", SetupSize)
42 }
43 if ClientMessageDataSize != 20 {
44 t.Errorf("ClientMessageData fixed prefix = %d", ClientMessageDataSize)
45 }
46 if TimecoordSize != 8 {
47 t.Errorf("Timecoord fixed prefix = %d", TimecoordSize)
48 }
49 if FontpropSize != 8 {
50 t.Errorf("Fontprop fixed prefix = %d", FontpropSize)
51 }
52 if CharinfoSize != 12 {
53 t.Errorf("Charinfo fixed prefix = %d", CharinfoSize)
54 }
55 if StrSize != 1 {
56 t.Errorf("Str fixed prefix = %d", StrSize)
57 }
58 if SegmentSize != 8 {
59 t.Errorf("Segment fixed prefix = %d", SegmentSize)
60 }
61 if ColoritemSize != 12 {
62 t.Errorf("Coloritem fixed prefix = %d", ColoritemSize)
63 }
64 if RgbSize != 8 {
65 t.Errorf("Rgb fixed prefix = %d", RgbSize)
66 }
67 if HostSize != 4 {
68 t.Errorf("Host fixed prefix = %d", HostSize)
69 }
70 if got := 32; got != 32 {
71 t.Errorf("event KeyPress fixed size = %d", got)
72 }
73 if got := 32; got != 32 {
74 t.Errorf("event KeyRelease fixed size = %d", got)
75 }
76 if got := 32; got != 32 {
77 t.Errorf("event ButtonPress fixed size = %d", got)
78 }
79 if got := 32; got != 32 {
80 t.Errorf("event ButtonRelease fixed size = %d", got)
81 }
82 if got := 32; got != 32 {
83 t.Errorf("event MotionNotify fixed size = %d", got)
84 }
85 if got := 32; got != 32 {
86 t.Errorf("event EnterNotify fixed size = %d", got)
87 }
88 if got := 32; got != 32 {
89 t.Errorf("event LeaveNotify fixed size = %d", got)
90 }
91 if got := 32; got != 32 {
92 t.Errorf("event FocusIn fixed size = %d", got)
93 }
94 if got := 32; got != 32 {
95 t.Errorf("event FocusOut fixed size = %d", got)
96 }
97 if got := 32; got != 32 {
98 t.Errorf("event KeymapNotify fixed size = %d", got)
99 }
100 if got := 32; got != 32 {
101 t.Errorf("event Expose fixed size = %d", got)
102 }
103 if got := 32; got != 32 {
104 t.Errorf("event GraphicsExposure fixed size = %d", got)
105 }
106 if got := 32; got != 32 {
107 t.Errorf("event NoExposure fixed size = %d", got)
108 }
109 if got := 32; got != 32 {
110 t.Errorf("event VisibilityNotify fixed size = %d", got)
111 }
112 if got := 32; got != 32 {
113 t.Errorf("event CreateNotify fixed size = %d", got)
114 }
115 if got := 32; got != 32 {
116 t.Errorf("event DestroyNotify fixed size = %d", got)
117 }
118 if got := 32; got != 32 {
119 t.Errorf("event UnmapNotify fixed size = %d", got)
120 }
121 if got := 32; got != 32 {
122 t.Errorf("event MapNotify fixed size = %d", got)
123 }
124 if got := 32; got != 32 {
125 t.Errorf("event MapRequest fixed size = %d", got)
126 }
127 if got := 32; got != 32 {
128 t.Errorf("event ReparentNotify fixed size = %d", got)
129 }
130 if got := 32; got != 32 {
131 t.Errorf("event ConfigureNotify fixed size = %d", got)
132 }
133 if got := 32; got != 32 {
134 t.Errorf("event ConfigureRequest fixed size = %d", got)
135 }
136 if got := 32; got != 32 {
137 t.Errorf("event GravityNotify fixed size = %d", got)
138 }
139 if got := 32; got != 32 {
140 t.Errorf("event ResizeRequest fixed size = %d", got)
141 }
142 if got := 32; got != 32 {
143 t.Errorf("event CirculateNotify fixed size = %d", got)
144 }
145 if got := 32; got != 32 {
146 t.Errorf("event CirculateRequest fixed size = %d", got)
147 }
148 if got := 32; got != 32 {
149 t.Errorf("event PropertyNotify fixed size = %d", got)
150 }
151 if got := 32; got != 32 {
152 t.Errorf("event SelectionClear fixed size = %d", got)
153 }
154 if got := 32; got != 32 {
155 t.Errorf("event SelectionRequest fixed size = %d", got)
156 }
157 if got := 32; got != 32 {
158 t.Errorf("event SelectionNotify fixed size = %d", got)
159 }
160 if got := 32; got != 32 {
161 t.Errorf("event ColormapNotify fixed size = %d", got)
162 }
163 if got := 32; got != 32 {
164 t.Errorf("event ClientMessage fixed size = %d", got)
165 }
166 if got := 32; got != 32 {
167 t.Errorf("event MappingNotify fixed size = %d", got)
168 }
169 if got := 32; got != 32 {
170 t.Errorf("event GeGeneric fixed size = %d", got)
171 }
172 if got := 44; got != 44 {
173 t.Errorf("reply GetWindowAttributes fixed size = %d", got)
174 }
175 if got := 32; got != 32 {
176 t.Errorf("reply GetGeometry fixed size = %d", got)
177 }
178 if got := 32; got != 32 {
179 t.Errorf("reply QueryTree fixed size = %d", got)
180 }
181 if got := 32; got != 32 {
182 t.Errorf("reply InternAtom fixed size = %d", got)
183 }
184 if got := 32; got != 32 {
185 t.Errorf("reply GetAtomName fixed size = %d", got)
186 }
187 if got := 32; got != 32 {
188 t.Errorf("reply GetProperty fixed size = %d", got)
189 }
190 if got := 32; got != 32 {
191 t.Errorf("reply ListProperties fixed size = %d", got)
192 }
193 if got := 32; got != 32 {
194 t.Errorf("reply GetSelectionOwner fixed size = %d", got)
195 }
196 if got := 32; got != 32 {
197 t.Errorf("reply GrabPointer fixed size = %d", got)
198 }
199 if got := 32; got != 32 {
200 t.Errorf("reply GrabKeyboard fixed size = %d", got)
201 }
202 if got := 32; got != 32 {
203 t.Errorf("reply QueryPointer fixed size = %d", got)
204 }
205 if got := 32; got != 32 {
206 t.Errorf("reply GetMotionEvents fixed size = %d", got)
207 }
208 if got := 32; got != 32 {
209 t.Errorf("reply TranslateCoordinates fixed size = %d", got)
210 }
211 if got := 32; got != 32 {
212 t.Errorf("reply GetInputFocus fixed size = %d", got)
213 }
214 if got := 40; got != 40 {
215 t.Errorf("reply QueryKeymap fixed size = %d", got)
216 }
217 if got := 60; got != 60 {
218 t.Errorf("reply QueryFont fixed size = %d", got)
219 }
220 if got := 32; got != 32 {
221 t.Errorf("reply QueryTextExtents fixed size = %d", got)
222 }
223 if got := 32; got != 32 {
224 t.Errorf("reply ListFonts fixed size = %d", got)
225 }
226 if got := 60; got != 60 {
227 t.Errorf("reply ListFontsWithInfo fixed size = %d", got)
228 }
229 if got := 32; got != 32 {
230 t.Errorf("reply GetFontPath fixed size = %d", got)
231 }
232 if got := 32; got != 32 {
233 t.Errorf("reply GetImage fixed size = %d", got)
234 }
235 if got := 32; got != 32 {
236 t.Errorf("reply ListInstalledColormaps fixed size = %d", got)
237 }
238 if got := 32; got != 32 {
239 t.Errorf("reply AllocColor fixed size = %d", got)
240 }
241 if got := 32; got != 32 {
242 t.Errorf("reply AllocNamedColor fixed size = %d", got)
243 }
244 if got := 32; got != 32 {
245 t.Errorf("reply AllocColorCells fixed size = %d", got)
246 }
247 if got := 32; got != 32 {
248 t.Errorf("reply AllocColorPlanes fixed size = %d", got)
249 }
250 if got := 32; got != 32 {
251 t.Errorf("reply QueryColors fixed size = %d", got)
252 }
253 if got := 32; got != 32 {
254 t.Errorf("reply LookupColor fixed size = %d", got)
255 }
256 if got := 32; got != 32 {
257 t.Errorf("reply QueryBestSize fixed size = %d", got)
258 }
259 if got := 32; got != 32 {
260 t.Errorf("reply QueryExtension fixed size = %d", got)
261 }
262 if got := 32; got != 32 {
263 t.Errorf("reply ListExtensions fixed size = %d", got)
264 }
265 if got := 32; got != 32 {
266 t.Errorf("reply GetKeyboardMapping fixed size = %d", got)
267 }
268 if got := 52; got != 52 {
269 t.Errorf("reply GetKeyboardControl fixed size = %d", got)
270 }
271 if got := 32; got != 32 {
272 t.Errorf("reply GetPointerControl fixed size = %d", got)
273 }
274 if got := 32; got != 32 {
275 t.Errorf("reply GetScreenSaver fixed size = %d", got)
276 }
277 if got := 32; got != 32 {
278 t.Errorf("reply ListHosts fixed size = %d", got)
279 }
280 if got := 32; got != 32 {
281 t.Errorf("reply SetPointerMapping fixed size = %d", got)
282 }
283 if got := 32; got != 32 {
284 t.Errorf("reply GetPointerMapping fixed size = %d", got)
285 }
286 if got := 32; got != 32 {
287 t.Errorf("reply SetModifierMapping fixed size = %d", got)
288 }
289 if got := 32; got != 32 {
290 t.Errorf("reply GetModifierMapping fixed size = %d", got)
291 }
292
293}