~jason-cozens/mago/unittest

« back to all changes in this revision

Viewing changes to notify-osd/notify_osd.xml

  • Committer: Eitan Isaacson
  • Date: 2009-03-22 23:36:18 UTC
  • Revision ID: eitan@ascender.com-20090322233618-npc5waa6pb08bc2d
Ported notify-osd to new framework.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?xml version="1.0"?>
2
 
<ldtp>
3
 
  <logfile>/dev/null</logfile>
4
 
  <screenshotdir>/tmp/ldtp-screenshots</screenshotdir>
5
 
  <group>
6
 
    <testcaseid>IconSummaryBodyTestCase</testcaseid>
7
 
    <script>
8
 
      <testcase>IconSummaryBodyTestCase</testcase>
9
 
      <name>./notify-osd/notify_osd_display.py</name>
10
 
      <data>./notify-osd/data/icons_summary_body_data.xml</data>
11
 
    </script>
12
 
  </group>
13
 
  <group>
14
 
    <testcaseid>IconSummaryTestCase</testcaseid>
15
 
    <script>
16
 
      <testcase>IconSummaryTestCase</testcase>
17
 
      <name>./notify-osd/notify_osd_display.py</name>
18
 
      <data>./notify-osd/data/icons_summary_data.xml</data>
19
 
    </script>
20
 
  </group>
21
 
  <group>
22
 
    <testcaseid>SummaryBodyTestCase</testcaseid>
23
 
    <script>
24
 
      <testcase>SummaryBodyTestCase</testcase>
25
 
      <name>./notify-osd/notify_osd_display.py</name>
26
 
      <data>./notify-osd/data/summary_body_data.xml</data>
27
 
    </script>
28
 
  </group>
29
 
  <group>
30
 
    <testcaseid>SummaryTestCase</testcaseid>
31
 
    <script>
32
 
      <testcase>SummaryTestCase</testcase>
33
 
      <name>./notify-osd/notify_osd_display.py</name>
34
 
      <data>./notify-osd/data/summary_data.xml</data>
35
 
    </script>
36
 
  </group>
37
 
  <group>
38
 
    <testcaseid>QueueTestCase</testcaseid>
39
 
    <script>
40
 
      <testcase>QueueTestCase</testcase>
41
 
      <name>./notify-osd/notify_osd_queue.py</name>
42
 
      <data>./notify-osd/data/bubble_queue.xml</data>
43
 
    </script>
44
 
  </group>
45
 
  <group>
46
 
    <testcaseid>SynchronousTestCase</testcaseid>
47
 
    <script>
48
 
      <testcase>SynchronousTestCase</testcase>
49
 
      <name>./notify-osd/notify_osd_synchronous.py</name>
50
 
      <data>./notify-osd/data/synchronous_data.xml</data>
51
 
    </script>
52
 
  </group>
53
 
</ldtp>
 
2
<suite name="notify-osd">
 
3
  <class>notify_osd.NotifyOSDTest</class>
 
4
  <description>notify-osd tests</description>
 
5
  <case name="IconSummaryBody">
 
6
    <method>layoutTest</method>
 
7
    <description>
 
8
      Test the layout of a bubble with an icon, summary and body
 
9
    </description>
 
10
    <args>
 
11
      <oracle>./notify-osd/data/icons_summary_body.png</oracle>
 
12
      <summary>Nat King Cole</summary>
 
13
      <body>Hey pal, what's up with the party next weekend? Will you join me and Anna?</body>
 
14
      <icon>notification-message-IM</icon>
 
15
    </args>
 
16
  </case>
 
17
  <case name="IconSummary">
 
18
    <method>layoutTest</method>
 
19
    <description>
 
20
      Test the layout of a bubble with an icon and summary.
 
21
    </description>
 
22
    <args>
 
23
      <oracle>./notify-osd/data/icons_summary.png</oracle>
 
24
      <summary>WiFi connection lost</summary>
 
25
      <body></body>
 
26
      <icon>notification-network-wireless-disconnected</icon>
 
27
    </args>
 
28
  </case>
 
29
  <case name="SummaryBody">
 
30
    <method>layoutTest</method>
 
31
    <description>
 
32
      Test the layout of a bubble with a summary only.
 
33
    </description>
 
34
    <args>
 
35
      <oracle>./notify-osd/data/summary_body.png</oracle>
 
36
      <summary>Totem</summary>
 
37
      <body>This is a superfluous notification</body>
 
38
      <icon></icon>
 
39
    </args>
 
40
  </case>
 
41
  <case name="Summary">
 
42
    <method>layoutTest</method>
 
43
    <description>
 
44
      Test the layout of a bubble with a summary only.
 
45
    </description>
 
46
    <args>
 
47
      <oracle>./notify-osd/data/summary.png</oracle>
 
48
      <summary>Summary-only</summary>
 
49
      <body></body>
 
50
      <icon></icon>
 
51
    </args>
 
52
  </case>
 
53
  <case name="Queue">
 
54
    <method>queueTest</method>
 
55
    <description>
 
56
      Test the bubble queue.
 
57
    </description>
 
58
    <args>
 
59
      <oracle>./notify-osd/data/icons_summary_body.png|./notify-osd/data/icons_summary.png|./notify-osd/data/summary.png</oracle>
 
60
      <summary>Nat King Cole|WiFi connection lost|Summary-only</summary>
 
61
      <body>Hey pal, what's up with the party next weekend? Will you join me and Anna?||</body>
 
62
      <icon>notification-message-IM|notification-network-wireless-disconnected|</icon>
 
63
    </args>
 
64
  </case>
 
65
  <case name="Synchronous">
 
66
    <method>synchronousTest</method>
 
67
    <description>
 
68
      Test synchronous bubbles.
 
69
    </description>
 
70
    <args>
 
71
    <summary1>Nat King Cole</summary1>
 
72
    <body1>Hey pal, what's up with the party next weekend? Will you join me and Anna?</body1>
 
73
    <icon1>notification-message-IM</icon1>
 
74
    <summary2>Volume</summary2>
 
75
    <body2></body2>
 
76
    <icon2>notification-audio-volume-medium</icon2>
 
77
    <value2>75</value2>
 
78
    </args>
 
79
  </case>
 
80
</suite>