def test_SBEvent(self): obj = lldb.SBEvent() # This is just to test that typemap, as defined in lldb.swig, works. obj2 = lldb.SBEvent(0, "abc") if self.TraceOn(): print obj self.assertFalse(obj) # Do fuzz testing on the invalid obj, it should not crash lldb. import sb_event sb_event.fuzz_obj(obj)
def test_SBEvent(self): obj = lldb.SBEvent() # This is just to test that typemap, as defined in lldb.swig, works. obj2 = lldb.SBEvent(0, "abc") if self.TraceOn(): print(obj) self.assertFalse(obj) # Do fuzz testing on the invalid obj, it should not crash lldb. import sb_event sb_event.fuzz_obj(obj)