MCPcopy Create free account
hub / github.com/Samsung/UTopia / verifyFile

Function verifyFile

tests/TestHelper.cpp:113–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113void verifyFile(const std::string &FilePath) {
114 ApprovalTests::Approvals::verifyExistingFile(
115 FilePath,
116 ApprovalTests::Options(ApprovalTests::AutoApproveIfMissingReporter())
117 .withScrubber(ApprovalTests::Scrubbers::createRegexScrubber(
118 R"(UTopia v\.\d+\.\d+\.\d+)", "UTopia v[version]")));
119}
120
121void verifyFiles(const std::vector<std::string> &FilePaths) {
122 ApprovalTests::ExceptionCollector Exceptions;

Callers 3

verifyFilesFunction · 0.85
verifyGeneratedMethod · 0.85
verifyProtoMethod · 0.85

Calls 4

OptionsClass · 0.85
createRegexScrubberFunction · 0.85
withScrubberMethod · 0.80

Tested by

no test coverage detected