Fabcoin Core  0.16.2
P2P Digital Currency
Classes | Namespaces | Functions
StateTests.cpp File Reference
#include <boost/filesystem/operations.hpp>
#include <boost/test/unit_test.hpp>
#include <json_spirit/JsonSpiritHeaders.h>
#include <libdevcore/CommonIO.h>
#include <libethereum/BlockChain.h>
#include <libethereum/State.h>
#include <libethereum/ExtVM.h>
#include <libethereum/Defaults.h>
#include <libevm/VM.h>
#include <test/libtesteth/TestHelper.h>
Include dependency graph for StateTests.cpp:

Go to the source code of this file.

Classes

class  generaltestfixture
 

Namespaces

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

Functions

void dev::test::doStateTests (json_spirit::mValue &_v, bool _fillin)
 
 BOOST_AUTO_TEST_CASE (stBlockHashTest)
 
 BOOST_AUTO_TEST_CASE (stBoundsTest)
 
 BOOST_AUTO_TEST_CASE (stCallCodes)
 
 BOOST_AUTO_TEST_CASE (stCallCreateCallCodeTest)
 
 BOOST_AUTO_TEST_CASE (stExample)
 
 BOOST_AUTO_TEST_CASE (stInitCodeTest)
 
 BOOST_AUTO_TEST_CASE (stLogTests)
 
 BOOST_AUTO_TEST_CASE (stMemoryTest)
 
 BOOST_AUTO_TEST_CASE (stPreCompiledContracts)
 
 BOOST_AUTO_TEST_CASE (stRandom)
 
 BOOST_AUTO_TEST_CASE (stRecursiveCreate)
 
 BOOST_AUTO_TEST_CASE (stRefundTest)
 
 BOOST_AUTO_TEST_CASE (stSolidityTest)
 
 BOOST_AUTO_TEST_CASE (stSpecialTest)
 
 BOOST_AUTO_TEST_CASE (stSystemOperationsTest)
 
 BOOST_AUTO_TEST_CASE (stTransactionTest)
 
 BOOST_AUTO_TEST_CASE (stTransitionTest)
 
 BOOST_AUTO_TEST_CASE (stWalletTest)
 
 BOOST_AUTO_TEST_CASE (stCallDelegateCodesCallCodeHomestead)
 
 BOOST_AUTO_TEST_CASE (stCallDelegateCodesHomestead)
 
 BOOST_AUTO_TEST_CASE (stHomesteadSpecific)
 
 BOOST_AUTO_TEST_CASE (stDelegatecallTestHomestead)
 
 BOOST_AUTO_TEST_CASE (stChangedEIP150)
 
 BOOST_AUTO_TEST_CASE (stEIP150singleCodeGasPrices)
 
 BOOST_AUTO_TEST_CASE (stMemExpandingEIP150Calls)
 
 BOOST_AUTO_TEST_CASE (stEIP150Specific)
 
 BOOST_AUTO_TEST_CASE (stEIP158Specific)
 
 BOOST_AUTO_TEST_CASE (stNonZeroCallsTest)
 
 BOOST_AUTO_TEST_CASE (stZeroCallsTest)
 
 BOOST_AUTO_TEST_CASE (stZeroCallsRevert)
 
 BOOST_AUTO_TEST_CASE (stCodeSizeLimit)
 
 BOOST_AUTO_TEST_CASE (stCreateTest)
 
 BOOST_AUTO_TEST_CASE (stRevertTest)
 
 BOOST_AUTO_TEST_CASE (stStackTests)
 
 BOOST_AUTO_TEST_CASE (stAttackTest)
 
 BOOST_AUTO_TEST_CASE (stMemoryStressTest)
 
 BOOST_AUTO_TEST_CASE (stQuadraticComplexityTest)
 

Detailed Description

Author
Dimitry Khokhlov dimit.nosp@m.ry@e.nosp@m.there.nosp@m.um.o.nosp@m.rg
Date
2016 State test functions.

Definition in file StateTests.cpp.

Function Documentation

BOOST_AUTO_TEST_CASE ( stBlockHashTest  )

Definition at line 140 of file StateTests.cpp.

BOOST_AUTO_TEST_CASE ( stBoundsTest  )

Definition at line 141 of file StateTests.cpp.

BOOST_AUTO_TEST_CASE ( stCallCodes  )

Definition at line 142 of file StateTests.cpp.

