mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
test for resalts
This commit is contained in:
parent
b129a201db
commit
18475f8ae1
@ -495,6 +495,27 @@ BOOST_AUTO_TEST_CASE(empty_name_return_parameter)
|
|||||||
checkInterface(sourceCode, interface);
|
checkInterface(sourceCode, interface);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BOOST_AUTO_TEST_CASE(constructor_abi)
|
||||||
|
{
|
||||||
|
char const* sourceCode = R"(
|
||||||
|
contract test {
|
||||||
|
function test() {
|
||||||
|
}
|
||||||
|
})";
|
||||||
|
|
||||||
|
char const* interface = R"("
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"constant" : false,
|
||||||
|
"inputs" : [],
|
||||||
|
"name" : "test",
|
||||||
|
"outputs" : [],
|
||||||
|
"type" : "constructor"
|
||||||
|
}
|
||||||
|
])";
|
||||||
|
checkInterface(sourceCode, interface);
|
||||||
|
}
|
||||||
|
|
||||||
BOOST_AUTO_TEST_SUITE_END()
|
BOOST_AUTO_TEST_SUITE_END()
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user