test

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ObjectTests added in v0.4.1

func ObjectTests(o types.Object, hooks ...interface{})

ObjectTests contains the logic to test any Object implementation with the hooks it implements, checking * if the Object actually implements the interface of the hook * if the Object has an identifier field * calling the hook function with incomplete contexts gives none or the correct error (meaning the error is handled correctly)

func RandomHostname

func RandomHostname() string

func TestResourceName

func TestResourceName() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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