summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/painting/qwmatrix/tst_qwmatrix.cpp
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-10-04 17:19:52 +1000
committerQt by Nokia <qt-info@nokia.com>2011-10-06 01:28:04 +0200
commit454f6f43dc8c578bca8afa1aafd4965a869e6e58 (patch)
tree118012d3a03ccadfd915f1f2df5f232ce8dd4c38 /tests/auto/gui/painting/qwmatrix/tst_qwmatrix.cpp
parent2ca337337608acfe6f3b6dc96a3ac8dcf20af011 (diff)
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>
Diffstat (limited to 'tests/auto/gui/painting/qwmatrix/tst_qwmatrix.cpp')
-rw-r--r--tests/auto/gui/painting/qwmatrix/tst_qwmatrix.cpp21
1 files changed, 0 insertions, 21 deletions
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