mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-12-05 17:53:21 +00:00
Add fuzz calls for SBModule and SBProcess.
llvm-svn: 134037
This commit is contained in:
1 parent
d1c487cd00
commit
a25bf6efb5
4 files changed
+70
-2
No files matched your search
@@ -211,6 +211,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_module
|
||||
sb_module.fuzz_obj(obj)
|
||||
|
||||
@python_api_test
|
||||
def test_SBProcess(self):
|
||||
@@ -218,6 +221,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_process
|
||||
sb_process.fuzz_obj(obj)
|
||||
|
||||
@python_api_test
|
||||
def test_SBStream(self):
|
||||
|
||||
Reference in new issue
Block a user