def test_SBFileSpec(self): obj = lldb.SBFileSpec() # This is just to test that FileSpec(None) does not crash. obj2 = lldb.SBFileSpec(None, True) if self.TraceOn(): print obj self.assertFalse(obj) # Do fuzz testing on the invalid obj, it should not crash lldb. import sb_filespec sb_filespec.fuzz_obj(obj)
def test_SBFileSpec(self): obj = lldb.SBFileSpec() # This is just to test that FileSpec(None) does not crash. obj2 = lldb.SBFileSpec(None, True) if self.TraceOn(): print(obj) self.assertFalse(obj) # Do fuzz testing on the invalid obj, it should not crash lldb. import sb_filespec sb_filespec.fuzz_obj(obj)