Fabcoin Core  0.16.2
P2P Digital Currency
Classes | Namespaces | Macros
TestUtils.h File Reference
#include <functional>
#include <string>
#include <json/json.h>
#include <libdevcore/TransientDirectory.h>
#include <libethereum/BlockChain.h>
#include <libethereum/ClientBase.h>
Include dependency graph for TestUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  dev::test::LoadTestFileFixture
 
struct  dev::test::ParallelFixture
 
struct  dev::test::BlockChainFixture
 
struct  dev::test::ClientBaseFixture
 
struct  dev::test::ParallelClientBaseFixture
 
struct  dev::test::JsonRpcFixture
 

Namespaces

 dev
 Adapted from code found on http://stackoverflow.com/questions/180947/base64-decode-snippet-in-c Originally by RenĂ© Nyffenegger.
 
 dev::test
 

Macros

#define ETH_CHECK_EQUAL(x, y)   { dev::WriteGuard(x_boostTest); BOOST_CHECK_EQUAL(x, y); }
 
#define ETH_CHECK_EQUAL_COLLECTIONS(xb, xe, yb, ye)   { dev::WriteGuard(x_boostTest); BOOST_CHECK_EQUAL_COLLECTIONS(xb, xe, yb, ye); }
 
#define ETH_REQUIRE(x)   { dev::WriteGuard(x_boostTest); BOOST_REQUIRE(x); }
 

Macro Definition Documentation

#define ETH_CHECK_EQUAL (   x,
 
)    { dev::WriteGuard(x_boostTest); BOOST_CHECK_EQUAL(x, y); }

Definition at line 36 of file TestUtils.h.

#define ETH_CHECK_EQUAL_COLLECTIONS (   xb,
  xe,
  yb,
  ye 
)    { dev::WriteGuard(x_boostTest); BOOST_CHECK_EQUAL_COLLECTIONS(xb, xe, yb, ye); }

Definition at line 37 of file TestUtils.h.

#define ETH_REQUIRE (   x)    { dev::WriteGuard(x_boostTest); BOOST_REQUIRE(x); }

Definition at line 38 of file TestUtils.h.