Class StringBufferOutput¶
Defined in File StringBufferOutput.hpp
Inheritance Relationships¶
Base Type¶
public mu::tiny::test::Output(Class Output)
Class Documentation¶
-
class StringBufferOutput : public mu::tiny::test::Output¶
[source] Captures all output into an in-memory String for later inspection.
Used by TestingFixture to collect the output from a test run so that tests can assert on what was printed.
Public Functions
-
StringBufferOutput(const StringBufferOutput&) = delete¶
-
StringBufferOutput &operator=(const StringBufferOutput&) = delete¶
-
inline virtual void print_buffer(const char *s) override¶
Append
sto the internal output buffer.- Parameters:
s – Null-terminated string to append.
-
StringBufferOutput(const StringBufferOutput&) = delete¶