| 298 | } |
| 299 | |
| 300 | void 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 | |
| 310 | void ASTJSONTest::updateExpectation(std::string const& _filename, std::string const& _expectation, std::string const& _variant) const |
| 311 | { |
nothing calls this directly
no test coverage detected