aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity
Commit message (Expand)AuthorAgeFilesLines
...
| * | 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
| * | Returndatasize and staticcall test fixes.chriseth2018-03-022-10/+10
| * | Correctly set evm version in testschriseth2018-03-0211-6/+68
| * | Provide EVM version to assembly analysis.chriseth2018-03-021-3/+3
| * | Use EVM version in type checker.chriseth2018-03-023-6/+14
| * | Test both EVM versions.chriseth2018-03-021-0/+1
| * | Some tests.chriseth2018-03-021-0/+33
| |/
* | Merge pull request #3633 from ethereum/reserved-keywords-testchriseth2018-03-021-0/+30
|\ \
| * | Parser: Add test case for reserved keywords.Daniel Kirchner2018-03-021-0/+30
| |/
* | Merge pull request #3628 from ethereum/literalsHexUnitchriseth2018-03-021-0/+19
|\ \ | |/ |/|
| * Deprecate using unit denominations in combination with hex numbers. Closes #3...Daniel Kirchner2018-03-011-0/+19
* | Ensure that library addresses supplied are of correct length and hex prefixed...Alex Beregszaszi2018-03-011-7/+27
|/
* Merge pull request #3617 from ethereum/jsonio-librarieschriseth2018-03-011-0/+133
|\
| * Properly validate invalid hex characters in JSONIO librariesAlex Beregszaszi2018-02-281-0/+23
| * Add more comprehensive tests and checks for libraries in JSONIOAlex Beregszaszi2018-02-281-0/+110
* | Merge pull request #3615 from ethereum/test-frameworkchriseth2018-02-281-2/+12
|\ \
| * | Split compileContract off compileAndRunWithoutCheck in SolidityExecutionFrame...Alex Beregszaszi2018-02-281-2/+12
| |/
* | Merge pull request #3613 from ethereum/require-visibilitychriseth2018-02-282-7/+24
|\ \ | |/ |/|
| * Issue error if no visibility is specified (on 0.5.0)Alex Beregszaszi2018-02-272-7/+24
* | Merge pull request #3476 from ethereum/scopingchriseth2018-02-284-16/+302
|\ \ | |/ |/|
| * Some more scoping tests.chriseth2018-02-272-1/+102
| * Only active variables at the point of their declaration.chriseth2018-02-272-3/+92
| * Enable C99-scoping with the 0.5.0-experimental pragma.chriseth2018-02-271-2/+45
| * Tests for new scoping behaviour.chriseth2018-02-271-0/+44
| * Adjust tests.chriseth2018-02-273-14/+23
* | Add basic test for shift opcodesAlex Beregszaszi2018-02-271-0/+14
|/
* Turn throw into a syntax error for 0.5.0Alex Beregszaszi2018-02-271-1/+10
* Merge pull request #3589 from ethereum/identifiersAlex Beregszaszi2018-02-271-0/+15
|\
| * Add test for escapeIdentifierAlex Beregszaszi2018-02-271-0/+15
* | Test data location of getter return type.chriseth2018-02-261-0/+20
|/
* Parser test.chriseth2018-02-221-0/+13
* Tests for warnings.chriseth2018-02-221-0/+23
* Introduce emit statement.chriseth2018-02-222-0/+130
* Do not warn about analysis-only experimental features.chriseth2018-02-221-6/+1
* Raise error on oversized number literals in assemblyAlex Beregszaszi2018-02-221-0/+1
* Merge pull request #3555 from ethereum/libraryTestCallInputchriseth2018-02-221-2/+2
|\
| * Provide proper input for test call.chriseth2018-02-211-2/+2
* | Merge pull request #3554 from ethereum/reuseScannerOrNotchriseth2018-02-211-0/+5
|\ \
| * | Expect end of string at end of top-level block for assembly parser.chriseth2018-02-211-0/+5
* | | Add new JSON API for better abstraction and for supporting strict JSON parsingAlexander Arlt2018-02-215-15/+33
| |/ |/|
* | Provide input for two optimizer tests.chriseth2018-02-211-2/+2
|/
* Test aliasing in shadowing.chriseth2018-02-201-1/+22
* Test ``_offset`` for constants in inline assembly.chriseth2018-02-201-0/+15
* Merge pull request #3135 from federicobond/formatter-instancechriseth2018-02-202-6/+9
|\
| * Convert static SourceReferenceFormatter functions to member onesFederico Bond2018-02-192-6/+9
* | Fix indentation.Emilio Almansi2018-02-191-3/+3
* | Added property _documentation_ to Function, Event, and Modifier definition cl...Emilio Almansi2018-02-191-1/+22
* | Minor improvement: check sourcesAlexander Arlt2018-02-171-0/+36
|/
* Make addmod and mulmod revert if the last argument is zero.chriseth2018-02-151-0/+27
* Disallow uninitialized storage pointers as experimental 0.5.0 feature.chriseth2018-02-151-0/+32
* Merge pull request #3498 from ethereum/allowthisfselectorchriseth2018-02-143-12/+56
|\
| * Add tests for selectors for public variables.chriseth2018-02-132-4/+10
| * Allow `this.f.selector` to be pure.chriseth2018-02-132-9/+47
* | Move string distance function to utils and format error messageBalajiganapathi S2018-02-131-4/+4
* | Suggest alternatives when identifier not found.Balajiganapathi S2018-02-131-0/+87
* | Merge pull request #3349 from federicobond/number-improvAlex Beregszaszi2018-02-131-2/+2
|\ \ | |/ |/|
| * Always use shortened literal number representation.chriseth2018-02-131-1/+1
| * Avoid output messages size blow-up using huge bignums literalsFederico Bond2018-02-131-1/+1
* | Adjust tests for multiple errors with the var keywordAlex Beregszaszi2018-02-132-13/+25
* | Do not use var where not neccessary in testsAlex Beregszaszi2018-02-132-4/+4
|/
* Merge pull request #3479 from ethereum/multiErrorchriseth2018-02-136-70/+184
|\
| * Support searching inside multiple errors.chriseth2018-02-126-70/+184
* | Fix segfault with undeclared array typesFederico Bond2018-02-121-0/+10
|/
* Merge pull request #3360 from federicobond/nonfatal-reference-errorsAlex Beregszaszi2018-02-041-1/+66
|\
| * Add more test cases for reference resolving error handlingFederico Bond2018-02-031-0/+65
| * Replace some fatal errors when resolving references with normal onesFederico Bond2018-02-031-1/+1
* | Issue warning for using public visibility for interface functionsAlex Beregszaszi2018-02-012-3/+9
* | Prevent libraries from being called.chriseth2018-01-191-0/+33
|/
* Disallow non-functional instructions in parseExpression earlyAlex Beregszaszi2018-01-101-2/+2
* Show restricted instruction warning before argument mismatch issueAlex Beregszaszi2018-01-081-4/+4
* Tests for strict mode.chriseth2018-01-061-9/+69
* Properly support library file names containing a colon (such as URLs).Alex Beregszaszi2018-01-051-0/+35
* [SMTChecker] Variables are merged after branches (ite variables)Leonardo Alt2018-01-051-8/+39
* Provide easy way to update source location expectation.chriseth2018-01-041-9/+45
* Merge pull request #3297 from ethereum/separate_expression_and_statementAlex Beregszaszi2018-01-041-4/+4
|\
| * Adjust tests.chriseth2017-12-131-4/+4
* | Merge pull request #3369 from ethereum/jsonio-colonAlex Beregszaszi2018-01-041-0/+30
|\ \
| * | Properly handle colons in file names within jsonioAlex Beregszaszi2018-01-031-0/+30
* | | Improve error message for wrong struct initialization (#3359)Federico Bond2018-01-041-0/+14
|/ /
* | Populate the sourceLocation field properly in standard JSON on errorsAlex Beregszaszi2017-12-181-0/+40
* | Merge pull request #3232 from ethereum/simplifyConstantchriseth2017-12-141-14/+14
|\ \ | |/ |/|
| * Simplify ConstantEvaluator.chriseth2017-12-121-1/+1
| * Reduce the types of errors outputted by ConstantEvaluatorAlex Beregszaszi2017-12-121-4/+4
| * Improve error message for constant evaluatorAlex Beregszaszi2017-12-121-9/+9
* | Merge pull request #3183 from federicobond/fix-event-parsingYoichi Hirai2017-12-122-3/+13
|\ \ | |/ |/|
| * Fix event parsing. Refs #3175Federico Bond2017-11-232-3/+13
* | Rename jsonCompiler to libsolcAlex Beregszaszi2017-12-111-1/+1
* | Move some struct tests to require ABIEncoderV2Alex Beregszaszi2017-12-113-0/+8
* | Fix warning test for jumps in assemblyAlex Beregszaszi2017-12-061-2/+2
* | Warn for assembly labels tooAlex Beregszaszi2017-12-061-0/+1
* | Fix test.chriseth2017-12-041-4/+3
* | Another test for division.chriseth2017-11-301-0/+10
* | Unary operators and division.chriseth2017-11-301-0/+85
* | Specify output selection in testsAlex Beregszaszi2017-11-301-0/+8
* | Also test short input for old decoder.chriseth2017-11-301-5/+9
* | Cleanup and overflow checks for data pointers.chriseth2017-11-301-1/+1
* | Decoder tests.chriseth2017-11-303-31/+852
* | Merge pull request #3220 from ethereum/IuliaIfchriseth2017-11-272-1/+50
|\ \
| * | Tests.chriseth2017-11-221-0/+16
| * | If statement for Iulia / inline assembly.chriseth2017-11-222-1/+34
* | | Merge pull request #3235 from ethereum/explicit-testsAlex Beregszaszi2017-11-231-4/+4
|\ \ \
| * | | Improve expected test errors for some old casesAlex Beregszaszi2017-11-221-4/+4
| |/ /
* / / success(text) -> CHECK_SUCCESS(text)Kwang Yul Seo2017-11-221-13/+13
|/ /
* | For loop.chriseth2017-11-221-0/+67
* | Test for multi-branches.chriseth2017-11-221-0/+18
* | Fix boolean constants.chriseth2017-11-221-12/+9
* | Tests.chriseth2017-11-221-0/+31
* | Tests.chriseth2017-11-221-0/+240
* | Improve cyclic constant error messageAlex Beregszaszi2017-11-221-2/+2
* | Detect cyclic constant definitionsBalajiganapathi S2017-11-221-1/+29
* | Add more tests for constant var as array lengthsBalajiganapathi S2017-11-221-1/+96
* | Allow constant integer variables as array lengths.Balajiganapathi S2017-11-222-1/+41
* | Extend address checksum testsAlex Beregszaszi2017-11-171-4/+17
|/
* Add missing name resolver testsFederico Bond2017-10-271-0/+29
* More detailed errors for invalid array lengths (such as division by zero).Alex Beregszaszi2017-10-201-0/+6
* Merge pull request #3101 from ethereum/compilerstack-headerchriseth2017-10-195-12/+12
|\
| * Implement CompilerStack.lastContractName()Alex Beregszaszi2017-10-194-9/+9
| * Always require a contract/sourceName in CompilerStackAlex Beregszaszi2017-10-192-7/+7
* | Turn usage of callcode into an error as experimental 0.5.0 featureAlex Beregszaszi2017-10-191-0/+10
|/
* Merge pull request #2925 from ethereum/tuple-value-checkchriseth2017-10-181-1/+48
|\
| * Only check tuples for valid rational numbers if they have more than one element.chriseth2017-10-181-1/+17
| * Validate each tuple literalAlex Beregszaszi2017-10-181-1/+32
* | Adjust tests.chriseth2017-10-181-1/+1
* | 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
* Allow ``gas`` in view functions.chriseth2017-10-161-2/+5
* Merge pull request #3038 from ethereum/interface-externalYoichi Hirai2017-10-101-0/+22
|\