| 295 | const Generator &GenTestHelper::getGenerator() const { return FuzzGenerator; } |
| 296 | |
| 297 | bool GenTestHelper::storeTargetAnalysisReport(std::string DirPath) { |
| 298 | |
| 299 | if (!UA) |
| 300 | return false; |
| 301 | if (fs::exists(DirPath)) |
| 302 | return false; |
| 303 | if (!fs::create_directories(DirPath)) |
| 304 | return false; |
| 305 | |
| 306 | unsigned cnt = 0; |
| 307 | for (auto &TA : UA->getTATestHelpers()) { |
| 308 | std::string Path = (fs::path(DirPath) / |
| 309 | fs::path(std::to_string(cnt++) + ".json").string()); |
| 310 | if (!TA->dumpReport(Path)) |
| 311 | return false; |
| 312 | } |
| 313 | |
| 314 | return true; |
| 315 | } |
| 316 | |
| 317 | void GenTestHelper::verifyGenerated(std::string ProjectName) const { |
| 318 | ApprovalTests::ExceptionCollector Exceptions; |
nothing calls this directly
no test coverage detected