mailcommon
searchpatterntest.cpp
Go to the documentation of this file.
48 QTest::newRow( "recipients" ) << QByteArray( "<recipients>" ) << MailCommon::SearchRule::Envelope;
57 QTest::newRow( "in-reply-to" ) << QByteArray( "in-reply-to" ) << MailCommon::SearchRule::Envelope;
62 QTest::newRow( "custom header" ) << QByteArray( "X-DummyHeaderName" ) << MailCommon::SearchRule::Header;
63 QTest::newRow( "Organization" ) << QByteArray( "Organization" ) << MailCommon::SearchRule::Header;
67 QTest::newRow( "X-Mailing-List" ) << QByteArray( "X-Mailing-List" ) << MailCommon::SearchRule::Header;
70 QTest::newRow( "<message>" ) << QByteArray( "<message>" ) << MailCommon::SearchRule::CompleteMessage;
79 const MailCommon::SearchRule::Ptr rule = MailCommon::SearchRule::createInstance( field, MailCommon::SearchRule::FuncNone, QString() );
SearchPatternTest(QObject *parent=0)
Definition: searchpatterntest.cpp:22
Definition: searchrule.h:56
Definition: searchrule.h:80
QTestData & newRow(const char *dataTag)
Definition: searchpatterntest.h:23
static SearchRule::Ptr createInstance(const QByteArray &field=0, Function function=FuncContains, const QString &contents=QString())
Creates a new search rule of a certain type by instantiating the appropriate subclass depending on th...
Definition: searchrule.cpp:91
Definition: searchrule.h:81
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.