Add fuzz calls for SBFrame and SBFunction.

llvm-svn: 133965
This commit is contained in:
Johnny Chen
2011-06-27 23:53:55 +00:00
parent 105974d497
commit 40e978f7b3
3 changed files with 59 additions and 0 deletions

View File

@@ -141,6 +141,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_frame
sb_frame.fuzz_obj(obj)
@python_api_test
def test_SBFunction(self):
@@ -148,6 +151,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_function
sb_function.fuzz_obj(obj)
@python_api_test
def test_SBInputReader(self):