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

Method checkModOne

tests/generation/TestUTModify.cpp:89–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87 }
88
89 bool checkModOne(const Replacement &Expect,
90 const std::map<std::string, Replacements> &Result) {
91 auto Iter = Result.find(Expect.getFilePath().str());
92 if (Iter == Result.end())
93 return false;
94
95 for (const auto &ResultReplace : Iter->second) {
96 if (ResultReplace == Expect)
97 return true;
98 }
99
100 return false;
101 }
102
103 std::unique_ptr<GenLoader>
104 createLoader(SourceFileManager &SFM, const std::set<std::string> APINames,

Callers

nothing calls this directly

Calls 3

endMethod · 0.80
findMethod · 0.45
getFilePathMethod · 0.45

Tested by

no test coverage detected