summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-06-27 22:38:57 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-06-27 22:38:57 +0000
commit71eabde2f848e2c1c05d0a6a50526d836c8266c9 (patch)
treebc29accdda351d635ce502cc9c5fb763c47f9974 /lldb/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py
parent4dc034df1d8304e203c46b0cc112f150ed82e987 (diff)
downloadbcm5719-llvm-71eabde2f848e2c1c05d0a6a50526d836c8266c9.tar.gz
bcm5719-llvm-71eabde2f848e2c1c05d0a6a50526d836c8266c9.zip
Add fuzz calls for SBEvent.
llvm-svn: 133954
Diffstat (limited to 'lldb/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py')
-rw-r--r--lldb/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py b/lldb/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py
index f78c91b0107..bf2729a5963 100644
--- a/lldb/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py
+++ b/lldb/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py
@@ -121,6 +121,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_event
+ sb_event.fuzz_obj(obj)
@python_api_test
def test_SBFileSpec(self):
OpenPOWER on IntegriCloud