From 454f6f43dc8c578bca8afa1aafd4965a869e6e58 Mon Sep 17 00:00:00 2001 From: Jason McDonald Date: Tue, 4 Oct 2011 17:19:52 +1000 Subject: 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 Reviewed-by: Rohan McGovern --- tests/auto/gui/painting/qwmatrix/tst_qwmatrix.cpp | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'tests/auto/gui/painting') diff --git a/tests/auto/gui/painting/qwmatrix/tst_qwmatrix.cpp b/tests/auto/gui/painting/qwmatrix/tst_qwmatrix.cpp index 0e7372d9d8..06abc5a68c 100644 --- a/tests/auto/gui/painting/qwmatrix/tst_qwmatrix.cpp +++ b/tests/auto/gui/painting/qwmatrix/tst_qwmatrix.cpp @@ -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 -- cgit v1.2.3