File indexing completed on 2024-04-21 03:57:17

0001 /*
0002     SPDX-FileCopyrightText: 2013 Sven Brauch <svenbrauch@gmail.com>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #ifndef KATE_WORDCOMPLETIONTEST_H
0008 #define KATE_WORDCOMPLETIONTEST_H
0009 
0010 #include <QObject>
0011 #include <ktexteditor/document.h>
0012 
0013 class WordCompletionTest : public QObject
0014 {
0015     Q_OBJECT
0016 private Q_SLOTS:
0017     void initTestCase();
0018     void cleanupTestCase();
0019 
0020     void init();
0021     void cleanup();
0022 
0023     void benchWordRetrievalDistinct();
0024     void benchWordRetrievalSame();
0025     void benchWordRetrievalMixed();
0026 
0027 private:
0028     KTextEditor::Document *m_doc;
0029 };
0030 
0031 #endif // KATE_WORDCOMPLETIONTEST_H