Commit 9f3e32c2 authored by Laurent Montel's avatar Laurent Montel 😁

Add autotests

parent 62f24288
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
*/ */
#include "selectheadertypecomboboxtest.h" #include "selectheadertypecomboboxtest.h"
#include "../sieveconditions/widgets/selectheadertypecombobox.h"
#include <QTest> #include <QTest>
...@@ -34,7 +35,9 @@ SelectHeaderTypeComboBoxTest::~SelectHeaderTypeComboBoxTest() ...@@ -34,7 +35,9 @@ SelectHeaderTypeComboBoxTest::~SelectHeaderTypeComboBoxTest()
void SelectHeaderTypeComboBoxTest::shouldHaveDefaultValue() void SelectHeaderTypeComboBoxTest::shouldHaveDefaultValue()
{ {
//TODO KSieveUi::SelectHeaderTypeComboBox combox;
QVERIFY(combox.isEditable());
QVERIFY(combox.count() > 0);
} }
QTEST_MAIN(SelectHeaderTypeComboBoxTest) QTEST_MAIN(SelectHeaderTypeComboBoxTest)
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