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 HandleGetDomainSuccessfully

func HandleGetDomainSuccessfully(t *testing.T)

HandleGetDomainSuccessfully creates an HTTP handler at `/v1/domains/:domain_id` on the test handler mux that responds with a single domain.

func HandleListDomainsSuccessfully

func HandleListDomainsSuccessfully(t *testing.T)

HandleListDomainsSuccessfully creates an HTTP handler at `/v1/domains` on the test handler mux that responds with a list of (two) domains.

func HandleUpdateDomainSuccessfully

func HandleUpdateDomainSuccessfully(t *testing.T)

HandleUpdateDomainSuccessfully creates an HTTP handler at `/v1/domains/:domain_id` on the test handler mux that tests domain update.

Types

This section is empty.

Jump to

Keyboard shortcuts

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