BOOST_AUTO_TEST_CASE ( stCallCreateCallCodeTest  )

Definition at line 143 of file StateTests.cpp.

BOOST_AUTO_TEST_CASE ( stExample  )

Definition at line 144 of file StateTests.cpp.

BOOST_AUTO_TEST_CASE ( stInitCodeTest  )

Definition at line 145 of file StateTests.cpp.

BOOST_AUTO_TEST_CASE ( stLogTests  )

Definition at line 146 of file StateTests.cpp.

BOOST_AUTO_TEST_CASE ( stMemoryTest  )

Definition at line 147 of file StateTests.cpp.

BOOST_AUTO_TEST_CASE ( stPreCompiledContracts  )

Definition at line 148 of file StateTests.cpp.

BOOST_AUTO_TEST_CASE ( stRandom  )

Definition at line 149 of file StateTests.cpp.

BOOST_AUTO_TEST_CASE ( stRecursiveCreate  )

Definition at line 150 of file StateTests.cpp.

BOOST_AUTO_TEST_CASE ( stRefundTest  )

Definition at line 151 of file StateTests.cpp.

BOOST_AUTO_TEST_CASE ( stSolidityTest  )

Definition at line 152 of file StateTests.cpp.

BOOST_AUTO_TEST_CASE ( stSpecialTest  )

Definition at line 153 of file StateTests.cpp.

BOOST_AUTO_TEST_CASE ( stSystemOperationsTest  )

Definition at line 154 of file StateTests.cpp.

BOOST_AUTO_TEST_CASE ( stTransactionTest  )

Definition at line 155 of file StateTests.cpp.

BOOST_AUTO_TEST_CASE ( stTransitionTest  )

Definition at line 156 of file StateTests.cpp.

BOOST_AUTO_TEST_CASE ( stWalletTest  )

Definition at line 157 of file StateTests.cpp.

BOOST_AUTO_TEST_CASE ( stCallDelegateCodesCallCodeHomestead  )

Definition at line 160 of file StateTests.cpp.

BOOST_AUTO_TEST_CASE ( stCallDelegateCodesHomestead  )

Definition at line 161 of file StateTests.cpp.

BOOST_AUTO_TEST_CASE ( stHomesteadSpecific  )

Definition at line 162 of file StateTests.cpp.

BOOST_AUTO_TEST_CASE ( stDelegatecallTestHomestead  )

Definition at line 163 of file StateTests.cpp.

BOOST_AUTO_TEST_CASE ( stChangedEIP150  )

Definition at line 166 of file StateTests.cpp.

BOOST_AUTO_TEST_CASE ( stEIP150singleCodeGasPrices  )

Definition at line 167 of file StateTests.cpp.

BOOST_AUTO_TEST_CASE ( stMemExpandingEIP150Calls  )

Definition at line 168 of file StateTests.cpp.

BOOST_AUTO_TEST_CASE ( stEIP150Specific  )

Definition at line 169 of file StateTests.cpp.

BOOST_AUTO_TEST_CASE ( stEIP158Specific  )

Definition at line 172 of file StateTests.cpp.

BOOST_AUTO_TEST_CASE ( stNonZeroCallsTest  )

Definition at line 173 of file StateTests.cpp.

BOOST_AUTO_TEST_CASE ( stZeroCallsTest  )

Definition at line 174 of file StateTests.cpp.

BOOST_AUTO_TEST_CASE ( stZeroCallsRevert  )

Definition at line 175 of file StateTests.cpp.

BOOST_AUTO_TEST_CASE ( stCodeSizeLimit  )

Definition at line 176 of file StateTests.cpp.

BOOST_AUTO_TEST_CASE ( stCreateTest  )

Definition at line 177 of file StateTests.cpp.

BOOST_AUTO_TEST_CASE ( stRevertTest  )

Definition at line 178 of file StateTests.cpp.

BOOST_AUTO_TEST_CASE ( stStackTests  )

Definition at line 181 of file StateTests.cpp.

BOOST_AUTO_TEST_CASE ( stAttackTest  )

Definition at line 184 of file StateTests.cpp.

BOOST_AUTO_TEST_CASE ( stMemoryStressTest  )

Definition at line 185 of file StateTests.cpp.

BOOST_AUTO_TEST_CASE ( stQuadraticComplexityTest  )

Definition at line 186 of file StateTests.cpp.