testing

package
v0.25.2 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBazel

type MockBazel struct {
	// contains filtered or unexported fields
}

func (*MockBazel) AddCQueryResponse

func (b *MockBazel) AddCQueryResponse(query string, res *analysis.CqueryResult)

func (*MockBazel) AddQueryResponse

func (b *MockBazel) AddQueryResponse(query string, res *blaze_query.QueryResult)

func (*MockBazel) Args

func (b *MockBazel) Args() []string

func (*MockBazel) AssertActions

func (b *MockBazel) AssertActions(t *testing.T, expected [][]string)

func (*MockBazel) Build

func (b *MockBazel) Build(args ...string) (*bytes.Buffer, error)

func (*MockBazel) BuildError

func (b *MockBazel) BuildError(e error)

func (*MockBazel) CQuery

func (b *MockBazel) CQuery(args ...string) (*analysis.CqueryResult, error)

func (*MockBazel) Cancel

func (b *MockBazel) Cancel()

func (*MockBazel) Info

func (b *MockBazel) Info() (map[string]string, error)

func (*MockBazel) Query

func (b *MockBazel) Query(args ...string) (*blaze_query.QueryResult, error)

func (*MockBazel) Run

func (b *MockBazel) Run(args ...string) (*exec.Cmd, *bytes.Buffer, error)

func (*MockBazel) SetArguments

func (b *MockBazel) SetArguments(args []string)

func (*MockBazel) SetStartupArgs

func (b *MockBazel) SetStartupArgs(args []string)

func (*MockBazel) Test

func (b *MockBazel) Test(args ...string) (*bytes.Buffer, error)

func (*MockBazel) Wait

func (b *MockBazel) Wait() error

func (*MockBazel) WaitError

func (b *MockBazel) WaitError(e error)

func (*MockBazel) WriteToStderr

func (b *MockBazel) WriteToStderr(v bool)

func (*MockBazel) WriteToStdout

func (b *MockBazel) WriteToStdout(v bool)

Jump to

Keyboard shortcuts

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