]> git.ipfire.org Git - thirdparty/cups.git/blob - test/get-notifications.test
8019cec1671cdde3feda7c3ab8948f5f13cd0fdb
[thirdparty/cups.git] / test / get-notifications.test
1 #
2 # "$Id$"
3 #
4 # Get subscription events.
5 #
6 # Copyright 2007-2013 by Apple Inc.
7 # Copyright 2001-2006 by Easy Software Products. All rights reserved.
8 #
9 # These coded instructions, statements, and computer programs are the
10 # property of Apple Inc. and are protected by Federal copyright
11 # law. Distribution and use rights are outlined in the file "LICENSE.txt"
12 # which should have been included with this file. If this file is
13 # file is missing or damaged, see the license at "http://www.cups.org/".
14 #
15 # Usage:
16 #
17 # ./ipptool -d id=NNN printer-uri get-notifications.test
18 #
19
20 {
21 # The name of the test...
22 NAME "Get events using Get-Notifications"
23
24 # The operation to use
25 OPERATION Get-Notifications
26
27 # The attributes to send
28 GROUP operation-attributes-tag
29 ATTR charset attributes-charset utf-8
30 ATTR language attributes-natural-language en
31 ATTR uri printer-uri $uri
32 ATTR integer notify-subscription-ids $id
33
34 # What statuses are OK?
35 STATUS successful-ok
36
37 # What attributes do we expect?
38 EXPECT notify-event OF-TYPE keyword
39 DISPLAY notify-event
40 DISPLAY notify-text
41 }
42
43
44 #
45 # End of "$Id$"
46 #