| 147 | } |
| 148 | |
| 149 | Py::Object UnitTestDialogPy::errorDialog(const Py::Tuple& args) |
| 150 | { |
| 151 | char* title = nullptr; |
| 152 | char* message = nullptr; |
| 153 | if (!PyArg_ParseTuple(args.ptr(), "ss", &title, &message)) { |
| 154 | throw Py::Exception(); |
| 155 | } |
| 156 | UnitTestDialog::instance()->showErrorDialog(title, message); |
| 157 | return Py::None(); |
| 158 | } |
| 159 | |
| 160 | Py::Object UnitTestDialogPy::setRunCount(const Py::Tuple& args) |
| 161 | { |
no test coverage detected