autotests/searchruletest.cpp - -Wunused

wilder
Allen Winter 10 years ago
parent e9a23ca814
commit aaffe01ec6
  1. 9
      src/search/autotests/searchruletest.cpp

@ -16,8 +16,10 @@
*/
#include "searchruletest.h"
#include <qtest.h>
#include "../search/searchrule/searchrule.h"
#include <qtest.h>
class TestSearchRule : public MailCommon::SearchRule
{
public:
@ -25,17 +27,19 @@ public:
const QString &contents = QString())
: MailCommon::SearchRule(field, function, contents)
{
}
bool matches(const Akonadi::Item &item) const
{
Q_UNUSED(item);
return false;
}
bool isEmpty() const
{
return false;
}
MailCommon::SearchRule::RequiredPart requiredPart() const
{
return MailCommon::SearchRule::CompleteMessage;
@ -45,7 +49,6 @@ public:
SearchRuleTest::SearchRuleTest(QObject *parent)
: QObject(parent)
{
}
void SearchRuleTest::shouldHaveDefaultValue()

Loading…
Cancel
Save