]> git.ipfire.org Git - thirdparty/cups.git/blame - test/get-printer-attributes.test
Merge changes from CUPS 1.5svn-r8916.
[thirdparty/cups.git] / test / get-printer-attributes.test
CommitLineData
ef416fc2 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
97c9a8d7 31 EXPECT pdl-override-supported
ef416fc2 32 EXPECT printer-is-accepting-jobs
ef416fc2 33 EXPECT printer-name
34 EXPECT printer-state
35 EXPECT printer-state-reasons
36 EXPECT printer-up-time
37 EXPECT printer-uri-supported
97c9a8d7 38 EXPECT queued-job-count
ef416fc2 39 EXPECT uri-authentication-supported
40 EXPECT uri-security-supported
41}