]>
Commit | Line | Data |
---|---|---|
db8b865d | 1 | # |
53f8d64f | 2 | # Get subscription events. |
db8b865d | 3 | # |
53f8d64f MS |
4 | # Copyright © 2007-2013 by Apple Inc. |
5 | # Copyright © 2001-2006 by Easy Software Products. All rights reserved. | |
db8b865d | 6 | # |
53f8d64f MS |
7 | # Licensed under Apache License v2.0. See the file "LICENSE" for more |
8 | # information. | |
db8b865d MS |
9 | # |
10 | # Usage: | |
11 | # | |
12 | # ./ipptool -d id=NNN printer-uri get-notifications.test | |
13 | # | |
14 | ||
15 | { | |
16 | # The name of the test... | |
17 | NAME "Get events using Get-Notifications" | |
18 | ||
19 | # The operation to use | |
20 | OPERATION Get-Notifications | |
21 | ||
22 | # The attributes to send | |
23 | GROUP operation-attributes-tag | |
24 | ATTR charset attributes-charset utf-8 | |
25 | ATTR language attributes-natural-language en | |
26 | ATTR uri printer-uri $uri | |
27 | ATTR integer notify-subscription-ids $id | |
28 | ||
29 | # What statuses are OK? | |
30 | STATUS successful-ok | |
31 | ||
32 | # What attributes do we expect? | |
33 | EXPECT notify-event OF-TYPE keyword | |
34 | DISPLAY notify-event | |
35 | DISPLAY notify-text | |
36 | } |