| 462 | } |
| 463 | |
| 464 | bool Tester::testFunctionExists(Script& s) |
| 465 | { |
| 466 | for(Declaration* d: s.getDeclarations()) { |
| 467 | auto* func=dynamic_cast<Function*>(d); |
| 468 | if(func && func->getName()=="test") |
| 469 | return true; |
| 470 | } |
| 471 | |
| 472 | return false; |
| 473 | } |
| 474 | #endif |
nothing calls this directly
no test coverage detected