mocks

package
v2.36.8 Latest Latest
Warning

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

Go to latest
Published: May 14, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Page added in v2.36.5

type Page struct {
	mock.Mock
}

Page is an autogenerated mock type for the Page type

func NewPage added in v2.36.5

func NewPage(t mockConstructorTestingTNewPage) *Page

NewPage creates a new instance of Page. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Page) AddInitScript added in v2.36.5

func (_m *Page) AddInitScript(script playwright.PageAddInitScriptOptions) error

AddInitScript provides a mock function with given fields: script

func (*Page) AddScriptTag added in v2.36.5

AddScriptTag provides a mock function with given fields: options

func (*Page) AddStyleTag added in v2.36.5

AddStyleTag provides a mock function with given fields: options

func (*Page) BringToFront added in v2.36.5

func (_m *Page) BringToFront() error

BringToFront provides a mock function with given fields:

func (*Page) Check added in v2.36.5

func (_m *Page) Check(selector string, options ...playwright.FrameCheckOptions) error

Check provides a mock function with given fields: selector, options

func (*Page) Click added in v2.36.5

func (_m *Page) Click(selector string, options ...playwright.PageClickOptions) error

Click provides a mock function with given fields: selector, options

func (*Page) Close added in v2.36.5

func (_m *Page) Close(options ...playwright.PageCloseOptions) error

Close provides a mock function with given fields: options

func (*Page) Content added in v2.36.5

func (_m *Page) Content() (string, error)

Content provides a mock function with given fields:

func (*Page) Context added in v2.36.5

func (_m *Page) Context() playwright.BrowserContext

Context provides a mock function with given fields:

func (*Page) Dblclick added in v2.36.5

func (_m *Page) Dblclick(expression string, options ...playwright.FrameDblclickOptions) error

Dblclick provides a mock function with given fields: expression, options

func (*Page) DispatchEvent added in v2.36.5

func (_m *Page) DispatchEvent(selector string, typ string, options ...playwright.PageDispatchEventOptions) error

DispatchEvent provides a mock function with given fields: selector, typ, options

func (*Page) DragAndDrop added in v2.36.5

func (_m *Page) DragAndDrop(source string, target string, options ...playwright.FrameDragAndDropOptions) error

DragAndDrop provides a mock function with given fields: source, target, options

func (*Page) Emit added in v2.36.5

func (_m *Page) Emit(name string, payload ...interface{})

Emit provides a mock function with given fields: name, payload

func (*Page) EmulateMedia added in v2.36.5

func (_m *Page) EmulateMedia(options ...playwright.PageEmulateMediaOptions) error

EmulateMedia provides a mock function with given fields: options

func (*Page) EvalOnSelector added in v2.36.5

func (_m *Page) EvalOnSelector(selector string, expression string, options ...interface{}) (interface{}, error)

EvalOnSelector provides a mock function with given fields: selector, expression, options

func (*Page) EvalOnSelectorAll added in v2.36.5

func (_m *Page) EvalOnSelectorAll(selector string, expression string, options ...interface{}) (interface{}, error)

EvalOnSelectorAll provides a mock function with given fields: selector, expression, options

func (*Page) Evaluate added in v2.36.5

func (_m *Page) Evaluate(expression string, options ...interface{}) (interface{}, error)

Evaluate provides a mock function with given fields: expression, options

func (*Page) EvaluateHandle added in v2.36.5

func (_m *Page) EvaluateHandle(expression string, options ...interface{}) (playwright.JSHandle, error)

EvaluateHandle provides a mock function with given fields: expression, options

func (*Page) ExpectConsoleMessage added in v2.36.5

func (_m *Page) ExpectConsoleMessage(cb func() error) (playwright.ConsoleMessage, error)

ExpectConsoleMessage provides a mock function with given fields: cb

func (*Page) ExpectDownload added in v2.36.5

func (_m *Page) ExpectDownload(cb func() error) (playwright.Download, error)

ExpectDownload provides a mock function with given fields: cb

func (*Page) ExpectEvent added in v2.36.5

func (_m *Page) ExpectEvent(event string, cb func() error, predicates ...interface{}) (interface{}, error)

ExpectEvent provides a mock function with given fields: event, cb, predicates

func (*Page) ExpectFileChooser added in v2.36.5

