Fabcoin Core  0.16.2
P2P Digital Currency
Macros | Functions
ImportTest.cpp File Reference

Helper class for managing data when running state tests. More...

#include <test/libtesteth/TestHelper.h>
#include <test/libtesteth/ImportTest.h>
#include <test/libtesteth/TestOutputHelper.h>
#include <test/libtesteth/BlockChainHelper.h>
#include <test/libtesteth/Options.h>
#include <test/libtestutils/Common.h>
Include dependency graph for ImportTest.cpp:

Go to the source code of this file.

Macros

#define CHECK(a, b)
 

Functions

void parseJsonStrValueIntoVector (json_spirit::mValue const &_json, vector< string > &_out)
 
void parseJsonIntValueIntoVector (json_spirit::mValue const &_json, vector< int > &_out)
 
template<class T >
bool inArray (vector< T > const &_array, const T _val)
 

Detailed Description

Helper class for managing data when running state tests.

Definition in file ImportTest.cpp.

Macro Definition Documentation

#define CHECK (   a,
  b 
)
Value:
{ \
if (_throw == WhenError::Throw) \
{ \
BOOST_CHECK_MESSAGE(a, b); \
if (!a) \
return 1; \
} \
{ \
BOOST_WARN_MESSAGE(a,b); \
if (!a) \
wasError = true; \
} \
}
if(a.IndicesBefore(b, len, lenIndices))
Definition: equihash.cpp:243
#define a(i)
else
Definition: equihash.cpp:246
#define b(i, j)

Function Documentation

template<class T >
bool inArray ( vector< T > const &  _array,
const T  _val 
)

Definition at line 457 of file ImportTest.cpp.

Here is the caller graph for this function:

void parseJsonIntValueIntoVector ( json_spirit::mValue const &  _json,
vector< int > &  _out 
)

Definition at line 445 of file ImportTest.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void parseJsonStrValueIntoVector ( json_spirit::mValue const &  _json,
vector< string > &  _out 
)

Definition at line 434 of file ImportTest.cpp.

Here is the call graph for this function:

Here is the caller graph for this function: