Changeset View
Changeset View
Standalone View
Standalone View
autotests/kurlnavigatortest.h
Show All 15 Lines | |||||
16 | * Free Software Foundation, Inc., * | 16 | * Free Software Foundation, Inc., * | ||
17 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * | 17 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * | ||
18 | ***************************************************************************/ | 18 | ***************************************************************************/ | ||
19 | 19 | | |||
20 | #ifndef URLNAVIGATORTEST_H | 20 | #ifndef URLNAVIGATORTEST_H | ||
21 | #define URLNAVIGATORTEST_H | 21 | #define URLNAVIGATORTEST_H | ||
22 | 22 | | |||
23 | #include <QObject> | 23 | #include <QObject> | ||
24 | #include <kiofilewidgets_export.h> | ||||
24 | class KUrlNavigator; | 25 | class KUrlNavigator; | ||
25 | 26 | | |||
26 | class KUrlNavigatorTest : public QObject | 27 | class KUrlNavigatorTest : public QObject | ||
27 | { | 28 | { | ||
28 | Q_OBJECT | 29 | Q_OBJECT | ||
29 | 30 | | |||
30 | private Q_SLOTS: | 31 | private Q_SLOTS: | ||
31 | void initTestCase(); | 32 | void initTestCase(); | ||
32 | void cleanupTestCase(); | 33 | void cleanupTestCase(); | ||
33 | 34 | | |||
34 | void testHistorySizeAndIndex(); | 35 | void testHistorySizeAndIndex(); | ||
35 | void testGoBack(); | 36 | void testGoBack(); | ||
36 | void testGoForward(); | 37 | void testGoForward(); | ||
37 | void testHistoryInsert(); | 38 | void testHistoryInsert(); | ||
38 | 39 | | |||
39 | void bug251553_goUpFromArchive(); | 40 | void bug251553_goUpFromArchive(); | ||
40 | 41 | | |||
41 | void testUrlParsing_data(); | 42 | void testUrlParsing_data(); | ||
42 | void testUrlParsing(); | 43 | void testUrlParsing(); | ||
43 | 44 | | |||
45 | #if KIOFILEWIDGETS_BUILD_DEPRECATED_SINCE(4, 5) | ||||
44 | void testButtonUrl_data(); | 46 | void testButtonUrl_data(); | ||
45 | void testButtonUrl(); | 47 | void testButtonUrl(); | ||
48 | #endif | ||||
46 | void testButtonText(); | 49 | void testButtonText(); | ||
47 | 50 | | |||
48 | void testInitWithRedundantPathSeparators(); | 51 | void testInitWithRedundantPathSeparators(); | ||
49 | 52 | | |||
50 | 53 | | |||
51 | private: | 54 | private: | ||
52 | KUrlNavigator *m_navigator; | 55 | KUrlNavigator *m_navigator; | ||
53 | }; | 56 | }; | ||
54 | 57 | | |||
55 | #endif | 58 | #endif |