test

package
v0.65.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertConfigSpecEqualByteArray

func AssertConfigSpecEqualByteArray(t *testing.T, spec *config.Spec, manifest string) bool

AssertConfigSpecEqualByteArray is a testing function used to compare two Updatecli manifest. One use the config.Spec struct and the second one is described as array of byte

func SortConfigSpecArray added in v0.62.0

func SortConfigSpecArray(t *testing.T, configSpecs []config.Spec, byteSpecs [][]byte)

SortConfigSpecArray allows to sort an array of config.Spec using the length of the name field as sorting This function is used to sort a config.Spec array before comparing it to a manifest of type array of byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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