Documentation ¶
Index ¶
- type MockBazel
- func (b *MockBazel) AddCQueryResponse(query string, res *analysis.CqueryResult)
- func (b *MockBazel) AddQueryResponse(query string, res *blaze_query.QueryResult)
- func (b *MockBazel) Args() []string
- func (b *MockBazel) AssertActions(t *testing.T, expected [][]string)
- func (b *MockBazel) Build(args ...string) (*bytes.Buffer, error)
- func (b *MockBazel) BuildError(e error)
- func (b *MockBazel) CQuery(args ...string) (*analysis.CqueryResult, error)
- func (b *MockBazel) Cancel()
- func (b *MockBazel) Info() (map[string]string, error)
- func (b *MockBazel) Query(args ...string) (*blaze_query.QueryResult, error)
- func (b *MockBazel) Run(args ...string) (*exec.Cmd, *bytes.Buffer, error)
- func (b *MockBazel) SetArguments(args []string)
- func (b *MockBazel) SetStartupArgs(args []string)
- func (b *MockBazel) Test(args ...string) (*bytes.Buffer, error)
- func (b *MockBazel) Wait() error
- func (b *MockBazel) WaitError(e error)
- func (b *MockBazel) WriteToStderr(v bool)
- func (b *MockBazel) WriteToStdout(v bool)
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) AssertActions ¶
func (*MockBazel) BuildError ¶
func (*MockBazel) CQuery ¶
func (b *MockBazel) CQuery(args ...string) (*analysis.CqueryResult, error)
func (*MockBazel) Query ¶
func (b *MockBazel) Query(args ...string) (*blaze_query.QueryResult, error)
func (*MockBazel) SetArguments ¶
func (*MockBazel) SetStartupArgs ¶
func (*MockBazel) WriteToStderr ¶
func (*MockBazel) WriteToStdout ¶
Click to show internal directories.
Click to hide internal directories.