File indexing completed on 2025-01-26 04:45:44

0001 /*
0002  * SPDX-FileCopyrightText: 2014 Vishesh Handa <me@vhanda.in>
0003  *
0004  * SPDX-License-Identifier: LGPL-2.1-or-later
0005  *
0006  */
0007 
0008 #pragma once
0009 
0010 #include <QObject>
0011 
0012 class QueryParserTest : public QObject
0013 {
0014     Q_OBJECT
0015 
0016 private Q_SLOTS:
0017     void testSinglePrefixWord();
0018     void testSimpleQuery();
0019     void testPhraseSearch();
0020     void testPhraseSearchOnly();
0021     void testPhraseSearch_sameLimiter();
0022     void testPhraseSearchEmail();
0023     void testAccentSearch();
0024     void testUnderscoreSplitting();
0025 
0026     void testWordExpansion();
0027 };