Help us shape the future of Go! Take the 2026 Go Developer Survey

testing

package
v2.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleGetProjectSuccessfully

func HandleGetProjectSuccessfully(t *testing.T, fakeServer th.FakeServer)

HandleGetProjectSuccessfully creates an HTTP handler at `/domains/:domain_id/projects/:project_id` on the test handler mux that responds with a single project.

func HandleListProjectsSuccessfully

func HandleListProjectsSuccessfully(t *testing.T, fakeServer th.FakeServer)

HandleListProjectsSuccessfully creates an HTTP handler at `/domains/:domain_id/projects` on the test handler mux that responds with a list of (two) projects.

func HandleSyncProjectSuccessfully

func HandleSyncProjectSuccessfully(t *testing.T, fakeServer th.FakeServer)

HandleSyncProjectSuccessfully creates an HTTP handler at `/domains/:domain_id/projects/:project_id/sync` on the test handler mux that syncs a project.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL