gotools/gopls/internal/test/integration/workspace/workspace_test.go

func TestMain(m *testing.M) {}

const workspaceProxy

const workspaceModule

// Confirm that find references returns all of the references in the module,
// regardless of what the workspace root is.
func TestReferences(t *testing.T) {}

// Make sure that analysis diagnostics are cleared for the whole package when
// the only opened file is closed. This test was inspired by the experience in
// VS Code, where clicking on a reference result triggers a
// textDocument/didOpen without a corresponding textDocument/didClose.
func TestClearAnalysisDiagnostics(t *testing.T) {}

// TestReloadOnlyOnce checks that changes to the go.mod file do not result in
// redundant package loads (golang/go#54473).
//
// Note that this test may be fragile, as it depends on specific structure to
// log messages around reinitialization. Nevertheless, it is important for
// guarding against accidentally duplicate reloading.
func TestReloadOnlyOnce(t *testing.T) {}

const workspaceModuleProxy

const multiModule

func TestAutomaticWorkspaceModule_Interdependent(t *testing.T) {}

func TestWorkspaceVendoring(t *testing.T) {}

func TestModuleWithExclude(t *testing.T) {}

// This change tests that the version of the module used changes after it has
// been deleted from the workspace.
//
// TODO(golang/go#55331): delete this placeholder along with experimental
// workspace module.
func TestDeleteModule_Interdependent(t *testing.T) {}

// Tests that the version of the module used changes after it has been added
// to the workspace.
func TestCreateModule_Interdependent(t *testing.T) {}

// This test confirms that a gopls workspace can recover from initialization
// with one invalid module.
func TestOneBrokenModule(t *testing.T) {}

// TestBadGoWork exercises the panic from golang/vscode-go#2121.
func TestBadGoWork(t *testing.T) {}

func TestUseGoWork(t *testing.T) {}

func TestUseGoWorkDiagnosticMissingModule(t *testing.T) {}

func TestUseGoWorkDiagnosticSyntaxError(t *testing.T) {}

func TestUseGoWorkHover(t *testing.T) {}

func TestExpandToGoWork(t *testing.T) {}

func TestInnerGoWork(t *testing.T) {}

func TestNonWorkspaceFileCreation(t *testing.T) {}

func TestGoWork_V2Module(t *testing.T) {}

// Confirm that a fix for a tidy module will correct all modules in the
// workspace.
func TestMultiModule_OneBrokenModule(t *testing.T) {}

// Tests the fix for golang/go#52500.
func TestChangeTestVariant_Issue52500(t *testing.T) {}

// Test for golang/go#48929.
func TestClearNonWorkspaceDiagnostics(t *testing.T) {}

// This test is like TestClearNonWorkspaceDiagnostics, but bypasses the
// zero-config algorithm by opening a nested workspace folder.
//
// We should still compute diagnostics correctly for open packages.
func TestClearNonWorkspaceDiagnostics_NoView(t *testing.T) {}

// Test that we don't get a version warning when the Go version in PATH is
// supported.
func TestOldGoNotification_SupportedVersion(t *testing.T) {}

// Test that we do get a version warning when the Go version in PATH is
// unsupported, though this test may never execute if we stop running CI at
// legacy Go versions (see also TestOldGoNotification_Fake)
func TestOldGoNotification_UnsupportedVersion(t *testing.T) {}

func TestOldGoNotification_Fake(t *testing.T) {}

// goVersion returns the version of the Go command in PATH.
func goVersion(t *testing.T) int {}

func TestGoworkMutation(t *testing.T) {}

func TestInitializeWithNonFileWorkspaceFolders(t *testing.T) {}

// Test that non-file scheme Document URIs in ChangeWorkspaceFolders
// notification does not produce errors.
func TestChangeNonFileWorkspaceFolders(t *testing.T) {}