testhelpers

package
v3.15.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BigName added in v3.15.0

func BigName() string

BigName returns a 64-length string.

Types

type DummyMutator

type DummyMutator struct {
	// contains filtered or unexported fields
}

DummyMutator is a blank mutator that makes it easier to test the core mutation function.

func NewDummyMutator

func NewDummyMutator(name, path string, value interface{}) *DummyMutator

func (*DummyMutator) DeepCopy

func (d *DummyMutator) DeepCopy() types.Mutator

func (*DummyMutator) HasDiff

func (d *DummyMutator) HasDiff(m types.Mutator) bool

func (*DummyMutator) ID

func (d *DummyMutator) ID() types.ID

func (*DummyMutator) Matches

func (d *DummyMutator) Matches(mutable *types.Mutable) (bool, error)

func (*DummyMutator) MustTerminate

func (d *DummyMutator) MustTerminate() bool

func (*DummyMutator) Mutate

func (d *DummyMutator) Mutate(mutable *types.Mutable) (bool, error)

func (*DummyMutator) Path

func (d *DummyMutator) Path() parser.Path

func (*DummyMutator) String

func (d *DummyMutator) String() string

Jump to

Keyboard shortcuts

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