aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #2194 from ethereum/removeerrorlabelchriseth2017-05-052-16/+1
|\
| * Remove error label / invalid jump label.chriseth2017-04-282-16/+1
* | Merge pull request #2206 from ethereum/fixoptimizerchriseth2017-05-031-19/+31
|\ \
| * | Stricter tests for constant optimization.chriseth2017-05-021-19/+31
* | | Fix tests.chriseth2017-05-031-0/+3
* | | Cleanup, style and additional test.chriseth2017-05-031-2/+10
* | | More strict tests.chriseth2017-05-031-7/+7
* | | Treat returns with expressions as return param useRhett Aultman2017-05-031-0/+16
* | | Warn on unused local variablesRhett Aultman2017-05-031-31/+154
* | | Merge pull request #2211 from ethereum/jsonio-fixesAlex Beregszaszi2017-05-021-6/+6
|\ \ \
| * | | Follow the JSON I/O spec closelyAlex Beregszaszi2017-05-021-6/+6
| |/ /
* | | Style and stricter tests.chriseth2017-05-021-1/+9
* | | Deprecate use of unary '+'Rhett Aultman2017-04-291-1/+10
|/ /
* | Merge pull request #2171 from ethereum/splitParseAndAnalyzechriseth2017-04-284-16/+19
|\ \ | |/ |/|
| * enumchecks not workingdjuju2017-04-281-0/+3
| * refactoring parse() into two separate functionsdjuju2017-04-273-16/+16
* | Remove parentheses from around function return parametersAlex Beregszaszi2017-04-271-6/+6
* | Merge pull request #1711 from ethereum/asmfunctionschriseth2017-04-263-38/+148
|\ \ | |/ |/|
| * Fix storage access tests.chriseth2017-04-251-5/+5
| * Fix test buildAlex Beregszaszi2017-04-251-0/+1
| * 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
| * Review comments.chriseth2017-04-252-0/+35
| * Use raw string for tests.chriseth2017-04-251-3/+15
| * Make tests comply with stack height checks.chriseth2017-04-253-27/+26
| * Use actual type checking phase of assembler.chriseth2017-04-251-1/+1
| * Refactor assembly analysis into scope filling and checking.chriseth2017-04-251-10/+39
* | Remove a test about SELFDESTRUCT because the test harness obtains refund whil...Yoichi Hirai2017-04-251-13/+0
* | test: fix invalid signaturesYoichi Hirai2017-04-251-2/+2
* | test: add a test case about the gas cost of EXTCODESIZEYoichi Hirai2017-04-251-0/+15
* | test: add a failing test case about the gas cost of SUICIDE opcodeYoichi Hirai2017-04-251-0/+13
* | Add a failing test about the gas cost of BALANCEYoichi Hirai2017-04-251-0/+13
* | test: add a test about gas costs of EXPYoichi Hirai2017-04-251-0/+17
|/
* More pure tests.chriseth2017-04-251-0/+8
* Test for side-effect free condition.chriseth2017-04-221-0/+13
* Change error message.chriseth2017-04-211-2/+2
* Warn about side-effect free statements.chriseth2017-04-211-15/+43
* Add test for legacyASTAlex Beregszaszi2017-04-211-1/+6
* Add test for bytecodeAlex Beregszaszi2017-04-211-0/+21
* Add compilation test and verify outputAlex Beregszaszi2017-04-211-0/+79
* Trigger cases by the JSON (and not string) interfaceAlex Beregszaszi2017-04-211-1/+11
* Add basic tests for StandardCompilerAlex Beregszaszi2017-04-211-0/+155
* Check that contract inheriting from base with unimplemented constructor is ab...chriseth2017-03-221-1/+6
* Disallow private or internal functions in interfacesAlex Beregszaszi2017-03-181-0/+20
* Add more complex tests for interfacesAlex Beregszaszi2017-03-182-0/+52
* Disallow constructor in interfacesAlex Beregszaszi2017-03-181-1/+1
* Disallow enums in interfacesAlex Beregszaszi2017-03-181-0/+10
* Use declared instead of definedAlex Beregszaszi2017-03-181-1/+1
* Add tests for interfacesAlex Beregszaszi2017-03-182-0/+107
* Add ContractKind to ContractDefinitionAlex Beregszaszi2017-03-181-1/+1
* Change references to FunctionType::LocationAlex Beregszaszi2017-03-161-1/+1
* Merge pull request #1698 from ethereum/exp-notationchriseth2017-03-154-25/+64
|\
| * Add tests for negative baseAlex Beregszaszi2017-03-151-0/+12
| * Add tests for fractional numbers in exponential notationAlex Beregszaszi2017-03-152-0/+5
| * Add tests for scientific notationAlex Beregszaszi2017-03-154-25/+47
* | Mention 'transfer' in warning about unchecked 'send'.chriseth2017-03-151-1/+1
* | Merge pull request #1729 from ethereum/constantvariablesYoichi Hirai2017-03-152-7/+136
|\ \
| * | Turn non-constant constants error into warning.chriseth2017-03-151-2/+4
| * | Disallow constants that are neither value types nor strings.chriseth2017-03-132-26/+44
| * | Allow enum values for constants.chriseth2017-03-131-1/+0
| * | End to end tests for constants.chriseth2017-03-131-0/+50
| * | Type checking for pure expressions.chriseth2017-03-131-10/+20
| * | Some new tests for constant variables.chriseth2017-03-131-0/+50
* | | Require and Assert.chriseth2017-03-141-18/+24
|/ /
* | Merge pull request #1751 from ethereum/warnLiteralExpBaseYoichi Hirai2017-03-111-0/+30
|\ \ | |/ |/|
| * Tests for warning about literal constant base in exponentition.chriseth2017-03-071-0/+30
* | Merge pull request #1747 from ethereum/fixICEInternalConstructorYoichi Hirai2017-03-091-0/+18
|\ \
| * | Test for trying to construct an inconstructible contract before its definition.chriseth2017-03-061-0/+18
| |/
* | Merge pull request #1748 from ethereum/singletonArraychriseth2017-03-081-0/+14
|\ \
| * | Test for array singletons.chriseth2017-03-061-0/+14
| |/
* | Tests for no compound assignment for tuples.chriseth2017-03-081-0/+12
* | Merge pull request #1750 from ethereum/asmoctalYoichi Hirai2017-03-081-0/+18
|\ \
| * | Disallow octal literals.chriseth2017-03-071-0/+18
| |/
* | Merge pull request #1736 from ethereum/boundoptimizerYoichi Hirai2017-03-081-0/+62
|\ \
| * | Tests for optimizing constants.chriseth2017-03-031-0/+62
* | | Merge pull request #1733 from ethereum/selfReferentialConstantchriseth2017-03-071-8/+41
|\ \ \
| * | | Check for circular references in constant variables.chriseth2017-03-061-8/+13
| * | | Tests for cyclic dependencies between constants.chriseth2017-03-061-0/+28
| | |/ | |/|
* / | Test for uninitialized mapping.chriseth2017-03-061-0/+24
|/ /
* | Merge pull request #1702 from ethereum/assertErrorYoichi Hirai2017-03-041-18/+18
|\ \ | |/ |/|
| * Remove assert for now.chriseth2017-02-241-18/+18
* | Test for declaring variable with empty tuple type.chriseth2017-03-021-0/+13
* | Test case for external function type with calldata argument.chriseth2017-03-011-0/+17
* | Merge pull request #1651 from ethereum/transfer-methodchriseth2017-02-242-0/+54
|\ \
| * | 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 type checking test for address methodsAlex Beregszaszi2017-02-241-0/+18
| * | Add test for address.transfer()Alex Beregszaszi2017-02-241-0/+36
* | | Merge pull request #1710 from ethereum/strictasmtestschriseth2017-02-241-30/+69
|\ \ \ | |/ / |/| |
| * | Fix compiler warning.chriseth2017-02-201-1/+1
| * | Also check imbalanced stack.chriseth2017-02-201-2/+3
| * | Check error messages for assembly tests.chriseth2017-02-171-29/+67
* | | Test for unbalanced stack due to loading two values from outside.chriseth2017-02-201-0/+13
|/ /
* | Merge pull request #1627 from ethereum/asmfunctionschriseth2017-02-171-0/+25
|\ \
| * | More tests.chriseth2017-02-161-0/+10
| * | Parsing function calls.chriseth2017-02-161-0/+5
| * | Parsing function definitions.chriseth2017-02-161-0/+10
| |/
* / Test case.chriseth2017-02-161-0/+16
|/
* Test for unicode string literals.chriseth2017-02-151-0/+11
* Tests for printing assembly.chriseth2017-02-141-0/+56
* Extract scopes into compiler stack.chriseth2017-02-143-3/+6
* Refactor NameAndTypeResolver and SyntaxChecker to allow other entry points.chriseth2017-02-141-1/+1
* Merge pull request #1661 from ethereum/asm-revertchriseth2017-02-132-0/+29
|\
| * Check for state changes in revert() testsAlex Beregszaszi2017-02-111-0/+5
| * Add tests for revert()Alex Beregszaszi2017-02-112-0/+24
* | 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
|/
* Disallow arrays with negative lengthAlex Beregszaszi2017-02-021-0/+10
* Cover both failure casesAlex Beregszaszi2017-02-021-1/+13
* Add more tests for function type conversionAlex Beregszaszi2017-02-012-1/+32
* Add tests for explicity fuction type to address castingAlex Beregszaszi2017-02-011-0/+12
* Add tests for invalid instructionAlex Beregszaszi2017-01-282-0/+20
* Merge pull request #1598 from wuestholz/developchriseth2017-01-272-4/+10
|\
| * Address feedback from code review.Valentin Wüstholz2017-01-262-9/+5
| * Change translation of implicit throws (issue #1589).Valentin Wüstholz2017-01-262-4/+14
* | Merge pull request #1451 from LefterisJP/fix_buildchriseth2017-01-271-3/+68
|\ \
| * | Tests for natspect parsing failure casesLefteris Karapetsas2017-01-271-0/+42
| * | Doc tags followed by newline are now parsed properlyLefteris Karapetsas2017-01-271-2/+2
| * | Fix and better output for testsLefteris Karapetsas2017-01-251-1/+1
| * | Accept any kind of whitespace after natspec tagsLefteris Karapetsas2017-01-251-0/+23
* | | Refactor json return type generation.chriseth2017-01-271-11/+11
| |/ |/|
* | Merge pull request #1604 from ethereum/checksumsAlex Beregszaszi2017-01-261-0/+49
|\ \
| * | Warn about invalid checksums of addresses.chriseth2017-01-251-0/+49
| |/
* | Update error message.chriseth2017-01-261-1/+1
* | Disallow assignment to non-identifiers.chriseth2017-01-261-0/+6
* | Add test for assignment.chriseth2017-01-261-1/+7
* | Moved test.chriseth2017-01-262-14/+6
* | Add test for shadowing inline assembly instructionAlex Beregszaszi2017-01-251-0/+13
|/
* 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-242-0/+157
|\
| * test: add tests about functions and events of the same nameYoichi Hirai2017-01-231-0/+47
| * 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
| * test: Add a test for #1215Yoichi Hirai2017-01-231-0/+11
* | Add tests for internal constructor.chriseth2017-01-212-0/+36
|/
* Reset AST node IDs between compilation runs.chriseth2017-01-201-0/+1
* Properly escape user strings and lists.chriseth2017-01-191-12/+12
* Type identifiers.chriseth2017-01-191-0/+66
* Provide fallback for linking.chriseth2017-01-191-12/+12
* Revert "Fix contract lookup in tests"Rhett Aultman2017-01-172-7/+3
* Modify library collision testRhett Aultman2017-01-171-0/+1
* Revert "Move clashing libraries to common source in test"Rhett Aultman2017-01-171-1/+2
* Use fully-qualified names for linking, tooRhett Aultman2017-01-171-12/+12
* Fix contract lookup in testsRhett Aultman2017-01-172-3/+7
* Move clashing libraries to common source in testRhett Aultman2017-01-171-2/+1
* Merge pull request #1479 from ethereum/function_variable_mixinchriseth2017-01-132-56/+25
|\
| * test: allow multiple errors in modifier-function overridingYoichi Hirai2017-01-121-2/+6
| * analysis: allow some shadowings explicitlyYoichi Hirai2017-01-122-56/+21
* | fixedVoR02202017-01-121-2/+2
* | added fix and a test for order independence of nested prefixingVoR02202017-01-121-0/+18
* | fixed test and added solutionVoR02202017-01-091-2/+2
* | added testVoR02202017-01-091-0/+11
|/
* test: add a test importing a file name starting with a periodYoichi Hirai2017-01-041-0/+8
* test: add a test case for #1286Yoichi Hirai2017-01-031-0/+22
* Merge pull request #1487 from ethereum/shift-opsYoichi Hirai2016-12-141-0/+390
|\
| * 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
* | Improve error message when trying to modify constant variablesFederico Bond2016-12-131-0/+11
|/
* Warn about using msg.value in non-payable functionFederico Bond2016-12-091-1/+89
* Merge pull request #1351 from ethereum/truncate_bitchriseth2016-12-082-1/+29
|\
| * codegen: clean any data from the inputYoichi Hirai2016-12-011-1/+1
| * test: add a test that witnesses #1318Yoichi Hirai2016-12-011-0/+28
* | Merge pull request #1412 from ethereum/disallow-multiple-errorschriseth2016-12-081-25/+113
|\ \
| * | test: either fix tests to raise just one error, or mark them as raising multi...Yoichi Hirai2016-12-051-32/+112
| * | test: disallow more than one errors in name and type testsYoichi Hirai2016-12-051-0/+8
* | | test: check error messages in parser testsYoichi Hirai2016-12-072-24/+49
|/ /
* | Migrate remaining source code in tests to R literalsFederico Bond2016-12-044-592/+810
* | Count instructions without metadata hash.chriseth2016-12-011-10/+22
* | Submit library addresses to the compiler in tests (and not link afterwards)Alex Beregszaszi2016-12-011-2/+1
* | Remove unneeded optimised test from EndToEndTestAlex Beregszaszi2016-12-011-7/+0
* | Optimizer tests to not interfere with the optimiser flagAlex Beregszaszi2016-12-011-11/+24
* | Fix testschriseth2016-12-011-2/+5
* | Use CBOR encoding.chriseth2016-12-011-1/+1
* | Fix tests.chriseth2016-12-011-11/+0
* | Add test.chriseth2016-12-011-2/+22
* | Metadata stamp.chriseth2016-12-011-1/+1
* | Merge pull request #1462 from ethereum/fix-incorrect-assertionchriseth2016-12-011-1/+1
|\ \
| * | test: more precise expectation about the error for assigning into storage in ...Yoichi Hirai2016-12-011-1/+1
* | | Merge pull request #1461 from ethereum/reference-not-pointerchriseth2016-12-011-7/+7
|\ \ \
| * | | test: change retrieveFunctionBySignature to take a constant reference rather ...Yoichi Hirai2016-12-011-7/+7
| |/ /
* | | Merge pull request #1458 from federicobond/r-literalschriseth2016-12-012-719/+936
|\ \ \
| * | | Use more R string literals in testsFederico Bond2016-12-012-719/+936
| | |/ | |/|
* | | Merge pull request #1454 from ethereum/end-of-commentchriseth2016-12-012-0/+25
|\ \ \ | |_|/ |/| |
| * | Test that contracts separated by comments are compiledAlex Beregszaszi2016-12-011-0/+12
| * | parser: recognize an end of comment of the form `**/` at the end of a multi-l...Yoichi Hirai2016-12-011-0/+13
| |/
* / Fix typos (existant -> existent)Federico Bond2016-12-011-1/+1
|/
* Merge pull request #1442 from ethereum/lll-testingAlex Beregszaszi2016-11-305-422/+91
|\
| * Rename testSolidityAgainstCpp* to testContractAgainstCpp*Alex Beregszaszi2016-11-301-75/+75
| * Move ExecutionFramework to the dev::test namespaceAlex Beregszaszi2016-11-305-4/+6
| * Split out Solidity-specific part of ExecutionFrameworkAlex Beregszaszi2016-11-305-344/+11
* | Fix sub-0 optimiser testAlex Beregszaszi2016-11-301-3/+4
* | Update SolidityOptimizer.cppchriseth2016-11-301-3/+3
* | Add test for SUB with 0 optimisationAlex Beregszaszi2016-11-301-0/+22
|/
* Merge pull request #1429 from ethereum/unreachablepeepholechriseth2016-11-251-5/+43
|\
| * Peephole optimizer for unreacheable code.chriseth2016-11-251-5/+43
* | Merge pull request #1381 from ethereum/overflown_enum_comparedchriseth2016-11-251-0/+96
|\ \ | |/ |/|
| * 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
* | test: add a test about explicitly converting a string literal to stringYoichi Hirai2016-11-251-1/+11
* | ast: string literals that are not valid UTF are not convertible to stringsYoichi Hirai2016-11-251-1/+1
* | test: add a test case converting an invalid UTF-8 into a stringYoichi Hirai2016-11-251-0/+10
* | Merge pull request #1392 from ethereum/check_warning_contentschriseth2016-11-253-300/+389
|\ \
| * | test: various fixesYoichi Hirai2016-11-252-23/+25
| * | interface: move searchForSubstring out of Error class into a separate fileYoichi Hirai2016-11-243-2/+67
| * | interface: fix the substring searchYoichi Hirai2016-11-241-2/+2
| * | test: wrapping the error message checking in a macroYoichi Hirai2016-11-241-272/+294
| * | test: check the error textsYoichi Hirai2016-11-241-188/+188
| |/
* / Enable the optimizer for test runs.chriseth2016-11-231-0/+1
|/
* Merge pull request #1425 from ethereum/fixLicensingchriseth2016-11-2317-68/+68
|\
| * Fix licensing headersVoR02202016-11-2317-68/+68
* | test: add a test case about returning a struct in memory from a libraryYoichi Hirai2016-11-231-0/+11
|/
* Optimizer: Clear state for JUMPDESTs.chriseth2016-11-221-0/+20
* Rename test contract names to capitalisedAlex Beregszaszi2016-11-181-12/+12
* Add payable to constructor ABI testsAlex Beregszaszi2016-11-181-0/+2
* Add missing payable constructorsAlex Beregszaszi2016-11-181-1/+12
* Some more assertions and style changes.chriseth2016-11-161-3/+14
* Some more tests.chriseth2016-11-162-7/+16
* JSON tests.chriseth2016-11-162-0/+37
* Change encoding to address-funid and add "function" as ABI type.chriseth2016-11-161-3/+3
* Disable broken tests that are not useful.chriseth2016-11-162-45/+2
* Fix tests.chriseth2016-11-162-4/+4
* Fix parser for function type disambiguity.chriseth2016-11-161-0/+11
* test: add a test about external function type taking/returning internal funct...Yoichi Hirai2016-11-161-0/+20
* Converted sub assembly to smart pointer.chriseth2016-11-162-1/+19
* Stored combined creation and runtime tags.chriseth2016-11-162-1/+64
* Fix tests.chriseth2016-11-162-2/+2
* Test passing functions as arrays to other contracts.chriseth2016-11-161-3/+40
* Disallow payable internal functions.chriseth2016-11-161-0/+36
* Fix tests.chriseth2016-11-161-9/+22
* delete for function typeschriseth2016-11-162-1/+63
* codegen: add a compilation mode and a runtime context to CompilerContextYoichi Hirai2016-11-161-1/+1
* 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-163-26/+197
* Add a test around storing functions in an arrayYoichi Hirai2016-11-161-0/+39
* Add a parser test for arrays containing functionsYoichi Hirai2016-11-161-0/+10