4 # Get subscription events.
6 # Copyright 2007-2013 by Apple Inc.
7 # Copyright 2001-2006 by Easy Software Products. All rights reserved.
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/".
17 # ./ipptool -d id=NNN printer-uri get-notifications.test
21 # The name of the test...
22 NAME "Get events using Get-Notifications"
24 # The operation to use
25 OPERATION Get-Notifications
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
34 # What statuses are OK?
37 # What attributes do we expect?
38 EXPECT notify-event OF-TYPE keyword