OTest2
A C++ testing framework
|
Go to the documentation of this file.
20 #ifndef OTest2_INCLUDE_OTEST2_ASSERTBUFFERBASE_H_
21 #define OTest2_INCLUDE_OTEST2_ASSERTBUFFERBASE_H_
56 const std::string& message_)
override;
60 const std::string& message_)
override;
66 const std::string& message_)
override;
69 const std::string& message_)
override;
71 const Context& context_)
override;
virtual void errorAdditionalMessage(const Context &context_, const std::string &message_) override
Additional error message.
virtual void assertionOpeningMessage(const Context &context_, const AssertBufferAssertData &data_, const std::string &message_) override
First composed message of an assertion.
AssertBufferBase & operator=(const AssertBufferBase &)=delete
An implementation of the assertion buffer keeping messages in a memory buffer.
virtual ~AssertBufferBase()
Dtor.
virtual void assertionAdditionalMessage(const Context &context_, const AssertBufferAssertData &data_, const std::string &message_) override
Additional assertion message.
virtual void assertionClose(const Context &context_, const AssertBufferAssertData &data_) override
Closing of the assertion.
virtual void errorOpeningMessage(const Context &context_, const std::string &message_) override
First composed message of an internal error.
An empty implementation of the assertion buffer.
Listener of the string assertion buffer.
virtual void errorClose(const Context &context_) override
Closing of the internal error.
Common data kept for opened assertion.