func (_m *Page) ExpectFileChooser(cb func() error) (playwright.FileChooser, error)

ExpectFileChooser provides a mock function with given fields: cb

func (*Page) ExpectLoadState added in v2.36.5

func (_m *Page) ExpectLoadState(state string, cb func() error) error

ExpectLoadState provides a mock function with given fields: state, cb

func (*Page) ExpectNavigation added in v2.36.5

func (_m *Page) ExpectNavigation(cb func() error, options ...playwright.PageWaitForNavigationOptions) (playwright.Response, error)

ExpectNavigation provides a mock function with given fields: cb, options

func (*Page) ExpectPopup added in v2.36.5

func (_m *Page) ExpectPopup(cb func() error) (playwright.Page, error)

ExpectPopup provides a mock function with given fields: cb

func (*Page) ExpectRequest added in v2.36.5

func (_m *Page) ExpectRequest(url interface{}, cb func() error, options ...interface{}) (playwright.Request, error)

ExpectRequest provides a mock function with given fields: url, cb, options

func (*Page) ExpectResponse added in v2.36.5

func (_m *Page) ExpectResponse(url interface{}, cb func() error, options ...interface{}) (playwright.Response, error)

ExpectResponse provides a mock function with given fields: url, cb, options

func (*Page) ExpectWorker added in v2.36.5

func (_m *Page) ExpectWorker(cb func() error) (playwright.Worker, error)

ExpectWorker provides a mock function with given fields: cb

func (*Page) ExpectedDialog added in v2.36.5

func (_m *Page) ExpectedDialog(cb func() error) (playwright.Dialog, error)

ExpectedDialog provides a mock function with given fields: cb

func (*Page) ExposeBinding added in v2.36.5

func (_m *Page) ExposeBinding(name string, binding playwright.BindingCallFunction, handle ...bool) error

ExposeBinding provides a mock function with given fields: name, binding, handle

func (*Page) ExposeFunction added in v2.36.5

func (_m *Page) ExposeFunction(name string, binding func(...interface{}) interface{}) error

ExposeFunction provides a mock function with given fields: name, binding

func (*Page) Fill added in v2.36.5

func (_m *Page) Fill(selector string, text string, options ...playwright.FrameFillOptions) error

Fill provides a mock function with given fields: selector, text, options

func (*Page) Focus added in v2.36.5

func (_m *Page) Focus(expression string, options ...playwright.FrameFocusOptions) error

Focus provides a mock function with given fields: expression, options

func (*Page) Frame added in v2.36.5

func (_m *Page) Frame(options playwright.PageFrameOptions) playwright.Frame

Frame provides a mock function with given fields: options

func (*Page) Frames added in v2.36.5

func (_m *Page) Frames() []playwright.Frame

Frames provides a mock function with given fields:

func (*Page) GetAttribute added in v2.36.5

func (_m *Page) GetAttribute(selector string, name string, options ...playwright.PageGetAttributeOptions) (string, error)

GetAttribute provides a mock function with given fields: selector, name, options

func (*Page) GoBack added in v2.36.5

func (_m *Page) GoBack(options ...playwright.PageGoBackOptions) (playwright.Response, error)

GoBack provides a mock function with given fields: options

func (*Page) GoForward added in v2.36.5

func (_m *Page) GoForward(options ...playwright.PageGoForwardOptions) (playwright.Response, error)

GoForward provides a mock function with given fields: options

func (*Page) Goto added in v2.36.5

func (_m *Page) Goto(url string, options ...playwright.PageGotoOptions) (playwright.Response, error)

Goto provides a mock function with given fields: url, options

func (*Page) Hover added in v2.36.5

func (_m *Page) Hover(selector string, options ...playwright.PageHoverOptions) error

Hover provides a mock function with given fields: selector, options

func (*Page) InnerHTML added in v2.36.5

func (_m *Page) InnerHTML(selector string, options ...playwright.PageInnerHTMLOptions) (string, error)

InnerHTML provides a mock function with given fields: selector, options

func (*Page) InnerText added in v2.36.5

func (_m *Page) InnerText(selector string, options ...playwright.PageInnerTextOptions) (string, error)

InnerText provides a mock function with given fields: selector, options

func (*Page) InputValue added in v2.36.5

func (_m *Page) InputValue(selector string, options ...playwright.FrameInputValueOptions) (string, error)

