Merge lp:~larsu/gsettings-qt/manual-test into lp:gsettings-qt

Proposed by Lars Karlitski
Status: Merged
Approved by: Sebastien Bacher
Approved revision: 61
Merged at revision: 60
Proposed branch: lp:~larsu/gsettings-qt/manual-test
Merge into: lp:gsettings-qt
Diff against target: 65 lines (+34/-8)
2 files modified
examples/choices.qml (+19/-8)
tests/manual (+15/-0)
To merge this branch: bzr merge lp:~larsu/gsettings-qt/manual-test
Reviewer Review Type Date Requested Status
Sebastien Bacher (community) Approve
PS Jenkins bot continuous-integration Approve
Review via email: mp+224429@code.launchpad.net

Commit message

Add manual test cases

Description of the change

Add manual test cases

I've copied them to the wiki as well:

  https://wiki.ubuntu.com/Process/Merges/TestPlan/gsettings-qt

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Sebastien Bacher (seb128) wrote :

looks good, thanks

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'examples/choices.qml'
2--- examples/choices.qml 2014-06-23 13:29:16 +0000
3+++ examples/choices.qml 2014-06-25 11:56:26 +0000
4@@ -1,22 +1,33 @@
5
6+import GSettings 1.0
7 import QtQuick 2.0
8-import GSettings 1.0
9+import Ubuntu.Components 0.1
10+import Ubuntu.Components.ListItems 0.1 as ListItems
11
12 Item {
13- width: 200
14+ width: 400
15 height: 300
16
17 GSettings {
18 id: settings
19- schema.id: "org.gnome.desktop.interface"
20+ schema.id: "com.canonical.Unity.Lenses"
21 }
22
23- ListView {
24+ Column {
25 anchors.fill: parent
26- model: settings.schema.choices('toolbarStyle')
27-
28- delegate: Text {
29- text: modelData
30+
31+ ListItems.Standard {
32+ text: 'Dash search'
33+ control: Switch {
34+ checked: settings.remoteContentSearch == 'all'
35+ onClicked: settings.remoteContentSearch = checked ? 'all' : 'none'
36+ }
37+ }
38+
39+ ListItems.SingleValue {
40+ text: 'Possible values'
41+ value: settings.schema.choices('remoteContentSearch').join(', ')
42 }
43 }
44 }
45+
46
47=== added file 'tests/manual'
48--- tests/manual 1970-01-01 00:00:00 +0000
49+++ tests/manual 2014-06-25 11:56:26 +0000
50@@ -0,0 +1,15 @@
51+
52+Test-case gsettings-qt/unity8-check-setting
53+<dl>
54+ <dt>Open system settings with the security panel </dt>
55+ <dd>Ensure "Dash search" is set to "Phone and Internet"</dd>
56+ <dt>Change "Dash search" to "Phone only"</dt>
57+ <dd>Ensure that the music and video lenses don't show online content</dd>
58+</dl>
59+
60+Test-case gsettings-qt/run-example
61+<dl>
62+ <dt>Download the <a href="http://bazaar.launchpad.net/~system-settings-touch/gsettings-qt/trunk/view/head:/examples/choices.qml">choices example</a> and run it with qmlscene</dt>
63+ <dd>Ensure that the switch is synchronized with the "Dash Search" setting in the security panel of system settings</dd>
64+ <dd>Ensure that the "Possible values" list item has a value of "all, none"</dd>
65+</dl>

Subscribers

People subscribed via source and target branches

to all changes: