MCPcopy
hub / github.com/hashicorp/packer / mockT

Struct mockT

acctest/testing_test.go:45–54  ·  view source on GitHub ↗

mockT implements TestT for testing

Source from the content-addressed store, hash-verified

43
44// mockT implements TestT for testing
45type mockT struct {
46 ErrorCalled bool
47 ErrorArgs []interface{}
48 FatalCalled bool
49 FatalArgs []interface{}
50 SkipCalled bool
51 SkipArgs []interface{}
52
53 f bool
54}
55
56func (t *mockT) Error(args ...interface{}) {
57 t.ErrorCalled = true

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected