Remove dead code from QTransform autotest.
Remove the operator_star_qrect() test function. The body of this test function has been inside "#if 0" since the commit that created the test in 2006 and the operator it is trying to test doesn't exist. Seems fair to assume that this function isn't worth keeping. Change-Id: I9748273b28eae4b07c3a25f77cee412ad94ea822 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This commit is contained in:
parent
5b9ada3cd5
commit
c8c9f6b46f
@ -65,10 +65,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 assignments();
|
||||
void mapToPolygon();
|
||||
void translate();
|
||||
@ -158,11 +156,6 @@ void tst_QTransform::mapRect_data()
|
||||
<< QPolygon( QRect( -354, 212, 495, 495 ) );
|
||||
}
|
||||
|
||||
void tst_QTransform::operator_star_qrect_data()
|
||||
{
|
||||
mapping_data();
|
||||
}
|
||||
|
||||
void tst_QTransform::mapToPolygon_data()
|
||||
{
|
||||
mapping_data();
|
||||
@ -332,17 +325,6 @@ void tst_QTransform::mapRect()
|
||||
QCOMPARE( mapped, ir );
|
||||
}
|
||||
|
||||
void tst_QTransform::operator_star_qrect()
|
||||
{
|
||||
#if 0
|
||||
QFETCH( QTransform, matrix );
|
||||
QFETCH( QRect, src );
|
||||
QFETCH( QPolygon, res );
|
||||
|
||||
QCOMPARE( (matrix * src), QRegion(res) );
|
||||
#endif
|
||||
}
|
||||
|
||||
void tst_QTransform::assignments()
|
||||
{
|
||||
QTransform m;
|
||||
|
Loading…
Reference in New Issue
Block a user