![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
BOOST_CHECK_EXCEPTION predicates to check the specific validation error. More...
#include <test_pivx.h>
Public Member Functions | |
| HasReason (const std::string &reason) | |
| bool | operator() (const std::exception &e) const |
Private Attributes | |
| const std::string | m_reason |
BOOST_CHECK_EXCEPTION predicates to check the specific validation error.
Use as BOOST_CHECK_EXCEPTION(code that throws, exception type, HasReason("foo"));
Definition at line 168 of file test_pivx.h.
|
inlineexplicit |
Definition at line 171 of file test_pivx.h.
|
inline |
Definition at line 172 of file test_pivx.h.
|
private |
Definition at line 178 of file test_pivx.h.