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

Method printUpdatedExpectations

test/libsolidity/ASTJSONTest.cpp:300–308  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

298}
299
300void ASTJSONTest::printUpdatedExpectations(std::ostream&, std::string const&) const
301{
302 for (TestVariant const& variant: m_variants)
303 updateExpectation(
304 variant.astFilename(),
305 variant.result,
306 variant.name().empty() ? "" : variant.name() + " "
307 );
308}
309
310void ASTJSONTest::updateExpectation(std::string const& _filename, std::string const& _expectation, std::string const& _variant) const
311{

Callers

nothing calls this directly

Calls 3

astFilenameMethod · 0.80
emptyMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected