Add fuzz calls for SBStringList and add obj.Clear() calls for some files.

llvm-svn: 134040
This commit is contained in:
Johnny Chen
2011-06-28 23:29:14 +00:00
parent 8ea21dc2af
commit dedd7d6ed6
10 changed files with 25 additions and 0 deletions

View File

@@ -239,6 +239,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_stringlist
sb_stringlist.fuzz_obj(obj)
@python_api_test
def test_SBSymbol(self):