cf12defd28
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
46 lines
812 B
C++
46 lines
812 B
C++
/*
|
|
SPDX-FileCopyrightText: 2008 Peter Penz <peter.penz@gmx.at>
|
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#ifndef URLNAVIGATORTEST_H
|
|
#define URLNAVIGATORTEST_H
|
|
|
|
#include <QObject>
|
|
#include <kiofilewidgets_export.h>
|
|
class KUrlNavigator;
|
|
|
|
class KUrlNavigatorTest : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
private Q_SLOTS:
|
|
void initTestCase();
|
|
void cleanupTestCase();
|
|
|
|
void testHistorySizeAndIndex();
|
|
void testGoBack();
|
|
void testGoForward();
|
|
void testHistoryInsert();
|
|
|
|
void bug251553_goUpFromArchive();
|
|
|
|
void testUrlParsing_data();
|
|
void testUrlParsing();
|
|
|
|
void testRelativePaths();
|
|
|
|
void testFixUrlPath_data();
|
|
void testFixUrlPath();
|
|
|
|
void testButtonText();
|
|
|
|
void testInitWithRedundantPathSeparators();
|
|
|
|
private:
|
|
KUrlNavigator *m_navigator;
|
|
};
|
|
|
|
#endif
|