mirror of https://github.com/golang/go.git
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> |
||
|---|---|---|
| .. | ||
| definition_test.go | ||
| diagnostics_114_test.go | ||
| diagnostics_test.go | ||
| env.go | ||
| env_test.go | ||
| formatting_test.go | ||
| reg_test.go | ||
| serialization_test.go | ||
| shared_test.go | ||
| wrappers.go | ||