// Code generated by xtgen; DO NOT EDIT. package xfixes import "testing" import "bnema.dev/xturbo" import "bnema.dev/xturbo/internal/xtest" func FuzzEventViews(f *testing.F) { f.Add(make([]byte, 32)) if raw, err := xtest.LoadHex("../testdata/golden/xfixes/SelectionNotify.event.hex"); err != nil { f.Fatal(err) } else { f.Add(raw) } f.Fuzz(func(t *testing.T, raw []byte) { if len(raw) < 32 { return } var ev xturbo.Event copy(ev.Raw[:], raw) ev.Tail = raw[32:] { vSelectionNotify := SelectionNotifyOf(&ev) _ = vSelectionNotify.Subtype() _ = vSelectionNotify.Window() _ = vSelectionNotify.Owner() _ = vSelectionNotify.Selection() _ = vSelectionNotify.Timestamp() _ = vSelectionNotify.SelectionTimestamp() } { vCursorNotify := CursorNotifyOf(&ev) _ = vCursorNotify.Subtype() _ = vCursorNotify.Window() _ = vCursorNotify.CursorSerial() _ = vCursorNotify.Timestamp() _ = vCursorNotify.Name() } }) }