summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/latin1test.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/tests/latin1test.cpp b/src/tests/latin1test.cpp
index 3550914..9f1deab 100644
--- a/src/tests/latin1test.cpp
+++ b/src/tests/latin1test.cpp
@@ -12,12 +12,12 @@ int main(int, char**) {
assert(TQString() == Latin1Literal(0));
assert(TQString() != Latin1Literal(""));
- assert(TQString::tqfromLatin1("") == Latin1Literal(""));
- assert(TQString::tqfromLatin1("") != Latin1Literal(0));
- assert(TQString::tqfromLatin1("x") != Latin1Literal(""));
- assert(TQString::tqfromLatin1("a") == Latin1Literal("a"));
- assert(TQString::tqfromLatin1("a") != Latin1Literal("b"));
- assert(TQString::tqfromLatin1("\xe4") == Latin1Literal("\xe4"));
+ assert(TQString::fromLatin1("") == Latin1Literal(""));
+ assert(TQString::fromLatin1("") != Latin1Literal(0));
+ assert(TQString::fromLatin1("x") != Latin1Literal(""));
+ assert(TQString::fromLatin1("a") == Latin1Literal("a"));
+ assert(TQString::fromLatin1("a") != Latin1Literal("b"));
+ assert(TQString::fromLatin1("\xe4") == Latin1Literal("\xe4"));
assert(TQString::fromUtf8("\xe2\x82\xac") != Latin1Literal("?"));
kdDebug() << "\nLatin1Literal Test OK !" << endl;