| 110 | } |
| 111 | |
| 112 | bool GoogleTestExtractor::isTestBody(const llvm::Function *Function) const { |
| 113 | std::string MethodFullName = |
| 114 | util::getDemangledName(Function->getName().str()); |
| 115 | return (util::getMethodName(MethodFullName).compare(TestName) == 0); |
| 116 | } |
| 117 | |
| 118 | const std::vector<Unittest> |
| 119 | GoogleTestExtractor::getTestcasesFromASTUnit(const llvm::Module &M, |
nothing calls this directly
no test coverage detected