on xenial help sign in
Update expectations
commit998cd29a377d17e359cef2eaf94521e09f97d82d authorAlbert Astals <albert.astals@canonical.com> dateThu 30 Oct 2014, 13:30 (12 years ago) parent2ef4fb7
6 files changed+25−22
tests/plugins/Dash/cardcreator/1.res+3−2 tests/plugins/Dash/cardcreator/2.res+1−1 tests/plugins/Dash/cardcreator/3.res+9−8 tests/plugins/Dash/cardcreator/4.res+2−2 tests/plugins/Dash/cardcreator/5.res+9−8 tests/plugins/Dash/cardcreator/7.res+1−1
tests/plugins/Dash/cardcreator/1.res+3−2
@@ -44,16 +44,17 @@ Item {
4444 height = Qt.binding(function() { return image.status !== Image.Ready ? 0 : image.height });
4545 }
4646 }
47− image: CroppedImageMinimumSourceSize {
47+ CroppedImageMinimumSourceSize {
48+ id: artImage;
4849 objectName: "artImage";
4950 property bool doLoadSource: !NetworkingStatus.limitedBandwith;
5051 source: { if (root.visible) doLoadSource = true; return doLoadSource && cardData && cardData["art"] || ""; }
51− cache: true;
5252 asynchronous: root.asynchronous;
5353 visible: false;
5454 width: root.width;
5555 height: width / artShape.aspect;
5656 }
57+ image: artImage.image;
5758 }
5859 }
5960 }
tests/plugins/Dash/cardcreator/2.res+1−1
@@ -72,7 +72,7 @@ CroppedImageMinimumSourceSize {
7272 height: units.gu(5.625);
7373 horizontalAlignment: Image.AlignHCenter;
7474 verticalAlignment: Image.AlignVCenter;
75− visible: showHeader && resized;
75+ visible: showHeader;
7676 }
7777,Item {
7878 id: headerTitleContainer;
tests/plugins/Dash/cardcreator/3.res+9−8
@@ -44,16 +44,17 @@ Item {
4444 height = Qt.binding(function() { return image.status !== Image.Ready ? 0 : image.height });
4545 }
4646 }
47− image: CroppedImageMinimumSourceSize {
48− objectName: "artImage";
47+ CroppedImageMinimumSourceSize {
48+ id: artImage;
49+ objectName: "artImage";
4950 property bool doLoadSource: !NetworkingStatus.limitedBandwith;
5051 source: { if (root.visible) doLoadSource = true; return doLoadSource && cardData && cardData["art"] || ""; }
51− cache: true;
52− asynchronous: root.asynchronous;
53− visible: false;
54− width: root.width;
55− height: width / artShape.aspect;
56− }
52+ asynchronous: root.asynchronous;
53+ visible: false;
54+ width: root.width;
55+ height: width / artShape.aspect;
56+ }
57+ image: artImage.image;
5758 }
5859 }
5960 }
tests/plugins/Dash/cardcreator/4.res+2−2
@@ -33,11 +33,11 @@ Loader {
3333 id: mascotShapeLoader;
3434 objectName: "mascotShapeLoader";
3535 asynchronous: root.asynchronous;
36− active: mascotImage.status === Image.Ready;
36+ active: mascotImage.image.status === Image.Ready;
3737 visible: showHeader && active && status == Loader.Ready;
3838 width: units.gu(6);
3939 height: units.gu(5.625);
40− sourceComponent: UbuntuShape { image: mascotImage }
40+ sourceComponent: UbuntuShape { image: mascotImage.image }
4141 anchors { verticalCenter: parent.verticalCenter; }
4242 }
4343
tests/plugins/Dash/cardcreator/5.res+9−8
@@ -44,16 +44,17 @@ Item {
4444 height = Qt.binding(function() { return image.status !== Image.Ready ? 0 : image.height });
4545 }
4646 }
47− image: CroppedImageMinimumSourceSize {
48− objectName: "artImage";
47+ CroppedImageMinimumSourceSize {
48+ id: artImage;
49+ objectName: "artImage";
4950 property bool doLoadSource: !NetworkingStatus.limitedBandwith;
5051 source: { if (root.visible) doLoadSource = true; return doLoadSource && cardData && cardData["art"] || ""; }
51− cache: true;
52− asynchronous: root.asynchronous;
53− visible: false;
54− width: root.width;
55− height: width / artShape.aspect;
56− }
52+ asynchronous: root.asynchronous;
53+ visible: false;
54+ width: root.width;
55+ height: width / artShape.aspect;
56+ }
57+ image: artImage.image;
5758 }
5859 }
5960 }
tests/plugins/Dash/cardcreator/7.res+1−1
@@ -72,7 +72,7 @@ CroppedImageMinimumSourceSize {
7272 height: units.gu(5.625);
7373 horizontalAlignment: Image.AlignHCenter;
7474 verticalAlignment: Image.AlignVCenter;
75− visible: showHeader && resized;
75+ visible: showHeader;
7676 }
7777
7878,Item {