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

#include <Options.h>

Static Public Member Functions

static Options const & get (int argc=0, char **argv=0)
 Get reference to options The first time used, options are parsed with argc, argv. More...
 

Public Attributes

bool vmtrace = false
 Create EVM execution tracer. More...
 
bool filltests = false
 Create JSON test files from execution results. More...
 
bool fillchain = false
 Fill tests as a blockchain tests if possible. More...
 
bool stats = false
 Execution time and stats for state tests. More...
 
std::string statsOutFile
 Stats output file. "out" for standard output. More...
 
bool exectimelog = false
 Print execution time for each test suite. More...
 
std::string rCheckTest
 Test Input (for random tests) More...
 
std::string rCurrentTestSuite
 Remember test suite before boost overwrite (for random tests) More...
 
bool checkstate = false
 Throw error when checking test states. More...
 
bool fulloutput = false
 Replace large output to just it's length. More...
 
bool createRandomTest = false
 Generate random test. More...
 
Verbosity logVerbosity = Verbosity::NiceReport
 
bool singleTest = false
 Test selection. More...
 
std::string singleTestFile
 
std::string singleTestName
 
std::string singleTestNet
 
int trDataIndex
 GeneralState data. More...
 
int trGasIndex
 GeneralState gas. More...
 
int trValueIndex
 GeneralState value. More...
 
bool performance = false
 
bool nonetwork = false
 For libp2p. More...
 
bool quadratic = false
 Time consuming tests. More...
 
bool memory = false
 
bool inputLimits = false
 
bool bigData = false
 
bool wallet = false
 

Private Member Functions

 Options (int argc=0, char **argv=0)
 
 Options (Options const &)=delete
 

Detailed Description

Definition at line 37 of file Options.h.

Constructor & Destructor Documentation

Options::Options ( int  argc = 0,
char **  argv = 0 
)
private

Definition at line 69 of file Options.cpp.

Here is the call graph for this function:

dev::test::Options::Options ( Options const &  )
privatedelete

Member Function Documentation

Options const & Options::get ( int  argc = 0,
char **  argv = 0 
)
static

Get reference to options The first time used, options are parsed with argc, argv.

Definition at line 203 of file Options.cpp.

Here is the caller graph for this function:

Member Data Documentation

bool dev::test::Options::bigData = false

Definition at line 67 of file Options.h.

bool dev::test::Options::checkstate = false

Throw error when checking test states.

Definition at line 48 of file Options.h.

bool dev::test::Options::createRandomTest = false

Generate random test.

Definition at line 50 of file Options.h.

bool dev::test::Options::exectimelog = false

Print execution time for each test suite.

Definition at line 45 of file Options.h.

bool dev::test::Options::fillchain = false

Fill tests as a blockchain tests if possible.

Definition at line 42 of file Options.h.

bool dev::test::Options::filltests = false

Create JSON test files from execution results.

Definition at line 41 of file Options.h.

bool dev::test::Options::fulloutput = false

Replace large output to just it's length.

Definition at line 49 of file Options.h.

bool dev::test::Options::inputLimits = false

Definition at line 66 of file Options.h.

Verbosity dev::test::Options::logVerbosity = Verbosity::NiceReport

Definition at line 51 of file Options.h.

bool dev::test::Options::memory = false

Definition at line 65 of file Options.h.

bool dev::test::Options::nonetwork = false

For libp2p.

Definition at line 63 of file Options.h.

bool dev::test::Options::performance = false

Definition at line 62 of file Options.h.

bool dev::test::Options::quadratic = false

Time consuming tests.

Definition at line 64 of file Options.h.

std::string dev::test::Options::rCheckTest

Test Input (for random tests)

Definition at line 46 of file Options.h.

std::string dev::test::Options::rCurrentTestSuite

Remember test suite before boost overwrite (for random tests)

Definition at line 47 of file Options.h.

bool dev::test::Options::singleTest = false

Test selection.

Definition at line 55 of file Options.h.

std::string dev::test::Options::singleTestFile

Definition at line 56 of file Options.h.

std::string dev::test::Options::singleTestName

Definition at line 57 of file Options.h.

std::string dev::test::Options::singleTestNet

Definition at line 58 of file Options.h.

bool dev::test::Options::stats = false

Execution time and stats for state tests.

Definition at line 43 of file Options.h.

std::string dev::test::Options::statsOutFile

Stats output file. "out" for standard output.

Definition at line 44 of file Options.h.

int dev::test::Options::trDataIndex

GeneralState data.

Definition at line 59 of file Options.h.

int dev::test::Options::trGasIndex

GeneralState gas.

Definition at line 60 of file Options.h.

int dev::test::Options::trValueIndex

GeneralState value.

Definition at line 61 of file Options.h.

bool dev::test::Options::vmtrace = false

Create EVM execution tracer.

Definition at line 40 of file Options.h.

bool dev::test::Options::wallet = false

Definition at line 68 of file Options.h.


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