fake_command_runner_matchers

package
v0.18.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HaveBackgroundedMatcher

type HaveBackgroundedMatcher struct {
	Spec fake_command_runner.CommandSpec
	// contains filtered or unexported fields
}

func (*HaveBackgroundedMatcher) FailureMessage

func (m *HaveBackgroundedMatcher) FailureMessage(actual interface{}) (message string)

func (*HaveBackgroundedMatcher) Match

func (m *HaveBackgroundedMatcher) Match(actual interface{}) (bool, error)

func (*HaveBackgroundedMatcher) NegatedFailureMessage

func (m *HaveBackgroundedMatcher) NegatedFailureMessage(actual interface{}) (message string)

type HaveExecutedMatcher

type HaveExecutedMatcher struct {
	Specs []fake_command_runner.CommandSpec
	// contains filtered or unexported fields
}

func HaveExecuted

func HaveExecuted(specs ...fake_command_runner.CommandSpec) *HaveExecutedMatcher

HaveExecuted is like HaveExecutedSerially, but the commands can be in any order.

func (*HaveExecutedMatcher) FailureMessage

func (m *HaveExecutedMatcher) FailureMessage(actual interface{}) (message string)

func (*HaveExecutedMatcher) Match

func (m *HaveExecutedMatcher) Match(actual interface{}) (bool, error)

func (*HaveExecutedMatcher) NegatedFailureMessage

func (m *HaveExecutedMatcher) NegatedFailureMessage(actual interface{}) (message string)

type HaveExecutedSeriallyMatcher

type HaveExecutedSeriallyMatcher struct {
	Specs []fake_command_runner.CommandSpec
	// contains filtered or unexported fields
}

func (*HaveExecutedSeriallyMatcher) FailureMessage

func (m *HaveExecutedSeriallyMatcher) FailureMessage(actual interface{}) (message string)

func (*HaveExecutedSeriallyMatcher) Match

func (m *HaveExecutedSeriallyMatcher) Match(actual interface{}) (bool, error)

func (*HaveExecutedSeriallyMatcher) NegatedFailureMessage

func (m *HaveExecutedSeriallyMatcher) NegatedFailureMessage(actual interface{}) (message string)

type HaveKilledMatcher

type HaveKilledMatcher struct {
	Spec fake_command_runner.CommandSpec
	// contains filtered or unexported fields
}

func (*HaveKilledMatcher) FailureMessage

func (m *HaveKilledMatcher) FailureMessage(actual interface{}) (message string)

func (*HaveKilledMatcher) Match

func (m *HaveKilledMatcher) Match(actual interface{}) (bool, error)

func (*HaveKilledMatcher) NegatedFailureMessage

func (m *HaveKilledMatcher) NegatedFailureMessage(actual interface{}) (message string)

type HaveSignalledMatcher

type HaveSignalledMatcher struct {
	Spec   fake_command_runner.CommandSpec
	Signal os.Signal
	// contains filtered or unexported fields
}

func (*HaveSignalledMatcher) FailureMessage

func (m *HaveSignalledMatcher) FailureMessage(actual interface{}) (message string)

func (*HaveSignalledMatcher) Match

func (m *HaveSignalledMatcher) Match(actual interface{}) (bool, error)

func (*HaveSignalledMatcher) NegatedFailureMessage

func (m *HaveSignalledMatcher) NegatedFailureMessage(actual interface{}) (message string)

type HaveStartedExecutingMatcher

type HaveStartedExecutingMatcher struct {
	Spec fake_command_runner.CommandSpec
	// contains filtered or unexported fields
}

func (*HaveStartedExecutingMatcher) FailureMessage

func (m *HaveStartedExecutingMatcher) FailureMessage(actual interface{}) (message string)

func (*HaveStartedExecutingMatcher) Match

func (m *HaveStartedExecutingMatcher) Match(actual interface{}) (bool, error)

func (*HaveStartedExecutingMatcher) NegatedFailureMessage

func (m *HaveStartedExecutingMatcher) NegatedFailureMessage(actual interface{}) (message string)

Jump to

Keyboard shortcuts

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