equal
deleted
inserted
replaced
163 void tst_QGraphicsPixmapItem::boundingRect_data() |
163 void tst_QGraphicsPixmapItem::boundingRect_data() |
164 { |
164 { |
165 QTest::addColumn<QPixmap>("pixmap"); |
165 QTest::addColumn<QPixmap>("pixmap"); |
166 QTest::addColumn<QRectF>("boundingRect"); |
166 QTest::addColumn<QRectF>("boundingRect"); |
167 QTest::newRow("null") << QPixmap() << QRectF(); |
167 QTest::newRow("null") << QPixmap() << QRectF(); |
168 QTest::newRow("10x10") << QPixmap(10, 10) << QRectF(-0.5, -0.5, 11, 11); |
168 QTest::newRow("10x10") << QPixmap(10, 10) << QRectF(0, 0, 10, 10); |
169 } |
169 } |
170 |
170 |
171 // public QRectF boundingRect() const |
171 // public QRectF boundingRect() const |
172 void tst_QGraphicsPixmapItem::boundingRect() |
172 void tst_QGraphicsPixmapItem::boundingRect() |
173 { |
173 { |