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

testing

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 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)

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)

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)

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