Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
dev::test::Listener::ExecTimeGuard Class Reference

Test started/finished notification RAII helper. More...

#include <TestHelper.h>

Public Member Functions

 ExecTimeGuard (std::string const &_testName)
 
 ~ExecTimeGuard ()
 
 ExecTimeGuard (ExecTimeGuard const &)=delete
 
ExecTimeGuardoperator= (ExecTimeGuard)=delete
 
void setGasUsed (int64_t _gas)
 

Private Attributes

int64_t m_gasUsed = -1
 

Detailed Description

Test started/finished notification RAII helper.

Definition at line 189 of file TestHelper.h.

Constructor & Destructor Documentation

dev::test::Listener::ExecTimeGuard::ExecTimeGuard ( std::string const &  _testName)
inline

Definition at line 193 of file TestHelper.h.

dev::test::Listener::ExecTimeGuard::~ExecTimeGuard ( )
inline

Definition at line 194 of file TestHelper.h.

dev::test::Listener::ExecTimeGuard::ExecTimeGuard ( ExecTimeGuard const &  )
delete

Member Function Documentation

ExecTimeGuard& dev::test::Listener::ExecTimeGuard::operator= ( ExecTimeGuard  )
delete
void dev::test::Listener::ExecTimeGuard::setGasUsed ( int64_t  _gas)
inline

Definition at line 197 of file TestHelper.h.

Member Data Documentation

int64_t dev::test::Listener::ExecTimeGuard::m_gasUsed = -1
private

Definition at line 191 of file TestHelper.h.


The documentation for this class was generated from the following file: