| 19 | #include "assertexception.h" |
| 20 | |
| 21 | AssertModule::AssertModule(Reporter& r) : Module(r,"assert") |
| 22 | { |
| 23 | addDescription(tr("Checks the expected value and stops execution when false")); |
| 24 | addParameter("condition",tr("A value that is expected to be true")); |
| 25 | addParameter("message",tr("A message that is displayed when the assertion fails")); |
| 26 | } |
| 27 | |
| 28 | Node* AssertModule::evaluate(const Context& ctx) const |
| 29 | { |
nothing calls this directly
no outgoing calls
no test coverage detected