Commit Graph

11178 Commits

Author SHA1 Message Date
Lefteris Karapetsas
d586a88f3c style fixes in TestHelper.h 2015-03-09 13:06:16 +01:00
Lefteris Karapetsas
3efbe46a49 Improving ETH_TEST() exceptions
- Properly printing fail check/require message same way as BOOST
  implementation does

- Also add a Test Pass Checkpoint call to be sure the last checkpoint is
  reported properly

- Catch any sort of exception in the no throw
2015-03-09 12:27:30 +01:00
CJentzsch
b5c78387c0 Merge remote-tracking branch 'upstream/develop' into suicideRefundTests
Conflicts:
	test/stTransactionTestFiller.json
	test/vmArithmeticTestFiller.json
2015-03-09 10:43:08 +01:00
Lu Guanqun
ff4d2cc7dc fix rebase errors 2015-03-08 17:26:36 -05:00
subtly
f93734535f Merge branch 'develop' into p2p 2015-03-08 19:13:02 +01:00
Lu Guanqun
f5b1fec699 add another var x = f; overloaded function test case 2015-03-08 09:50:54 -05:00
Lu Guanqun
5dcee599f1 add the location of a duplicated function 2015-03-08 09:50:54 -05:00
Lu Guanqun
4033615464 make it work for var x = f; 2015-03-08 09:50:54 -05:00
Lu Guanqun
ddcfd441f3 remove debug stuff 2015-03-08 09:50:53 -05:00
Lu Guanqun
3b9b71e0ae implement overload resolution 2015-03-08 09:50:06 -05:00
Lu Guanqun
1da211920e add two overloaded function test cases 2015-03-08 09:48:53 -05:00
Lu Guanqun
e008f3f808 the contract interfaces should take overloaded function into consideration TODO: 2015-03-08 09:48:53 -05:00
Lu Guanqun
b87c5547a5 add test cases for functions in derived overload functions in base 2015-03-08 09:48:53 -05:00
Lu Guanqun
068bb5d731 enhance DeclarationContainer to use std::set so that it can handle overloaded function names 2015-03-08 09:48:53 -05:00
Lu Guanqun
7d7f9ec67f fix test code due to API changes in DeclarationContainer 2015-03-08 09:48:53 -05:00
Lu Guanqun
1efef53cb3 mark an identifier as callable if its next token is '(' 2015-03-08 09:48:53 -05:00
Lu Guanqun
114776dfba add end to end test cases related to overloaded functions 2015-03-08 09:48:53 -05:00
Lu Guanqun
a1eed07432 add two parsing test cases related to overloaded functions 2015-03-08 09:48:53 -05:00
Gav Wood
52e9a85d62 Merge pull request #1235 from winsvega/poc9trie
vmTests
2015-03-08 14:51:03 +01:00
subtly
ee02d25453 coding standards 2015-03-08 13:48:49 +01:00
subtly
587e544063 fix kdf test 2015-03-08 13:45:23 +01:00
Gav Wood
67ffc3db71 Solidity fixes. 2015-03-08 11:43:17 +01:00
CJentzsch
2dfb5eb3f2 adjust gas prices for arithmetic tests 2015-03-07 23:52:26 +01:00
subtly
845053da19 Merge branch 'develop' into p2p 2015-03-07 22:47:53 +01:00
CJentzsch
8172e11f1a Merge remote-tracking branch 'upstream/develop' into suicideRefundTests 2015-03-07 22:33:03 +01:00
subtly
c46b429993 Merge branch 'develop' into p2p 2015-03-07 18:35:59 +01:00
Gav Wood
a2ca8cefb7 Gas pricing infrastructure and a couple of pricing mechanisms. 2015-03-07 16:43:05 +01:00
CJentzsch
db9e0e7b31 add suiciderefund tests 2015-03-07 14:18:22 +01:00
Marek Kotewicz
dab392876a Merge branch 'develop' into new_jsonrpc
Conflicts:
	libweb3jsonrpc/WebThreeStubServerBase.cpp
2015-03-07 11:10:21 +01:00
Gav Wood
986fdb9d5f Avoid checking for difficulty when doing PoW test. 2015-03-06 22:53:49 +01:00
winsvega
65c82ecde2 vmTests
Arithmetic gas increased
2015-03-06 22:51:56 +03:00
Marek Kotewicz
2f699b222b Merge branch 'develop' into new_jsonrpc 2015-03-06 19:35:46 +01:00
chriseth
0f6224a70f Merge pull request #1228 from LefterisJP/eth_TestNoThrowInfo
Test macros for printing Exception information
2015-03-06 16:25:58 +01:00
chriseth
0e50ef1ee0 Fixed gas calculation for CALL. 2015-03-06 16:23:39 +01:00
Marek Kotewicz
3726e267a8 Merge branch 'mac_fixes' into new_jsonrpc
Conflicts:
	libethcore/CommonJS.h
	libweb3jsonrpc/WebThreeStubServerBase.cpp
	libweb3jsonrpc/WebThreeStubServerBase.h
	libweb3jsonrpc/abstractwebthreestubserver.h
	libweb3jsonrpc/spec.json
2015-03-06 15:51:12 +01:00
chriseth
ce29adc29f Merge pull request #1222 from chriseth/sol_copyFromCalldata
Copying between calldata and storage.
2015-03-06 15:42:49 +01:00
chriseth
6fea41abd8 Merge pull request #1222 from chriseth/sol_copyFromCalldata
Copying between calldata and storage.
2015-03-06 15:42:49 +01:00
chriseth
2650703ece Typo 2015-03-06 15:40:02 +01:00
chriseth
8de5ff5c25 Update Types.h
Typo
2015-03-06 15:39:21 +01:00
Paweł Bylica
dec565f882 Merge remote-tracking branch 'upstream/develop' into evmjit 2015-03-06 15:34:02 +01:00
Paweł Bylica
5c713d1429 Merge remote-tracking branch 'upstream/develop' into evmjit 2015-03-06 15:34:02 +01:00
Paweł Bylica
5fb44b241d Merge remote-tracking branch 'upstream/develop' into evmjit 2015-03-06 15:34:02 +01:00
Lefteris Karapetsas
e2c01948f4 Style fixes and better exception message format 2015-03-06 14:40:46 +01:00
Lefteris Karapetsas
4534ff8792 Adding ETH_TEST macros to ABI and EndToEndTests 2015-03-06 14:37:20 +01:00
Lefteris Karapetsas
4cd659c51d NameAndtypeResolution tests use ETH_TEST macros 2015-03-06 14:37:20 +01:00
Lefteris Karapetsas
79bbe1e5d8 Move ETH_TEST() Macros to TestHelper.h
- Also use them in Solidity Parser
2015-03-06 14:37:20 +01:00
Lefteris Karapetsas
10c666fb52 Extracting ETH_TEST_REQUIRE_NO_THROW() from my other PR 2015-03-06 14:37:20 +01:00
chriseth
1234526c93 Fix type checks for storage variable initializer. 2015-03-06 13:47:32 +01:00
chriseth
28e88903dc Fix type checks for storage variable initializer. 2015-03-06 13:47:32 +01:00
Gav Wood
1308d62308 Merge branch 'poc9trie' of github.com:ethereum/cpp-ethereum into poc9trie
Conflicts:
	libethcore/BlockInfo.cpp
	libethcore/Exceptions.cpp
	libethcore/Exceptions.h
2015-03-06 13:28:37 +01:00