[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kdepim/KDE/4.14] mailcommon/filter/autotests: Add more autotest
From: Montel Laurent <montel () kde ! org>
Date: 2015-05-03 6:36:14
Message-ID: E1YonVe-0002MX-5u () scm ! kde ! org
[Download RAW message or body]
Git commit 3ec770f2c2f2fb0deca2ead491e4eb8c450689cb by Montel Laurent.
Committed on 03/05/2015 at 06:35.
Pushed by mlaurent into branch 'KDE/4.14'.
Add more autotest
M +7 -0 mailcommon/filter/autotests/filteractionplaysoundtest.cpp
M +1 -0 mailcommon/filter/autotests/filteractionplaysoundtest.h
http://commits.kde.org/kdepim/3ec770f2c2f2fb0deca2ead491e4eb8c450689cb
diff --git a/mailcommon/filter/autotests/filteractionplaysoundtest.cpp b/ma=
ilcommon/filter/autotests/filteractionplaysoundtest.cpp
index 2de4271..1b169ca 100644
--- a/mailcommon/filter/autotests/filteractionplaysoundtest.cpp
+++ b/mailcommon/filter/autotests/filteractionplaysoundtest.cpp
@@ -56,4 +56,11 @@ void FilterActionPlaySoundTest::shouldHaveRequiredPart()
QCOMPARE(filter.requiredPart(), MailCommon::SearchRule::Envelope);
}
=
+void FilterActionPlaySoundTest::shouldSieveRequres()
+{
+ MailCommon::FilterActionPlaySound w;
+ QCOMPARE(w.sieveRequires(), QStringList());
+
+}
+
QTEST_KDEMAIN(FilterActionPlaySoundTest, GUI)
diff --git a/mailcommon/filter/autotests/filteractionplaysoundtest.h b/mail=
common/filter/autotests/filteractionplaysoundtest.h
index 4610855..0768ee1 100644
--- a/mailcommon/filter/autotests/filteractionplaysoundtest.h
+++ b/mailcommon/filter/autotests/filteractionplaysoundtest.h
@@ -29,6 +29,7 @@ private Q_SLOTS:
void shouldBeValid();
void shouldHaveDefaultValue();
void shouldHaveRequiredPart();
+ void shouldSieveRequres();
};
=
#endif // FILTERACTIONPLAYSOUNDTEST_H
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic