scrapefakes

package
v0.0.0-...-994f8ce Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeScraper

type FakeScraper struct {
	ScrapeStub func(url.URL) (scrape.Result, error)
	// contains filtered or unexported fields
}

func (*FakeScraper) Invocations

func (fake *FakeScraper) Invocations() map[string][][]interface{}

func (*FakeScraper) Scrape

func (fake *FakeScraper) Scrape(arg1 url.URL) (scrape.Result, error)

func (*FakeScraper) ScrapeArgsForCall

func (fake *FakeScraper) ScrapeArgsForCall(i int) url.URL

func (*FakeScraper) ScrapeCallCount

func (fake *FakeScraper) ScrapeCallCount() int

func (*FakeScraper) ScrapeCalls

func (fake *FakeScraper) ScrapeCalls(stub func(url.URL) (scrape.Result, error))

func (*FakeScraper) ScrapeReturns

func (fake *FakeScraper) ScrapeReturns(result1 scrape.Result, result2 error)

func (*FakeScraper) ScrapeReturnsOnCall

func (fake *FakeScraper) ScrapeReturnsOnCall(i int, result1 scrape.Result, result2 error)

Jump to

Keyboard shortcuts

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