aboutsummaryrefslogtreecommitdiffstats
path: root/SolidityEndToEndTest.cpp
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2015-01-09 18:51:52 +0800
committerChristian <c@ethdev.com>2015-01-09 18:51:52 +0800
commit2e93e7e676ea9b54e2b69cdc834bf57f47a2d409 (patch)
tree86d25bd6cb08b5a6b966f0298a7d606d975fcf09 /SolidityEndToEndTest.cpp
parent0504dc21e1ea9820bdc1e92f539d661866490822 (diff)
downloaddexon-solidity-2e93e7e676ea9b54e2b69cdc834bf57f47a2d409.tar.gz
dexon-solidity-2e93e7e676ea9b54e2b69cdc834bf57f47a2d409.tar.zst
dexon-solidity-2e93e7e676ea9b54e2b69cdc834bf57f47a2d409.zip
Buildfix after semantical merge conflict.
Diffstat (limited to 'SolidityEndToEndTest.cpp')
-rw-r--r--SolidityEndToEndTest.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/SolidityEndToEndTest.cpp b/SolidityEndToEndTest.cpp
index a9b7ff90..1ddd26f7 100644
--- a/SolidityEndToEndTest.cpp
+++ b/SolidityEndToEndTest.cpp
@@ -860,7 +860,7 @@ BOOST_AUTO_TEST_CASE(log0)
u256 amount(130);
compileAndRun(sourceCode, amount + 1);
u160 address(23);
- callContractFunction(0, address, amount);
+ callContractFunction("a()", address, amount);
BOOST_CHECK_EQUAL(m_logs.size(), 1);
BOOST_CHECK_EQUAL(m_logs[0].address, m_contractAddress);
BOOST_CHECK_EQUAL(h256(m_logs[0].data), h256(u256(1)));
@@ -877,7 +877,7 @@ BOOST_AUTO_TEST_CASE(log1)
u256 amount(130);
compileAndRun(sourceCode, amount + 1);
u160 address(23);
- callContractFunction(0, address, amount);
+ callContractFunction("a()", address, amount);
BOOST_CHECK_EQUAL(m_logs.size(), 1);
BOOST_CHECK_EQUAL(m_logs[0].address, m_contractAddress);
BOOST_CHECK_EQUAL(h256(m_logs[0].data), h256(u256(1)));
@@ -895,7 +895,7 @@ BOOST_AUTO_TEST_CASE(log2)
u256 amount(130);
compileAndRun(sourceCode, amount + 1);
u160 address(23);
- callContractFunction(0, address, amount);
+ callContractFunction("a()", address, amount);
BOOST_CHECK_EQUAL(m_logs.size(), 1);
BOOST_CHECK_EQUAL(m_logs[0].address, m_contractAddress);
BOOST_CHECK_EQUAL(h256(m_logs[0].data), h256(u256(1)));
@@ -914,7 +914,7 @@ BOOST_AUTO_TEST_CASE(log3)
u256 amount(130);
compileAndRun(sourceCode, amount + 1);
u160 address(23);
- callContractFunction(0, address, amount);
+ callContractFunction("a()", address, amount);
BOOST_CHECK_EQUAL(m_logs.size(), 1);
BOOST_CHECK_EQUAL(m_logs[0].address, m_contractAddress);
BOOST_CHECK_EQUAL(h256(m_logs[0].data), h256(u256(1)));
@@ -933,7 +933,7 @@ BOOST_AUTO_TEST_CASE(log4)
u256 amount(130);
compileAndRun(sourceCode, amount + 1);
u160 address(23);
- callContractFunction(0, address, amount);
+ callContractFunction("a()", address, amount);
BOOST_CHECK_EQUAL(m_logs.size(), 1);
BOOST_CHECK_EQUAL(m_logs[0].address, m_contractAddress);
BOOST_CHECK_EQUAL(h256(m_logs[0].data), h256(u256(1)));