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

Add more autotest

parent 335c39a8
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
*/ */
#include "regexpeditorlineedittest.h" #include "regexpeditorlineedittest.h"
#include "autocreatescripts/sieveconditions/widgets/regexpeditorlineedit.h"
#include <QTest> #include <QTest>
RegexpEditorLineEditTest::RegexpEditorLineEditTest(QObject *parent) RegexpEditorLineEditTest::RegexpEditorLineEditTest(QObject *parent)
...@@ -26,4 +27,9 @@ RegexpEditorLineEditTest::RegexpEditorLineEditTest(QObject *parent) ...@@ -26,4 +27,9 @@ RegexpEditorLineEditTest::RegexpEditorLineEditTest(QObject *parent)
} }
void RegexpEditorLineEditTest::shouldHaveDefaultValue()
{
KSieveUi::RegexpEditorLineEdit w;
}
QTEST_MAIN(RegexpEditorLineEditTest) QTEST_MAIN(RegexpEditorLineEditTest)
...@@ -28,6 +28,8 @@ class RegexpEditorLineEditTest : public QObject ...@@ -28,6 +28,8 @@ class RegexpEditorLineEditTest : public QObject
public: public:
explicit RegexpEditorLineEditTest(QObject *parent = nullptr); explicit RegexpEditorLineEditTest(QObject *parent = nullptr);
~RegexpEditorLineEditTest() = default; ~RegexpEditorLineEditTest() = default;
private Q_SLOTS:
void shouldHaveDefaultValue();
}; };
#endif // REGEXPEDITORLINEEDITTEST_H #endif // REGEXPEDITORLINEEDITTEST_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