InputValue provides a mock function with given fields: selector, options

func (*Page) IsChecked added in v2.36.5

func (_m *Page) IsChecked(selector string, options ...playwright.FrameIsCheckedOptions) (bool, error)

IsChecked provides a mock function with given fields: selector, options

func (*Page) IsClosed added in v2.36.5

func (_m *Page) IsClosed() bool

IsClosed provides a mock function with given fields:

func (*Page) IsDisabled added in v2.36.5

func (_m *Page) IsDisabled(selector string, options ...playwright.FrameIsDisabledOptions) (bool, error)

IsDisabled provides a mock function with given fields: selector, options

func (*Page) IsEditable added in v2.36.5

func (_m *Page) IsEditable(selector string, options ...playwright.FrameIsEditableOptions) (bool, error)

IsEditable provides a mock function with given fields: selector, options

func (*Page) IsEnabled added in v2.36.5

func (_m *Page) IsEnabled(selector string, options ...playwright.FrameIsEnabledOptions) (bool, error)

IsEnabled provides a mock function with given fields: selector, options

func (*Page) IsHidden added in v2.36.5

func (_m *Page) IsHidden(selector string, options ...playwright.FrameIsHiddenOptions) (bool, error)

IsHidden provides a mock function with given fields: selector, options

func (*Page) IsVisible added in v2.36.5

func (_m *Page) IsVisible(selector string, options ...playwright.FrameIsVisibleOptions) (bool, error)

IsVisible provides a mock function with given fields: selector, options

func (*Page) Keyboard added in v2.36.5

func (_m *Page) Keyboard() playwright.Keyboard

Keyboard provides a mock function with given fields:

func (*Page) ListenerCount added in v2.36.5

func (_m *Page) ListenerCount(name string) int

ListenerCount provides a mock function with given fields: name

func (*Page) Locator added in v2.36.5

func (_m *Page) Locator(selector string, options ...playwright.PageLocatorOptions) (playwright.Locator, error)

Locator provides a mock function with given fields: selector, options

func (*Page) MainFrame added in v2.36.5

func (_m *Page) MainFrame() playwright.Frame

MainFrame provides a mock function with given fields:

func (*Page) Mouse added in v2.36.5

func (_m *Page) Mouse() playwright.Mouse

Mouse provides a mock function with given fields:

func (*Page) On added in v2.36.5

func (_m *Page) On(name string, handler interface{})

On provides a mock function with given fields: name, handler

func (*Page) Once added in v2.36.5

func (_m *Page) Once(name string, handler interface{})

Once provides a mock function with given fields: name, handler

func (*Page) Opener added in v2.36.5

func (_m *Page) Opener() (playwright.Page, error)

Opener provides a mock function with given fields:

func (*Page) PDF added in v2.36.5

func (_m *Page) PDF(options ...playwright.PagePdfOptions) ([]byte, error)

PDF provides a mock function with given fields: options

func (*Page) Pause added in v2.36.5

func (_m *Page) Pause() error

Pause provides a mock function with given fields:

func (*Page) Press added in v2.36.5

func (_m *Page) Press(selector string, key string, options ...playwright.PagePressOptions) error

Press provides a mock function with given fields: selector, key, options

func (*Page) QuerySelector added in v2.36.5

func (_m *Page) QuerySelector(selector string) (playwright.ElementHandle, error)

QuerySelector provides a mock function with given fields: selector

func (*Page) QuerySelectorAll added in v2.36.5

func (_m *Page) QuerySelectorAll(selector string) ([]playwright.ElementHandle, error)

QuerySelectorAll provides a mock function with given fields: selector

func (*Page) Reload added in v2.36.5

func (_m *Page) Reload(options ...playwright.PageReloadOptions) (playwright.Response, error)

Reload provides a mock function with given fields: options

func (*Page) RemoveListener added in v2.36.5

func (_m *Page) RemoveListener(name string, handler interface{})

RemoveListener provides a mock function with given fields: name, handler

func (*Page) Route added in v2.36.5

func (_m *Page) Route(url interface{}, handler func(playwright.Route, playwright.Request)) error

Route provides a mock function with given fields: url, handler

func (*Page) Screenshot added in v2.36.5

func (_m *Page) Screenshot(options ...playwright.PageScreenshotOptions) ([]byte, error)

Screenshot provides a mock function with given fields: options

