MockMenu

class MockMenu : TextMenu!(shared InputStringStream, shared OutputStringStream, size_t) {}

Constructors

this
this()

Creates a MockMenu with its own input and output streams

this
this(MockMenu mockMenu)

Creates a MockMenu that uses the input and output streams of the passed menu

Members

Functions

mock_writeExitRequest
void mock_writeExitRequest()

Mocks the required writing to select the "exit menu" menu item

mock_writeln
void mock_writeln(string s)

Mocks the writing of a line into the input stream

Meta