[all-commits] [llvm/llvm-project] 58b9b8: [lldb-dap] Setup DAP for unit testing. (#139937)

John Harrison via All-commits all-commits at lists.llvm.org
Thu May 15 10:45:39 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 58b9b865feffede59616cfc05cefa956d5352314
      https://github.com/llvm/llvm-project/commit/58b9b865feffede59616cfc05cefa956d5352314
  Author: John Harrison <harjohn at google.com>
  Date:   2025-05-15 (Thu, 15 May 2025)

  Changed paths:
    M lldb/tools/lldb-dap/DAP.h
    M lldb/unittests/DAP/CMakeLists.txt
    A lldb/unittests/DAP/DAPTest.cpp
    A lldb/unittests/DAP/Handler/DisconnectTest.cpp
    A lldb/unittests/DAP/TestBase.cpp
    A lldb/unittests/DAP/TestBase.h
    M lldb/unittests/DAP/TransportTest.cpp

  Log Message:
  -----------
  [lldb-dap] Setup DAP for unit testing. (#139937)

This is a very simple case that currently only validates we can create a
DAP instance and send a message over the transport layer. More in-depth
tests will require additional helpers and possibly refactors of DAP to
make it more testable, however this is some ground work to have basic
support for unit tests.

---------

Co-authored-by: Jonas Devlieghere <jonas at devlieghere.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list