tests/auto/qbrush/tst_qbrush.cpp
branchGCC_SURGE
changeset 31 5daf16870df6
parent 30 5dc02b23752f
--- a/tests/auto/qbrush/tst_qbrush.cpp	Mon Jun 21 22:38:13 2010 +0100
+++ b/tests/auto/qbrush/tst_qbrush.cpp	Thu Jul 22 16:41:55 2010 +0100
@@ -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()