Add fuzz calls for SBFileSpec.

llvm-svn: 133956
This commit is contained in:
Johnny Chen
2011-06-27 22:55:51 +00:00
parent e967eefa00
commit d982f039a1
2 changed files with 17 additions and 0 deletions

View File

@@ -131,6 +131,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_filespec
sb_filespec.fuzz_obj(obj)
@python_api_test
def test_SBFrame(self):