[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
committed by
WandererFan
parent
a207d11fa4
commit
e92ed45df9
@@ -163,7 +163,7 @@ public:
|
||||
add_varargs_method("addTest", &Module::addTest, "addTest");
|
||||
add_varargs_method("runTest", &Module::runTest, "runTest");
|
||||
add_varargs_method("testILoggerBlocker", &Module::testILoggerBlocker, "testILoggerBlocker");
|
||||
initialize("This module is the QtUnitGui module");// register with Python
|
||||
initialize("This module is the QtUnitGui module"); // register with Python
|
||||
}
|
||||
|
||||
private:
|
||||
@@ -230,7 +230,7 @@ PyObject* initModule()
|
||||
return Base::Interpreter().addModule(new Module);
|
||||
}
|
||||
|
||||
}// namespace TestGui
|
||||
} // namespace TestGui
|
||||
|
||||
void loadTestResource()
|
||||
{
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable : 4251)
|
||||
#pragma warning(disable : 4503)
|
||||
#pragma warning(disable : 4786)// specifier longer then 255 chars
|
||||
#pragma warning(disable : 4786) // specifier longer then 255 chars
|
||||
#endif
|
||||
|
||||
// Qt Toolkit
|
||||
@@ -39,6 +39,6 @@
|
||||
#include <QEventLoop>
|
||||
#include <QMessageBox>
|
||||
|
||||
#endif//_PreComp_
|
||||
#endif //_PreComp_
|
||||
|
||||
#endif// __PRECOMPILED_GUI__
|
||||
#endif // __PRECOMPILED_GUI__
|
||||
|
||||
@@ -85,7 +85,7 @@ UnitTestDialog::UnitTestDialog(QWidget* parent, Qt::WindowFlags f)
|
||||
ui->setupUi(this);
|
||||
setupConnections();
|
||||
|
||||
setProgressColor(QColor(40, 210, 43));// a darker green
|
||||
setProgressColor(QColor(40, 210, 43)); // a darker green
|
||||
ui->progressBar->setAlignment(Qt::AlignCenter);
|
||||
|
||||
// red items
|
||||
@@ -188,7 +188,7 @@ void UnitTestDialog::onAboutButtonClicked()
|
||||
void UnitTestDialog::onStartButtonClicked()
|
||||
{
|
||||
reset();
|
||||
setProgressColor(QColor(40, 210, 43));// a darker green
|
||||
setProgressColor(QColor(40, 210, 43)); // a darker green
|
||||
ui->startButton->setDisabled(true);
|
||||
try {
|
||||
Base::Interpreter().runString("import qtunittest, gc\n"
|
||||
|
||||
@@ -78,7 +78,7 @@ private:
|
||||
static UnitTestDialog* _instance;
|
||||
};
|
||||
|
||||
}// namespace TestGui
|
||||
} // namespace TestGui
|
||||
|
||||
|
||||
#endif// TESTGUI_UNITTESTIMP_H
|
||||
#endif // TESTGUI_UNITTESTIMP_H
|
||||
|
||||
@@ -35,7 +35,7 @@ class UnitTestDialog;
|
||||
class UnitTestDialogPy: public Py::PythonExtension<UnitTestDialogPy>
|
||||
{
|
||||
public:
|
||||
static void init_type();// announce properties and methods
|
||||
static void init_type(); // announce properties and methods
|
||||
|
||||
UnitTestDialogPy();
|
||||
~UnitTestDialogPy() override;
|
||||
@@ -65,7 +65,7 @@ private:
|
||||
static PyObject* method_varargs_ext_handler(PyObject* _self, PyObject* _args);
|
||||
};
|
||||
|
||||
}// namespace TestGui
|
||||
} // namespace TestGui
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user