2 Fuzz tests an object after the default construction to make sure it does not crash lldb.
9 broadcaster
= obj
.GetBroadcaster()
10 # Do fuzz testing on the broadcaster obj, it should not crash lldb.
13 sb_broadcaster
.fuzz_obj(broadcaster
)
14 obj
.AdoptFileDesriptor(0, False)
15 obj
.AdoptFileDesriptor(1, False)
16 obj
.AdoptFileDesriptor(2, False)
17 obj
.Connect("file:/tmp/myfile")
22 obj
.SetCloseOnEOF(True)
23 obj
.SetCloseOnEOF(False)
24 # obj.Write(None, sys.maxint, None)
25 # obj.Read(None, sys.maxint, 0xffffffff, None)
28 obj
.ReadThreadIsRunning()
29 obj
.SetReadThreadBytesReceivedCallback(None, None)