コード例 #1
0
 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)
コード例 #2
0
 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)