diff options
author | chriseth <chris@ethereum.org> | 2016-08-27 01:32:18 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-27 01:32:18 +0800 |
commit | fb7836d87bba0eacb2454d6c50b1209365a89b6d (patch) | |
tree | 81810b473d4ae5f76e2cb97a959ff234382966ac /test/libsolidity/SolidityEndToEndTest.cpp | |
parent | 69acd25888007c536bef22e350725cf444db58ad (diff) | |
parent | 56558c0db2ad1e64aa81aaa05820388c2ba65a45 (diff) | |
download | dexon-solidity-fb7836d87bba0eacb2454d6c50b1209365a89b6d.tar dexon-solidity-fb7836d87bba0eacb2454d6c50b1209365a89b6d.tar.gz dexon-solidity-fb7836d87bba0eacb2454d6c50b1209365a89b6d.tar.bz2 dexon-solidity-fb7836d87bba0eacb2454d6c50b1209365a89b6d.tar.lz dexon-solidity-fb7836d87bba0eacb2454d6c50b1209365a89b6d.tar.xz dexon-solidity-fb7836d87bba0eacb2454d6c50b1209365a89b6d.tar.zst dexon-solidity-fb7836d87bba0eacb2454d6c50b1209365a89b6d.zip |
Merge pull request #897 from Denton-L/remove-standard
BREAKING: Remove standard contracts
Diffstat (limited to 'test/libsolidity/SolidityEndToEndTest.cpp')
-rw-r--r-- | test/libsolidity/SolidityEndToEndTest.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/test/libsolidity/SolidityEndToEndTest.cpp b/test/libsolidity/SolidityEndToEndTest.cpp index f3cd387a..8a61907a 100644 --- a/test/libsolidity/SolidityEndToEndTest.cpp +++ b/test/libsolidity/SolidityEndToEndTest.cpp @@ -2469,21 +2469,6 @@ BOOST_AUTO_TEST_CASE(function_modifier_for_constructor) BOOST_CHECK(callContractFunction("getData()") == encodeArgs(4 | 2)); } -BOOST_AUTO_TEST_CASE(use_std_lib) -{ - char const* sourceCode = R"( - import "mortal"; - contract Icarus is mortal { } - )"; - m_addStandardSources = true; - u256 amount(130 * ether); - compileAndRun(sourceCode, amount, "Icarus"); - u256 balanceBefore = balanceAt(m_sender); - BOOST_CHECK(callContractFunction("kill()") == bytes()); - BOOST_CHECK(!addressHasCode(m_contractAddress)); - BOOST_CHECK(balanceAt(m_sender) > balanceBefore); -} - BOOST_AUTO_TEST_CASE(crazy_elementary_typenames_on_stack) { char const* sourceCode = R"( |