MCPcopy Create free account
hub / github.com/argotorg/solidity / BOOST_AUTO_TEST_CASE

Function BOOST_AUTO_TEST_CASE

test/solc/CommandLineInterface.cpp:119–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117BOOST_AUTO_TEST_SUITE(CommandLineInterfaceTest)
118
119BOOST_AUTO_TEST_CASE(help)
120{
121 OptionsReaderAndMessages result = runCLI({"solc", "--help"}, "");
122
123 BOOST_TEST(result.success);
124 BOOST_TEST(boost::starts_with(result.stdoutContent, "solc, the Solidity commandline compiler."));
125 BOOST_TEST(result.stderrContent == "");
126 BOOST_TEST(result.options.input.mode == InputMode::Help);
127}
128
129BOOST_AUTO_TEST_CASE(license)
130{

Callers

nothing calls this directly

Calls 7

BOOST_CHECK_EXCEPTIONFunction · 0.85
jsonParseStrictFunction · 0.85
whatMethod · 0.80
pathMethod · 0.80
isPrereleaseMethod · 0.80
insertMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected