aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity
Commit message (Expand)AuthorAgeFilesLines
...
* Disallow sha3/suicide aliasesAlex Beregszaszi2018-06-135-100/+15
* Merge pull request #3627 from ethereum/additional-keywordsAlex Beregszaszi2018-06-121-2/+20
|\
| * Add new reserved keywords.Daniel Kirchner2018-06-121-2/+20
* | Merge pull request #4277 from ethereum/signedRightShiftDaniel Kirchner2018-06-121-0/+33
|\ \
| * | Additional test and more explanation.Daniel Kirchner2018-06-121-0/+33
| |/
* | Merge pull request #4273 from ethereum/soltestExceptionsDaniel Kirchner2018-06-121-3/+10
|\ \ | |/ |/|
| * Improve exception handling in soltest and isoltest.Daniel Kirchner2018-06-121-3/+10
* | Use proper SAR for signed right shifts and emulate on pre-constantinople.Daniel Kirchner2018-06-121-57/+115
|/
* Merge pull request #4241 from ethereum/show-named-argAlex Beregszaszi2018-06-061-1/+1
|\
| * Show named argument name in errorAlex Beregszaszi2018-06-061-1/+1
* | Extract test cases from ViewPureCheckerAlex Beregszaszi2018-06-0623-359/+227
|/
* Merge pull request #4208 from ethereum/extract-name-and-type-testschriseth2018-06-05551-7038/+4242
|\
| * Move "create2_as_variable" back to non-isoltest tests.chriseth2018-06-052-6/+15
| * Remove extracted tests from SolidityNameAndTypeResolutionAlex Beregszaszi2018-05-311-7051/+0
| * Split out SolidityNameAndTypeResolution tests into SyntaxTestsAlex Beregszaszi2018-05-31551-0/+4244
| * Reformat test for extraction toolAlex Beregszaszi2018-05-311-1/+3
* | 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-042-24/+7
|/
* Merge pull request #4172 from ethereum/trailing_dotchriseth2018-05-314-0/+38
|\
| * Disallow trailing dots that are not followed by a numberLeonardo Alt2018-05-304-0/+38
* | Merge pull request #4205 from ethereum/name-and-type-tests-splitchriseth2018-05-311-18/+78
|\ \
| * | Split up last NameAndTypeResolution test casesAlex Beregszaszi2018-05-301-18/+78
| |/
* | Merge pull request #3743 from ethereum/popStorageArraychriseth2018-05-3130-0/+340
|\ \ | |/ |/|
| * Fixes assembly bug and adds tests to cover it.Erik Kundt2018-05-301-23/+45
| * Adds syntax tests, documentation and changelog entry.Erik Kundt2018-05-3029-0/+54
| * 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 #4176 from sifmelcara/add/calldata-keywordchriseth2018-05-3016-4/+87
|\ \
| * | Allow using `calldata` keyword to specify data locationmingchuan2018-05-3016-4/+87
| |/
* | Split up NameAndTypeResolution test casesAlex Beregszaszi2018-05-301-154/+492
* | Extend function type comparison testAlex Beregszaszi2018-05-301-0/+16
|/
* Simplify fromElementaryTypeName testsAlex Beregszaszi2018-05-241-96/+6
* Move fromElementaryTypeName tests to SolidityTypesAlex Beregszaszi2018-05-242-109/+117
* Merge pull request #4067 from ethereum/050chriseth2018-05-2415-74/+172
|\
| * Update control flow graph.Daniel Kirchner2018-05-172-7/+19
| * Fix continue inside do-while.Daniel Kirchner2018-05-171-0/+21
| * Adjust tests.Daniel Kirchner2018-05-173-23/+23
| * Disallow conversions between bytesX and uintY of different size.Daniel Kirchner2018-05-178-15/+56
| * Add syntax tests and Changelog entryLeonardo Alt2018-05-171-0/+53
| * Bool variables should not allow arithmetic comparisonLeonardo Alt2018-05-171-29/+0
* | Move comments into test sources in SolidityNameAndTypeResolutionAlex Beregszaszi2018-05-231-43/+46
* | Move more parser tests to syntax testsAlex Beregszaszi2018-05-2255-642/+458
* | Tidy up tests to always have closing braces on the proper lineAlex Beregszaszi2018-05-164-38/+76
|/
* Split warning for multi arguments for hash functionsAlex Beregszaszi2018-05-167-18/+36
* Add test for single non-bytes argument.chriseth2018-05-161-0/+12
* Adjust tests.chriseth2018-05-1611-10/+28
* Add test for forwarding length check.chriseth2018-05-161-0/+45
* Merge pull request #4145 from ethereum/more-parser-test-moveschriseth2018-05-1612-132/+102
|\
| * Move couple of parser tests to syntax tests.Alex Beregszaszi2018-05-1612-132/+102
* | Add tests for multi variable declaration statement.chriseth2018-05-169-0/+107
|/
* Merge pull request #4139 from ethereum/abiEncodeIsPurechriseth2018-05-151-0/+7
|\
| * ABI encoding functions are pure and should be usable in constants.chriseth2018-05-151-0/+7
* | Merge pull request #3947 from ethereum/smt_storagechriseth2018-05-151-0/+76
|\ \ | |/ |/|
| * Testing state vars that are declared after functions that use themLeonardo Alt2018-05-151-4/+3
| * [SMTChecker] Declaring all state vars before any function is visitedLeonardo Alt2018-05-151-0/+11
| * [SMTChecker] Support to integer and Bool storage varsLeonardo Alt2018-05-151-0/+66
* | 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
* | Add test for default location.Daniel Kirchner2018-05-151-0/+19
* | Add control flow analyzer and test for uninitialized storage returns.Daniel Kirchner2018-05-1522-0/+375
* | 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-0913-107/+88
|/
* Merge pull request #4104 from ethereum/parserErrorSourceLocationsAlex Beregszaszi2018-05-0931-57/+57
|\
| * Update test expectations.Daniel Kirchner2018-05-0931-57/+57
* | Add more tests for right shifts.Daniel Kirchner2018-05-091-0/+157
|/
* Merge pull request #4054 from ethereum/token-nameschriseth2018-05-0919-32/+32
|\
| * Update parser test expectationsAlex Beregszaszi2018-05-0419-32/+32
* | Test with high path complexity.chriseth2018-05-091-0/+40
* | New tests for wildcard assignments.chriseth2018-05-085-0/+66
* | Remove deprecated syntax from a testchriseth2018-05-081-1/+1
* | Extract tests.chriseth2018-05-086-74/+47
* | Merge pull request #4063 from ethereum/emit-non-eventchriseth2018-05-041-0/+10
|\ \ | |/ |/|
| * Show proper error when trying to emit a non-eventAlex Beregszaszi2018-05-041-0/+10
* | Simplify expectIdentifierToken by using expectTokenAlex Beregszaszi2018-05-049-10/+10
|/
* Merge pull request #4053 from ethereum/parser-syntax-testschriseth2018-05-0330-319/+183
|\
| * Move some parser tests to syntax testsAlex Beregszaszi2018-05-0330-319/+183
* | Merge pull request #3797 from ethereum/shift-constantinoplechriseth2018-05-021-3/+2
|\ \
| * | Update source location test expectationsAlex Beregszaszi2018-05-011-3/+2
| |/
* | Revert "BREAKING: Bool variables should not allow arithmetic comparison"chriseth2018-05-022-53/+29
* | Merge pull request #4003 from ethereum/bool_vars_comparisonchriseth2018-05-022-29/+53
|\ \
| * | Add syntax tests and Changelog entryLeonardo Alt2018-04-271-0/+53
| * | Bool variables should not allow arithmetic comparisonLeonardo Alt2018-04-271-29/+0
* | | Add virtual destructors on base classes.Alexander Arlt2018-05-021-0/+1
| |/ |/|
* | Add syntax tests for bytesMAlex Beregszaszi2018-04-305-0/+62
|/
* Merge pull request #3981 from ethereum/years-suffixchriseth2018-04-247-19/+35
|\
| * The "year" denomination is deprecatedAlex Beregszaszi2018-04-233-0/+13
| * Add more denomination testsAlex Beregszaszi2018-04-232-0/+11
| * Extract subdenomination testsAlex Beregszaszi2018-04-233-19/+11
* | Merge pull request #3970 from elopio/test/docstring-tag-endAlex Beregszaszi2018-04-242-0/+6
|\ \
| * | docstring: add missing spaceLeo Arias2018-04-242-0/+6
* | | Merge pull request #3976 from ethereum/emptyTupleComponentchriseth2018-04-237-0/+78
|\ \ \ | |_|/ |/| |
| * | Treats inline array as an error.Erik Kundt2018-04-231-3/+1
| * | Turns it into warning (error for 0.5.0) and adds Changelog entry.Erik Kundt2018-04-238-15/+45
| * | Prevents null type from being used in tuple.Erik Kundt2018-04-225-0/+50
| |/
* | Turn deprecated warnings for sha3/suicide into errors (experimental 0.5.0)Alex Beregszaszi2018-04-212-1/+14
* | Extract syntax testsAlex Beregszaszi2018-04-212-26/+13
|/
* Update tight packing test casesAlex Beregszaszi2018-04-201-3/+14
* Make literals an error for tight packing (experimental 0.5.0)Alex Beregszaszi2018-04-201-0/+26
* Remove unnecessary masking of the result of known short instructionsAlex Beregszaszi2018-04-201-0/+20
* Merge pull request #3941 from ethereum/bytes-contractchriseth2018-04-191-0/+7
|\
| * Disallow explicit conversion of bytesXX to contractAlex Beregszaszi2018-04-191-0/+7
* | Improve error message for failed member lookup.chriseth2018-04-193-0/+24
* | Extract tests.chriseth2018-04-192-15/+10
|/
* Warn about functions named "constructor".chriseth2018-04-191-0/+5
* Fix name clashes between constructor and fallback function.chriseth2018-04-184-2/+14
* Extract tests.chriseth2018-04-1826-182/+197
* Merge pull request #3868 from ethereum/bytescleanupchriseth2018-04-161-0/+23
|\
| * Tests for bytes cleanup.chriseth2018-04-161-0/+23
* | Merge pull request #3793 from ethereum/rationalNumberLimitchriseth2018-04-169-0/+136
|\ \ | |/ |/|
| * Limits rational numbers to 4096 bits.Erik Kundt2018-04-169-0/+136
* | Merge pull request #3875 from ethereum/constructorSelfRefchriseth2018-04-143-0/+50
|\ \ | |/ |/|
| * Stricter check for member access to "this" in constructor.Daniel Kirchner2018-04-133-0/+50
* | Adds unit test that covers long typeDescription and renames suite. Erik Kundt2018-04-132-1/+29
* | Separates tests for legacy and compact output.Erik Kundt2018-04-132-231/+332
* | Adds type expectations to legacy tests.Erik Kundt2018-04-131-0/+7
* | Uses short string representation of TypePointerErik Kundt2018-04-131-0/+30
* | Merge pull request #3364 from ethereum/revertWithReasonchriseth2018-04-136-22/+260
|\ \
| * | Remove dead code and clarify throw.chriseth2018-04-131-1/+0
| * | Update documentation and minor changes.chriseth2018-04-121-1/+0
| * | Use error signature for revert data.chriseth2018-04-121-9/+14
| * | Update expectation.chriseth2018-04-121-2/+2
| * | Adjust expectations in case of homestead VM.chriseth2018-04-121-11/+16
| * | Adjust tests.chriseth2018-04-123-13/+19
| * | Update source location tests.chriseth2018-04-121-5/+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-122-1/+53
| |/
* | Merge pull request #2980 from ethereum/abi-apichriseth2018-04-1311-52/+505
|\ \
| * | Allow struct encoding with new encoder.chriseth2018-04-125-5/+161
| * | Check partial function parameters if rest is arbitrary.chriseth2018-04-121-0/+13
| * | Tests for view and pure.chriseth2018-04-122-0/+44
| * | Tests.chriseth2018-04-124-102/+218
| * | Add abi.encode, abi.encodePacked, abi.encodeWithSelector and abi.encodeWithSi...Alex Beregszaszi2018-04-122-0/+124
* | | Add additional test for ``var`` for storage variables.Daniel Kirchner2018-04-123-7/+36
* | | Fix internal compiler error when parsing ``var`` declaration without identifier.Daniel Kirchner2018-04-123-22/+26
| |/ |/|
* | Merge pull request #3848 from ethereum/constantDivisionByZerochriseth2018-04-1214-20/+98
|\ \ | |/ |/|
| * Add test to check ConstantEvaluator for pure non-rational functions.Daniel Kirchner2018-04-121-0/+11
| * Add tests for literal operations as well.Daniel Kirchner2018-04-124-0/+20
| * Error on invalid arithmetic with constant expressions.Daniel Kirchner2018-04-129-20/+67
* | Properly cope with constructor headers.chriseth2018-04-122-0/+15
* | Update expectations.chriseth2018-04-1210-17/+18
* | Extract modifier tests.chriseth2018-04-1215-158/+73
* | Warn if modifiers are applied to functions without implementation.chriseth2018-04-122-0/+23
* | New tests for function state variables.chriseth2018-04-126-0/+61
* | Add expectations.chriseth2018-04-1224-9/+53
* | Extract function type tests.chriseth2018-04-1226-313/+132
* | Merge pull request #3863 from ethereum/fixGasEstimationchriseth2018-04-121-0/+13
|\ \ | |/ |/|
| * Correctly ignore costs of fallback for other functions.chriseth2018-04-121-0/+13
* | Fix ConstantEvaluator to correctly handle single element tuples.Daniel Kirchner2018-04-123-0/+35
* | Syntax Tests: extract array_length_* tests.Daniel Kirchner2018-04-1220-165/+117
|/
* Merge pull request #3580 from ethereum/asm-bitshift-optimchriseth2018-04-112-0/+131
|\
| * Ignore shift warnings on constantinople testsAlex Beregszaszi2018-04-101-0/+2
| * Add end to end tests for SHL/SHR/SAR instructions (constantinople only)Alex Beregszaszi2018-04-101-0/+129
* | Fix line numbers for errors.chriseth2018-04-112-512/+512
* | Merge pull request #3309 from ethereum/limit-errorschriseth2018-04-112-0/+1048
|\ \
| * | Limit the number of errors output in a single run to 256Alex Beregszaszi2018-04-062-0/+1048
| |/
* | Fix bug in typechecking when comparing rational literalsJason Cobb2018-04-111-0/+7
* | Add source locations to syntax test expectations.Daniel Kirchner2018-04-1053-89/+163
* | Error when using no parentheses in modifier-style constructor calls.Daniel Kirchner2018-04-102-2/+5
* | Move constructor argument override check to TypeChecker and reuse annotations...Daniel Kirchner2018-04-098-7/+19
* | Allow duplicated constructor calls, if no arguments; support for multiple inh...Daniel Kirchner2018-04-098-5/+38
* | Error on duplicated super constructor callsFederico Bond2018-04-093-4/+12
|/
* Allow ``memory`` suffix for internal elementary type parsing.chriseth2018-04-051-0/+1
* Merge pull request #3824 from ethereum/baseArgumentsEmptyParenthesisDaniel Kirchner2018-04-053-1/+16
|\
| * Error when using empty parenthesis for base class constructors that require a...Daniel Kirchner2018-04-053-1/+16
* | Merge pull request #3745 from ethereum/fixRecursionAlex Beregszaszi2018-04-0514-125/+115
|\ \
| * | Extract constant cycle tests.chriseth2018-04-035-32/+32
| * | Fix detection of recursive structs.chriseth2018-04-032-0/+30
| * | Extract recursive struct tests.chriseth2018-04-038-93/+53
* | | 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-042-2/+67
|/ / /
* | | Merge pull request #3808 from ethereum/parserTestschriseth2018-04-047-119/+74
|\ \ \
| * | | Adds parsing sub-directory in syntaxTests and moves two example tests from So...Daniel Kirchner2018-04-043-20/+9
| * | | SyntaxTests: extend syntax tests and isoltest to support parser errors and co...Daniel Kirchner2018-04-044-99/+65
* | | | Create empty dynamic memory arrays more efficiently.chriseth2018-04-044-8/+66
| |_|/ |/| |
* | | Remove redundant test and enforce success without warnings.Daniel Kirchner2018-04-041-7/+1
* | | Constructors are defined using the ``constructor`` keyword.Daniel Kirchner2018-04-043-5/+40
|/ /
* | Merge pull request #3693 from ethereum/optimizeMLOADAlex Beregszaszi2018-04-032-8/+81
|\ \ | |/ |/|
| * Add memory array init test.chriseth2018-04-031-0/+26
| * Test number of sstore operations.chriseth2018-04-031-7/+33
| * Optimize across MLOAD if MSIZE is not used.chriseth2018-04-031-1/+22
* | Merge pull request #3699 from ethereum/interfaceExternalVisibilityAlex Beregszaszi2018-04-038-48/+39
|\ \
| * | Makes visibility warning more concise.Erik Kundt2018-04-031-1/+1
| * | Moves all interface function visibility related tests.Erik Kundt2018-04-036-48/+26
| * | Defaults to external visibility for interfaces.bitshift2018-04-032-0/+13
* | | Fix: Treat empty base constructor argument list as not provided.chriseth2018-04-032-0/+16
| |/ |/|
* | Set default fixed point decimal places to 18Jason Cobb2018-03-311-5/+5
* | Update tests for empty structsAlex Beregszaszi2018-03-312-0/+2
* | Merge pull request #3790 from ethereum/empty-structschriseth2018-03-303-1/+12
|\ \
| * | Still allow empty structs for non-0.5.0 modeAlex Beregszaszi2018-03-272-1/+7
| * | Disallow empty structsAlex Beregszaszi2018-03-272-1/+6
* | | Prevent encoding of weird types and support packed encoding of external funct...chriseth2018-03-296-0/+87
| |/ |/|
* | Merge pull request #3775 from federicobond/improve-error-fractional-shiftchriseth2018-03-281-0/+10
|\ \ | |/ |/|
| * Improve error message when trying to shift by fractional numberFederico Bond2018-03-221-0/+10
* | Merge pull request #3681 from ethereum/interface-externalchriseth2018-03-271-0/+14
|\ \
| * | Allow overriding external functions in interfaces with public in an implement...Alex Beregszaszi2018-03-261-0/+14
| |/
* | Merge pull request #3686 from ethereum/doNotIncludeItnernalchriseth2018-03-271-0/+60
|\ \
| * | Test that internal functions only used by constructor are not included in run...chriseth2018-03-271-0/+60
| |/
* | Merge pull request #3748 from ethereum/extractScopingTestschriseth2018-03-2717-223/+130
|\ \
| * | Extract scoping tests.chriseth2018-03-1617-223/+130
* | | Changes deprecation and adjusts tests.bitshift2018-03-273-39/+52
* | | Adds unit tests for moved function.bitshift2018-03-274-5/+49
| |/ |/|
* | Tests for returning dynamic data.chriseth2018-03-212-6/+104
* | Decode dynamic data.chriseth2018-03-211-0/+5
* | Only consider files ending with .sol and not starting with ~ in syntax tests.Daniel Kirchner2018-03-162-1/+10
|/
* Only colour error type, not error message in isoltest.Daniel Kirchner2018-03-151-10/+16
* Add formatted printing to SyntaxTest and expand its public interface.Daniel Kirchner2018-03-153-16/+123
* Merge branch 'develop' into externalFunctionsInLibrarieschriseth2018-03-1518-19/+112
|\
| * Merge pull request #3734 from ethereum/soltestOptionschriseth2018-03-1515-18/+18
| |\
| | * test: Rename test/TestHelper.* to test/Options.* and add Options::validate().Daniel Kirchner2018-03-1415-18/+18
| * | Merge pull request #3725 from ethereum/blockhashNoCallchriseth2018-03-151-0/+17
| |\ \
| | * | Allow ``block.blockhash`` without being called.chriseth2018-03-141-0/+17
| * | | Merge pull request #3722 from ethereum/fixModsAlex Beregszaszi2018-03-152-0/+66
| |\ \ \
| | * | | Tests.chriseth2018-03-131-0/+52
| | * | | Changelog entry.chriseth2018-03-131-0/+14
| | |/ /
| * | / DocStringParser: Add Changelog entry and test case for empty descriptions.Daniel Kirchner2018-03-141-0/+6
| | |/ | |/|
| * | Store filenames in static variable to guarantee sufficient lifetime.Daniel Kirchner2018-03-141-1/+5
| |/
* / Make external library functions accessible.chriseth2018-03-142-0/+29
|/
* Minor adjustments.Daniel Kirchner2018-03-131-4/+4
* Refactoring; fuse SyntaxTestParser and SyntaxTester to SyntaxTest.Daniel Kirchner2018-03-135-307/+240
* Workaround for boost < 1.59.0Daniel Kirchner2018-03-131-0/+13
* Infrastructure for extracting syntax tests in separate test files.Daniel Kirchner2018-03-139-52/+367
* [SMTChecker_Bool] Fix PR comments; Add support to gt, ge, lt, le. and tests.Leonardo Alt2018-03-131-0/+40
* [SMTChecker] Support to Bool variablesLeonardo Alt2018-03-131-0/+98
* Support constantinople in evm-versionAlex Beregszaszi2018-03-131-0/+2
* Fix test.chriseth2018-03-071-1/+1
* Merge pull request #3611 from ethereum/warn-using-address-overloadAlex Beregszaszi2018-03-072-11/+170
|\
| * Warn if using address overloads on contractsAlex Beregszaszi2018-03-052-11/+170
* | Tests for warnings/errors for loose assembly.chriseth2018-03-071-4/+192
* | Merge pull request #2966 from ethereum/useStaticCallAlex Beregszaszi2018-03-071-4/+56
|\ \
| * | Test for using staticcall for view and pure functions.chriseth2018-03-061-4/+56
* | | Merge pull request #3549 from ethereum/fixmultidimAlex Beregszaszi2018-03-061-0/+56
|\ \ \ | |/ / |/| |
| * | Tests for multi-dimensional arrays.chriseth2018-03-011-0/+56
* | | Merge pull request #3652 from ethereum/gasleft_v2chriseth2018-03-061-2/+2
|\ \ \
| * | | Use StaticAnalyzer to deprecate msg.gas instead of conditionally removing it ...Daniel Kirchner2018-03-061-2/+2
* | | | Merge pull request #3643 from ethereum/gasleftchriseth2018-03-064-0/+90
|\| | |
| * | | Improved gasleft tests.Daniel Kirchner2018-03-062-7/+19
| * | | Add test cases for shadowing gasleft with local functions/variables.Daniel Kirchner2018-03-051-0/+19
| * | | Remove unstable test case.Daniel Kirchner2018-03-051-19/+0
| * | | Move msg.gas to global function gasleft(). Closes #2971.Daniel Kirchner2018-03-054-0/+78
* | | | Do not warn about 0.5.0 experimental pragma.chriseth2018-03-051-6/+3
| |_|/ |/| |
* | | Merge pull request #3569 from ethereum/evmVersionchriseth2018-03-0514-27/+135
|\ \ \ | |/ / |/| |
| * | Use EVM version in gas meter and optimizer.chriseth2018-03-051-5/+5
| * | Only warn for shift instructions if not using constantinopleAlex Beregszaszi2018-03-021-3/+3
| * | Add TangerineWhistle.chriseth2018-03-023-2/+6
| * | CREATE2 test fix.chriseth2018-03-021-1/+1