File indexing completed on 2024-05-05 03:53:33

0001 /*
0002     This file is part of the KDE libraries
0003     SPDX-FileCopyrightText: 2005 Thomas Braxton <brax108@cox.net>
0004 
0005     SPDX-License-Identifier: LGPL-2.0-or-later
0006 */
0007 
0008 #ifndef KCOMPLETIONCORETEST_H
0009 #define KCOMPLETIONCORETEST_H
0010 
0011 #include "kcompletion.h"
0012 #include <QStringList>
0013 
0014 class Test_KCompletion : public QObject
0015 {
0016     Q_OBJECT
0017     QStringList strings;
0018     QStringList wstrings;
0019 
0020 private Q_SLOTS:
0021     void initTestCase();
0022     void isEmpty();
0023     void insertionOrder();
0024     void sortedOrder();
0025     void weightedOrder();
0026     void substringCompletion_Insertion();
0027     void substringCompletion_Sorted();
0028     void substringCompletion_Weighted();
0029     void allMatches_Insertion();
0030     void allMatches_Sorted();
0031     void allMatches_Weighted();
0032     void cycleMatches_Insertion();
0033     void cycleMatches_Sorted();
0034     void cycleMatches_Weighted();
0035 };
0036 
0037 #endif