func (*Page) SelectOption added in v2.36.5

func (_m *Page) SelectOption(selector string, values playwright.SelectOptionValues, options ...playwright.FrameSelectOptionOptions) ([]string, error)

SelectOption provides a mock function with given fields: selector, values, options

func (*Page) SetChecked added in v2.36.5

func (_m *Page) SetChecked(selector string, checked bool, options ...playwright.FrameSetCheckedOptions) error

SetChecked provides a mock function with given fields: selector, checked, options

func (*Page) SetContent added in v2.36.5

func (_m *Page) SetContent(content string, options ...playwright.PageSetContentOptions) error

SetContent provides a mock function with given fields: content, options

func (*Page) SetDefaultNavigationTimeout added in v2.36.5

func (_m *Page) SetDefaultNavigationTimeout(timeout float64)

SetDefaultNavigationTimeout provides a mock function with given fields: timeout

func (*Page) SetDefaultTimeout added in v2.36.5

func (_m *Page) SetDefaultTimeout(timeout float64)

SetDefaultTimeout provides a mock function with given fields: timeout

func (*Page) SetExtraHTTPHeaders added in v2.36.5

func (_m *Page) SetExtraHTTPHeaders(headers map[string]string) error

SetExtraHTTPHeaders provides a mock function with given fields: headers

func (*Page) SetInputFiles added in v2.36.5

func (_m *Page) SetInputFiles(selector string, files []playwright.InputFile, options ...playwright.FrameSetInputFilesOptions) error

SetInputFiles provides a mock function with given fields: selector, files, options

func (*Page) SetViewportSize added in v2.36.5

func (_m *Page) SetViewportSize(width int, height int) error

SetViewportSize provides a mock function with given fields: width, height

func (*Page) Tap added in v2.36.5

func (_m *Page) Tap(selector string, options ...playwright.FrameTapOptions) error

Tap provides a mock function with given fields: selector, options

func (*Page) TextContent added in v2.36.5

func (_m *Page) TextContent(selector string, options ...playwright.FrameTextContentOptions) (string, error)

TextContent provides a mock function with given fields: selector, options

func (*Page) Title added in v2.36.5

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

Title provides a mock function with given fields:

func (*Page) Touchscreen added in v2.36.5

func (_m *Page) Touchscreen() playwright.Touchscreen

Touchscreen provides a mock function with given fields:

func (*Page) Type added in v2.36.5

func (_m *Page) Type(selector string, text string, options ...playwright.PageTypeOptions) error

Type provides a mock function with given fields: selector, text, options

func (*Page) URL added in v2.36.5

func (_m *Page) URL() string

URL provides a mock function with given fields:

func (*Page) Uncheck added in v2.36.5

func (_m *Page) Uncheck(selector string, options ...playwright.FrameUncheckOptions) error

Uncheck provides a mock function with given fields: selector, options

func (*Page) Unroute added in v2.36.5

func (_m *Page) Unroute(url interface{}, handler ...func(playwright.Route, playwright.Request)) error

Unroute provides a mock function with given fields: url, handler

func (*Page) Video added in v2.36.5

func (_m *Page) Video() playwright.Video

Video provides a mock function with given fields:

func (*Page) ViewportSize added in v2.36.5

func (_m *Page) ViewportSize() playwright.ViewportSize

ViewportSize provides a mock function with given fields:

func (*Page) WaitForEvent added in v2.36.5

func (_m *Page) WaitForEvent(event string, predicate ...interface{}) interface{}

WaitForEvent provides a mock function with given fields: event, predicate

func (*Page) WaitForFunction added in v2.36.5

func (_m *Page) WaitForFunction(expression string, arg interface{}, options ...playwright.FrameWaitForFunctionOptions) (playwright.JSHandle, error)

WaitForFunction provides a mock function with given fields: expression, arg, options

func (*Page) WaitForLoadState added in v2.36.5

func (_m *Page) WaitForLoadState(state ...string)

WaitForLoadState provides a mock function with given fields: state

func (*Page) WaitForNavigation added in v2.36.5

func (_m *Page) WaitForNavigation(options ...playwright.PageWaitForNavigationOptions) (playwright.Response, error)

WaitForNavigation provides a mock function with given fields: options

func (*Page) WaitForRequest added in v2.36.5

