aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/SolidityEndToEndTest.cpp
Commit message (Expand)AuthorAgeFilesLines
* Updates compiled unit tests to new constructor syntax.Erik Kundt2018-06-291-89/+89
* Fallback function has to be external: backwards-compatible changes.chriseth2018-06-291-21/+21
* Merge pull request #4097 from ethereum/noPackedExceptForPackedchriseth2018-06-281-50/+44
|\
| * Adjust tests.chriseth2018-06-251-42/+40
| * Forwarding length check.chriseth2018-06-251-8/+4
* | Add emit keyword to tests.chriseth2018-06-271-90/+16
|/
* Update tests for strict address literalsJason Cobb2018-06-251-2/+2
* C99 scoping rules by defaultLeonardo Alt2018-06-201-1/+1
* Disallow raw callcode (was deprecated in 0.4.12)Alex Beregszaszi2018-06-201-36/+0
* Enforce disallowing empty structsChristian Parpart2018-06-141-3/+0
* Properly pad data from calldata.chriseth2018-06-131-3/+5
* Disallow sha3/suicide aliasesAlex Beregszaszi2018-06-131-59/+2
* Additional test and more explanation.Daniel Kirchner2018-06-121-0/+33
* Use proper SAR for signed right shifts and emulate on pre-constantinople.Daniel Kirchner2018-06-121-57/+115
* Merge pull request #4213 from ethereum/fixpopchriseth2018-06-041-0/+34
|\
| * Add test for pop on the stack.chriseth2018-05-311-0/+34
* | Remove sha3/suicide from assembly testsJason Cobb2018-06-041-20/+5
|/
* Fixes assembly bug and adds tests to cover it.Erik Kundt2018-05-301-23/+45
* Improves assembly and adds more tests.Erik Kundt2018-05-301-1/+124
* Implements pop() for byte arrays.Erik Kundt2018-05-291-6/+81
* Implements pop() for value type arrays.bitshift2018-05-291-0/+66
* Merge pull request #4067 from ethereum/050chriseth2018-05-241-21/+42
|\
| * Fix continue inside do-while.Daniel Kirchner2018-05-171-0/+21
| * Adjust tests.Daniel Kirchner2018-05-171-21/+21
* | Tidy up tests to always have closing braces on the proper lineAlex Beregszaszi2018-05-161-19/+38
|/
* Add test for forwarding length check.chriseth2018-05-161-0/+45
* Add tests for multi variable declaration statement.chriseth2018-05-161-0/+27
* Merge pull request #4062 from ethereum/revert-variablechriseth2018-05-151-0/+40
|\
| * Fix revert with reason coming from a string variableAlex Beregszaszi2018-05-091-0/+40
* | Remove "view"'s in end-to-end tests that will result in errors in 0.5.0.Daniel Kirchner2018-05-111-7/+7
* | Replace constant with view in the tests.Daniel Kirchner2018-05-091-3/+3
|/
* Add more tests for right shifts.Daniel Kirchner2018-05-091-0/+157
* Remove unnecessary masking of the result of known short instructionsAlex Beregszaszi2018-04-201-0/+20
* Merge pull request #3868 from ethereum/bytescleanupchriseth2018-04-161-0/+23
|\
| * Tests for bytes cleanup.chriseth2018-04-161-0/+23
* | Limits rational numbers to 4096 bits.Erik Kundt2018-04-161-0/+23
|/
* Merge pull request #3364 from ethereum/revertWithReasonchriseth2018-04-131-0/+208
|\
| * Use error signature for revert data.chriseth2018-04-121-9/+14
| * Adjust expectations in case of homestead VM.chriseth2018-04-121-11/+16
| * Tests about error bubbling for create and transfer.chriseth2018-04-121-2/+70
| * Bubble up error messages.chriseth2018-04-121-0/+37
| * Allow error string for ``require``.chriseth2018-04-121-0/+56
| * Tests for revert with reason string.chriseth2018-04-121-0/+37
* | Merge pull request #2980 from ethereum/abi-apichriseth2018-04-131-0/+357
|\ \ | |/ |/|
| * Allow struct encoding with new encoder.chriseth2018-04-121-0/+106
| * Tests.chriseth2018-04-121-39/+182
| * Add abi.encode, abi.encodePacked, abi.encodeWithSelector and abi.encodeWithSi...Alex Beregszaszi2018-04-121-0/+108
* | Error on invalid arithmetic with constant expressions.Daniel Kirchner2018-04-121-6/+6
|/
* Merge pull request #3580 from ethereum/asm-bitshift-optimchriseth2018-04-111-0/+129
|\
| * Add end to end tests for SHL/SHR/SAR instructions (constantinople only)Alex Beregszaszi2018-04-101-0/+129
* | Error on duplicated super constructor callsFederico Bond2018-04-091-4/+4
|/
* Merge pull request #3822 from ethereum/swap-comparisonchriseth2018-04-051-0/+44
|\
| * Add end-to-end test for SwapComparison and CommutativeSwap peephole optimisersAlex Beregszaszi2018-04-051-0/+44
* | More specific push implementation.chriseth2018-04-041-0/+65
|/
* Create empty dynamic memory arrays more efficiently.chriseth2018-04-041-1/+35
* Add memory array init test.chriseth2018-04-031-0/+26
* Optimize across MLOAD if MSIZE is not used.chriseth2018-04-031-1/+22
* Prevent encoding of weird types and support packed encoding of external funct...chriseth2018-03-291-0/+25
* Changes deprecation and adjusts tests.bitshift2018-03-271-24/+7
* Adds unit tests for moved function.bitshift2018-03-271-0/+29
* Merge branch 'develop' into externalFunctionsInLibrarieschriseth2018-03-151-1/+70
|\
| * Merge pull request #3734 from ethereum/soltestOptionschriseth2018-03-151-1/+1
| |\
| | * test: Rename test/TestHelper.* to test/Options.* and add Options::validate().Daniel Kirchner2018-03-141-1/+1
| * | Merge pull request #3725 from ethereum/blockhashNoCallchriseth2018-03-151-0/+17
| |\ \
| | * | Allow ``block.blockhash`` without being called.chriseth2018-03-141-0/+17
| | |/
| * / Tests.chriseth2018-03-131-0/+52
| |/
* / Make external library functions accessible.chriseth2018-03-141-0/+15
|/
* Test for using staticcall for view and pure functions.chriseth2018-03-061-4/+56
* Improved gasleft tests.Daniel Kirchner2018-03-061-0/+12
* Remove unstable test case.Daniel Kirchner2018-03-051-19/+0
* Move msg.gas to global function gasleft(). Closes #2971.Daniel Kirchner2018-03-051-0/+19
* Some more scoping tests.chriseth2018-02-271-0/+28
* Only active variables at the point of their declaration.chriseth2018-02-271-0/+20
* Introduce emit statement.chriseth2018-02-221-0/+97
* Provide proper input for test call.chriseth2018-02-211-2/+2
* Make addmod and mulmod revert if the last argument is zero.chriseth2018-02-151-0/+27
* Add tests for selectors for public variables.chriseth2018-02-131-3/+8
* Prevent libraries from being called.chriseth2018-01-191-0/+33
* Merge pull request #3183 from federicobond/fix-event-parsingYoichi Hirai2017-12-121-3/+3
|\
| * Fix event parsing. Refs #3175Federico Bond2017-11-231-3/+3
* | If statement for Iulia / inline assembly.chriseth2017-11-221-0/+18
* | Allow constant integer variables as array lengths.Balajiganapathi S2017-11-221-0/+18
|/
* Do not accept truncated function selectors.chriseth2017-10-181-0/+19
* Allocate one byte per memory byte array element instead of 32.chriseth2017-10-171-0/+24
* Snarks test using Byzantium precompilesAlex Beregszaszi2017-10-091-0/+301
* Fix overload resolution when conflict is with members of address (balance, tr...Alex Beregszaszi2017-09-281-0/+25
* Fix other test to use ABI_CHECKAlex Beregszaszi2017-09-271-23/+25
* Fix encoded EndToEnd inputs.chriseth2017-09-261-7/+7
* Improved error messages for EndToEnd tests.chriseth2017-09-251-823/+847
* Support multiple assignment in inline assemblyAlex Beregszaszi2017-09-201-0/+25
* Add tests for constant bytes/stringsAlex Beregszaszi2017-09-191-0/+24
* Implement struct encoder.chriseth2017-09-161-44/+0
* Fix tests.chriseth2017-09-161-0/+1
* Expect test to fail until implemented.chriseth2017-09-161-1/+4
* Update tests and error messages.chriseth2017-09-161-4/+4
* Allow structs as part of function interfaces.chriseth2017-09-161-0/+41
* Merge pull request #2473 from ethereum/functiontype-sigAlex Beregszaszi2017-09-141-0/+24
|\
| * Use hashing function in testsAlex Beregszaszi2017-09-131-3/+3
| * Rename .sig to .selector on function typesAlex Beregszaszi2017-09-131-3/+3
| * Add tests for function type sigsAlex Beregszaszi2017-09-131-0/+24
* | Fix testschriseth2017-09-061-1/+1
* | Change tests to use view or pure as appropriateAlex Beregszaszi2017-09-061-15/+15
|/
* ABI encoder tests.chriseth2017-08-141-2/+19
* Some more ABI tests.chriseth2017-08-101-0/+94
* Merge pull request #2673 from ethereum/builtin-gaschriseth2017-08-041-15/+0
|\
| * Disallow gas modifier on sha255/ripemd160/ecrecoverAlex Beregszaszi2017-08-021-15/+0
* | Add test for call/callcode/delegatecall to invalid addressAlex Beregszaszi2017-08-021-0/+22
* | .delegatecall() should always return a boolean of execution statusAlex Beregszaszi2017-08-021-0/+36
|/
* Add test for tight packing keccak256/sha256/ripemd160Alex Beregszaszi2017-08-011-0/+81
* Use keccak256 instead of sha3chriseth2017-07-281-1/+1
* Test case for invalid ecrecover call.chriseth2017-07-281-0/+47
* Re-allow multiple modifiers per function.chriseth2017-07-271-0/+28
* Add end-to-end testAlex Beregszaszi2017-07-131-0/+18
* Merge pull request #2501 from ethereum/undef-macroschriseth2017-07-121-1/+1
|\
| * Move UndefMacros from libdevcore to libsolidity/parsingAlex Beregszaszi2017-07-021-1/+1
* | Test for internal "variable already present" error.chriseth2017-07-051-0/+27
|/
* test: add a test passing an invalid boolean value as an event argumentYoichi Hirai2017-07-011-0/+15
* test: add an assertion about storing an invalid boolean into the memoryYoichi Hirai2017-07-011-0/+8
* test: add a test about storing an invalid booleanYoichi Hirai2017-07-011-0/+21
* Test for negative stack height.chriseth2017-06-281-0/+21
* Test about semantics of "swap" in storage.chriseth2017-06-261-0/+32
* Test for passing empty string literal as function argument.chriseth2017-06-221-0/+23
* Functionality tests for for.chriseth2017-06-161-0/+49
* Test for embedded functions.chriseth2017-06-081-0/+27
* Test for accessing outer inline assembly scope.chriseth2017-06-081-0/+27
* Initial EVM1.5 assembly implementation.chriseth2017-06-081-0/+96
* Add inline assembly test for sha3/keccak256Alex Beregszaszi2017-05-301-0/+39
* Add test for sha3() == keccak256()Alex Beregszaszi2017-05-301-0/+17
* Use keccak256() in tests (and not sha3())Alex Beregszaszi2017-05-301-22/+22
* Remove error label / invalid jump label.chriseth2017-04-281-15/+0
* Storage access from inline assembly.chriseth2017-04-251-3/+33
* Convert storge access tests to new explicit slot / offset access.chriseth2017-04-251-5/+9
* Make tests comply with stack height checks.chriseth2017-04-251-0/+1
* Add more complex tests for interfacesAlex Beregszaszi2017-03-181-0/+35
* Merge pull request #1698 from ethereum/exp-notationchriseth2017-03-151-0/+33
|\
| * Add tests for negative baseAlex Beregszaszi2017-03-151-0/+12
| * Add tests for fractional numbers in exponential notationAlex Beregszaszi2017-03-151-0/+4
| * Add tests for scientific notationAlex Beregszaszi2017-03-151-0/+17
* | Merge pull request #1729 from ethereum/constantvariablesYoichi Hirai2017-03-151-1/+52
|\ \
| * | Disallow constants that are neither value types nor strings.chriseth2017-03-131-24/+26
| * | Allow enum values for constants.chriseth2017-03-131-1/+0
| * | End to end tests for constants.chriseth2017-03-131-0/+50
| |/
* / Require and Assert.chriseth2017-03-141-18/+24
|/
* Test for array singletons.chriseth2017-03-061-0/+14
* Merge pull request #1702 from ethereum/assertErrorYoichi Hirai2017-03-041-18/+18
|\
| * Remove assert for now.chriseth2017-02-241-18/+18
* | Disallow setting .gas() on .transfer()Alex Beregszaszi2017-02-241-17/+0
* | Fix test for gas overloading in .transfer()Alex Beregszaszi2017-02-241-2/+13
* | Support gas modifier on addr.transfer()Alex Beregszaszi2017-02-241-0/+6
* | Add test for address.transfer()Alex Beregszaszi2017-02-241-0/+36
|/
* Merge pull request #1661 from ethereum/asm-revertchriseth2017-02-131-0/+24
|\
| * Check for state changes in revert() testsAlex Beregszaszi2017-02-111-0/+5
| * Add tests for revert()Alex Beregszaszi2017-02-111-0/+19
* | Merge pull request #1676 from ethereum/test-modifytimestampchriseth2017-02-131-2/+8
|\ \ | |/ |/|
| * Compare start/end timestampAlex Beregszaszi2017-02-101-1/+4
| * Do not use modifyTimestamp where not neededAlex Beregszaszi2017-02-101-2/+5
* | Add tests for assert()Alex Beregszaszi2017-02-101-0/+19
|/
* Add more tests for function type conversionAlex Beregszaszi2017-02-011-0/+19
* Add tests for invalid instructionAlex Beregszaszi2017-01-281-0/+15
* Test double inclusion of bytecode.chriseth2017-01-251-0/+29
* Test for initializing recursive structs.chriseth2017-01-241-0/+22
* Merge pull request #1245 from ethereum/1215chriseth2017-01-241-0/+99
|\
| * test: add a test case about inheriting multiple events of the same nameYoichi Hirai2017-01-231-0/+52
| * test: somehow log counting system has changedYoichi Hirai2017-01-231-10/+10
| * test: check the results of function calls in the test for multiple events of ...Yoichi Hirai2017-01-231-6/+9
| * test: fixing inconsistent usage of end-to-end test frameworkYoichi Hirai2017-01-231-4/+7
| * test: Add an end-to-end test about multiple events of the same nameYoichi Hirai2017-01-231-0/+41
* | Add tests for internal constructor.chriseth2017-01-211-0/+10
|/
* Provide fallback for linking.chriseth2017-01-191-12/+12
* Use fully-qualified names for linking, tooRhett Aultman2017-01-171-12/+12
* analysis: allow some shadowings explicitlyYoichi Hirai2017-01-121-54/+0
* test: add a test case for #1286Yoichi Hirai2017-01-031-0/+22
* Fix tests.chriseth2016-12-141-5/+5
* test: add tests that tries different types on <<=Yoichi Hirai2016-12-131-0/+18
* Tests for bytes.chriseth2016-12-121-0/+38
* Correct test expectations.chriseth2016-12-121-3/+5
* Cleaner shift handling and type conversion for binary operations.chriseth2016-12-121-3/+22
* Type after shift should be type of left operand.chriseth2016-12-121-0/+15
* Support bitshifting in variablesAlex Beregszaszi2016-12-121-0/+298
* Merge pull request #1351 from ethereum/truncate_bitchriseth2016-12-081-0/+28
|\
| * test: add a test that witnesses #1318Yoichi Hirai2016-12-011-0/+28
* | Remove unneeded optimised test from EndToEndTestAlex Beregszaszi2016-12-011-7/+0
* | Fix tests.chriseth2016-12-011-11/+0
* | Merge pull request #1458 from federicobond/r-literalschriseth2016-12-011-439/+564
|\ \
| * | Use more R string literals in testsFederico Bond2016-12-011-439/+564
| |/
* / Test that contracts separated by comments are compiledAlex Beregszaszi2016-12-011-0/+12
|/
* Rename testSolidityAgainstCpp* to testContractAgainstCpp*Alex Beregszaszi2016-11-301-75/+75
* Move ExecutionFramework to the dev::test namespaceAlex Beregszaszi2016-11-301-0/+1
* Split out Solidity-specific part of ExecutionFrameworkAlex Beregszaszi2016-11-301-1/+2
* test: add a test that stores an invalid enum valueYoichi Hirai2016-11-241-0/+29
* test: add a test about trying to log an event with too big enum valuesYoichi Hirai2016-11-241-0/+34
* test: add a test that compares overflown enumsYoichi Hirai2016-11-241-0/+33
* Fix licensing headersVoR02202016-11-231-4/+4
* Rename test contract names to capitalisedAlex Beregszaszi2016-11-181-12/+12
* Add missing payable constructorsAlex Beregszaszi2016-11-181-1/+12
* Change encoding to address-funid and add "function" as ABI type.chriseth2016-11-161-3/+3
* Converted sub assembly to smart pointer.chriseth2016-11-161-1/+1
* Stored combined creation and runtime tags.chriseth2016-11-161-0/+63
* Fix tests.chriseth2016-11-161-1/+1
* Test passing functions as arrays to other contracts.chriseth2016-11-161-3/+40
* Fix tests.chriseth2016-11-161-9/+22
* delete for function typeschriseth2016-11-161-1/+18
* Implement uninitialized storage functions.chriseth2016-11-161-3/+1
* Tests for uninitialized storage functions.chriseth2016-11-161-1/+53
* test: add a test for storing an internal function in the constructor and then...Yoichi Hirai2016-11-161-0/+46
* Tests.chriseth2016-11-161-24/+174
* Add a test around storing functions in an arrayYoichi Hirai2016-11-161-0/+39
* Add tests around calling functions returning functions returning functionsYoichi Hirai2016-11-161-0/+30
* External functions in storage.chriseth2016-11-161-1/+27
* Fix some type checks and tests for internal / external function parameters.chriseth2016-11-161-4/+4
* Function type state variables.chriseth2016-11-161-1/+27
* Code generator for function types.chriseth2016-11-161-1/+48
* Function types.chriseth2016-11-161-0/+18
* Rename ErrorTag to invalidJumpLabel in inline assemblyAlex Beregszaszi2016-11-151-2/+2
* Add tests for the ErrorTagAlex Beregszaszi2016-11-151-0/+15
* test: add a testcase about using an invalid enum value as an external call ar...Yoichi Hirai2016-11-151-0/+27
* test: add tests about returning invalid enum values from interface functionsYoichi Hirai2016-11-141-0/+34
* test: add a test converting -1 as a literal into an enumYoichi Hirai2016-11-121-0/+6
* test: add a test case for #1343Yoichi Hirai2016-11-121-0/+6
* test: add tests that witness issue #1311Yoichi Hirai2016-11-121-0/+24
* test: add a test for #621Yoichi Hirai2016-11-111-0/+14
* Add support for do/while loopsRhett Aultman2016-11-101-0/+28
* Test case for overflow in storage.chriseth2016-10-311-0/+20
* test: add more tests about state variable access under base contract namesYoichi Hirai2016-10-251-2/+35
* test: add tests from #988Yoichi Hirai2016-10-241-0/+66
* test: add a test case for accessing a state variable under the contract's nameYoichi Hirai2016-10-241-0/+15
* test: add a test about using an inherited enum definition as an expression,Yoichi Hirai2016-10-241-0/+42
* test: add tests for #1131Yoichi Hirai2016-10-211-0/+51
* Add tests for inline assembly in modifiersAlex Beregszaszi2016-10-211-0/+22
* Add tests for constant shiftsAlex Beregszaszi2016-10-201-0/+44
* Add a test for #1242Yoichi Hirai2016-10-181-0/+9
* Fix build error.chriseth2016-10-111-4/+6
* Merge pull request #1168 from ethereum/rename-dev-sha3chriseth2016-10-111-23/+23
|\
| * Rename dev::sha3 to dev::keccak256Alex Beregszaszi2016-10-061-23/+23
* | Add alias keccak256() for sha3()Alex Beregszaszi2016-10-061-0/+18
|/
* Merge pull request #1104 from ethereum/fixmemcostschriseth2016-09-171-0/+27
|\
| * Access output memory area so that we do not pay for resize during call.chriseth2016-09-171-1/+1
| * Test case.chriseth2016-09-171-0/+27
* | Allow value transfer to library functions.chriseth2016-09-171-0/+17
|/
* Fix problem with release version string.chriseth2016-09-081-1/+1
* Provide gas stipend manually for send(0).chriseth2016-09-061-0/+20
* Change placeholder style.chriseth2016-09-061-1/+1
* Change function type to include and propagate payable and constant modifier.chriseth2016-09-061-32/+27
* Merged in changes from chriseth/payableAlex Beregszaszi2016-09-061-12/+37
* Mark every other test payable where neccesary in EndToEndTestAlex Beregszaszi2016-09-061-26/+29
* Include EndToEnd test for payable keywordAlex Beregszaszi2016-09-061-0/+57
* Require ";" after "_"chriseth2016-09-051-17/+17
* Merge pull request #960 from Denton-L/change-else-stylechriseth2016-09-011-1/+2
|\
| * Make tests more consistent in styleDenton Liu2016-08-271-1/+2
* | Test cases.chriseth2016-08-301-0/+13