testing

package
v0.0.0-...-33ee089 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2020 License: Apache-2.0 Imports: 5 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.

func HandleUpdateProjectSuccessfully

func HandleUpdateProjectSuccessfully(t *testing.T)

HandleUpdateProjectSuccessfully creates an HTTP handler at `/domains/:domain_id/projects/:project_id` on the test handler mux that tests project updates.

Types

This section is empty.

Jump to

Keyboard shortcuts

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