on xenial help sign in
testMenuItemFactory: fix typo causing color test in appointmentMenu to fail
commit4d202827718efa5fac0057340446fc76a20c66e6 authorMarco Trevisan (Treviño) <mail@3v1n0.net> dateWed 21 Sep 2016, 13:23 (10 years ago) parent7b5207e
1 file changed+2−2
tests/qmltests/Panel/Indicators/tst_MenuItemFactory.qml+2−2
tests/qmltests/Panel/Indicators/tst_MenuItemFactory.qml+2−2
@@ -396,7 +396,7 @@ Item {
396396
397397 function test_create_appointmentMenu_data() {
398398 return [
399− {label: "testLabel1", enabled: true, icon: "file:///testIcon1", color: Qt.rgba(0, 0, 0, 0),
399+ {label: "testLabel1", enabled: true, icon: "file:///testIcon1", color: Qt.rgba(1, 2, 3, 0),
400400 time: new Date(2014, 04, 14), timeFormat: "%a %d %b %l:%M %p"},
401401 {label: "testLabel2", enabled: false, icon: "file:///testIcon2", color: Qt.rgba(1, 0, 0, 0),
402402 time: new Date(2015, 11, 31), timeFormat: "%A" },
@@ -409,7 +409,7 @@ Item {
409409 menuData.sensitive = data.enabled;
410410 menuData.icon = data.icon;
411411 menuData.ext = {
412− 'xCanonicalColor': data.colour,
412+ 'xCanonicalColor': data.color,
413413 'xCanonicalTime': data.time.getTime() / 1000 // expected in seconds
414414 };
415415