fakes

package
v1.0.0-...-733ce85 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2016 License: MIT Imports: 6 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

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeEmbedsInterfaces

type FakeEmbedsInterfaces struct {
	ServeHTTPStub func(http.ResponseWriter, *http.Request)

	AnotherMethodStub func([]another_package.SomeType, map[another_package.SomeType]another_package.SomeType, *another_package.SomeType, another_package.SomeType, chan another_package.SomeType)

	EmbeddedMethodStub func() string

	DoThingsStub func()
	// contains filtered or unexported fields
}

func (*FakeEmbedsInterfaces) AnotherMethodCallCount

func (fake *FakeEmbedsInterfaces) AnotherMethodCallCount() int

func (*FakeEmbedsInterfaces) DoThings

func (fake *FakeEmbedsInterfaces) DoThings()

func (*FakeEmbedsInterfaces) DoThingsCallCount

func (fake *FakeEmbedsInterfaces) DoThingsCallCount() int

func (*FakeEmbedsInterfaces) EmbeddedMethod

func (fake *FakeEmbedsInterfaces) EmbeddedMethod() string

func (*FakeEmbedsInterfaces) EmbeddedMethodCallCount

func (fake *FakeEmbedsInterfaces) EmbeddedMethodCallCount() int

func (*FakeEmbedsInterfaces) EmbeddedMethodReturns

func (fake *FakeEmbedsInterfaces) EmbeddedMethodReturns(result1 string)

func (*FakeEmbedsInterfaces) ServeHTTP

func (fake *FakeEmbedsInterfaces) ServeHTTP(arg1 http.ResponseWriter, arg2 *http.Request)

func (*FakeEmbedsInterfaces) ServeHTTPArgsForCall

func (fake *FakeEmbedsInterfaces) ServeHTTPArgsForCall(i int) (http.ResponseWriter, *http.Request)

func (*FakeEmbedsInterfaces) ServeHTTPCallCount

func (fake *FakeEmbedsInterfaces) ServeHTTPCallCount() int

type FakeHasImports

type FakeHasImports struct {
	DoThingsStub func(io.Writer, *some_alias.File) *http.Client
	// contains filtered or unexported fields
}

func (*FakeHasImports) DoThings

func (fake *FakeHasImports) DoThings(arg1 io.Writer, arg2 *some_alias.File) *http.Client

func (*FakeHasImports) DoThingsArgsForCall

func (fake *FakeHasImports) DoThingsArgsForCall(i int) (io.Writer, *some_alias.File)

func (*FakeHasImports) DoThingsCallCount

func (fake *FakeHasImports) DoThingsCallCount() int

func (*FakeHasImports) DoThingsReturns

func (fake *FakeHasImports) DoThingsReturns(result1 *http.Client)

type FakeHasOtherTypes

type FakeHasOtherTypes struct {
	GetThingStub func(fixtures.SomeString) fixtures.SomeFunc
	// contains filtered or unexported fields
}

func (*FakeHasOtherTypes) GetThing

func (fake *FakeHasOtherTypes) GetThing(arg1 fixtures.SomeString) fixtures.SomeFunc

func (*FakeHasOtherTypes) GetThingArgsForCall

func (fake *FakeHasOtherTypes) GetThingArgsForCall(i int) fixtures.SomeString

func (*FakeHasOtherTypes) GetThingCallCount

func (fake *FakeHasOtherTypes) GetThingCallCount() int

func (*FakeHasOtherTypes) GetThingReturns

func (fake *FakeHasOtherTypes) GetThingReturns(result1 fixtures.SomeFunc)

type FakeHasVarArgs

type FakeHasVarArgs struct {
	DoThingsStub func(int, ...string) int

	DoMoreThingsStub func(int, int, ...string) int
	// contains filtered or unexported fields
}

func (*FakeHasVarArgs) DoMoreThings

func (fake *FakeHasVarArgs) DoMoreThings(arg1 int, arg2 int, arg3 ...string) int

func (*FakeHasVarArgs) DoMoreThingsArgsForCall

