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:
parent
2ca3373376
commit
454f6f43dc
@ -64,10 +64,8 @@ public slots:
|
||||
void cleanup();
|
||||
private slots:
|
||||
void mapRect_data();
|
||||
void operator_star_qrect_data();
|
||||
void mapToPolygon_data();
|
||||
void mapRect();
|
||||
void operator_star_qrect();
|
||||
void operator_star_qwmatrix();
|
||||
void assignments();
|
||||
void mapToPolygon();
|
||||
@ -105,11 +103,6 @@ void tst_QWMatrix::mapRect_data()
|
||||
mapping_data();
|
||||
}
|
||||
|
||||
void tst_QWMatrix::operator_star_qrect_data()
|
||||
{
|
||||
mapping_data();
|
||||
}
|
||||
|
||||
void tst_QWMatrix::mapToPolygon_data()
|
||||
{
|
||||
mapping_data();
|
||||
@ -307,20 +300,6 @@ void tst_QWMatrix::mapRect()
|
||||
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()
|
||||
{
|
||||
#if 0
|
||||
|
Loading…
Reference in New Issue
Block a user