pkgfakes

package
v0.0.125 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

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 FakeArchiveReader

type FakeArchiveReader struct {
	ReadStub func(manifest.PackageRef, string) (*pkg.Package, error)
	// contains filtered or unexported fields
}

func (*FakeArchiveReader) Invocations

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

func (*FakeArchiveReader) Read

func (fake *FakeArchiveReader) Read(arg1 manifest.PackageRef, arg2 string) (*pkg.Package, error)

func (*FakeArchiveReader) ReadArgsForCall

func (fake *FakeArchiveReader) ReadArgsForCall(i int) (manifest.PackageRef, string)

func (*FakeArchiveReader) ReadCallCount

func (fake *FakeArchiveReader) ReadCallCount() int

func (*FakeArchiveReader) ReadReturns

func (fake *FakeArchiveReader) ReadReturns(result1 *pkg.Package, result2 error)

type FakeCompilable

type FakeCompilable struct {
	NameStub func() string

	FingerprintStub func() string

	ArchivePathStub func() string

	ArchiveSHA1Stub func() string

	IsCompiledStub func() bool

	DepsStub func() []pkg.Compilable
	// contains filtered or unexported fields
}

func (*FakeCompilable) ArchivePath

func (fake *FakeCompilable) ArchivePath() string

func (*FakeCompilable) ArchivePathCallCount

func (fake *FakeCompilable) ArchivePathCallCount() int

func (*FakeCompilable) ArchivePathReturns

func (fake *FakeCompilable) ArchivePathReturns(result1 string)

func (*FakeCompilable) ArchiveSHA1

func (fake *FakeCompilable) ArchiveSHA1() string

func (*FakeCompilable) ArchiveSHA1CallCount

func (fake *FakeCompilable) ArchiveSHA1CallCount() int

func (*FakeCompilable) ArchiveSHA1Returns

func (fake *FakeCompilable) ArchiveSHA1Returns(result1 string)

func (*FakeCompilable) Deps

func (fake *FakeCompilable) Deps() []pkg.Compilable

func (*FakeCompilable) DepsCallCount

func (fake *FakeCompilable) DepsCallCount() int

func (*FakeCompilable) DepsReturns

func (fake *FakeCompilable) DepsReturns(result1 []pkg.Compilable)

func (*FakeCompilable) Fingerprint

func (fake *FakeCompilable) Fingerprint() string

func (*FakeCompilable) FingerprintCallCount

func (fake *FakeCompilable) FingerprintCallCount() int

func (*FakeCompilable) FingerprintReturns

func (fake *FakeCompilable) FingerprintReturns(result1 string)

func (*FakeCompilable) Invocations

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

func (*FakeCompilable) IsCompiled

func (fake *FakeCompilable) IsCompiled() bool

func (*FakeCompilable) IsCompiledCallCount

func (fake *FakeCompilable) IsCompiledCallCount() int

func (*FakeCompilable) IsCompiledReturns

func (fake *FakeCompilable) IsCompiledReturns(result1 bool)

func (*FakeCompilable) Name

func (fake *FakeCompilable) Name() string

func (*FakeCompilable) NameCallCount

func (fake *FakeCompilable) NameCallCount() int

func (*FakeCompilable) NameReturns

func (fake *FakeCompilable) NameReturns(result1 string)

type FakeDirReader

type FakeDirReader struct {
	ReadStub func(string) (*pkg.Package, error)
	// contains filtered or unexported fields
}

func (*FakeDirReader) Invocations

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

func (*FakeDirReader) Read

func (fake *FakeDirReader) Read(arg1 string) (*pkg.Package, error)

func (*FakeDirReader) ReadArgsForCall

func (fake *FakeDirReader) ReadArgsForCall(i int) string

func (*FakeDirReader) ReadCallCount

func (fake *FakeDirReader) ReadCallCount() int

func (*FakeDirReader) ReadReturns

func (fake *FakeDirReader) ReadReturns(result1 *pkg.Package, result2 error)

Jump to

Keyboard shortcuts

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