diff options
Diffstat (limited to 'lldb/test/python_api/default-constructor')
3 files changed, 0 insertions, 29 deletions
| diff --git a/lldb/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py b/lldb/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py index 81b853a5854..11b8d73dcb9 100644 --- a/lldb/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py +++ b/lldb/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py @@ -164,16 +164,6 @@ class APIDefaultConstructorTestCase(TestBase):          sb_function.fuzz_obj(obj)      @python_api_test -    def test_SBInputReader(self): -        obj = lldb.SBInputReader() -        if self.TraceOn(): -            print obj -        self.assertFalse(obj) -        # Do fuzz testing on the invalid obj, it should not crash lldb. -        import sb_inputreader -        sb_inputreader.fuzz_obj(obj) - -    @python_api_test      def test_SBInstruction(self):          obj = lldb.SBInstruction()          if self.TraceOn(): diff --git a/lldb/test/python_api/default-constructor/sb_debugger.py b/lldb/test/python_api/default-constructor/sb_debugger.py index d9b47561169..e7c188f09ba 100644 --- a/lldb/test/python_api/default-constructor/sb_debugger.py +++ b/lldb/test/python_api/default-constructor/sb_debugger.py @@ -38,9 +38,6 @@ def fuzz_obj(obj):          pass      obj.DispatchInputInterrupt()      obj.DispatchInputEndOfFile() -    obj.PushInputReader(lldb.SBInputReader()) -    obj.NotifyTopInputReader(lldb.eInputReaderActivate) -    obj.InputReaderIsTopReader(lldb.SBInputReader())      obj.GetInstanceName()      obj.GetDescription(lldb.SBStream())      obj.GetTerminalWidth() diff --git a/lldb/test/python_api/default-constructor/sb_inputreader.py b/lldb/test/python_api/default-constructor/sb_inputreader.py deleted file mode 100644 index 6996059dc51..00000000000 --- a/lldb/test/python_api/default-constructor/sb_inputreader.py +++ /dev/null @@ -1,16 +0,0 @@ -""" -Fuzz tests an object after the default construction to make sure it does not crash lldb. -""" - -import sys -import lldb - -def fuzz_obj(obj): -    try: -        obj.Initialize(lldb.SBDebugger.Create(), None, 0, "$", "^", True) -    except Exception: -        pass -    obj.IsActive() -    obj.IsDone() -    obj.SetIsDone(True) -    obj.GetGranularity() | 

