diff options
author | Lawrence D'Anna <lawrence_danna@apple.com> | 2019-10-29 13:42:38 -0700 |
---|---|---|
committer | Lawrence D'Anna <lawrence_danna@apple.com> | 2019-10-29 15:03:02 -0700 |
commit | a69bbe02a2352271e8b14542073f177e24c499c1 (patch) | |
tree | 35235c75e8d75a9a9b0c52719b150ca4f9435e2d /lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command | |
parent | 98286b569d01a461d75c9fd133cbf52c0c92e32a (diff) | |
download | bcm5719-llvm-a69bbe02a2352271e8b14542073f177e24c499c1.tar.gz bcm5719-llvm-a69bbe02a2352271e8b14542073f177e24c499c1.zip |
[LLDB][breakpoints] ArgInfo::count -> ArgInfo::max_positional_args
Summary:
Move breakpoints from the old, bad ArgInfo::count to the new, better
ArgInfo::max_positional_args. Soon ArgInfo::count will be no more.
It looks like this functionality is already well tested by
`TestBreakpointCommandsFromPython.py`, so there's no need to write
additional tests for it.
Reviewers: labath, jingham, JDevlieghere
Reviewed By: labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D69468
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommandsFromPython.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommandsFromPython.py b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommandsFromPython.py index ccb61d79c40..15a31201c56 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommandsFromPython.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommandsFromPython.py @@ -132,7 +132,7 @@ class PythonBreakpointCommandSettingTestCase(TestBase): # Now finish, and make sure the return value is correct. threads = lldbutil.get_threads_stopped_at_breakpoint( self.process, body_bkpt) - self.assertTrue(len(threads) == 1, "Stopped at inner breakpoint.") + self.assertEquals(len(threads), 1, "Stopped at inner breakpoint.") self.thread = threads[0] self.assertEquals("callback was here", side_effect.callback) |