| 9 | protected: |
| 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 | |
| 23 | TEST_F(TestTypeAnalyzer, getReportP) { |
nothing calls this directly
no test coverage detected