aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/SolidityEndToEndTest.cpp
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #4684 from ethereum/underscores_in_numeric_literalschriseth2018-08-091-0/+16
|\
| * Cleanup & polish numbers-with-underscores parsing, also improving tests.Christian Parpart2018-08-081-1/+1
| * Add stricter hex underscore rulesBalajiganapathi S2018-08-081-0/+16
* | Remove experimental 0.5.0 pragmaAlex Beregszaszi2018-08-081-2/+1
|/
* Merge pull request #4731 from ethereum/interface-enumchriseth2018-08-071-0/+44
|\
| * Add endToEnd test for referencing enumsAlex Beregszaszi2018-08-071-0/+44
* | Add test for abi.encode (negative) literalsAlex Beregszaszi2018-08-071-0/+36
|/
* Tests for deriving types for empty string.chriseth2018-08-061-0/+38
* Merge pull request #4671 from ethereum/mappingTupleAssignmentchriseth2018-08-061-0/+67
|\
| * Additional semantics test cases.Daniel Kirchner2018-08-031-0/+45
| * Allow assignments to local variables of mapping types.Daniel Kirchner2018-08-031-0/+22
* | Drops tests for inline assembly jumps and function access as both isn't possi...Christian Parpart2018-08-021-46/+0
* | Drop swap_peephole_optimization test from EndToEndTestsChristian Parpart2018-08-021-44/+0
* | Update tests to remove support for loose assemblyChristian Parpart2018-08-021-46/+10
|/
* Fix tests regarding contract type conversion.chriseth2018-08-011-1/+1
* Disallow conversion between unrelated contract types.chriseth2018-08-011-3/+3
* Merge pull request #4527 from ethereum/mappingEnforceStorageAlex Beregszaszi2018-07-241-1/+1
|\
| * Enforces data location of local mappings to storage.Erik Kundt2018-07-241-1/+1
* | Merge pull request #4439 from ethereum/address_memberschriseth2018-07-191-26/+26
|\ \ | |/ |/|
| * Address members not accessible by contract instanceLeonardo Alt2018-07-171-26/+26
* | Adjusts tests to expect type errors on default visibility.Erik Kundt2018-07-181-3/+3
|/
* Merge pull request #4481 from ethereum/disallow-throwchriseth2018-07-161-8/+8
|\
| * Replace throw with revert() in end-to-end testsAlex Beregszaszi2018-07-161-8/+8
* | Fixes end-to-end tests.Erik Kundt2018-07-161-13/+13
* | Specifies visibility in unit tests.Erik Kundt2018-07-161-88/+88
|/
* Merge pull request #4500 from ethereum/v050-interface-functions-must-be-externalchriseth2018-07-161-1/+1
|\
| * enforce interface-functions to be external-declaredChristian Parpart2018-07-161-1/+1
* | Added default data locations to parameters for end to end tests.Chase McDermott2018-07-161-159/+159
|/
* Update tests.Daniel Kirchner2018-07-131-3/+22
* Merge pull request #4478 from ethereum/requireStorageLocationchriseth2018-07-131-4/+4
|\
| * Update test wrt requiring storage locations.Daniel Kirchner2018-07-121-4/+4
* | Merge pull request #4428 from ethereum/enforce_staticcall_viewchriseth2018-07-121-1/+37
|\ \
| * | Use STATICCALL for view and pureLeonardo Alt2018-07-111-1/+37
| |/
* | Merge pull request #4083 from ethereum/variable_stack_slotchriseth2018-07-121-2/+316
|\ \ | |/ |/|
| * Change test from public to externalLeonardo Alt2018-07-111-1/+1
| * Added assertion and tests suggestionsLeonardo Alt2018-07-111-5/+13
| * Add more tests and assertionsLeonardo Alt2018-07-111-1/+153
| * Added tests and review suggestionsLeonardo Alt2018-07-111-0/+154
* | Merge pull request #4388 from ethereum/noPackedLiteralschriseth2018-07-111-5/+5
|\ \
| * | Disallow packed encoding of literals.chriseth2018-07-031-5/+5
* | | test: Fix typos.Cryptomental2018-07-111-8/+8
* | | Merge pull request #4466 from ethereum/tupleNotEmptychriseth2018-07-111-1/+1
|\ \ \ | |_|/ |/| |
| * | Update end-to-end tests.Daniel Kirchner2018-07-101-1/+1
* | | Merge pull request #4415 from ethereum/uninitializedStoragePointerchriseth2018-07-101-3/+4
|\ \ \ | |/ / |/| |
| * | Update tests.Daniel Kirchner2018-07-101-3/+4
* | | Update tests.Daniel Kirchner2018-07-101-27/+2
|/ /
* | Fix allocation of byte arrays.chriseth2018-07-051-2/+3
* | Fixes compilation errors.Erik Kundt2018-07-041-3/+3
* | Fixes defects in end-to-end tests.Erik Kundt2018-07-041-7/+7
* | Updates end-to-end tests to specify default visibility.Erik Kundt2018-07-041-787/+787
* | Enforcing error on msg.gas and block.blockhash()Leonardo Alt2018-07-041-1/+1
* | Merge pull request #4379 from ethereum/constructorArgsTwicechriseth2018-07-041-22/+6
|\ \ | |/ |/|
| * Fix tests.chriseth2018-06-291-22/+6
* | Merge pull request #4374 from ethereum/v050-var-keyword-removal-preps-end2end...chriseth2018-07-031-59/+50
|\ \
| * | test: ensure compiled tests do not use var-keyword in preparation of var-keyw...Christian Parpart2018-07-021-59/+50
| |/
* / Determine transaction status in RPC sessions.Daniel Kirchner2018-07-021-1/+25
|/
* 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