[PATCH] D77766: [clangd] Set up machinery for gtests of ClangdLSPServer.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 8 17:24:28 PDT 2020


sammccall created this revision.
sammccall added a reviewer: kadircet.
Herald added subscribers: cfe-commits, usaxena95, arphaman, jkorous, MaskRay, ilya-biryukov, mgorny.
Herald added a project: clang.
sammccall added a comment.

It seems fairly likely that this is a big complicated thing we end up using for 1 or 2 tests that are too hard to test with lit but can't be tested at a lower level than ClangdLSPServer.
Suggestions on how to make it more lightweight would be welcome!


This is going to be needed to test e.g. diagnostics regeneration on
didSave where files changed on disk. Coordinating such changes is too
hard in lit tests.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D77766

Files:
  clang-tools-extra/clangd/unittests/CMakeLists.txt
  clang-tools-extra/clangd/unittests/ClangdLSPServerTests.cpp
  clang-tools-extra/clangd/unittests/LSPClient.cpp
  clang-tools-extra/clangd/unittests/LSPClient.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77766.256148.patch
Type: text/x-patch
Size: 14910 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200409/73886616/attachment-0001.bin>


More information about the cfe-commits mailing list