2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2016 The Qt Company Ltd.
|
2022-12-21 10:12:09 +01:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
2012-12-03 19:17:09 +01:00
|
|
|
|
|
|
|
|
#include <QObject>
|
2020-10-30 12:11:32 +01:00
|
|
|
#include <QStringList>
|
|
|
|
|
#include <QtTest>
|
2012-12-03 19:17:09 +01:00
|
|
|
|
|
|
|
|
class tst_TestTrie : public QObject
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
public:
|
|
|
|
|
tst_TestTrie();
|
|
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
|
void initTestCase();
|
|
|
|
|
//void cleanupTestCase();
|
|
|
|
|
//void init();
|
|
|
|
|
//void cleanup();
|
|
|
|
|
|
|
|
|
|
void testListAll_data();
|
|
|
|
|
void testMerge_data();
|
|
|
|
|
void testIntersect_data();
|
|
|
|
|
void testCompletion_data();
|
|
|
|
|
|
|
|
|
|
void testListAll();
|
|
|
|
|
void testMerge();
|
|
|
|
|
void testIntersect();
|
|
|
|
|
void testCompletion();
|
|
|
|
|
};
|