|
arduino-dataflash
|
Test notification helper. More...
#include <Callbacks.h>
Public Types | |
| typedef void(T::* | TNotifyFailureProc )(char const *, char const *, Infos const &) |
| typedef void(T::* | TNotifyResultProc )(const Result &result) |
Public Member Functions | |
| TestNotification (T *handler, TNotifyFailureProc notifyFailure, TNotifyResultProc notifyResult) | |
| Constructor. | |
| virtual | ~TestNotification () |
| Destructor. | |
| virtual void | NotifyFailure (char const *expected, char const *value, Infos const &infos) |
| Test failure notification. | |
| virtual void | NotifyResult (const Result &result) |
| Tests result notification. | |
Public Member Functions inherited from Dummy::TestNotificationInterface | |
| virtual | ~TestNotificationInterface () |
| Destructor. | |
Protected Attributes | |
| T * | m_handler |
| Handler instance. | |
| TNotifyFailureProc | m_notifyFailure |
| Handler method to be called on failure notification. | |
| TNotifyResultProc | m_notifyResult |
| Handler method to be called on result notification. | |
Test notification helper.
| typedef void(T::* Dummy::TestNotification< T >::TNotifyFailureProc)(char const *, char const *, Infos const &) |
| typedef void(T::* Dummy::TestNotification< T >::TNotifyResultProc)(const Result &result) |
| Dummy::TestNotification< T >::TestNotification | ( | T * | handler, |
| TNotifyFailureProc | notifyFailure, | ||
| TNotifyResultProc | notifyResult | ||
| ) |
Constructor.
|
inlinevirtual |
Destructor.
|
virtual |
Test failure notification.
CHECK failure notification.
| [in] | expected | : expected value string. |
| [in] | value | : tested value string. |
| [in] | infos | : test informations. |
Implements Dummy::TestNotificationInterface.
|
virtual |
Tests result notification.
| [in] | result | : tests result. |
Implements Dummy::TestNotificationInterface.
|
protected |
Handler instance.
|
protected |
Handler method to be called on failure notification.
|
protected |
Handler method to be called on result notification.