1 /*
2     Copyright (c) 2005 David Faure <faure@kde.org>
3 
4     This library is free software; you can redistribute it and/or
5     modify it under the terms of the GNU Library General Public
6     License version 2 as published by the Free Software Foundation.
7 
8     This library is distributed in the hope that it will be useful,
9     but WITHOUT ANY WARRANTY; without even the implied warranty of
10     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11     Library General Public License for more details.
12 
13     You should have received a copy of the GNU Library General Public License
14     along with this library; see the file COPYING.LIB.  If not, write to
15     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16     Boston, MA 02110-1301, USA.
17 */
18 
19 #ifndef kurltest_h
20 #define kurltest_h
21 
22 #include <QObject>
23 
24 class KUrlTest : public QObject
25 {
26     Q_OBJECT
27 private Q_SLOTS:
28     void testQUrl();
29     void testEmptyURL();
30     void testIsValid();
31     void testSetQuery();
32     void testEmptyNullReference();
33     void testSetRef();
34     void testSetHTMLRef();
35     void testDirectory();
36     void testUtf8();
37     void testIsLocalFile();
38     void testSimpleMethods();
39     void testHostName();
40     void testParsingTolerance();
41     void testNewLine();
42     void testQueryParsing();
43     void testEmptyQueryOrRef();
44     void testURLsWithoutPath();
45     void testPathAndQuery();
46     void testUpUrl();
47     void testSetFileName();
48     void testPrettyURL();
49     void testIsRelative();
50     void testRelativePath();
51     void testRelativeURL();
52     void testAdjustPath();
53     void testIPV6();
54     void testBaseURL();
55     void testSetUser();
56     void testSetEncodedFragment_data();
57     void testSetEncodedFragment();
58     void testSubURL();
59     void testComparisons();
60     void testStreaming_data();
61     void testStreaming();
62     void testBrokenStuff();
63     void testMoreBrokenStuff();
64     void testMailto();
65     void testSmb();
66     void testOtherProtocols();
67     void testOtherEncodings();
68     void testPathOrURL();
69     void testAssignment();
70     void testQueryItem();
71     void testEncodeString();
72     void testIdn();
73     void testUriMode();
74     void testToLocalFile();
75     void testUrl_data();
76     void testUrl();
77     void testToStringList();
78     void testHashing();
79 };
80 
81 #endif
82 
83