on xenial help sign in
Check fixedArtShapeSizeAspect
commit235945e038c537a7ec981ffa693696f219ee9dca authorAlbert Astals <albert.astals@canonical.com> dateFri 13 Jun 2014, 12:43 (12 years ago) parent4207961
1 file changed+3−2
tests/qmltests/Dash/tst_Card.qml+3−2
tests/qmltests/Dash/tst_Card.qml+3−2
@@ -307,10 +307,11 @@ Rectangle {
307307
308308 function test_art_shape_fixed_size() {
309309 selector.selectedIndex = 6;
310− card.fixedArtShapeSize = Qt.size( units.gu(4), units.gu(4) );
310+ card.fixedArtShapeSize = Qt.size( units.gu(8), units.gu(4) );
311311 waitForRendering(card);
312− tryCompare(art, "width", units.gu(4));
312+ tryCompare(art, "width", units.gu(8));
313313 tryCompare(art, "height", units.gu(4));
314+ tryCompare(art, "fixedArtShapeSizeAspect", 2);
314315 }
315316
316317 function test_art_layout_data() {