MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / setUnitTest

Method setUnitTest

src/Mod/Test/Gui/UnitTestPy.cpp:102–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102Py::Object UnitTestDialogPy::setUnitTest(const Py::Tuple& args)
103{
104 char* pstr = nullptr;
105 if (!PyArg_ParseTuple(args.ptr(), "s", &pstr)) {
106 throw Py::Exception();
107 }
108
109 UnitTestDialog::instance()->setUnitTest(QString::fromLatin1(pstr));
110 return Py::None();
111}
112
113Py::Object UnitTestDialogPy::getUnitTest(const Py::Tuple& args)
114{

Callers 2

exerciseFunction · 0.45
setTestMethod · 0.45

Calls 3

ExceptionClass · 0.50
instanceFunction · 0.50
ptrMethod · 0.45

Tested by

no test coverage detected