|
| 1 | +// Aleth: Ethereum C++ client, tools and libraries. |
| 2 | +// Copyright 2019 Aleth Authors. |
| 3 | +// Licensed under the GNU General Public License, Version 3. |
| 4 | + |
| 5 | +#include <test/tools/jsontests/LegacyTests.h> |
| 6 | +#include <test/tools/libtesteth/TestHelper.h> |
| 7 | +#include <boost/test/unit_test.hpp> |
| 8 | +using namespace dev::test; |
| 9 | + |
| 10 | +BOOST_AUTO_TEST_SUITE(LegacyTests) |
| 11 | +BOOST_AUTO_TEST_SUITE(Constantinople) |
| 12 | +BOOST_FIXTURE_TEST_SUITE(GeneralStateTests, LegacyConstantinopleGeneralStateTestFixture) |
| 13 | +// Frontier Tests |
| 14 | +BOOST_AUTO_TEST_CASE(stCallCodes) {} |
| 15 | +BOOST_AUTO_TEST_CASE(stCallCreateCallCodeTest) {} |
| 16 | +BOOST_AUTO_TEST_CASE(stExample) {} |
| 17 | +BOOST_AUTO_TEST_CASE(stInitCodeTest) {} |
| 18 | +BOOST_AUTO_TEST_CASE(stLogTests) {} |
| 19 | +BOOST_AUTO_TEST_CASE(stMemoryTest) {} |
| 20 | +BOOST_AUTO_TEST_CASE(stPreCompiledContracts) {} |
| 21 | +BOOST_AUTO_TEST_CASE(stPreCompiledContracts2) {} |
| 22 | +BOOST_AUTO_TEST_CASE(stRandom) {} |
| 23 | +BOOST_AUTO_TEST_CASE(stRandom2) {} |
| 24 | +BOOST_AUTO_TEST_CASE(stRecursiveCreate) {} |
| 25 | +BOOST_AUTO_TEST_CASE(stRefundTest) {} |
| 26 | +BOOST_AUTO_TEST_CASE(stSolidityTest) {} |
| 27 | +BOOST_AUTO_TEST_CASE(stSpecialTest) {} |
| 28 | +BOOST_AUTO_TEST_CASE(stSystemOperationsTest) {} |
| 29 | +BOOST_AUTO_TEST_CASE(stTransactionTest) {} |
| 30 | +BOOST_AUTO_TEST_CASE(stTransitionTest) {} |
| 31 | +BOOST_AUTO_TEST_CASE(stWalletTest) {} |
| 32 | + |
| 33 | +// Homestead Tests |
| 34 | +BOOST_AUTO_TEST_CASE(stCallDelegateCodesCallCodeHomestead) {} |
| 35 | +BOOST_AUTO_TEST_CASE(stCallDelegateCodesHomestead) {} |
| 36 | +BOOST_AUTO_TEST_CASE(stHomesteadSpecific) {} |
| 37 | +BOOST_AUTO_TEST_CASE(stDelegatecallTestHomestead) {} |
| 38 | + |
| 39 | +// EIP150 Tests |
| 40 | +BOOST_AUTO_TEST_CASE(stChangedEIP150) {} |
| 41 | +BOOST_AUTO_TEST_CASE(stEIP150singleCodeGasPrices) {} |
| 42 | +BOOST_AUTO_TEST_CASE(stMemExpandingEIP150Calls) {} |
| 43 | +BOOST_AUTO_TEST_CASE(stEIP150Specific) {} |
| 44 | + |
| 45 | +// EIP158 Tests |
| 46 | +BOOST_AUTO_TEST_CASE(stEIP158Specific) {} |
| 47 | +BOOST_AUTO_TEST_CASE(stNonZeroCallsTest) {} |
| 48 | +BOOST_AUTO_TEST_CASE(stZeroCallsTest) {} |
| 49 | +BOOST_AUTO_TEST_CASE(stZeroCallsRevert) {} |
| 50 | +BOOST_AUTO_TEST_CASE(stCodeSizeLimit) {} |
| 51 | +BOOST_AUTO_TEST_CASE(stCreateTest) {} |
| 52 | +BOOST_AUTO_TEST_CASE(stRevertTest) {} |
| 53 | + |
| 54 | +// Metropolis Tests |
| 55 | +BOOST_AUTO_TEST_CASE(stStackTests) {} |
| 56 | +BOOST_AUTO_TEST_CASE(stStaticCall) {} |
| 57 | +BOOST_AUTO_TEST_CASE(stReturnDataTest) {} |
| 58 | +BOOST_AUTO_TEST_CASE(stZeroKnowledge) {} |
| 59 | +BOOST_AUTO_TEST_CASE(stZeroKnowledge2) {} |
| 60 | +BOOST_AUTO_TEST_CASE(stCodeCopyTest) {} |
| 61 | +BOOST_AUTO_TEST_CASE(stBugs) {} |
| 62 | + |
| 63 | +// Constantinople Tests |
| 64 | +BOOST_AUTO_TEST_CASE(stShift) {} |
| 65 | +BOOST_AUTO_TEST_CASE(stCreate2) {} |
| 66 | +BOOST_AUTO_TEST_CASE(stExtCodeHash) {} |
| 67 | +BOOST_AUTO_TEST_CASE(stSStoreTest) {} |
| 68 | + |
| 69 | +// Stress Tests |
| 70 | +BOOST_AUTO_TEST_CASE(stAttackTest) {} |
| 71 | +BOOST_AUTO_TEST_CASE(stMemoryStressTest) {} |
| 72 | +BOOST_AUTO_TEST_CASE(stQuadraticComplexityTest) {} |
| 73 | + |
| 74 | +// Invalid Opcode Tests |
| 75 | +BOOST_AUTO_TEST_CASE(stBadOpcode) {} |
| 76 | + |
| 77 | +// New Tests |
| 78 | +BOOST_AUTO_TEST_CASE(stArgsZeroOneBalance) {} |
| 79 | +BOOST_AUTO_TEST_CASE(stEWASMTests) {} |
| 80 | +BOOST_AUTO_TEST_CASE(stTimeConsuming) {} |
| 81 | +BOOST_AUTO_TEST_SUITE_END() // GeneralStateTests Constantinople Legacy |
| 82 | + |
| 83 | +BOOST_FIXTURE_TEST_SUITE(BCGeneralStateTests, LegacyConstantinopleBCGeneralStateTestFixture) |
| 84 | +// Frontier Tests |
| 85 | +BOOST_AUTO_TEST_CASE(stCallCodes) {} |
| 86 | +BOOST_AUTO_TEST_CASE(stCallCreateCallCodeTest) {} |
| 87 | +BOOST_AUTO_TEST_CASE(stExample) {} |
| 88 | +BOOST_AUTO_TEST_CASE(stInitCodeTest) {} |
| 89 | +BOOST_AUTO_TEST_CASE(stLogTests) {} |
| 90 | +BOOST_AUTO_TEST_CASE(stMemoryTest) {} |
| 91 | +BOOST_AUTO_TEST_CASE(stPreCompiledContracts) {} |
| 92 | +BOOST_AUTO_TEST_CASE(stPreCompiledContracts2) {} |
| 93 | +BOOST_AUTO_TEST_CASE(stRandom) {} |
| 94 | +BOOST_AUTO_TEST_CASE(stRandom2) {} |
| 95 | +BOOST_AUTO_TEST_CASE(stRecursiveCreate) {} |
| 96 | +BOOST_AUTO_TEST_CASE(stRefundTest) {} |
| 97 | +BOOST_AUTO_TEST_CASE(stSolidityTest) {} |
| 98 | +BOOST_AUTO_TEST_CASE(stSpecialTest) {} |
| 99 | +BOOST_AUTO_TEST_CASE(stSystemOperationsTest) {} |
| 100 | +BOOST_AUTO_TEST_CASE(stTransactionTest) {} |
| 101 | +BOOST_AUTO_TEST_CASE(stTransitionTest) {} |
| 102 | +BOOST_AUTO_TEST_CASE(stWalletTest) {} |
| 103 | + |
| 104 | +// Homestead Tests |
| 105 | +BOOST_AUTO_TEST_CASE(stCallDelegateCodesCallCodeHomestead) {} |
| 106 | +BOOST_AUTO_TEST_CASE(stCallDelegateCodesHomestead) {} |
| 107 | +BOOST_AUTO_TEST_CASE(stHomesteadSpecific) {} |
| 108 | +BOOST_AUTO_TEST_CASE(stDelegatecallTestHomestead) {} |
| 109 | + |
| 110 | +// EIP150 Tests |
| 111 | +BOOST_AUTO_TEST_CASE(stChangedEIP150) {} |
| 112 | +BOOST_AUTO_TEST_CASE(stEIP150singleCodeGasPrices) {} |
| 113 | +BOOST_AUTO_TEST_CASE(stMemExpandingEIP150Calls) {} |
| 114 | +BOOST_AUTO_TEST_CASE(stEIP150Specific) {} |
| 115 | + |
| 116 | +// EIP158 Tests |
| 117 | +BOOST_AUTO_TEST_CASE(stEIP158Specific) {} |
| 118 | +BOOST_AUTO_TEST_CASE(stNonZeroCallsTest) {} |
| 119 | +BOOST_AUTO_TEST_CASE(stZeroCallsTest) {} |
| 120 | +BOOST_AUTO_TEST_CASE(stZeroCallsRevert) {} |
| 121 | +BOOST_AUTO_TEST_CASE(stCodeSizeLimit) {} |
| 122 | +BOOST_AUTO_TEST_CASE(stCreateTest) {} |
| 123 | +BOOST_AUTO_TEST_CASE(stRevertTest) {} |
| 124 | + |
| 125 | +// Metropolis Tests |
| 126 | +BOOST_AUTO_TEST_CASE(stStackTests) {} |
| 127 | +BOOST_AUTO_TEST_CASE(stStaticCall) {} |
| 128 | +BOOST_AUTO_TEST_CASE(stReturnDataTest) {} |
| 129 | +BOOST_AUTO_TEST_CASE(stZeroKnowledge) {} |
| 130 | +BOOST_AUTO_TEST_CASE(stZeroKnowledge2) {} |
| 131 | +BOOST_AUTO_TEST_CASE(stCodeCopyTest) {} |
| 132 | +BOOST_AUTO_TEST_CASE(stBugs) {} |
| 133 | + |
| 134 | +// Constantinople Tests |
| 135 | +BOOST_AUTO_TEST_CASE(stShift) {} |
| 136 | +BOOST_AUTO_TEST_CASE(stCreate2) {} |
| 137 | +BOOST_AUTO_TEST_CASE(stExtCodeHash) {} |
| 138 | +BOOST_AUTO_TEST_CASE(stSStoreTest) {} |
| 139 | + |
| 140 | +// Stress Tests |
| 141 | +BOOST_AUTO_TEST_CASE(stAttackTest) {} |
| 142 | +BOOST_AUTO_TEST_CASE(stMemoryStressTest) {} |
| 143 | +BOOST_AUTO_TEST_CASE(stQuadraticComplexityTest) {} |
| 144 | + |
| 145 | +// Bad opcodes test |
| 146 | +BOOST_AUTO_TEST_CASE(stBadOpcode) {} |
| 147 | + |
| 148 | +// New Tests |
| 149 | +BOOST_AUTO_TEST_CASE(stArgsZeroOneBalance) {} |
| 150 | +BOOST_AUTO_TEST_CASE(stTimeConsuming) {} |
| 151 | +BOOST_AUTO_TEST_SUITE_END() // BCGeneralStateTests Constantinople Legacy |
| 152 | + |
| 153 | +BOOST_AUTO_TEST_SUITE_END() // Constantinople |
| 154 | +BOOST_AUTO_TEST_SUITE_END() // LegacyTests |
0 commit comments