on xenial help sign in
Update expectations
998cd29Albert Astals
tests/plugins/Dash/cardcreator/1.res+3−2
@@ -44,16 +44,17 @@ Item {
44 height = Qt.binding(function() { return image.status !== Image.Ready ? 0 : image.height });
44 height = Qt.binding(function() { return image.status !== Image.Ready ? 0 : image.height });
45 }
45 }
46 }
46 }
47− image: CroppedImageMinimumSourceSize {
47+ CroppedImageMinimumSourceSize {
48+ id: artImage;
48 objectName: "artImage";
49 objectName: "artImage";
49 property bool doLoadSource: !NetworkingStatus.limitedBandwith;
50 property bool doLoadSource: !NetworkingStatus.limitedBandwith;
50 source: { if (root.visible) doLoadSource = true; return doLoadSource && cardData && cardData["art"] || ""; }
51 source: { if (root.visible) doLoadSource = true; return doLoadSource && cardData && cardData["art"] || ""; }
51− cache: true;
52 asynchronous: root.asynchronous;
52 asynchronous: root.asynchronous;
53 visible: false;
53 visible: false;
54 width: root.width;
54 width: root.width;
55 height: width / artShape.aspect;
55 height: width / artShape.aspect;
56 }
56 }
57+ image: artImage.image;
57 }
58 }
58 }
59 }
59 }
60 }
tests/plugins/Dash/cardcreator/2.res+1−1
@@ -72,7 +72,7 @@ CroppedImageMinimumSourceSize {
72 height: units.gu(5.625);
72 height: units.gu(5.625);
73 horizontalAlignment: Image.AlignHCenter;
73 horizontalAlignment: Image.AlignHCenter;
74 verticalAlignment: Image.AlignVCenter;
74 verticalAlignment: Image.AlignVCenter;
75− visible: showHeader && resized;
75+ visible: showHeader;
76 }
76 }
77,Item {
77,Item {
78 id: headerTitleContainer;
78 id: headerTitleContainer;
tests/plugins/Dash/cardcreator/3.res+9−8
@@ -44,16 +44,17 @@ Item {
44 height = Qt.binding(function() { return image.status !== Image.Ready ? 0 : image.height });
44 height = Qt.binding(function() { return image.status !== Image.Ready ? 0 : image.height });
45 }
45 }
46 }
46 }
47− image: CroppedImageMinimumSourceSize {
47+ CroppedImageMinimumSourceSize {
48+ id: artImage;
48− objectName: "artImage";
49+ objectName: "artImage";
49 property bool doLoadSource: !NetworkingStatus.limitedBandwith;
50 property bool doLoadSource: !NetworkingStatus.limitedBandwith;
50 source: { if (root.visible) doLoadSource = true; return doLoadSource && cardData && cardData["art"] || ""; }
51 source: { if (root.visible) doLoadSource = true; return doLoadSource && cardData && cardData["art"] || ""; }
51− cache: true;
52− asynchronous: root.asynchronous;
52+ asynchronous: root.asynchronous;
53− visible: false;
53+ visible: false;
54− width: root.width;
54+ width: root.width;
55− height: width / artShape.aspect;
55+ height: width / artShape.aspect;
56− }
56+ }
57+ image: artImage.image;
57 }
58 }
58 }
59 }
59 }
60 }
tests/plugins/Dash/cardcreator/4.res+2−2
@@ -33,11 +33,11 @@ Loader {
33 id: mascotShapeLoader;
33 id: mascotShapeLoader;
34 objectName: "mascotShapeLoader";
34 objectName: "mascotShapeLoader";
35 asynchronous: root.asynchronous;
35 asynchronous: root.asynchronous;
36− active: mascotImage.status === Image.Ready;
36+ active: mascotImage.image.status === Image.Ready;
37 visible: showHeader && active && status == Loader.Ready;
37 visible: showHeader && active && status == Loader.Ready;
38 width: units.gu(6);
38 width: units.gu(6);
39 height: units.gu(5.625);
39 height: units.gu(5.625);
40− sourceComponent: UbuntuShape { image: mascotImage }
40+ sourceComponent: UbuntuShape { image: mascotImage.image }
41 anchors { verticalCenter: parent.verticalCenter; }
41 anchors { verticalCenter: parent.verticalCenter; }
42 }
42 }
43
43
tests/plugins/Dash/cardcreator/5.res+9−8
@@ -44,16 +44,17 @@ Item {
44 height = Qt.binding(function() { return image.status !== Image.Ready ? 0 : image.height });
44 height = Qt.binding(function() { return image.status !== Image.Ready ? 0 : image.height });
45 }
45 }
46 }
46 }
47− image: CroppedImageMinimumSourceSize {
47+ CroppedImageMinimumSourceSize {
48+ id: artImage;
48− objectName: "artImage";
49+ objectName: "artImage";
49 property bool doLoadSource: !NetworkingStatus.limitedBandwith;
50 property bool doLoadSource: !NetworkingStatus.limitedBandwith;
50 source: { if (root.visible) doLoadSource = true; return doLoadSource && cardData && cardData["art"] || ""; }
51 source: { if (root.visible) doLoadSource = true; return doLoadSource && cardData && cardData["art"] || ""; }
51− cache: true;
52− asynchronous: root.asynchronous;
52+ asynchronous: root.asynchronous;
53− visible: false;
53+ visible: false;
54− width: root.width;
54+ width: root.width;
55− height: width / artShape.aspect;
55+ height: width / artShape.aspect;
56− }
56+ }
57+ image: artImage.image;
57 }
58 }
58 }
59 }
59 }
60 }
tests/plugins/Dash/cardcreator/7.res+1−1
@@ -72,7 +72,7 @@ CroppedImageMinimumSourceSize {
72 height: units.gu(5.625);
72 height: units.gu(5.625);
73 horizontalAlignment: Image.AlignHCenter;
73 horizontalAlignment: Image.AlignHCenter;
74 verticalAlignment: Image.AlignVCenter;
74 verticalAlignment: Image.AlignVCenter;
75− visible: showHeader && resized;
75+ visible: showHeader;
76 }
76 }
77
77
78,Item {
78,Item {