diff --git a/src/ksieveui/autocreatescripts/autotests/regexpeditorlineedittest.cpp b/src/ksieveui/autocreatescripts/autotests/regexpeditorlineedittest.cpp index 08408f4cf6b3c0981aac9dff1e52581663f6e1c5..678928114c5ff86d7ce10a18f199f8284b71f1fd 100644 --- a/src/ksieveui/autocreatescripts/autotests/regexpeditorlineedittest.cpp +++ b/src/ksieveui/autocreatescripts/autotests/regexpeditorlineedittest.cpp @@ -18,6 +18,7 @@ */ #include "regexpeditorlineedittest.h" +#include "autocreatescripts/sieveconditions/widgets/regexpeditorlineedit.h" #include RegexpEditorLineEditTest::RegexpEditorLineEditTest(QObject *parent) @@ -26,4 +27,9 @@ RegexpEditorLineEditTest::RegexpEditorLineEditTest(QObject *parent) } +void RegexpEditorLineEditTest::shouldHaveDefaultValue() +{ + KSieveUi::RegexpEditorLineEdit w; +} + QTEST_MAIN(RegexpEditorLineEditTest) diff --git a/src/ksieveui/autocreatescripts/autotests/regexpeditorlineedittest.h b/src/ksieveui/autocreatescripts/autotests/regexpeditorlineedittest.h index 4d4d594912472ee400e704b6ffb4f1adbc65d7fa..1e2be8eda11417797e0a59643919bab26e403809 100644 --- a/src/ksieveui/autocreatescripts/autotests/regexpeditorlineedittest.h +++ b/src/ksieveui/autocreatescripts/autotests/regexpeditorlineedittest.h @@ -28,6 +28,8 @@ class RegexpEditorLineEditTest : public QObject public: explicit RegexpEditorLineEditTest(QObject *parent = nullptr); ~RegexpEditorLineEditTest() = default; +private Q_SLOTS: + void shouldHaveDefaultValue(); }; #endif // REGEXPEDITORLINEEDITTEST_H