on xenial help sign in
we don't do the network thing anymore
commit57319cc39b8555453d88eed496ecdc216a9cd271 authorAlbert Astals <albert.astals@canonical.com> dateTue 28 Oct 2014, 12:24 (12 years ago) parent9601a8f
3 files changed−24
debian/control−1 qml/Dash/CardGrid.qml−1 tests/qmltests/Dash/tst_Card.qml−22
debian/control−1
@@ -174,7 +174,6 @@ Depends: accountsservice-ubuntu-schemas (>= 0.0.3),
174174 libhardware2,
175175 unity-schemas (>= 7.3.1+14.10.20140915),
176176 pay-service,
177− qml-module-ubuntu-connectivity,
178177 ${misc:Depends},
179178 ${shlibs:Depends},
180179Provides: unity-launcher-impl,
qml/Dash/CardGrid.qml−1
@@ -52,7 +52,6 @@ DashRenderer {
5252 displayMarginEnd: root.displayMarginEnd
5353 cacheBuffer: 0
5454 interactive: false
55−
5655 delegate: Item {
5756 width: grid.cellWidth
5857 height: grid.cellHeight
tests/qmltests/Dash/tst_Card.qml−22
@@ -17,7 +17,6 @@
1717import QtQuick 2.0
1818import QtTest 1.0
1919import Ubuntu.Components 0.1
20−import Ubuntu.Connectivity 1.0
2120import Unity.Test 0.1 as UT
2221import "../../../qml/Dash"
2322import "CardHelpers.js" as Helpers
@@ -208,7 +207,6 @@ Rectangle {
208207
209208 function init() {
210209 loader.visible = true;
211− NetworkingStatus.limitedBandwith = false;
212210 }
213211
214212 function cleanup() {
@@ -572,25 +570,5 @@ Rectangle {
572570 verify((card.width - titleToCard.x - titleToCard.width) === units.gu(1));
573571 }
574572 }
575−
576− function test_load_images_visibility_network_data() {
577− return [
578− { tag: "Visible, network", visible: true, limitedBandwith: false },
579− { tag: "Visible, no network", visible: true, limitedBandwith: true },
580− { tag: "Not Visible, network", visible: false, limitedBandwith: false },
581− { tag: "Not Visible, no network", visible: false, limitedBandwith: true }
582− ];
583− }
584−
585− function test_load_images_visibility_network(data) {
586− loader.visible = data.visible;
587− NetworkingStatus.limitedBandwith = data.limitedBandwith;
588−
589− selector.selectedIndex = 0;
590− waitForRendering(selector);
591− waitForRendering(card);
592−
593− verify(data.visible || !data.limitedBandwith || artImage.source == "");
594− }
595573 }
596574}