| 64 | }; |
| 65 | |
| 66 | TEST_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 | |
| 75 | TEST_F(TestSourceImplAnalyzer, HeaderP) { |
| 76 | const std::string CODE = "#include \"stdio.h\"\n" |
nothing calls this directly
no test coverage detected