Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeDisplay ¶
type FakeDisplay struct {
// contains filtered or unexported fields
}
FakeDisplay is a fake display for test.
func NewFakeDisplay ¶
func NewFakeDisplay(t *testing.T) *FakeDisplay
NewFakeDisplay creates a new FakeDisplay instance.
func (*FakeDisplay) Exit ¶
func (f *FakeDisplay) Exit(msg string, err error)
Exit exits the application after displaying a message and an error.
func (*FakeDisplay) ExitWithHelp ¶
func (f *FakeDisplay) ExitWithHelp(msg, help string)
ExitWithHelp exits the application with a help message.
func (*FakeDisplay) Println ¶
func (f *FakeDisplay) Println(args ...interface{})
Println prints the arguments to the output.
func (*FakeDisplay) QueueContainsAssertion ¶
func (f *FakeDisplay) QueueContainsAssertion(contains string)
QueueContainsAssertion queues an assertion for later execution.
func (*FakeDisplay) String ¶
func (f *FakeDisplay) String() string
String returns the output as a string.
Click to show internal directories.
Click to hide internal directories.