Fabcoin Core  0.16.2
P2P Digital Currency
Namespaces | Enumerations | Functions
rlp.cpp File Reference
#include <fstream>
#include <sstream>
#include <libdevcore/Log.h>
#include <libdevcore/RLP.h>
#include <libdevcore/Common.h>
#include <libdevcore/CommonIO.h>
#include <algorithm>
#include <json_spirit/JsonSpiritHeaders.h>
#include <test/libtesteth/TestHelper.h>
#include <boost/filesystem.hpp>
Include dependency graph for rlp.cpp:

Go to the source code of this file.

Namespaces

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

Enumerations

enum  dev::test::RlpType { dev::test::RlpType::Valid, dev::test::RlpType::Invalid, dev::test::RlpType::Test }
 

Functions

void dev::test::buildRLP (js::mValue &_v, RLPStream &_rlp)
 
void dev::test::checkRLPAgainstJson (js::mValue &v, RLP &u)
 
void dev::test::doRlpTests (json_spirit::mValue &v, bool _fillin)
 
void runRlpTest (string _name, string _path)
 
 BOOST_AUTO_TEST_CASE (EmptyArrayList)
 
 BOOST_AUTO_TEST_CASE (invalidRLPtest)
 
 BOOST_AUTO_TEST_CASE (rlptest)
 
 BOOST_AUTO_TEST_CASE (rlpRandom)
 

Detailed Description

Author
Gav Wood i@gav.nosp@m.wood.nosp@m..com
Date
2014 RLP test functions.

Definition in file rlp.cpp.

Function Documentation

BOOST_AUTO_TEST_CASE ( EmptyArrayList  )

Definition at line 266 of file rlp.cpp.

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( invalidRLPtest  )

Definition at line 288 of file rlp.cpp.

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( rlptest  )

Definition at line 293 of file rlp.cpp.

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( rlpRandom  )

Definition at line 298 of file rlp.cpp.

Here is the call graph for this function:

void runRlpTest ( string  _name,
string  _path 
)

Definition at line 237 of file rlp.cpp.

Here is the call graph for this function:

Here is the caller graph for this function: