Add fuzz calls for SBBroadcaster.

llvm-svn: 133837
This commit is contained in:
Johnny Chen
2011-06-24 22:53:12 +00:00
parent cbdfe81171
commit 57e34b21db
2 changed files with 22 additions and 0 deletions

View File

@@ -63,6 +63,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_broadcaster
sb_broadcaster.fuzz_obj(obj)
@python_api_test
def test_SBCommandReturnObject(self):