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

Method getUnitTest

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

Source from the content-addressed store, hash-verified

111}
112
113Py::Object UnitTestDialogPy::getUnitTest(const Py::Tuple& args)
114{
115 if (!PyArg_ParseTuple(args.ptr(), "")) {
116 throw Py::Exception();
117 }
118 return Py::String((const char*)UnitTestDialog::instance()->getUnitTest().toLatin1());
119}
120
121Py::Object UnitTestDialogPy::setStatusText(const Py::Tuple& args)
122{

Callers 2

exerciseFunction · 0.45
getSelectedTestNameMethod · 0.45

Calls 4

ExceptionClass · 0.50
StringClass · 0.50
instanceFunction · 0.50
ptrMethod · 0.45

Tested by

no test coverage detected