func (_m *Page) WaitForRequest(url interface{}, options ...interface{}) playwright.Request

WaitForRequest provides a mock function with given fields: url, options

func (*Page) WaitForResponse added in v2.36.5

func (_m *Page) WaitForResponse(url interface{}, options ...interface{}) playwright.Response

WaitForResponse provides a mock function with given fields: url, options

func (*Page) WaitForSelector added in v2.36.5

func (_m *Page) WaitForSelector(selector string, options ...playwright.PageWaitForSelectorOptions) (playwright.ElementHandle, error)

WaitForSelector provides a mock function with given fields: selector, options

func (*Page) WaitForTimeout added in v2.36.5

func (_m *Page) WaitForTimeout(timeout float64)

WaitForTimeout provides a mock function with given fields: timeout

func (*Page) WaitForURL added in v2.36.5

func (_m *Page) WaitForURL(url string, options ...playwright.FrameWaitForURLOptions) error

WaitForURL provides a mock function with given fields: url, options

func (*Page) Workers added in v2.36.5

func (_m *Page) Workers() []playwright.Worker

Workers provides a mock function with given fields:

type Prompter

type Prompter struct {
	mock.Mock
}

Prompter is an autogenerated mock type for the Prompter type

func (*Prompter) Choose

func (_m *Prompter) Choose(_a0 string, _a1 []string) int

Choose provides a mock function with given fields: _a0, _a1

func (*Prompter) ChooseWithDefault

func (_m *Prompter) ChooseWithDefault(_a0 string, _a1 string, _a2 []string) (string, error)

ChooseWithDefault provides a mock function with given fields: _a0, _a1, _a2

func (*Prompter) Password

func (_m *Prompter) Password(_a0 string) string

Password provides a mock function with given fields: _a0

func (*Prompter) RequestSecurityCode

func (_m *Prompter) RequestSecurityCode(_a0 string) string

RequestSecurityCode provides a mock function with given fields: _a0

func (*Prompter) String

func (_m *Prompter) String(_a0 string, _a1 string) string

String provides a mock function with given fields: _a0, _a1

func (*Prompter) StringRequired

func (_m *Prompter) StringRequired(_a0 string) string

StringRequired provides a mock function with given fields: _a0

type Request added in v2.36.5

type Request struct {
	mock.Mock
}

Request is an autogenerated mock type for the Request type

func NewRequest added in v2.36.5

func NewRequest(t mockConstructorTestingTNewRequest) *Request

NewRequest creates a new instance of Request. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Request) AllHeaders added in v2.36.5

func (_m *Request) AllHeaders() (map[string]string, error)

AllHeaders provides a mock function with given fields:

func (*Request) Failure added in v2.36.5

func (_m *Request) Failure() *playwright.RequestFailure

Failure provides a mock function with given fields:

func (*Request) Frame added in v2.36.5

func (_m *Request) Frame() playwright.Frame

Frame provides a mock function with given fields:

func (*Request) HeaderValue added in v2.36.5

func (_m *Request) HeaderValue(name string) (string, error)

HeaderValue provides a mock function with given fields: name

func (*Request) HeaderValues added in v2.36.5

func (_m *Request) HeaderValues(name string) ([]string, error)

HeaderValues provides a mock function with given fields: name

func (*Request) Headers added in v2.36.5

func (_m *Request) Headers() map[string]string

Headers provides a mock function with given fields:

func (*Request) HeadersArray added in v2.36.5

func (_m *Request) HeadersArray() (playwright.HeadersArray, error)

HeadersArray provides a mock function with given fields:

func (*Request) IsNavigationRequest added in v2.36.5

func (_m *Request) IsNavigationRequest() bool

IsNavigationRequest provides a mock function with given fields:

func (*Request) Method added in v2.36.5

func (_m *Request) Method() string

Method provides a mock function with given fields:

func (*Request) PostData added in v2.36.5

func (_m *Request) PostData() (string, error)

PostData provides a mock function with given fields:

func (*Request) PostDataBuffer added in v2.36.5

func (_m *Request) PostDataBuffer() ([]byte, error)

PostDataBuffer provides a mock function with given fields:

func (*Request) PostDataJSON added in v2.36.5

func (_m *Request) PostDataJSON(v interface{}) error

PostDataJSON provides a mock function with given fields: v

func (*Request) RedirectedFrom added in v2.36.5

