tracingfakes

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

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 FakeCodeDeinstrumenter

type FakeCodeDeinstrumenter struct {
	DeinstrumentDirectoryStub func(string) error

	DeinstrumentFileStub func(*token.FileSet, *ast.File, io.Writer) error

	DeinstrumentPackageStub func(*token.FileSet, *ast.Package) error
	// contains filtered or unexported fields
}

func (*FakeCodeDeinstrumenter) DeinstrumentDirectory

func (fake *FakeCodeDeinstrumenter) DeinstrumentDirectory(arg1 string) error

func (*FakeCodeDeinstrumenter) DeinstrumentDirectoryArgsForCall

func (fake *FakeCodeDeinstrumenter) DeinstrumentDirectoryArgsForCall(i int) string

func (*FakeCodeDeinstrumenter) DeinstrumentDirectoryCallCount

func (fake *FakeCodeDeinstrumenter) DeinstrumentDirectoryCallCount() int

func (*FakeCodeDeinstrumenter) DeinstrumentDirectoryCalls

func (fake *FakeCodeDeinstrumenter) DeinstrumentDirectoryCalls(stub func(string) error)

func (*FakeCodeDeinstrumenter) DeinstrumentDirectoryReturns

func (fake *FakeCodeDeinstrumenter) DeinstrumentDirectoryReturns(result1 error)

func (*FakeCodeDeinstrumenter) DeinstrumentDirectoryReturnsOnCall

func (fake *FakeCodeDeinstrumenter) DeinstrumentDirectoryReturnsOnCall(i int, result1 error)

func (*FakeCodeDeinstrumenter) DeinstrumentFile

func (fake *FakeCodeDeinstrumenter) DeinstrumentFile(arg1 *token.FileSet, arg2 *ast.File, arg3 io.Writer) error

func (*FakeCodeDeinstrumenter) DeinstrumentFileArgsForCall

func (fake *FakeCodeDeinstrumenter) DeinstrumentFileArgsForCall(i int) (*token.FileSet, *ast.File, io.Writer)

func (*FakeCodeDeinstrumenter) DeinstrumentFileCallCount

func (fake *FakeCodeDeinstrumenter) DeinstrumentFileCallCount() int

func (*FakeCodeDeinstrumenter) DeinstrumentFileCalls

func (fake *FakeCodeDeinstrumenter) DeinstrumentFileCalls(stub func(*token.FileSet, *ast.File, io.Writer) error)

func (*FakeCodeDeinstrumenter) DeinstrumentFileReturns

func (fake *FakeCodeDeinstrumenter) DeinstrumentFileReturns(result1 error)

func (*FakeCodeDeinstrumenter) DeinstrumentFileReturnsOnCall

func (fake *FakeCodeDeinstrumenter) DeinstrumentFileReturnsOnCall(i int, result1 error)

func (*FakeCodeDeinstrumenter) DeinstrumentPackage

func (fake *FakeCodeDeinstrumenter) DeinstrumentPackage(arg1 *token.FileSet, arg2 *ast.Package) error

func (*FakeCodeDeinstrumenter) DeinstrumentPackageArgsForCall

func (fake *FakeCodeDeinstrumenter) DeinstrumentPackageArgsForCall(i int) (*token.FileSet, *ast.Package)

func (*FakeCodeDeinstrumenter) DeinstrumentPackageCallCount

func (fake *FakeCodeDeinstrumenter) DeinstrumentPackageCallCount() int

func (*FakeCodeDeinstrumenter) DeinstrumentPackageCalls

func (fake *FakeCodeDeinstrumenter) DeinstrumentPackageCalls(stub func(*token.FileSet, *ast.Package) error)

func (*FakeCodeDeinstrumenter) DeinstrumentPackageReturns

func (fake *FakeCodeDeinstrumenter) DeinstrumentPackageReturns(result1 error)

func (*FakeCodeDeinstrumenter) DeinstrumentPackageReturnsOnCall

func (fake *FakeCodeDeinstrumenter) DeinstrumentPackageReturnsOnCall(i int, result1 error)

