Remove obsolete QMatrix test function.

The operator tested by this function (QMatrix * QRect) has not existed
since Qt 2.x.

Change-Id: Id09154de2bdda70c0fe342fe78b82709953e2b56
Reviewed-on: http://codereview.qt-project.org/5965
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This commit is contained in:
Jason McDonald 2011-10-04 17:19:52 +10:00 committed by Qt by Nokia
parent 2ca3373376
commit 454f6f43dc

View File

@ -64,10 +64,8 @@ public slots:
void cleanup(); void cleanup();
private slots: private slots:
void mapRect_data(); void mapRect_data();
void operator_star_qrect_data();
void mapToPolygon_data(); void mapToPolygon_data();
void mapRect(); void mapRect();
void operator_star_qrect();
void operator_star_qwmatrix(); void operator_star_qwmatrix();
void assignments(); void assignments();
void mapToPolygon(); void mapToPolygon();
@ -105,11 +103,6 @@ void tst_QWMatrix::mapRect_data()
mapping_data(); mapping_data();
} }
void tst_QWMatrix::operator_star_qrect_data()
{
mapping_data();
}
void tst_QWMatrix::mapToPolygon_data() void tst_QWMatrix::mapToPolygon_data()
{ {
mapping_data(); mapping_data();
@ -307,20 +300,6 @@ void tst_QWMatrix::mapRect()
QTEST( QPolygon( matrix.mapRect(src) ), "res" ); QTEST( QPolygon( matrix.mapRect(src) ), "res" );
} }
void tst_QWMatrix::operator_star_qrect()
{
#if 0 // QT_VERSION >= 0x030100
QFETCH( QMatrix, matrix );
QFETCH( QRect, src );
QFETCH( QPolygon, res );
QCOMPARE( (matrix * src), QRegion(res) );
#else
QSKIP( "Not tested with Qt versions < 3.1", SkipAll);
#endif
}
void tst_QWMatrix::operator_star_qwmatrix() void tst_QWMatrix::operator_star_qwmatrix()
{ {
#if 0 #if 0