| 198 | } |
| 199 | |
| 200 | std::vector<Unittest> GoogleTestExtractor::extractTCs() { |
| 201 | std::vector<Unittest> Unittests; |
| 202 | const auto &M = SrcCollection.getLLVMModule(); |
| 203 | for (const auto &ASTUnit : SrcCollection.getASTUnits()) { |
| 204 | auto UTs = getTestcasesFromASTUnit(M, *ASTUnit); |
| 205 | Unittests.insert(Unittests.end(), UTs.begin(), UTs.end()); |
| 206 | } |
| 207 | return Unittests; |
| 208 | } |
nothing calls this directly
no test coverage detected