on xenial help sign in
Add link to bug
58f524aAndrea Cimitan
tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingList.qml+1
@@ -55,6 +55,7 @@ Rectangle {
55 }
55 }
56
56
57 function test_initialValue() {
57 function test_initialValue() {
58+ // there's no initialIndex, so we workaround, testing is difficult too https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1362031
58 var newObject = Qt.createQmlObject('import "../../../../qml/Dash/ScopeSettings" \n\
59 var newObject = Qt.createQmlObject('import "../../../../qml/Dash/ScopeSettings" \n\
59 ScopeSettingList { initialValue: 2; }', root, "dynamicScopeSettingList");
60 ScopeSettingList { initialValue: 2; }', root, "dynamicScopeSettingList");
60 newObject.widgetData = settingData;
61 newObject.widgetData = settingData;