mirror of
https://github.com/golang/go
synced 2024-11-18 11:04:42 -07:00
38a97e00a8
In preparation for later changes, add support for tracking outstanding work in the lsp regtests. This simply threads through progress notifications and tracks their state in regtest.Env.state. A new Expectation is added to assert that there is no outstanding work, but this is as-yet unused. A unit test is added for Env to check that we're handling work progress reports correctly after Marshaling/Unmarshaling, since we're not yet exercising this code path in actual regtests. Change-Id: I104caf25cfd49340f13d086314f5aef2b8f3bd3b Reviewed-on: https://go-review.googlesource.com/c/tools/+/229320 Run-TryBot: Robert Findley <rfindley@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
---|---|---|
.. | ||
analysisinternal | ||
apidiff | ||
event | ||
fastwalk | ||
gocommand | ||
gopathwalk | ||
imports | ||
jsonrpc2 | ||
lsp | ||
memoize | ||
packagesinternal | ||
proxydir | ||
span | ||
testenv | ||
tool | ||
xcontext |