package cmdtest

import "golang.org/x/tools/internal/lsp/cmd/test"

Package cmdtest contains the test suite for the command line behavior of gopls.

Index

Functions

func NewRunner

func NewRunner(data *tests.Data, ctx context.Context, remote string, options func(*source.Options)) *runner

func NewTestServer

func NewTestServer(ctx context.Context, options func(*source.Options)) *servertest.TCPServer

func TestCommandLine

func TestCommandLine(t *testing.T, testdata string, options func(*source.Options))

Source Files

call_hierarchy.go check.go cmdtest.go definition.go folding_range.go format.go highlight.go implementation.go imports.go links.go prepare_rename.go references.go rename.go semanticdriver.go signature.go suggested_fix.go symbols.go workspace_symbol.go

Version
v0.1.10
Published
Mar 15, 2022
Platform
js/wasm
Imports
29 packages
Last checked
4 minutes ago

Tools for package owners.