MCPcopy Create free account
hub / github.com/ElementsProject/elements / ParseScriptError

Function ParseScriptError

src/test/script_tests.cpp:155–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155static ScriptError_t ParseScriptError(const std::string& name)
156{
157 for (const auto& se : script_errors)
158 if (se.name == name)
159 return se.err;
160 BOOST_ERROR("Unknown scripterror \"" << name << "\" in test description");
161 return SCRIPT_ERR_UNKNOWN_ERROR;
162}
163
164BOOST_FIXTURE_TEST_SUITE(script_tests, BasicTestingSetup)
165

Callers 2

BOOST_AUTO_TEST_CASEFunction · 0.85
AssetTestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected