|
OTest2
A C++ testing framework
|
An empty implementation of the assertion buffer. More...
#include <assertbufferbase.h>


Public Member Functions | |
| AssertBufferBase (const AssertBufferBase &)=delete | |
| AssertBufferBase & | operator= (const AssertBufferBase &)=delete |
| AssertBufferBase () | |
| Ctor. More... | |
| virtual | ~AssertBufferBase () |
| Dtor. More... | |
| virtual void | assertionOpeningMessage (const Context &context_, const AssertBufferAssertData &data_, const std::string &message_) override |
| First composed message of an assertion. More... | |
| virtual void | assertionAdditionalMessage (const Context &context_, const AssertBufferAssertData &data_, const std::string &message_) override |
| Additional assertion message. More... | |
| virtual void | assertionClose (const Context &context_, const AssertBufferAssertData &data_) override |
| Closing of the assertion. More... | |
| virtual void | errorOpeningMessage (const Context &context_, const std::string &message_) override |
| First composed message of an internal error. More... | |
| virtual void | errorAdditionalMessage (const Context &context_, const std::string &message_) override |
| Additional error message. More... | |
| virtual void | errorClose (const Context &context_) override |
| Closing of the internal error. More... | |
Public Member Functions inherited from OTest2::AssertBufferStr | |
| AssertBufferStr (const AssertBufferStr &)=delete | |
| AssertBufferStr & | operator= (const AssertBufferStr &)=delete |
| AssertBufferStr (AssertBufferListener *listener_) | |
| Ctor. More... | |
| virtual | ~AssertBufferStr () |
| Dtor. More... | |
| void | openAssertion (const AssertBufferAssertData &data_) |
| Open an assertion. More... | |
| void | openError () |
| Open an internal error. More... | |
| virtual void | setForeground (Color color_) override |
| Set foreground color. More... | |
| virtual void | setBackground (Color color_) override |
| Set background color. More... | |
| virtual void | setTextStyle (Style style_) override |
| Set style of the shown text. More... | |
| virtual void | resetAttributes () override |
| Reset currently set text attributes. More... | |
| virtual void | commitMessage (const Context &context_) override final |
| Commit (flush) current assertion message. More... | |
| virtual void | commitAssertion (const Context &context_) override final |
| Finish current assertion. More... | |
Public Member Functions inherited from OTest2::AssertBuffer | |
| AssertBuffer (const AssertBuffer &)=delete | |
| AssertBuffer & | operator= (const AssertBuffer &)=delete |
| AssertBuffer () | |
| Ctor. More... | |
| virtual | ~AssertBuffer () |
| Dtor. More... | |
Public Member Functions inherited from OTest2::AssertBufferListener | |
| AssertBufferListener (const AssertBufferListener &)=delete | |
| AssertBufferListener & | operator= (const AssertBufferListener &)=delete |
| AssertBufferListener () | |
| Ctor. More... | |
| virtual | ~AssertBufferListener () |
| Dtor. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from OTest2::AssertBufferStr | |
| virtual int | overflow (int c_) override final |
An empty implementation of the assertion buffer.
This implementation is designated to be a base class for implementing of custom assertion buffers (custom reporters).
Definition at line 33 of file assertbufferbase.h.
|
delete |
| OTest2::AssertBufferBase::AssertBufferBase | ( | ) |
Ctor.
Definition at line 24 of file assertbufferbase.cpp.
|
virtualdefault |
Dtor.
|
overridevirtual |
Additional assertion message.
Implements OTest2::AssertBufferListener.
Definition at line 38 of file assertbufferbase.cpp.
|
overridevirtual |
Closing of the assertion.
Implements OTest2::AssertBufferListener.
Definition at line 45 of file assertbufferbase.cpp.
|
overridevirtual |
First composed message of an assertion.
| context_ | OTest2 context |
| data_ | Data about the assertion |
| message_ | The composed message |
Implements OTest2::AssertBufferListener.
Definition at line 31 of file assertbufferbase.cpp.
|
overridevirtual |
Additional error message.
Implements OTest2::AssertBufferListener.
Definition at line 57 of file assertbufferbase.cpp.
|
overridevirtual |
Closing of the internal error.
Implements OTest2::AssertBufferListener.
Definition at line 63 of file assertbufferbase.cpp.
|
overridevirtual |
First composed message of an internal error.
| context_ | OTest2 context |
| message_ | The composed message |
Implements OTest2::AssertBufferListener.
Definition at line 51 of file assertbufferbase.cpp.
|
delete |
1.8.17