test

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdminClient

func AdminClient(resp string) (*clients.AdminClient, *httptest.Server)

AdminClient is exported for testing subpackages

func Client

func Client(resp string) (*clients.Client, *httptest.Server)

Client is exported for testing subpackages

func ManagementClient

func ManagementClient(resp string) (*clients.ManagementClient, *httptest.Server)

ManagementClient is exported for testing subpackages

func RoundTripSerialization

func RoundTripSerialization(t *testing.T, msg string, deserializedInterface interface{}, handle handle.Handle, serialization string)

RoundTripSerialization is a helper to simplify testing serialization/deserialization

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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