func (*FakeCodeDeinstrumenter) Invocations

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

type FakeCodeInstrumenter

type FakeCodeInstrumenter struct {
	InstrumentDirectoryStub func(string) error

	InstrumentFileStub func(*token.FileSet, *ast.File, io.Writer) error

	InstrumentPackageStub func(*token.FileSet, *ast.Package) error
	// contains filtered or unexported fields
}

func (*FakeCodeInstrumenter) InstrumentDirectory

func (fake *FakeCodeInstrumenter) InstrumentDirectory(arg1 string) error

func (*FakeCodeInstrumenter) InstrumentDirectoryArgsForCall

func (fake *FakeCodeInstrumenter) InstrumentDirectoryArgsForCall(i int) string

func (*FakeCodeInstrumenter) InstrumentDirectoryCallCount

func (fake *FakeCodeInstrumenter) InstrumentDirectoryCallCount() int

func (*FakeCodeInstrumenter) InstrumentDirectoryCalls

func (fake *FakeCodeInstrumenter) InstrumentDirectoryCalls(stub func(string) error)

func (*FakeCodeInstrumenter) InstrumentDirectoryReturns

func (fake *FakeCodeInstrumenter) InstrumentDirectoryReturns(result1 error)

func (*FakeCodeInstrumenter) InstrumentDirectoryReturnsOnCall

func (fake *FakeCodeInstrumenter) InstrumentDirectoryReturnsOnCall(i int, result1 error)

func (*FakeCodeInstrumenter) InstrumentFile

func (fake *FakeCodeInstrumenter) InstrumentFile(arg1 *token.FileSet, arg2 *ast.File, arg3 io.Writer) error

func (*FakeCodeInstrumenter) InstrumentFileArgsForCall

func (fake *FakeCodeInstrumenter) InstrumentFileArgsForCall(i int) (*token.FileSet, *ast.File, io.Writer)

func (*FakeCodeInstrumenter) InstrumentFileCallCount

func (fake *FakeCodeInstrumenter) InstrumentFileCallCount() int

func (*FakeCodeInstrumenter) InstrumentFileCalls

func (fake *FakeCodeInstrumenter) InstrumentFileCalls(stub func(*token.FileSet, *ast.File, io.Writer) error)

func (*FakeCodeInstrumenter) InstrumentFileReturns

func (fake *FakeCodeInstrumenter) InstrumentFileReturns(result1 error)

func (*FakeCodeInstrumenter) InstrumentFileReturnsOnCall

func (fake *FakeCodeInstrumenter) InstrumentFileReturnsOnCall(i int, result1 error)

func (*FakeCodeInstrumenter) InstrumentPackage

func (fake *FakeCodeInstrumenter) InstrumentPackage(arg1 *token.FileSet, arg2 *ast.Package) error

func (*FakeCodeInstrumenter) InstrumentPackageArgsForCall

func (fake *FakeCodeInstrumenter) InstrumentPackageArgsForCall(i int) (*token.FileSet, *ast.Package)

func (*FakeCodeInstrumenter) InstrumentPackageCallCount

func (fake *FakeCodeInstrumenter) InstrumentPackageCallCount() int

func (*FakeCodeInstrumenter) InstrumentPackageCalls

func (fake *FakeCodeInstrumenter) InstrumentPackageCalls(stub func(*token.FileSet, *ast.Package) error)

func (*FakeCodeInstrumenter) InstrumentPackageReturns

func (fake *FakeCodeInstrumenter) InstrumentPackageReturns(result1 error)

func (*FakeCodeInstrumenter) InstrumentPackageReturnsOnCall

func (fake *FakeCodeInstrumenter) InstrumentPackageReturnsOnCall(i int, result1 error)

func (*FakeCodeInstrumenter) Invocations

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

type FakeImportsGroomer

type FakeImportsGroomer struct {
	RemoveUnusedImportFromDirectoryStub func(string, string) error

	RemoveUnusedImportFromFileStub func(*token.FileSet, *ast.File, io.Writer, string) error

	RemoveUnusedImportFromPackageStub func(*token.FileSet, *ast.Package, string) error
	// contains filtered or unexported fields
}