func (fake *FakeHasVarArgs) DoMoreThingsArgsForCall(i int) (int, int, []string)

func (*FakeHasVarArgs) DoMoreThingsCallCount

func (fake *FakeHasVarArgs) DoMoreThingsCallCount() int

func (*FakeHasVarArgs) DoMoreThingsReturns

func (fake *FakeHasVarArgs) DoMoreThingsReturns(result1 int)

func (*FakeHasVarArgs) DoThings

func (fake *FakeHasVarArgs) DoThings(arg1 int, arg2 ...string) int

func (*FakeHasVarArgs) DoThingsArgsForCall

func (fake *FakeHasVarArgs) DoThingsArgsForCall(i int) (int, []string)

func (*FakeHasVarArgs) DoThingsCallCount

func (fake *FakeHasVarArgs) DoThingsCallCount() int

func (*FakeHasVarArgs) DoThingsReturns

func (fake *FakeHasVarArgs) DoThingsReturns(result1 int)

type FakeHasVarArgsWithLocalTypes

type FakeHasVarArgsWithLocalTypes struct {
	DoThingsStub func(...fixtures.LocalType)
	// contains filtered or unexported fields
}

func (*FakeHasVarArgsWithLocalTypes) DoThings

func (fake *FakeHasVarArgsWithLocalTypes) DoThings(arg1 ...fixtures.LocalType)

func (*FakeHasVarArgsWithLocalTypes) DoThingsArgsForCall

func (fake *FakeHasVarArgsWithLocalTypes) DoThingsArgsForCall(i int) []fixtures.LocalType

func (*FakeHasVarArgsWithLocalTypes) DoThingsCallCount

func (fake *FakeHasVarArgsWithLocalTypes) DoThingsCallCount() int

type FakeReusesArgTypes

type FakeReusesArgTypes struct {
	DoThingsStub func(x, y string)
	// contains filtered or unexported fields
}

func (*FakeReusesArgTypes) DoThings

func (fake *FakeReusesArgTypes) DoThings(x string, y string)

func (*FakeReusesArgTypes) DoThingsArgsForCall

func (fake *FakeReusesArgTypes) DoThingsArgsForCall(i int) (string, string)

func (*FakeReusesArgTypes) DoThingsCallCount

func (fake *FakeReusesArgTypes) DoThingsCallCount() int

type FakeSomething

type FakeSomething struct {
	DoThingsStub func(string, uint64) (int, error)

	DoNothingStub func()
	// contains filtered or unexported fields
}

func (*FakeSomething) DoNothing

func (fake *FakeSomething) DoNothing()

func (*FakeSomething) DoNothingCallCount

func (fake *FakeSomething) DoNothingCallCount() int

func (*FakeSomething) DoThings

func (fake *FakeSomething) DoThings(arg1 string, arg2 uint64) (int, error)

func (*FakeSomething) DoThingsArgsForCall

func (fake *FakeSomething) DoThingsArgsForCall(i int) (string, uint64)

func (*FakeSomething) DoThingsCallCount

func (fake *FakeSomething) DoThingsCallCount() int

func (*FakeSomething) DoThingsReturns

func (fake *FakeSomething) DoThingsReturns(result1 int, result2 error)

type FakeUnexportedInterface

type FakeUnexportedInterface struct {
	SomeMethodStub func(string, bool) (int, error)
	// contains filtered or unexported fields
}

func (*FakeUnexportedInterface) SomeMethod

func (fake *FakeUnexportedInterface) SomeMethod(arg1 string, arg2 bool) (int, error)

func (*FakeUnexportedInterface) SomeMethodArgsForCall

func (fake *FakeUnexportedInterface) SomeMethodArgsForCall(i int) (string, bool)

func (*FakeUnexportedInterface) SomeMethodCallCount

func (fake *FakeUnexportedInterface) SomeMethodCallCount() int

func (*FakeUnexportedInterface) SomeMethodReturns

func (fake *FakeUnexportedInterface) SomeMethodReturns(result1 int, result2 error)

Jump to

Keyboard shortcuts

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