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

Function TEST_F

tests/sourceanalysis/TestSourceAnalyzerImpl.cpp:66–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64};
65
66TEST_F(TestSourceImplAnalyzer, UnknownFileN) {
67 const std::string CODE = "#include <iostream>";
68 std::vector<std::string> Answers;
69
70 ASSERT_TRUE(load(CODE, "-O0 -g", CompileHelper::SourceType_CPP));
71 ASSERT_TRUE(analyze());
72 ASSERT_TRUE(checkNonFile("unknown.cpp"));
73}
74
75TEST_F(TestSourceImplAnalyzer, HeaderP) {
76 const std::string CODE = "#include \"stdio.h\"\n"

Callers

nothing calls this directly

Calls 14

TestHelperFactoryClass · 0.85
getIncludedHeadersMethod · 0.80
getSrcBaseDirMethod · 0.80
createCompileHelperMethod · 0.80
getSrcDirPathMethod · 0.80
emptyMethod · 0.80
fromJsonMethod · 0.45
toJsonMethod · 0.45
getEndOffsetMethod · 0.45
createFileMethod · 0.45
getFilePathMethod · 0.45
loadMethod · 0.45

Tested by

no test coverage detected