agouti: github.com/sclevine/agouti/matchers/internal Index | Files | Directories

package internal

import "github.com/sclevine/agouti/matchers/internal"

Index

Package Files

be_found.go boolean_matcher.go equal_element.go have_attribute.go have_css.go log_matcher.go match_text.go messages.go value_matcher.go

type BeFoundMatcher Uses

type BeFoundMatcher struct{}

func (*BeFoundMatcher) FailureMessage Uses

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

func (*BeFoundMatcher) Match Uses

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

func (*BeFoundMatcher) NegatedFailureMessage Uses

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

type BooleanMatcher Uses

type BooleanMatcher struct {
    Method   string
    Property string
}

func (*BooleanMatcher) FailureMessage Uses

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

func (*BooleanMatcher) Match Uses

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

func (*BooleanMatcher) NegatedFailureMessage Uses

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

type EqualElementMatcher Uses

type EqualElementMatcher struct {
    ExpectedSelection interface{}
}

func (*EqualElementMatcher) FailureMessage Uses

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

func (*EqualElementMatcher) Match Uses

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

func (*EqualElementMatcher) NegatedFailureMessage Uses

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

type HaveAttributeMatcher Uses

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

func (*HaveAttributeMatcher) FailureMessage Uses

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

func (*HaveAttributeMatcher) Match Uses

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

func (*HaveAttributeMatcher) NegatedFailureMessage Uses

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

type HaveCSSMatcher Uses

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

func (*HaveCSSMatcher) FailureMessage Uses

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

func (*HaveCSSMatcher) Match Uses

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

func (*HaveCSSMatcher) NegatedFailureMessage Uses

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

type LogMatcher Uses

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

func (*LogMatcher) FailureMessage Uses

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

func (*LogMatcher) Match Uses

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

func (*LogMatcher) NegatedFailureMessage Uses

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

type MatchTextMatcher Uses

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

func (*MatchTextMatcher) FailureMessage Uses

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

func (*MatchTextMatcher) Match Uses

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

func (*MatchTextMatcher) NegatedFailureMessage Uses

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

type ValueMatcher Uses

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

func (*ValueMatcher) FailureMessage Uses

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

func (*ValueMatcher) Match Uses

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

func (*ValueMatcher) NegatedFailureMessage Uses

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

Directories

PathSynopsis
colorparser
mocks

Package internal imports 8 packages (graph) and is imported by 3 packages. Updated 2016-07-31. Refresh now. Tools for package owners.