package
0.18.1
Repository: https://go.googlesource.com/tools
Documentation: pkg.go.dev

# Packages

Package glob implements an LSP-compliant glob pattern matcher for testing.

# Functions

DelayedHandler waits [0, maxDelay) before handling each message.
NewEdit creates an edit replacing all content between the 0-based (startLine, startColumn) and (endLine, endColumn) with text.
NewEditor creates a new Editor.
NewSandbox creates a collection of named temporary resources, with a working directory populated by the txtar-encoded content in srctxt, and a file-based module proxy populated with the txtar-encoded content in proxytxt.
NewWorkdir writes the txtar-encoded file data in txt to dir, and returns a Workir for operating on these files using.
No description provided by the author
WriteProxy creates a new proxy file tree using the txtar-encoded content, and returns its URL.

# Variables

ErrNoMatch is returned if a regexp search fails.
ErrNoMatch is returned if a regexp search fails.

# Structs

CallCounts tracks the number of protocol notifications of different types.
Client is an implementation of the [protocol.Client] interface based on the test's fake [Editor].
ClientHooks are a set of optional hooks called during handling of the corresponding client method (see protocol.Client for the LSP server-to-client RPCs) in order to make test expectations awaitable.
Editor is a fake client editor.
EditorConfig configures the editor's LSP session.
Sandbox holds a collection of temporary resources to use for working with Go code in tests.
SandboxConfig controls the behavior of a test sandbox.
A SemanticToken is an interpreted semantic token value.
Workdir is a temporary working directory for tests.

# Type aliases

No description provided by the author
RelativeTo is a helper for operations relative to a given directory.