]> git.ipfire.org Git - thirdparty/cups.git/blob - test/get-printer-attributes.test
Import changes from CUPS 1.4svn-r8704.
[thirdparty/cups.git] / test / get-printer-attributes.test
1 # Get printer attributes using get-printer-attributes
2 {
3 # The name of the test...
4 NAME "Get printer attributes using get-printer-attributes"
5
6 # The resource to use for the POST
7 # RESOURCE /admin
8
9 # The operation to use
10 OPERATION get-printer-attributes
11
12 # Attributes, starting in the operation group...
13 GROUP operation
14 ATTR charset attributes-charset utf-8
15 ATTR language attributes-natural-language en
16 ATTR uri printer-uri $uri
17
18 # What statuses are OK?
19 STATUS successful-ok
20
21 # What attributes do we expect?
22 EXPECT charset-configured
23 EXPECT charset-supported
24 EXPECT compression-supported
25 EXPECT document-format-default
26 EXPECT document-format-supported
27 EXPECT generated-natural-language-supported
28 EXPECT ipp-versions-supported
29 EXPECT natural-language-configured
30 EXPECT operations-supported
31 EXPECT pdl-override-supported
32 EXPECT printer-is-accepting-jobs
33 EXPECT printer-name
34 EXPECT printer-state
35 EXPECT printer-state-reasons
36 EXPECT printer-up-time
37 EXPECT printer-uri-supported
38 EXPECT queued-job-count
39 EXPECT uri-authentication-supported
40 EXPECT uri-security-supported
41 }