| 88 | } |
| 89 | |
| 90 | Py::Object UnitTestDialogPy::insertError(const Py::Tuple& args) |
| 91 | { |
| 92 | char* failure = nullptr; |
| 93 | char* details = nullptr; |
| 94 | if (!PyArg_ParseTuple(args.ptr(), "ss", &failure, &details)) { |
| 95 | throw Py::Exception(); |
| 96 | } |
| 97 | |
| 98 | UnitTestDialog::instance()->insertError(QString::fromLatin1(failure), QString::fromLatin1(details)); |
| 99 | return Py::None(); |
| 100 | } |
| 101 | |
| 102 | Py::Object UnitTestDialogPy::setUnitTest(const Py::Tuple& args) |
| 103 | { |
no test coverage detected