testing

package
v2.8.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const ListResult = `` /* 492-byte string literal not displayed */

ListResult provides a single page of LicenseType results.

Variables

ExpectedLicenseTypesSlice is the slice of LicenseTypes expected to be returned from ListResult.

View Source
var FirstLicenseType = license_types.LicenseType{
	ID:            "9c54c437-5f0f-46f5-8270-ddf450a44135",
	Name:          "Windows Server 2016 Standard Edition",
	HasLicenseKey: false,
	Unit:          "VM",
	LicenseSwitch: true,
	Description:   "Windows Server 2016 Standard Edition",
}

FirstLicenseType is the first LicenseType in the List request.

View Source
var SecondLicenseType = license_types.LicenseType{
	ID:            "e37c05ba-8fd0-493e-93d2-688833363a74",
	Name:          "vCenter Server 6.x Standard",
	HasLicenseKey: true,
	Unit:          "License",
	LicenseSwitch: false,
	Description:   "vCenter Server 6.x Standard",
}

SecondLicenseType is the second LicenseType in the List request.

Functions

func HandleListLicenseTypesSuccessfully

func HandleListLicenseTypesSuccessfully(t *testing.T)

HandleListLicenseTypesSuccessfully creates an HTTP handler at `/license_types` on the test handler mux that responds with a list of two LicenseType.

Types

This section is empty.

Jump to

Keyboard shortcuts

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