Add fuzz calls for SBModule and SBProcess.

llvm-svn: 134037
This commit is contained in:
Johnny Chen committed 2011-06-28 22:32:15 +00:00
1 parent d1c487cd00
commit a25bf6efb5
4 files changed
+70 -2

No files matched your search

@@ -211,6 +211,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_module
sb_module.fuzz_obj(obj)
@python_api_test
def test_SBProcess(self):
@@ -218,6 +221,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_process
sb_process.fuzz_obj(obj)
@python_api_test
def test_SBStream(self):