on xenial help sign in
Change data tags.
46ecd6bMichał Sawicz
tests/plugins/Dash/tst_StyleTool.qml+6−6
@@ -65,9 +65,9 @@ Rectangle {
65 function test_foreground_data() {
65 function test_foreground_data() {
66 return [
66 return [
67 { tag: "default", index: 0, foreground: "grey" },
67 { tag: "default", index: 0, foreground: "grey" },
68− { tag: "red", index: 1, foreground: "red" },
68+ { tag: "red on black", index: 1, foreground: "red" },
69− { tag: "green", index: 2, foreground: "green" },
69+ { tag: "green on white", index: 2, foreground: "green" },
70− { tag: "blue", index: 3, foreground: "blue" },
70+ { tag: "blue on darkgrey", index: 3, foreground: "blue" },
71 ];
71 ];
72 }
72 }
73
73
@@ -80,9 +80,9 @@ Rectangle {
80 function test_background_data() {
80 function test_background_data() {
81 return [
81 return [
82 { tag: "default", index: 0, background: "transparent" },
82 { tag: "default", index: 0, background: "transparent" },
83− { tag: "black", index: 1, background: "black" },
83+ { tag: "red on black", index: 1, background: "black" },
84− { tag: "white", index: 2, background: "white" },
84+ { tag: "green on white", index: 2, background: "white" },
85− { tag: "darkgrey", index: 3, background: "darkgrey" },
85+ { tag: "blue on darkgrey", index: 3, background: "darkgrey" },
86 ];
86 ];
87 }
87 }
88
88