aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity
Commit message (Expand)AuthorAgeFilesLines
* 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
* Add tests around calling functions returning functions returning functionsYoichi Hirai2016-11-162-0/+45
* External functions in storage.chriseth2016-11-161-1/+27
* Fix some type checks and tests for internal / external function parameters.chriseth2016-11-162-8/+32
* Function type state variables.chriseth2016-11-162-2/+47
* Code generator for function types.chriseth2016-11-162-1/+81
* Function types.chriseth2016-11-163-0/+118
* Change natspec/abi JSON expected message to be the sameAlex Beregszaszi2016-11-162-5/+6
* Move JSON helpers to libdevcore/jsonAlex Beregszaszi2016-11-161-1/+2
* Update tests to use JSONAlex Beregszaszi2016-11-162-9/+5
* Rename ErrorTag to invalidJumpLabel in inline assemblyAlex Beregszaszi2016-11-152-3/+3
* Add tests for the ErrorTagAlex Beregszaszi2016-11-152-0/+20
* Add testschriseth2016-11-151-5/+13
* 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 conerting an enum into another enum, which should failYoichi Hirai2016-11-121-0/+15
* parsing: ban empty enum definition.Yoichi Hirai2016-11-122-15/+1
* 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
* Merge pull request #768 from roadriverrail/do_while_loopschriseth2016-11-111-0/+28
|\
| * Add support for do/while loopsRhett Aultman2016-11-101-0/+28
* | Merge pull request #1339 from ethereum/typochriseth2016-11-091-3/+3
|\ \
| * | Fail if parsing fails in type checker tests.chriseth2016-11-091-1/+1
| * | test: fix a typo in calling_payable testYoichi Hirai2016-11-091-2/+2
| |/
* / libevmasm: fix comparison of SourceLocationsYoichi Hirai2016-11-081-1/+3
|/
* Test case for overflow in storage.chriseth2016-10-311-0/+20
* Add tests for #1246Yoichi Hirai2016-10-251-0/+16
* Merge pull request #1264 from ethereum/988chriseth2016-10-252-0/+127
|\
| * test: add more tests about state variable access under base contract namesYoichi Hirai2016-10-251-2/+35
| * test: add tests from #988Yoichi Hirai2016-10-242-0/+79
| * test: add a test case for accessing a state variable under the contract's nameYoichi Hirai2016-10-241-0/+15
* | Test.chriseth2016-10-241-3/+16
|/
* test: add a test about using an inherited enum definition as an expression,Yoichi Hirai2016-10-241-0/+42
* Fix crash in throw.chriseth2016-10-241-0/+12
* Merge pull request #1240 from ethereum/1151chriseth2016-10-241-0/+17
|\
| * Add a test for #1151Yoichi Hirai2016-10-201-0/+17
* | test: add a test about accessing an enum member without the name of the enumYoichi Hirai2016-10-211-0/+15
* | test: add tests for #1131Yoichi Hirai2016-10-212-0/+68
* | Add tests for inline assembly in modifiersAlex Beregszaszi2016-10-212-0/+73
* | Add two test cases for unbalanced inline assemblyAlex Beregszaszi2016-10-201-0/+28
* | Allow warnings for inline assembly blockAlex Beregszaszi2016-10-201-1/+1
|/
* Add tests for constant shiftsAlex Beregszaszi2016-10-202-0/+84
* Add tests for magic variables in inline assemblyAlex Beregszaszi2016-10-201-0/+7
* Add test case for bound types without selfAlex Beregszaszi2016-10-191-0/+19
* Add a test for #1242Yoichi Hirai2016-10-181-0/+9
* Merge pull request #1079 from VoR0220/fixedTypeTestFrameworkRJ2016-10-141-1/+9
|\
| * Replace `fixed` by standard `encode` function.chriseth2016-10-121-6/+8
| * Solidity helper function for testing fixed pointsVoR02202016-09-101-1/+7
* | Fix assignment after tags in inline assemblyAlex Beregszaszi2016-10-111-0/+5
* | Fix build error.chriseth2016-10-111-4/+6
* | Merge pull request #1168 from ethereum/rename-dev-sha3chriseth2016-10-115-28/+28
|\ \
| * | Rename dev::sha3 to dev::keccak256Alex Beregszaszi2016-10-065-28/+28
* | | Add test for address in inline assemblyAlex Beregszaszi2016-10-071-1/+1
* | | Add alias keccak256() for sha3()Alex Beregszaszi2016-10-061-0/+18
* | | Add test for suicide/selfdestructAlex Beregszaszi2016-10-061-0/+5
|/ /
* | 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 crash for TypeName[k].chriseth2016-09-161-0/+10
|/
* Fix problem with release version string.chriseth2016-09-081-1/+1
* Tests for constructor visibilityAlex Beregszaszi2016-09-061-0/+10
* Tests for constant constructorsAlex Beregszaszi2016-09-061-0/+11
* Merge pull request #1014 from ethereum/strict-fallbackchriseth2016-09-062-2/+11
|\
| * Reject constant modifier on the fallback functionAlex Beregszaszi2016-09-062-2/+11
* | Provide gas stipend manually for send(0).chriseth2016-09-061-0/+20
|/
* Merge pull request #665 from axic/feature/accept-etherchriseth2016-09-065-33/+298
|\
| * Test and fixes for payable fallback in ABI.chriseth2016-09-061-0/+20
| * Tests for payable / private combination.chriseth2016-09-061-0/+20
| * Change placeholder style.chriseth2016-09-061-1/+1
| * Make constant and payable mutually exclusive.chriseth2016-09-061-0/+8
| * Change function type to include and propagate payable and constant modifier.chriseth2016-09-063-34/+45
| * Merged in changes from chriseth/payableAlex Beregszaszi2016-09-063-13/+110
| * 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
| * Include ABI JSON test for payable keywordAlex Beregszaszi2016-09-061-0/+49
* | Merge pull request #995 from chriseth/fixutf8astjsonchriseth2016-09-061-0/+16
|\ \ | |/ |/|
| * Test case for non-utf8 characters in string literal.chriseth2016-09-061-0/+16
* | Require ";" after "_"chriseth2016-09-054-39/+47
|/
* Fix version pragmas in tests.chriseth2016-09-016-42/+42
* Version pragma.chriseth2016-09-017-57/+301
* Merge pull request #960 from Denton-L/change-else-stylechriseth2016-09-012-2/+3
|\
| * Fix syntax errorDenton Liu2016-08-311-1/+1
| * Make tests more consistent in styleDenton Liu2016-08-272-2/+3
* | Merge pull request #947 from winsvega/soltestwinsvega2016-08-311-1/+1
|\ \
| * | rename --ipc to --ipcpathDimitry2016-08-291-1/+1
* | | Test cases.chriseth2016-08-302-0/+23
* | | Make fallback function throw by default.chriseth2016-08-302-1/+3
* | | Add test for fallback function in JSON ABIAlex Beregszaszi2016-08-271-9/+19
| |/ |/|
* | Merge pull request #897 from Denton-L/remove-standardchriseth2016-08-274-19/+3
|\ \
| * | Remove standard contractsDenton Liu2016-08-194-19/+3
* | | Fix tests.chriseth2016-08-261-9/+9
* | | Disallow fallback function to return values.chriseth2016-08-261-0/+10
| |/ |/|
* | Merge pull request #928 from winsvega/solremovechriseth2016-08-251-5/+16
|\ \ | |/ |/|
| * remove sha256 and rmd160 hashDimitry2016-08-241-5/+16
* | Rename root AST JSON node to SourceUnitAlex Sinyagin2016-08-181-2/+2
* | Use the full names for JSON AST nodesAlex Sinyagin2016-08-181-8/+8
* | Add ast json converter for PlaceholderStatementAlex Sinyagin2016-08-181-0/+13
* | Add ast json converter for ArrayTypeNameAlex Sinyagin2016-08-181-0/+13
* | Add ast json converter for ModifierInvocation and EventDefinitionAlex Sinyagin2016-08-181-0/+30
* | Add ast json converter for ModifierDefinitionAlex Sinyagin2016-08-181-0/+14
* | Add ast json converter for EnumValueAlex Sinyagin2016-08-181-0/+17
* | Add ast json converter for EnumDefinitionAlex Sinyagin2016-08-181-0/+14
* | Check source loctaion in the InhertanceSpecifier testAlex Sinyagin2016-08-181-0/+1
* | Add ast json converter for UsingForDirectiveAlex Sinyagin2016-08-181-0/+17
* | Add a ast json converter for InheritanceSpecifierAlex Sinyagin2016-08-181-0/+14
* | Merge pull request #918 from winsvega/solremove4chriseth2016-08-171-165/+0
|\ \
| * | remove solidity --interfaceDimitry2016-08-171-165/+0
| |/
* | Merge pull request #839 from chriseth/checkcodechriseth2016-08-171-0/+26
|\ \
| * | Make function calls throw if target does not have code.chriseth2016-08-171-0/+26
| |/
* | Merge pull request #888 from chriseth/throwOnDivZerochriseth2016-08-172-0/+29
|\ \
| * | Fix tests.chriseth2016-08-171-0/+8
| * | Throw on division by zero.chriseth2016-08-171-0/+21
* | | BREAKING: return only exits current function/modifierchriseth2016-08-171-2/+134
| |/ |/|
* | Merge pull request #836 from chriseth/unusedunderscorechriseth2016-08-172-12/+22
|\ \ | |/ |/|
| * Fix tests.chriseth2016-08-172-12/+12
| * Require modifiers to contain "_".chriseth2016-08-161-0/+10
* | Merge pull request #838 from chriseth/ecrecoverchriseth2016-08-171-0/+16
|\ \
| * | Actually better to return zero on error.chriseth2016-08-161-5/+3
| * | Make ecrecover throw for malformed input.chriseth2016-08-161-0/+18
| |/
* | Introduce hex literals (#832)Alex Beregszaszi2016-08-161-0/+36
* | Throw if contract creation fails.chriseth2016-08-161-0/+27
|/
* Show compilation errors in tests.chriseth2016-08-121-1/+12
* Cleanup of test suite init.chriseth2016-08-121-3/+0
* Remove After test caseDenton Liu2016-08-111-6/+0
* Include Unicode tests in the scannerAlex Beregszaszi2016-08-051-0/+40
* Windows pipe for soltestDmitry K2016-08-031-15/+2
* Further fixes to the optimizer.chriseth2016-08-021-1/+4
* Test case.chriseth2016-08-011-0/+58
* Fix optimizer tests.chriseth2016-08-011-3/+6
* Make the Solidity repository standalone.Bob Summerwill2016-08-014-18/+33
* Bugfix: Allocate empty array.chriseth2016-07-281-0/+14
* Source location as part of AST.chriseth2016-07-211-0/+69
* Rename IPCSocket and removed unused code in TestHelper.chriseth2016-06-291-1/+1
* Fixes for gas tests.chriseth2016-06-291-1/+16
* Some more test fixes.chriseth2016-06-291-1/+1
* Fix some more tests.chriseth2016-06-293-11/+40
* Fix empty storage check.chriseth2016-06-291-1/+3
* Parse arguments in free function.chriseth2016-06-292-18/+10
* parse command line argumentsDimitry2016-06-292-3/+32
* replace BalanceAtDimitry2016-06-293-9/+12
* Balance and storage.chriseth2016-06-293-61/+74
* logschriseth2016-06-293-9/+24
* Refactor testing via IPC.chriseth2016-06-296-62/+83
* Stylechriseth2016-06-291-7/+7
* test frameworkDimitry2016-06-291-62/+43
* Initial poc to test via ipc.chriseth2016-06-291-0/+31
* Only warn about unused return in low-level functions.chriseth2016-06-261-1/+49
* Warn about unused return values.chriseth2016-06-261-0/+25
* Allow remappings to change depending on the context.chriseth2016-06-091-0/+22
* Tests for implementation by constructor.chriseth2016-06-071-0/+15
* Add a test for a struct accessor.chriseth2016-06-051-0/+26
* Inaccessible dynamic typeschriseth2016-06-022-0/+21
* Fixes for invalid cleanups for small types.chriseth2016-05-201-3/+4
* Tests for invalid cleanup and missing bool conversion code.chriseth2016-05-202-0/+30
* explicit conversion and loosening of binary operations on integer and fixed p...VoR02202016-05-191-2/+1
* current debugging infoVoR02202016-05-191-0/+39
* Merge pull request #545 from chriseth/accessFunLabelschriseth2016-05-181-0/+19
|\
| * Allow access to functions in inline assembly.chriseth2016-05-121-0/+19
* | Merge pull request #546 from chriseth/fixiszerochriseth2016-05-141-0/+20
|\ \ | |/ |/|
| * Correctly use not/bnot/iszero.chriseth2016-05-091-0/+20
* | Remove unused tests and add asserts for not implemented parts in code generat...chriseth2016-05-111-22/+0
* | Correctly handle unexpected exceptions during tests.chriseth2016-05-111-2/+34
* | reorganized tests and fixed mobile types and implicit conversions of rational...VoR02202016-05-101-82/+125
* | updated algorithm for bit finding...now to figure out literal valueVoR02202016-05-101-4/+3
* | added bytes conversion tests, resolved that, converted to binary scaling, ref...VoR02202016-05-102-26/+64
* | fixing modulus and Solidity Name and Type ResolutionVoR02202016-05-101-272/+0
* | currently what we haveVoR02202016-05-101-1/+1
* | got exponents up and working with their inverse, changed a few of the tests.....RJ Catalano2016-05-101-41/+131
* | fixed problem with var...probably a conversion problem for fixed in size capa...RJ Catalano2016-05-101-2/+70
* | fix for token bug, also quick fix for the wei and secondsRJ Catalano2016-05-101-1/+1
* | Rational implemented...trying to figure out exponentialRJ Catalano2016-05-101-2/+30
* | initial work for fixed types...potentially needing a constant literal type fo...RJ Catalano2016-05-103-31/+475
|/
* Modify failing test: Accessor functions are not available anymore in libraries.chriseth2016-05-041-2/+1
* Some more tests.chriseth2016-05-042-0/+39
* Allow calling internal functions of libraries.chriseth2016-05-041-0/+77
* Merge pull request #507 from chriseth/sealEngineBob Summerwill2016-04-161-13/+2
|\
| * Explicitly init seal engine.chriseth2016-04-161-13/+2
* | Test for bug in static array constructor argument decoder.chriseth2016-04-161-0/+20
|/
* Test for bug when deleting dynamic array of structs.chriseth2016-04-151-0/+22
* Merge pull request #491 from winsvega/sealenginesBob Summerwill2016-04-131-0/+14
|\
| * sealengines throught init functionDimitry2016-04-111-0/+14
* | Remove log.h from solidity.chriseth2016-04-125-5/+0
|/