You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
583 B
20 lines
583 B
15 years ago
|
#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;
|
||
|
}
|