internal

package
v3.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BeFoundMatcher

type BeFoundMatcher struct{}

func (*BeFoundMatcher) FailureMessage

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

func (*BeFoundMatcher) Match

func (m *BeFoundMatcher) Match(actual interface{}) (success bool, err error)

func (*BeFoundMatcher) NegatedFailureMessage

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

type BooleanMatcher

type BooleanMatcher struct {
	Method   string
	Property string
}

func (*BooleanMatcher) FailureMessage

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

func (*BooleanMatcher) Match

func (m *BooleanMatcher) Match(actual interface{}) (success bool, err error)

func (*BooleanMatcher) NegatedFailureMessage

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

type EqualElementMatcher

type EqualElementMatcher struct {
	ExpectedSelection interface{}
}

func (*EqualElementMatcher) FailureMessage

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

func (*EqualElementMatcher) Match

func (m *EqualElementMatcher) Match(actual interface{}) (success bool, err error)

func (*EqualElementMatcher) NegatedFailureMessage

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

type HaveAttributeMatcher

type HaveAttributeMatcher struct {
	ExpectedAttribute string
	ExpectedValue     string
	// contains filtered or unexported fields
}

func (*HaveAttributeMatcher) FailureMessage

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

func (*HaveAttributeMatcher) Match

func (m *HaveAttributeMatcher) Match(actual interface{}) (success bool, err error)

func (*HaveAttributeMatcher) NegatedFailureMessage

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

type HaveCSSMatcher

type HaveCSSMatcher struct {
	ExpectedProperty string
	ExpectedValue    string
	// contains filtered or unexported fields
}

func (*HaveCSSMatcher) FailureMessage

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

func (*HaveCSSMatcher) Match

func (m *HaveCSSMatcher) Match(actual interface{}) (success bool, err error)

func (*HaveCSSMatcher) NegatedFailureMessage

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

type LogMatcher

type LogMatcher struct {
	ExpectedMessages []string
	Levels           []string
	Name             string
	Type             string
}

func (*LogMatcher) FailureMessage

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

func (*LogMatcher) Match

func (m *LogMatcher) Match(actual interface{}) (success bool, err error)

func (*LogMatcher) NegatedFailureMessage

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

type MatchTextMatcher

type MatchTextMatcher struct {
	Regexp string
	// contains filtered or unexported fields
}

func (*MatchTextMatcher) FailureMessage

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

func (*MatchTextMatcher) Match

func (m *MatchTextMatcher) Match(actual interface{}) (success bool, err error)

func (*MatchTextMatcher) NegatedFailureMessage

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

type ValueMatcher

type ValueMatcher struct {
	Method   string
	Property string
	Expected interface{}
	// contains filtered or unexported fields
}

func (*ValueMatcher) FailureMessage

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

func (*ValueMatcher) Match

func (m *ValueMatcher) Match(actual interface{}) (success bool, err error)

func (*ValueMatcher) NegatedFailureMessage

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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