OTest2
A C++ testing framework
|
Go to the documentation of this file.
20 #ifndef OTest2_INCLUDE_OTEST2_ASSERTBUFFER_H_
21 #define OTest2_INCLUDE_OTEST2_ASSERTBUFFER_H_
Style
Style of shown text.
virtual void commitMessage(const Context &context_)=0
Commit (flush) current assertion message.
virtual void resetAttributes()=0
Reset currently set text attributes.
virtual void setTextStyle(Style style_)=0
Set style of the shown text.
virtual void setBackground(Color color_)=0
Set background color.
virtual ~AssertBuffer()
Dtor.
Color
List of colors supported by the reporters.
Streambuffer interface used in the assertion API.
AssertBuffer & operator=(const AssertBuffer &)=delete
virtual void setForeground(Color color_)=0
Set foreground color.
virtual void commitAssertion(const Context &context_)=0
Finish current assertion.