blob: 215c37712d641c177ac553ff492c156b5379ef50 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifdef QT_NO_CAST_ASCII
#undef QT_NO_CAST_ASCII
#endif
#include "tellico_utils.h"
#include <kdebug.h>
#include <assert.h>
int main(int, char**) {
kdDebug() << "\n*****************************************************" << endl;
assert(Tellico::decodeHTML("robby") == "robby");
assert(Tellico::decodeHTML("&fake;") == "&fake;");
assert(Tellico::decodeHTML("0") == "0");
assert(Tellico::decodeHTML("robby0robby") == "robby0robby");
kdDebug() << "\ndecodeHTML Test OK !" << endl;
kdDebug() << "\n*****************************************************" << endl;
}
|