MCPcopy
hub / github.com/cloudfoundry/cli / FakePrinter

Struct FakePrinter

cf/trace/tracefakes/fake_printer.go:10–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8)
9
10type FakePrinter struct {
11 PrintStub func(...interface{})
12 printMutex sync.RWMutex
13 printArgsForCall []struct {
14 arg1 []interface{}
15 }
16 PrintfStub func(string, ...interface{})
17 printfMutex sync.RWMutex
18 printfArgsForCall []struct {
19 arg1 string
20 arg2 []interface{}
21 }
22 PrintlnStub func(...interface{})
23 printlnMutex sync.RWMutex
24 printlnArgsForCall []struct {
25 arg1 []interface{}
26 }
27 WritesToConsoleStub func() bool
28 writesToConsoleMutex sync.RWMutex
29 writesToConsoleArgsForCall []struct {
30 }
31 writesToConsoleReturns struct {
32 result1 bool
33 }
34 writesToConsoleReturnsOnCall map[int]struct {
35 result1 bool
36 }
37 invocations map[string][][]interface{}
38 invocationsMutex sync.RWMutex
39}
40
41func (fake *FakePrinter) Print(arg1 ...interface{}) {
42 fake.printMutex.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected