1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
|
<?xml version="1.0" encoding="ISO-8859-1"?>
<testdefinition version="0.1">
<!-- Test suite, name mandatory - the same as test package name -->
<suite name="libcontextsubscriber-tests" domain="Application Framework">
<!-- At least one set per suite, name and description mandatory -->
<set name="libcontextsubscriber-suite" description="libcontextsubscriber tests">
<!-- Possibly some pre-steps to execute before running the test cases -->
<pre_steps>
<step expected_result="0">/usr/share/libcontextsubscriber-tests/waitforsilence</step>
</pre_steps>
<!-- At least one case per set, name mandatory, description mandatory, other optional -->
<case name="async" description="This test verifies that the asynchronicity of the subscriber library" requirement="" timeout="20">
<!-- At least one step per test, expected_result optional - tells which return code is considered passed -->
<step expected_result="0">. /tmp/session_bus_address.user; export CONTEXT_PROVIDERS=.;cd /usr/share/libcontextsubscriber-tests/asynchronicity;python /usr/share/libcontextsubscriber-tests/asynchronicity/asynchronicity.py</step>
</case>
<!-- At least one case per set, name mandatory, description mandatory, other optional -->
<case name="commander-appearing" description="This test verifies that properties are overriden by commander" requirement="" timeout="20">
<!-- At least one step per test, expected_result optional - tells which return code is considered passed -->
<step expected_result="0">. /tmp/session_bus_address.user;export CONTEXT_PROVIDERS=.;cd /usr/share/libcontextsubscriber-tests/commander;python /usr/share/libcontextsubscriber-tests/commander/commander_appearing.py</step>
</case>
<!-- At least one case per set, name mandatory, description mandatory, other optional -->
<case name="commander-nonexistent" description="This test verifies that nonexistent properties are handled by commander" requirement="" timeout="20">
<!-- At least one step per test, expected_result optional - tells which return code is considered passed -->
<step expected_result="0">. /tmp/session_bus_address.user;export CONTEXT_PROVIDERS=.;cd /usr/share/libcontextsubscriber-tests/commander;python /usr/share/libcontextsubscriber-tests/commander/commander_nonexistent.py</step>
</case>
<!-- At least one case per set, name mandatory, description mandatory, other optional -->
<case name="commander-disabled" description="This test verifies that disabling commander restore actual properties values" requirement="" timeout="20">
<!-- At least one step per test, expected_result optional - tells which return code is considered passed -->
<step expected_result="0">. /tmp/session_bus_address.user;export CONTEXT_PROVIDERS=.;cd /usr/share/libcontextsubscriber-tests/commander;python /usr/share/libcontextsubscriber-tests/commander/commander_disabled.py</step>
</case>
<!-- At least one case per set, name mandatory, description mandatory, other optional -->
<case name="registry" description="getting info from introspection API" requirement="" timeout="20">
<!-- At least one step per test, expected_result optional - tells which return code is considered passed -->
<step expected_result="0">. /tmp/session_bus_address.user;export CONTEXT_PROVIDERS=.;cd /usr/share/libcontextsubscriber-tests/registry;python /usr/share/libcontextsubscriber-tests/registry/registry.py</step>
</case>
<case name="subscription1" description="This test verifies that subscription to properties" requirement="" timeout="20">
<!-- At least one step per test, expected_result optional - tells which return code is considered passed -->
<step expected_result="0">. /tmp/session_bus_address.user;export CONTEXT_PROVIDERS=.;cd /usr/share/libcontextsubscriber-tests/subscription;python /usr/share/libcontextsubscriber-tests/subscription/subscription.py Subscription.testValue</step>
</case>
<case name="subscription2" description="This test verifies that subscription to properties" requirement="" timeout="20">
<!-- At least one step per test, expected_result optional - tells which return code is considered passed -->
<step expected_result="0">. /tmp/session_bus_address.user;export CONTEXT_PROVIDERS=.;cd /usr/share/libcontextsubscriber-tests/subscription;python /usr/share/libcontextsubscriber-tests/subscription/subscription.py Subscription.testInfos</step>
</case>
<case name="subscription3" description="Reading the type information from introspection" requirement="" timeout="20">
<step expected_result="0">. /tmp/session_bus_address.user;export CONTEXT_PROVIDERS=.;cd /usr/share/libcontextsubscriber-tests/subscription;python /usr/share/libcontextsubscriber-tests/subscription/subscription.py Subscription.testTypes</step>
</case>
<case name="subscription4" description="Reading the provider information from introspection" requirement="" timeout="20">
<step expected_result="0">. /tmp/session_bus_address.user;export CONTEXT_PROVIDERS=.;cd /usr/share/libcontextsubscriber-tests/subscription;python /usr/share/libcontextsubscriber-tests/subscription/subscription.py Subscription.testProviders</step>
</case>
<case name="subscription5" description="This test verifies that subscription to properties" requirement="" timeout="20">
<!-- At least one step per test, expected_result optional - tells which return code is considered passed -->
<step expected_result="0">. /tmp/session_bus_address.user;export CONTEXT_PROVIDERS=.;cd /usr/share/libcontextsubscriber-tests/subscription;python /usr/share/libcontextsubscriber-tests/subscription/subscription.py Subscription.testAllDataTypes</step>
</case>
<!-- Environments optional - tells where the tests are run -->
<case name="subscription6" description="This test verifies that subscription to properties" requirement="" timeout="20">
<!-- At least one step per test, expected_result optional - tells which return code is considered passed -->
<step expected_result="0">. /tmp/session_bus_address.user;export CONTEXT_PROVIDERS=.;cd /usr/share/libcontextsubscriber-tests/subscription;python /usr/share/libcontextsubscriber-tests/subscription/subscription.py Subscription.testTruthTypePermutations</step>
</case>
<case name="subscription7" description="This test verifies that subscription to properties" requirement="" timeout="20">
<!-- At least one step per test, expected_result optional - tells which return code is considered passed -->
<step expected_result="0">. /tmp/session_bus_address.user;export CONTEXT_PROVIDERS=.;cd /usr/share/libcontextsubscriber-tests/subscription;python /usr/share/libcontextsubscriber-tests/subscription/subscription.py Subscription.testStringTypePermutations</step>
</case>
<case name="subscription8" description="This test verifies that subscription to properties" requirement="" timeout="20">
<!-- At least one step per test, expected_result optional - tells which return code is considered passed -->
<step expected_result="0">. /tmp/session_bus_address.user;export CONTEXT_PROVIDERS=.;cd /usr/share/libcontextsubscriber-tests/subscription;python /usr/share/libcontextsubscriber-tests/subscription/subscription.py MultipleSubscribers.testInitialSubscription</step>
</case>
<case name="subscription9" description="This test verifies that subscription to properties" requirement="" timeout="20">
<!-- At least one step per test, expected_result optional - tells which return code is considered passed -->
<step expected_result="0">. /tmp/session_bus_address.user;export CONTEXT_PROVIDERS=.;cd /usr/share/libcontextsubscriber-tests/subscription;python /usr/share/libcontextsubscriber-tests/subscription/subscription.py MultipleSubscribers.testValueChanged</step>
</case>
<case name="subscription10" description="This test verifies that subscription to properties" requirement="" timeout="20">
<!-- At least one step per test, expected_result optional - tells which return code is considered passed -->
<step expected_result="0">. /tmp/session_bus_address.user;export CONTEXT_PROVIDERS=.;cd /usr/share/libcontextsubscriber-tests/subscription;python /usr/share/libcontextsubscriber-tests/subscription/subscription.py MultipleProviders.testTwoProviders</step>
</case>
<case name="subscription11" description="This test verifies that subscription to properties" requirement="" timeout="20">
<!-- At least one step per test, expected_result optional - tells which return code is considered passed -->
<step expected_result="0">. /tmp/session_bus_address.user;export CONTEXT_PROVIDERS=.;cd /usr/share/libcontextsubscriber-tests/subscription;python /usr/share/libcontextsubscriber-tests/subscription/subscription.py SubscriptionPause.testPause</step>
</case>
<case name="subscription12" description="This test verifies that subscription to properties" requirement="" timeout="20">
<!-- At least one step per test, expected_result optional - tells which return code is considered passed -->
<step expected_result="0">. /tmp/session_bus_address.user;export CONTEXT_PROVIDERS=.;cd /usr/share/libcontextsubscriber-tests/subscription;python /usr/share/libcontextsubscriber-tests/subscription/subscription.py SubscriptionPause.testWaitForSubscribe</step>
</case>
<case name="plugin" description="Plugin loading of libcontextsubscriber" requirement="" timeout="20">
<step expected_result="0">. /tmp/session_bus_address.user;export CONTEXT_PROVIDERS=.; cd /usr/share/libcontextsubscriber-tests/pluginchanging;python /usr/share/libcontextsubscriber-tests/pluginchanging/pluginchanging.py</step>
</case>
<case name="multiprovider" description="Multiple providers"
requirement="" timeout="20">
<step expected_result="0">. /tmp/session_bus_address.user;export CONTEXT_PROVIDERS=.; cd /usr/share/libcontextsubscriber-tests/subscription; python multiprovider.py</step>
</case>
<case name="multiprovider2" description="Multiprovider timestamp"
requirement="" timeout="20">
<step expected_result="0">. /tmp/session_bus_address.user;export CONTEXT_PROVIDERS=.; cd /usr/share/libcontextsubscriber-tests/subscription; python multiprovider2.py</step>
</case>
<case name="rapidchanges" description="Rapid changes"
requirement="" timeout="20">
<step expected_result="0">. /tmp/session_bus_address.user;export CONTEXT_PROVIDERS=.; cd /usr/share/libcontextsubscriber-tests/asynchronicity; python rapidchanges.py</step>
</case>
<case name="update-contextkit-providers" description="CDB database generation"
requirement="" timeout="20">
<step expected_result="0">cd /usr/share/libcontextsubscriber-tests/update-contextkit-providers ; ./test.sh ;</step>
</case>
<case name="forward-compatible" description="Forward compatibility"
requirement="" timeout="20">
<step expected_result="0">cd /usr/share/libcontextsubscriber-tests/forward-compatible ; ./test.sh ;</step>
</case>
<environments>
<scratchbox>false</scratchbox>
<hardware>true</hardware>
</environments>
<get>
<file>/tmp/xyzzy.log</file>
</get>
</set>
</suite>
</testdefinition>
|