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

Method load

tests/analysis/TestTypeAnalyzer.cpp:11–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9protected:
10 std::unique_ptr<SourceCollection> SC;
11 bool load(const std::string &BaseDir, const std::string &SrcPath) {
12 std::vector<std::string> SrcPaths = {SrcPath};
13 auto CH = TestHelperFactory().createCompileHelper(
14 BaseDir, SrcPaths, "-O0 -g", CompileHelper::SourceType_CPP);
15 if (!CH)
16 return false;
17
18 SC = CH->load();
19 return !!SC;
20 }
21};
22
23TEST_F(TestTypeAnalyzer, getReportP) {

Callers

nothing calls this directly

Calls 2

TestHelperFactoryClass · 0.85
createCompileHelperMethod · 0.80

Tested by

no test coverage detected