Lukáš Tinkl
fd6a35486e
port KUrl -> QUrl
11 years ago
Montel Laurent
5eea4fd073
Rename to autotests
12 years ago
Fabio D'Urso
2a52e0c4e1
Ported tests to QtTest, added missing trailing / to KDESRCDIR
...
I've also added some extra checks so that tests fail early instead of
crashing later if a document fails to be opened
12 years ago
Vishesh Handa
7123b4d9d2
Port the tests
12 years ago
Glen Kaukola
122fab0eee
Krazy: Check single-char QString operations for efficiency.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1110335
16 years ago
Pino Toscano
a355d9fea4
isolate the argument -> url conversion code in an own function in the ShellUtils namespace
...
make the function able to be reused in unit tests (ie adding a function hook for the filename existance check)
svn path=/trunk/KDE/kdegraphics/okular/; revision=1032962
17 years ago
Pino Toscano
d5dd8fce01
when we remove the file:/ from the argument, do the precent-encoding removal to avoid being percent-encoded more than needed
...
based on a patch by Albert, slightly changed + unit test by me
BUG: 207461
svn path=/trunk/KDE/kdegraphics/okular/; revision=1032944
17 years ago
Pino Toscano
ca9b4a14ec
improve/add tests
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1032934
17 years ago
Pino Toscano
b4e301c0e0
start adding a unit test for the shell-related stuff
...
the single test case so far is for testing the url splitting
svn path=/trunk/KDE/kdegraphics/okular/; revision=1032845
17 years ago