go/internal/lsp/fake
Rob Findley 226fd2f889 internal/lsp/fake: factor out working in a temp directory
In subsequent CLs, tests are added that don't need the full machinery of
fake.Workdir (file tracking, etc.). Factor out some of the facility for
writing a txtar-encoded temp directory, and working with relative paths.

Change-Id: Iae25c37a8fd8de2dfe6c91e507d9be01440d3492
Reviewed-on: https://go-review.googlesource.com/c/tools/+/263523
Run-TryBot: Robert Findley <rfindley@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Robert Findley <rfindley@google.com>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2020-10-20 16:11:33 +00:00
..
client.go internal/lsp: watch directories in replace targets and update on changes 2020-08-07 23:35:17 +00:00
doc.go internal/lsp/fake: split up and rename the Workspace type 2020-05-06 18:17:57 +00:00
edit.go internal/lsp/regtest: add benchmarks for IWL and completion 2020-08-27 17:51:12 +00:00
edit_test.go internal/lsp/regtest: implement formatting and organizeImports 2020-03-02 19:16:53 +00:00
editor.go internal/lsp/fake: factor out working in a temp directory 2020-10-20 16:11:33 +00:00
editor_test.go internal/lsp/fake: move to a struct for configuring the sandbox 2020-07-23 23:36:26 +00:00
proxy.go internal/lsp/regtest: add run options to support stress testing 2020-07-23 23:37:37 +00:00
sandbox.go internal/lsp/fake: factor out working in a temp directory 2020-10-20 16:11:33 +00:00
workdir.go internal/lsp/fake: factor out working in a temp directory 2020-10-20 16:11:33 +00:00
workdir_test.go internal/lsp/fake: factor out working in a temp directory 2020-10-20 16:11:33 +00:00