Commit bf2ebeee authored by Laurent Montel's avatar Laurent Montel 😁

Add autotest

parent 65816c04
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include "statusbarprogresswidgettest.h" #include "statusbarprogresswidgettest.h"
#include "../statusbarprogresswidget.h"
#include <QTest> #include <QTest>
QTEST_MAIN(StatusbarProgressWidgetTest) QTEST_MAIN(StatusbarProgressWidgetTest)
...@@ -27,3 +28,8 @@ StatusbarProgressWidgetTest::StatusbarProgressWidgetTest(QObject *parent) ...@@ -27,3 +28,8 @@ StatusbarProgressWidgetTest::StatusbarProgressWidgetTest(QObject *parent)
{ {
} }
void StatusbarProgressWidgetTest::shouldHaveDefaultValue()
{
//KPIM::StatusbarProgressWidget w();
}
...@@ -28,6 +28,8 @@ class StatusbarProgressWidgetTest : public QObject ...@@ -28,6 +28,8 @@ class StatusbarProgressWidgetTest : public QObject
public: public:
explicit StatusbarProgressWidgetTest(QObject *parent = nullptr); explicit StatusbarProgressWidgetTest(QObject *parent = nullptr);
~StatusbarProgressWidgetTest() = default; ~StatusbarProgressWidgetTest() = default;
private Q_SLOTS:
void shouldHaveDefaultValue();
}; };
#endif // STATUSBARPROGRESSWIDGETTEST_H #endif // STATUSBARPROGRESSWIDGETTEST_H
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment