aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Expand)AuthorAgeFilesLines
* Add tests for assert()Alex Beregszaszi2017-02-101-0/+19
* Ensure that the whole message was written on Windows IPCAlex Beregszaszi2017-02-091-1/+1
* Simplify the Windows IPC codeAlex Beregszaszi2017-02-091-6/+3
* Detect closed sockets in IPCAlex Beregszaszi2017-02-091-1/+2
* Do not expect a new line, rather buffer up the response in IPCAlex Beregszaszi2017-02-092-20/+17
* Use only send/recv in IPCAlex Beregszaszi2017-02-092-8/+4
* Do not log dots in soltest on windowsAlex Beregszaszi2017-02-091-3/+0
* Use BOOST_REQUIRE() and stop at the first failureAlex Beregszaszi2017-02-091-5/+5
* Check the return value of RPC callsAlex Beregszaszi2017-02-091-6/+8
* Avoid crash if fdopen failed in IPCAlex Beregszaszi2017-02-091-0/+2
* Ensure that a valid RPC response is received through IPCAlex Beregszaszi2017-02-091-1/+1
* Merge branch 'develop' into negative-length-arrayschriseth2017-02-022-8/+8
|\
| * Replace cpp-ethereum with solidity in the license headersAlex Beregszaszi2017-02-022-8/+8
* | 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-263-0/+183
|\ \
| * | Add some more tests for the checksum routine.chriseth2017-01-251-0/+83
| * | Tests for library checksums.chriseth2017-01-251-0/+51
| * | 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
* | LLL: add test for (panic) in a sequenceAlex Beregszaszi2017-01-121-0/+7
* | 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-175-10/+6
* 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-175-6/+10
* 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
| * Display tx hash for debugging.chriseth2016-12-121-2/+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
* | Merge pull request #1494 from ethereum/showtxhashYoichi Hirai2016-12-131-2/+5
|\ \ | |/ |/|
| * Display tx hash for debugging.chriseth2016-12-101-2/+5
* | Merge pull request #1464 from federicobond/warn-msgvaluechriseth2016-12-111-1/+89
|\ \
| * | Warn about using msg.value in non-payable functionFederico Bond2016-12-091-1/+89
| |/
* | Merge pull request #1481 from zigguratt/lll-end-to-end-testingchriseth2016-12-111-0/+229
|\ \ | |/ |/|
| * Removed 'panic' from 'constructor_arguments_external' and added specificDaniel Ellison2016-12-071-2/+147
| * Added tests for LLL constructors. Fixed a few tab issues.Daniel Ellison2016-12-071-5/+49
| * Removed enclosed_panic test until assembler bug is fixed.Daniel Ellison2016-12-071-7/+0
| * Simplified exp_operator_on_range test and changed to tedting a range.Daniel Ellison2016-12-071-11/+7
| * Added tests for exponent operator.Daniel Ellison2016-12-071-0/+37
| * Added 'panic' tests.Daniel Ellison2016-12-071-0/+14
* | 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
| | |/ | |/|
* | | Merge pull request #1488 from ethereum/parser-error-msgchriseth2016-12-082-24/+49
|\ \ \
| * | | test: check error messages in parser testsYoichi Hirai2016-12-072-24/+49
| |/ /
* | | Also provide value and format slightly differently.chriseth2016-12-071-3/+6
* | | Option to show messages in tests.chriseth2016-12-074-0/+15
|/ /
* | 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 type of optimizeRunsAlex Beregszaszi2016-12-011-1/+1
* | 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-012-13/+13
* | 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 #1313 from ethereum/lll-strict-parserchriseth2016-12-011-1/+3
|\ \ \
| * | | LLL: update tests with the strict parserAlex Beregszaszi2016-12-011-1/+3
| |/ /
* | | 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-3015-428/+867
|\
| * Rename testSolidityAgainstCpp* to testContractAgainstCpp*Alex Beregszaszi2016-11-302-85/+85
| * LLLExecutionFramework doesn't support contractName/libraryAddressesAlex Beregszaszi2016-11-301-0/+3
| * Add callFallback to ExectionFrameworkAlex Beregszaszi2016-11-302-1/+12
| * LLL: check for return value in LLL smoke testAlex Beregszaszi2016-11-301-0/+1
| * LLL: add end-to-end testsAlex Beregszaszi2016-11-303-0/+152
| * Move ExecutionFramework to the dev::test namespaceAlex Beregszaszi2016-11-3010-11/+11
| * Split out Solidity-specific part of ExecutionFrameworkAlex Beregszaszi2016-11-3010-349/+441
| * Add test/liblll to cmakeAlex Beregszaszi2016-11-301-1/+2
| * LLL: add parser testsAlex Beregszaszi2016-11-301-0/+179
* | 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-236-3/+5
|/
* Merge pull request #1425 from ethereum/fixLicensingchriseth2016-11-2326-104/+104
|\
| * Fix licensing headersVoR02202016-11-2326-104/+104
* | 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 keyword to the multisig walletAlex Beregszaszi2016-11-181-1/+1
* 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
* Merge pull request #1379 from ethereum/swarmHashCorrectionchriseth2016-11-161-7/+8
|\
| * Correct implementation of swarm hash.chriseth2016-11-151-7/+8
* | 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
|/
* Merge pull request #1327 from ethereum/inline-assembly-errortagAlex Beregszaszi2016-11-152-0/+20
|\
| * Rename ErrorTag to invalidJumpLabel in inline assemblyAlex Beregszaszi2016-11-152-3/+3
| * Add tests for the ErrorTagAlex Beregszaszi2016-11-152-0/+20
* | Merge pull request #1366 from ethereum/swarmhashchriseth2016-11-152-2/+59
|\ \ | |/ |/|
| * Move swarmHash to its own file.chriseth2016-11-151-1/+1
| * Multi-level swarm hash.chriseth2016-11-152-2/+59
* | 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: add a test case about SourceLocationYoichi Hirai2016-11-072-0/+51
|/
* 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-116-29/+29
|\ \
| * | Rename dev::sha3 to dev::keccak256Alex Beregszaszi2016-10-066-29/+29
* | | 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
* Fix version pragma in tests.chriseth2016-09-083-3/+3