From 7698cd375030eb0fb879a4ef47a551206f9f8823 Mon Sep 17 00:00:00 2001 From: Jason McDonald Date: Mon, 31 Oct 2011 12:57:14 +1000 Subject: 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 --- tests/auto/corelib/tools/qchar/tst_qchar.cpp | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'tests/auto/corelib/tools') 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); -- cgit v1.2.3