tests/auto/qbrush/tst_qbrush.cpp
changeset 30 5dc02b23752f
parent 22 79de32ba3296
--- a/tests/auto/qbrush/tst_qbrush.cpp	Wed Jun 23 19:07:03 2010 +0300
+++ b/tests/auto/qbrush/tst_qbrush.cpp	Tue Jul 06 15:10:48 2010 +0300
@@ -109,6 +109,15 @@
                                 << false;
 
     QTest::newRow("rad vs con") << QBrush(QRadialGradient(0, 0, 0, 0, 0)) << QBrush(QConicalGradient(0, 0, 0)) << false;
+
+    QBrush b1(lg);
+    QBrush b2(lg);
+    b1.setTransform(QTransform().scale(2, 2));
+    QTest::newRow("lg with transform vs same lg") << b1 << b2 << false;
+
+    b2.setTransform(QTransform().scale(2, 2));
+    QTest::newRow("lg w/transform vs same lg w/same transform") << b1 << b2 << true;
+
 }
 
 void tst_QBrush::operator_eq_eq()