| 31 | } |
| 32 | |
| 33 | bool Test::run(String name) { |
| 34 | try { |
| 35 | if (auto it = getTests().find(name); it != getTests().end()) { |
| 36 | return it->second->run(); |
| 37 | } else { |
| 38 | return false; |
| 39 | } |
| 40 | } catch (const std::runtime_error& e) { |
| 41 | LogError(e.what()); |
| 42 | return false; |
| 43 | } |
| 44 | } |
| 45 | |
| 46 | #else // DORA_TEST |
| 47 |