fakes

package
v0.0.0-...-a06ed9b Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2016 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeArchiveWalker

type FakeArchiveWalker struct {
	WalkStub func(reader io.Reader, walker nuvi.ArchiveWalkerFunc)
	// contains filtered or unexported fields
}

func (*FakeArchiveWalker) Walk

func (fake *FakeArchiveWalker) Walk(reader io.Reader, walker nuvi.ArchiveWalkerFunc)

func (*FakeArchiveWalker) WalkArgsForCall

func (fake *FakeArchiveWalker) WalkArgsForCall(i int) (io.Reader, nuvi.ArchiveWalkerFunc)

func (*FakeArchiveWalker) WalkCallCount

func (fake *FakeArchiveWalker) WalkCallCount() int

type FakeCacher

type FakeCacher struct {
	CacheStub func(reader io.Reader)
	// contains filtered or unexported fields
}

func (*FakeCacher) Cache

func (fake *FakeCacher) Cache(reader io.Reader)

func (*FakeCacher) CacheArgsForCall

func (fake *FakeCacher) CacheArgsForCall(i int) io.Reader

func (*FakeCacher) CacheCallCount

func (fake *FakeCacher) CacheCallCount() int

type FakeDownloader

type FakeDownloader struct {
	DownloadStub func(url string) (io.ReadCloser, error)
	// contains filtered or unexported fields
}

func (*FakeDownloader) Download

func (fake *FakeDownloader) Download(url string) (io.ReadCloser, error)

func (*FakeDownloader) DownloadArgsForCall

func (fake *FakeDownloader) DownloadArgsForCall(i int) string

func (*FakeDownloader) DownloadCallCount

func (fake *FakeDownloader) DownloadCallCount() int

func (*FakeDownloader) DownloadReturns

func (fake *FakeDownloader) DownloadReturns(result1 io.ReadCloser, result2 error)

type FakeExtractor

type FakeExtractor struct {
	ExtractStub func(reader io.Reader) ([]string, error)
	// contains filtered or unexported fields
}

func (*FakeExtractor) Extract

func (fake *FakeExtractor) Extract(reader io.Reader) ([]string, error)

func (*FakeExtractor) ExtractArgsForCall

func (fake *FakeExtractor) ExtractArgsForCall(i int) io.Reader

func (*FakeExtractor) ExtractCallCount

func (fake *FakeExtractor) ExtractCallCount() int

func (*FakeExtractor) ExtractReturns

func (fake *FakeExtractor) ExtractReturns(result1 []string, result2 error)

type FakeLogger

type FakeLogger struct {
	PrintlnStub func(v ...interface{})

	PrintfStub func(format string, v ...interface{})
	// contains filtered or unexported fields
}

func (*FakeLogger) Printf

func (fake *FakeLogger) Printf(format string, v ...interface{})

func (*FakeLogger) PrintfArgsForCall

func (fake *FakeLogger) PrintfArgsForCall(i int) (string, []interface{})

func (*FakeLogger) PrintfCallCount

func (fake *FakeLogger) PrintfCallCount() int

func (*FakeLogger) Println

func (fake *FakeLogger) Println(v ...interface{})

func (*FakeLogger) PrintlnArgsForCall

func (fake *FakeLogger) PrintlnArgsForCall(i int) []interface{}

func (*FakeLogger) PrintlnCallCount

func (fake *FakeLogger) PrintlnCallCount() int

type FakeReadCloser

type FakeReadCloser struct {
	ReadStub func(p []byte) (n int, err error)

	CloseStub func() error
	// contains filtered or unexported fields
}

func (*FakeReadCloser) Close

func (fake *FakeReadCloser) Close() error

func (*FakeReadCloser) CloseCallCount

func (fake *FakeReadCloser) CloseCallCount() int

func (*FakeReadCloser) CloseReturns

func (fake *FakeReadCloser) CloseReturns(result1 error)

func (*FakeReadCloser) Read

func (fake *FakeReadCloser) Read(p []byte) (n int, err error)

func (*FakeReadCloser) ReadArgsForCall

func (fake *FakeReadCloser) ReadArgsForCall(i int) []byte

func (*FakeReadCloser) ReadCallCount

func (fake *FakeReadCloser) ReadCallCount() int

func (*FakeReadCloser) ReadReturns

func (fake *FakeReadCloser) ReadReturns(result1 int, result2 error)

type FakeRedisClient

type FakeRedisClient struct {
	LPushStub func(key string, values ...interface{}) *redis.IntCmd

	LIndexStub func(key string, index int64) *redis.StringCmd

	LLenStub func(key string) *redis.IntCmd
	// contains filtered or unexported fields
}

func (*FakeRedisClient) LIndex

func (fake *FakeRedisClient) LIndex(key string, index int64) *redis.StringCmd

func (*FakeRedisClient) LIndexArgsForCall

func (fake *FakeRedisClient) LIndexArgsForCall(i int) (string, int64)

func (*FakeRedisClient) LIndexCallCount

func (fake *FakeRedisClient) LIndexCallCount() int

func (*FakeRedisClient) LIndexReturns

func (fake *FakeRedisClient) LIndexReturns(result1 *redis.StringCmd)

func (*FakeRedisClient) LLen

func (fake *FakeRedisClient) LLen(key string) *redis.IntCmd

func (*FakeRedisClient) LLenArgsForCall

func (fake *FakeRedisClient) LLenArgsForCall(i int) string

func (*FakeRedisClient) LLenCallCount

func (fake *FakeRedisClient) LLenCallCount() int

func (*FakeRedisClient) LLenReturns

func (fake *FakeRedisClient) LLenReturns(result1 *redis.IntCmd)

func (*FakeRedisClient) LPush

func (fake *FakeRedisClient) LPush(key string, values ...interface{}) *redis.IntCmd

func (*FakeRedisClient) LPushArgsForCall

func (fake *FakeRedisClient) LPushArgsForCall(i int) (string, []interface{})

func (*FakeRedisClient) LPushCallCount

func (fake *FakeRedisClient) LPushCallCount() int

func (*FakeRedisClient) LPushReturns

func (fake *FakeRedisClient) LPushReturns(result1 *redis.IntCmd)

Jump to

Keyboard shortcuts

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