diff options
Diffstat (limited to 'lldb/test/API/python_api/debugger/TestDebuggerAPI.py')
| -rw-r--r-- | lldb/test/API/python_api/debugger/TestDebuggerAPI.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lldb/test/API/python_api/debugger/TestDebuggerAPI.py b/lldb/test/API/python_api/debugger/TestDebuggerAPI.py index 646ccce36530..43f45f330ee2 100644 --- a/lldb/test/API/python_api/debugger/TestDebuggerAPI.py +++ b/lldb/test/API/python_api/debugger/TestDebuggerAPI.py @@ -286,3 +286,11 @@ class DebuggerAPITestCase(TestBase): ('remove bar ret', False), # remove_bar should fail, because it's already invoked and removed ('foo called', original_dbg_id), # foo should be called ]) + + def test_version(self): + instance_str = self.dbg.GetVersionString() + class_str = lldb.SBDebugger.GetVersionString() + property_str = lldb.SBDebugger.version + + self.assertEqual(instance_str, class_str) + self.assertEqual(class_str, property_str) |
