on xenial help sign in
make indicator tests use the right (dark) theme
6906b41Lukáš Tinkl
tests/qmltests/Panel/IndicatorTest.qml+2−1
@@ -24,7 +24,8 @@ import Unity.Indicators 0.1 as Indicators
24
24
25Rectangle {
25Rectangle {
26 id: root
26 id: root
27− color: "white"
27+ color: theme.palette.normal.background
28+ Component.onCompleted: theme.name = "Ubuntu.Components.Themes.SuruDark"
28
29
29 property alias indicatorsModel: __indicatorsModel
30 property alias indicatorsModel: __indicatorsModel
30 property alias originalModelData: __indicatorsModel.originalModelData
31 property alias originalModelData: __indicatorsModel.originalModelData
tests/qmltests/Panel/tst_IndicatorItemRow.qml−1
@@ -26,7 +26,6 @@ IndicatorTest {
26 id: root
26 id: root
27 width: units.gu(120)
27 width: units.gu(120)
28 height: units.gu(40)
28 height: units.gu(40)
29− color: "white"
30
29
31 RowLayout {
30 RowLayout {
32 anchors.fill: parent
31 anchors.fill: parent
tests/qmltests/Panel/tst_IndicatorsMenu.qml−1
@@ -26,7 +26,6 @@ IndicatorTest {
26 id: root
26 id: root
27 width: units.gu(80)
27 width: units.gu(80)
28 height: units.gu(71)
28 height: units.gu(71)
29− color: "white"
30
29
31 RowLayout {
30 RowLayout {
32 anchors.fill: parent
31 anchors.fill: parent