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>
This commit is contained in:
Jason McDonald 2011-10-31 12:57:14 +10:00 committed by Qt by Nokia
parent e92f9fc49e
commit 7698cd3750

View File

@ -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);