// Code generated by xtgen; DO NOT EDIT. package xproto import "testing" func TestWireSizes(t *testing.T) { if Char2bSize != 2 { t.Errorf("Char2b fixed prefix = %d", Char2bSize) } if PointSize != 4 { t.Errorf("Point fixed prefix = %d", PointSize) } if RectangleSize != 8 { t.Errorf("Rectangle fixed prefix = %d", RectangleSize) } if ArcSize != 12 { t.Errorf("Arc fixed prefix = %d", ArcSize) } if FormatSize != 8 { t.Errorf("Format fixed prefix = %d", FormatSize) } if VisualtypeSize != 24 { t.Errorf("Visualtype fixed prefix = %d", VisualtypeSize) } if DepthSize != 8 { t.Errorf("Depth fixed prefix = %d", DepthSize) } if ScreenSize != 40 { t.Errorf("Screen fixed prefix = %d", ScreenSize) } if SetupRequestSize != 12 { t.Errorf("SetupRequest fixed prefix = %d", SetupRequestSize) } if SetupFailedSize != 8 { t.Errorf("SetupFailed fixed prefix = %d", SetupFailedSize) } if SetupAuthenticateSize != 8 { t.Errorf("SetupAuthenticate fixed prefix = %d", SetupAuthenticateSize) } if SetupSize != 40 { t.Errorf("Setup fixed prefix = %d", SetupSize) } if ClientMessageDataSize != 20 { t.Errorf("ClientMessageData fixed prefix = %d", ClientMessageDataSize) } if TimecoordSize != 8 { t.Errorf("Timecoord fixed prefix = %d", TimecoordSize) } if FontpropSize != 8 { t.Errorf("Fontprop fixed prefix = %d", FontpropSize) } if CharinfoSize != 12 { t.Errorf("Charinfo fixed prefix = %d", CharinfoSize) } if StrSize != 1 { t.Errorf("Str fixed prefix = %d", StrSize) } if SegmentSize != 8 { t.Errorf("Segment fixed prefix = %d", SegmentSize) } if ColoritemSize != 12 { t.Errorf("Coloritem fixed prefix = %d", ColoritemSize) } if RgbSize != 8 { t.Errorf("Rgb fixed prefix = %d", RgbSize) } if HostSize != 4 { t.Errorf("Host fixed prefix = %d", HostSize) } if got := 32; got != 32 { t.Errorf("event KeyPress fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("event KeyRelease fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("event ButtonPress fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("event ButtonRelease fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("event MotionNotify fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("event EnterNotify fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("event LeaveNotify fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("event FocusIn fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("event FocusOut fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("event KeymapNotify fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("event Expose fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("event GraphicsExposure fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("event NoExposure fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("event VisibilityNotify fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("event CreateNotify fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("event DestroyNotify fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("event UnmapNotify fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("event MapNotify fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("event MapRequest fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("event ReparentNotify fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("event ConfigureNotify fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("event ConfigureRequest fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("event GravityNotify fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("event ResizeRequest fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("event CirculateNotify fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("event CirculateRequest fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("event PropertyNotify fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("event SelectionClear fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("event SelectionRequest fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("event SelectionNotify fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("event ColormapNotify fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("event ClientMessage fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("event MappingNotify fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("event GeGeneric fixed size = %d", got) } if got := 44; got != 44 { t.Errorf("reply GetWindowAttributes fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply GetGeometry fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply QueryTree fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply InternAtom fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply GetAtomName fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply GetProperty fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply ListProperties fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply GetSelectionOwner fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply GrabPointer fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply GrabKeyboard fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply QueryPointer fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply GetMotionEvents fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply TranslateCoordinates fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply GetInputFocus fixed size = %d", got) } if got := 40; got != 40 { t.Errorf("reply QueryKeymap fixed size = %d", got) } if got := 60; got != 60 { t.Errorf("reply QueryFont fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply QueryTextExtents fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply ListFonts fixed size = %d", got) } if got := 60; got != 60 { t.Errorf("reply ListFontsWithInfo fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply GetFontPath fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply GetImage fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply ListInstalledColormaps fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply AllocColor fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply AllocNamedColor fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply AllocColorCells fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply AllocColorPlanes fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply QueryColors fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply LookupColor fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply QueryBestSize fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply QueryExtension fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply ListExtensions fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply GetKeyboardMapping fixed size = %d", got) } if got := 52; got != 52 { t.Errorf("reply GetKeyboardControl fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply GetPointerControl fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply GetScreenSaver fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply ListHosts fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply SetPointerMapping fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply GetPointerMapping fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply SetModifierMapping fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply GetModifierMapping fixed size = %d", got) } }