Changeset View
Changeset View
Standalone View
Standalone View
libs/flake/tests/TestImageCollection.cpp
Context not available. | |||||
179 | QPixmap pixmap3 = data.pixmap(); | 179 | QPixmap pixmap3 = data.pixmap(); | ||
---|---|---|---|---|---|
180 | QCOMPARE(pixmap.cacheKey(), pixmap3.cacheKey()); | 180 | QCOMPARE(pixmap.cacheKey(), pixmap3.cacheKey()); | ||
181 | 181 | | |||
182 | // now get a differen size; | 182 | // now get a different size; | ||
183 | QPixmap pixmap4 = data.pixmap(QSize(10, 12)); | 183 | QPixmap pixmap4 = data.pixmap(QSize(10, 12)); | ||
184 | QCOMPARE(pixmap.width(), 40); | 184 | QCOMPARE(pixmap.width(), 40); | ||
185 | QCOMPARE(pixmap.height(), 41); | 185 | QCOMPARE(pixmap.height(), 41); | ||
Context not available. |