]> git.ipfire.org Git - thirdparty/cups.git/blame - test/get-printer-attributes-2.0.test
Merge changes from CUPS 1.4svn-r8290.
[thirdparty/cups.git] / test / get-printer-attributes-2.0.test
CommitLineData
d2354e63
MS
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 # The version to use
13 VERSION 2.0
14
15 # Attributes, starting in the operation group...
16 GROUP operation
17 ATTR charset attributes-charset utf-8
18 ATTR language attributes-natural-language en
19 ATTR uri printer-uri $uri
20
21 # What statuses are OK?
22 STATUS successful-ok
23
24 # What attributes do we expect?
25 EXPECT charset-configured
26 EXPECT charset-supported
27 EXPECT compression-supported
28 EXPECT document-format-default
29 EXPECT document-format-supported
30 EXPECT generated-natural-language-supported
31 EXPECT ipp-versions-supported
32 EXPECT media-col-default
33 EXPECT natural-language-configured
34 EXPECT operations-supported
35 EXPECT printer-info
36 EXPECT printer-is-accepting-jobs
37 EXPECT printer-location
38 EXPECT printer-make-and-model
39 EXPECT printer-more-info
40 EXPECT printer-name
41 EXPECT printer-state
42 EXPECT printer-state-reasons
43 EXPECT printer-up-time
44 EXPECT printer-uri-supported
45 EXPECT uri-authentication-supported
46 EXPECT uri-security-supported
47}