test

package
v0.67.1 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertComputedAttributes

func AssertComputedAttributes(t *testing.T, s map[string]*schema.Schema, keys []string)

AssertComputedAttributes checks that the given schema has the given computed attributes.

func AssertListMaxItems added in v0.21.1

func AssertListMaxItems(t *testing.T, s map[string]*schema.Schema, key string, expectedMaxItems int)

AssertListMaxItems checks that the given schema attribute has given expected MaxItems value.

func AssertNestedSchemaExistence

func AssertNestedSchemaExistence(t *testing.T, s map[string]*schema.Schema, key string) map[string]*schema.Schema

AssertNestedSchemaExistence checks that the given schema has a nested schema for the given key.

func AssertOptionalArguments

func AssertOptionalArguments(t *testing.T, s map[string]*schema.Schema, keys []string)

AssertOptionalArguments checks that the given schema has the given optional arguments.

func AssertRequiredArguments

func AssertRequiredArguments(t *testing.T, s map[string]*schema.Schema, keys []string)

AssertRequiredArguments checks that the given schema has the given required arguments.

func AssertValueTypes

func AssertValueTypes(t *testing.T, s map[string]*schema.Schema, f map[string]schema.ValueType)

AssertValueTypes checks that the given schema has the given value types for the given fields.

Types

This section is empty.

Jump to

Keyboard shortcuts

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