Add fuzz calls for SBEvent.

llvm-svn: 133954
This commit is contained in:
Johnny Chen
2011-06-27 22:38:57 +00:00
parent 4dc034df1d
commit 71eabde2f8
2 changed files with 20 additions and 0 deletions

View File

@@ -121,6 +121,9 @@ class APIDefaultConstructorTestCase(TestBase):
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)
@python_api_test
def test_SBFileSpec(self):