[Lldb-commits] [lldb] [lldb-dap] Add ContinueRequestHandler unit test (PR #140566)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Mon May 19 09:18:04 PDT 2025


JDevlieghere wrote:

> Is there anyway we can make a mock or something for the SBProcess? That would be helpful for these tests, but I am not sure if we have that somewhere in the lldb testing utilities or not already.

We have a few unit tests that inherit from `lldb_private::Process` for mocking, but I've never looked into mocking `SBProcess`. Maybe that's not too hard with GMock? 

https://github.com/llvm/llvm-project/pull/140566


More information about the lldb-commits mailing list