Fabcoin Core
0.16.2
P2P Digital Currency
|
Allows observing test execution process. More...
#include <TestHelper.h>
Classes | |
class | ExecTimeGuard |
Test started/finished notification RAII helper. More... | |
Public Member Functions | |
virtual | ~Listener ()=default |
virtual void | suiteStarted (std::string const &) |
virtual void | testStarted (std::string const &_name)=0 |
virtual void | testFinished (int64_t _gasUsed)=0 |
Static Public Member Functions | |
static void | registerListener (Listener &_listener) |
static void | notifySuiteStarted (std::string const &_name) |
static void | notifyTestStarted (std::string const &_name) |
static void | notifyTestFinished (int64_t _gasUsed) |
Allows observing test execution process.
This class also provides methods for registering and notifying the listener
Definition at line 174 of file TestHelper.h.
|
virtualdefault |
|
static |
Definition at line 592 of file TestHelper.cpp.
|
static |
Definition at line 604 of file TestHelper.cpp.
|
static |
Definition at line 598 of file TestHelper.cpp.
|
static |
Definition at line 587 of file TestHelper.cpp.
|
inlinevirtual |
Reimplemented in dev::test::Stats.
Definition at line 179 of file TestHelper.h.
|
pure virtual |
Implemented in dev::test::Stats.
|
pure virtual |
Implemented in dev::test::Stats.