| 466 | |
| 467 | template<typename Test> |
| 468 | void FindReplaceTest::varyProjectFilesOnly(GrepJobSettings& settings, const QString& projectPath, Test testToRun) |
| 469 | { |
| 470 | for (const bool projectFilesOnly : {false, true}) { |
| 471 | qDebug() << "limit to project files:" << projectFilesOnly; |
| 472 | settings.projectFilesOnly = projectFilesOnly; |
| 473 | |
| 474 | if (projectFilesOnly) { |
| 475 | addTestProjectFromFileSystem(projectPath); |
| 476 | } |
| 477 | |
| 478 | testToRun(); |
| 479 | |
| 480 | m_projectController->closeAllProjects(); |
| 481 | } |
| 482 | } |
| 483 | |
| 484 | QTEST_MAIN(FindReplaceTest) |
| 485 |
nothing calls this directly
no test coverage detected