summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-10-31 12:57:14 +1000
committerQt by Nokia <qt-info@nokia.com>2011-10-31 06:59:18 +0100
commit7698cd375030eb0fb879a4ef47a551206f9f8823 (patch)
tree142d3cf1a8f9655950e865c52993fc4932b17174 /tests
parente92f9fc49e5534089f3a0ce8348fb30e5bc7ead6 (diff)
Remove obsolete code from QChar autotest.
QUnicodeTables::ligature() was removed from the API in 2006. The commit that disabled the test also changed the code to call QChar::ligature(), which has never existed. Change-Id: I056c17c178a527b076538fb007404ff0b735ba02 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/corelib/tools/qchar/tst_qchar.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/auto/corelib/tools/qchar/tst_qchar.cpp b/tests/auto/corelib/tools/qchar/tst_qchar.cpp
index 7f5747120c..a89250ca33 100644
--- a/tests/auto/corelib/tools/qchar/tst_qchar.cpp
+++ b/tests/auto/corelib/tools/qchar/tst_qchar.cpp
@@ -92,7 +92,6 @@ private slots:
void combiningClass();
void digitValue();
void decomposition();
-// void ligature();
void lineBreakClass();
void normalization_data();
void normalization();
@@ -589,19 +588,6 @@ void tst_QChar::decomposition()
}
}
-#if 0
-void tst_QChar::ligature()
-{
- QVERIFY(QChar::ligature(0x0041, 0x00300) == 0xc0);
- QVERIFY(QChar::ligature(0x0049, 0x00308) == 0xcf);
- QVERIFY(QChar::ligature(0x0391, 0x00301) == 0x386);
- QVERIFY(QChar::ligature(0x0627, 0x00653) == 0x622);
-
- QVERIFY(QChar::ligature(0x1100, 0x1161) == 0xac00);
- QVERIFY(QChar::ligature(0xac00, 0x11a8) == 0xac01);
-}
-#endif
-
void tst_QChar::lineBreakClass()
{
QVERIFY(QUnicodeTables::lineBreakClass(0x0041u) == QUnicodeTables::LineBreak_AL);