func (_m *Request) RedirectedFrom() playwright.Request

RedirectedFrom provides a mock function with given fields:

func (*Request) RedirectedTo added in v2.36.5

func (_m *Request) RedirectedTo() playwright.Request

RedirectedTo provides a mock function with given fields:

func (*Request) ResourceType added in v2.36.5

func (_m *Request) ResourceType() string

ResourceType provides a mock function with given fields:

func (*Request) Response added in v2.36.5

func (_m *Request) Response() (playwright.Response, error)

Response provides a mock function with given fields:

func (*Request) Sizes added in v2.36.5

func (_m *Request) Sizes() (*playwright.RequestSizesResult, error)

Sizes provides a mock function with given fields:

func (*Request) Timing added in v2.36.5

func (_m *Request) Timing() *playwright.ResourceTiming

Timing provides a mock function with given fields:

func (*Request) URL added in v2.36.5

func (_m *Request) URL() string

URL provides a mock function with given fields:

type Response added in v2.36.6

type Response struct {
	mock.Mock
}

Response is an autogenerated mock type for the Response type

func NewResponse added in v2.36.6

func NewResponse(t mockConstructorTestingTNewResponse) *Response

NewResponse creates a new instance of Response. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Response) AllHeaders added in v2.36.6

func (_m *Response) AllHeaders() (map[string]string, error)

AllHeaders provides a mock function with given fields:

func (*Response) Body added in v2.36.6

func (_m *Response) Body() ([]byte, error)

Body provides a mock function with given fields:

func (*Response) Finished added in v2.36.6

func (_m *Response) Finished()

Finished provides a mock function with given fields:

func (*Response) Frame added in v2.36.6

func (_m *Response) Frame() playwright.Frame

Frame provides a mock function with given fields:

func (*Response) HeaderValue added in v2.36.6

func (_m *Response) HeaderValue(name string) (string, error)

HeaderValue provides a mock function with given fields: name

func (*Response) HeaderValues added in v2.36.6

func (_m *Response) HeaderValues(name string) ([]string, error)

HeaderValues provides a mock function with given fields: name

func (*Response) Headers added in v2.36.6

func (_m *Response) Headers() map[string]string

Headers provides a mock function with given fields:

func (*Response) HeadersArray added in v2.36.6

func (_m *Response) HeadersArray() (playwright.HeadersArray, error)

HeadersArray provides a mock function with given fields:

func (*Response) JSON added in v2.36.6

func (_m *Response) JSON(v interface{}) error

JSON provides a mock function with given fields: v

func (*Response) Ok added in v2.36.6

func (_m *Response) Ok() bool

Ok provides a mock function with given fields:

func (*Response) Request added in v2.36.6

func (_m *Response) Request() playwright.Request

Request provides a mock function with given fields:

func (*Response) SecurityDetails added in v2.36.6

func (_m *Response) SecurityDetails() (*playwright.ResponseSecurityDetailsResult, error)

SecurityDetails provides a mock function with given fields:

func (*Response) ServerAddr added in v2.36.6

func (_m *Response) ServerAddr() (*playwright.ResponseServerAddrResult, error)

ServerAddr provides a mock function with given fields:

func (*Response) Status added in v2.36.6

func (_m *Response) Status() int

Status provides a mock function with given fields:

func (*Response) StatusText added in v2.36.6

func (_m *Response) StatusText() string

StatusText provides a mock function with given fields:

func (*Response) Text added in v2.36.6

func (_m *Response) Text() (string, error)

Text provides a mock function with given fields:

func (*Response) URL added in v2.36.6

func (_m *Response) URL() string

URL provides a mock function with given fields:

type U2FDevice

type U2FDevice struct {
	mock.Mock
}

U2FDevice is an autogenerated mock type for the U2FDevice type

func (*U2FDevice) Authenticate

Authenticate provides a mock function with given fields: _a0

func (*U2FDevice) Close

func (_m *U2FDevice) Close()

Close provides a mock function with given fields:

func (*U2FDevice) Open

func (_m *U2FDevice) Open() error

Open provides a mock function with given fields:

func (*U2FDevice) Register

Register provides a mock function with given fields: _a0

func (*U2FDevice) Version

func (_m *U2FDevice) Version() (string, error)

Version provides a mock function with given fields:

Jump to

Keyboard shortcuts

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