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

package mocks

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

Index

Package Files

page.go selection.go

type Page Uses

type Page struct {
    TitleCall struct {
        ReturnTitle string
        Err         error
    }

    PopupTextCall struct {
        ReturnText string
        Err        error
    }

    URLCall struct {
        ReturnURL string
        Err       error
    }

    WindowCountCall struct {
        ReturnCount int
        Err         error
    }

    ReadAllLogsCall struct {
        LogType    string
        ReturnLogs []agouti.Log
        Err        error
    }
}

func (*Page) PopupText Uses

func (p *Page) PopupText() (string, error)

func (*Page) ReadAllLogs Uses

func (p *Page) ReadAllLogs(logType string) ([]agouti.Log, error)

func (*Page) String Uses

func (*Page) String() string

func (*Page) Title Uses

func (p *Page) Title() (string, error)

func (*Page) URL Uses

func (p *Page) URL() (string, error)

func (*Page) WindowCount Uses

func (p *Page) WindowCount() (int, error)

type Selection Uses

type Selection struct {
    StringCall struct {
        ReturnString string
    }

    TextCall struct {
        ReturnText string
        Err        error
    }

    AttributeCall struct {
        Attribute   string
        ReturnValue string
        Err         error
    }

    CSSCall struct {
        Property    string
        ReturnValue string
        Err         error
    }

    SelectedCall struct {
        ReturnSelected bool
        Err            error
    }

    VisibleCall struct {
        ReturnVisible bool
        Err           error
    }

    EnabledCall struct {
        ReturnEnabled bool
        Err           error
    }

    ActiveCall struct {
        ReturnActive bool
        Err          error
    }

    CountCall struct {
        ReturnCount int
        Err         error
    }

    EqualsElementCall struct {
        Selection    interface{}
        ReturnEquals bool
        Err          error
    }
}

func (*Selection) Active Uses

func (s *Selection) Active() (bool, error)

func (*Selection) Attribute Uses

func (s *Selection) Attribute(attribute string) (string, error)

func (*Selection) CSS Uses

func (s *Selection) CSS(property string) (string, error)

func (*Selection) Count Uses

func (s *Selection) Count() (int, error)

func (*Selection) Enabled Uses

func (s *Selection) Enabled() (bool, error)

func (*Selection) EqualsElement Uses

func (s *Selection) EqualsElement(selection interface{}) (bool, error)

func (*Selection) Selected Uses

func (s *Selection) Selected() (bool, error)

func (*Selection) String Uses

func (s *Selection) String() string

func (*Selection) Text Uses

func (s *Selection) Text() (string, error)

func (*Selection) Visible Uses

func (s *Selection) Visible() (bool, error)

Package mocks imports 1 packages (graph). Updated 2016-07-31. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).