func (*FakeImportsGroomer) Invocations

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

func (*FakeImportsGroomer) RemoveUnusedImportFromDirectory

func (fake *FakeImportsGroomer) RemoveUnusedImportFromDirectory(arg1 string, arg2 string) error

func (*FakeImportsGroomer) RemoveUnusedImportFromDirectoryArgsForCall

func (fake *FakeImportsGroomer) RemoveUnusedImportFromDirectoryArgsForCall(i int) (string, string)

func (*FakeImportsGroomer) RemoveUnusedImportFromDirectoryCallCount

func (fake *FakeImportsGroomer) RemoveUnusedImportFromDirectoryCallCount() int

func (*FakeImportsGroomer) RemoveUnusedImportFromDirectoryCalls

func (fake *FakeImportsGroomer) RemoveUnusedImportFromDirectoryCalls(stub func(string, string) error)

func (*FakeImportsGroomer) RemoveUnusedImportFromDirectoryReturns

func (fake *FakeImportsGroomer) RemoveUnusedImportFromDirectoryReturns(result1 error)

func (*FakeImportsGroomer) RemoveUnusedImportFromDirectoryReturnsOnCall

func (fake *FakeImportsGroomer) RemoveUnusedImportFromDirectoryReturnsOnCall(i int, result1 error)

func (*FakeImportsGroomer) RemoveUnusedImportFromFile

func (fake *FakeImportsGroomer) RemoveUnusedImportFromFile(arg1 *token.FileSet, arg2 *ast.File, arg3 io.Writer, arg4 string) error

func (*FakeImportsGroomer) RemoveUnusedImportFromFileArgsForCall

func (fake *FakeImportsGroomer) RemoveUnusedImportFromFileArgsForCall(i int) (*token.FileSet, *ast.File, io.Writer, string)

func (*FakeImportsGroomer) RemoveUnusedImportFromFileCallCount

func (fake *FakeImportsGroomer) RemoveUnusedImportFromFileCallCount() int

func (*FakeImportsGroomer) RemoveUnusedImportFromFileCalls

func (fake *FakeImportsGroomer) RemoveUnusedImportFromFileCalls(stub func(*token.FileSet, *ast.File, io.Writer, string) error)

func (*FakeImportsGroomer) RemoveUnusedImportFromFileReturns

func (fake *FakeImportsGroomer) RemoveUnusedImportFromFileReturns(result1 error)

func (*FakeImportsGroomer) RemoveUnusedImportFromFileReturnsOnCall

func (fake *FakeImportsGroomer) RemoveUnusedImportFromFileReturnsOnCall(i int, result1 error)

func (*FakeImportsGroomer) RemoveUnusedImportFromPackage

func (fake *FakeImportsGroomer) RemoveUnusedImportFromPackage(arg1 *token.FileSet, arg2 *ast.Package, arg3 string) error

func (*FakeImportsGroomer) RemoveUnusedImportFromPackageArgsForCall

func (fake *FakeImportsGroomer) RemoveUnusedImportFromPackageArgsForCall(i int) (*token.FileSet, *ast.Package, string)

func (*FakeImportsGroomer) RemoveUnusedImportFromPackageCallCount

func (fake *FakeImportsGroomer) RemoveUnusedImportFromPackageCallCount() int

func (*FakeImportsGroomer) RemoveUnusedImportFromPackageCalls

func (fake *FakeImportsGroomer) RemoveUnusedImportFromPackageCalls(stub func(*token.FileSet, *ast.Package, string) error)

func (*FakeImportsGroomer) RemoveUnusedImportFromPackageReturns

func (fake *FakeImportsGroomer) RemoveUnusedImportFromPackageReturns(result1 error)

func (*FakeImportsGroomer) RemoveUnusedImportFromPackageReturnsOnCall

func (fake *FakeImportsGroomer) RemoveUnusedImportFromPackageReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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