Add fuzz calls for SBListener.

llvm-svn: 134029
This commit is contained in:
Johnny Chen
2011-06-28 20:57:22 +00:00
parent 520eeff0ef
commit 4e77f6f499
2 changed files with 26 additions and 0 deletions

View File

@@ -201,6 +201,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_listener
sb_listener.fuzz_obj(obj)
@python_api_test
def test_SBModule(self):