]> git.ipfire.org Git - thirdparty/cups.git/blame - test/get-printer-attributes.test
Fix an issue with `PreserveJobHistory` and time values (Issue #5538)
[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...
10d09e33 4 NAME "Get printer attributes using Get-Printer-Attributes"
ef416fc2 5
6 # The operation to use
10d09e33 7 OPERATION Get-Printer-Attributes
ef416fc2 8
9 # Attributes, starting in the operation group...
10d09e33 10 GROUP operation-attributes-tag
ef416fc2 11 ATTR charset attributes-charset utf-8
12 ATTR language attributes-natural-language en
13 ATTR uri printer-uri $uri
14
15 # What statuses are OK?
16 STATUS successful-ok
17
18 # What attributes do we expect?
19 EXPECT charset-configured
20 EXPECT charset-supported
21 EXPECT compression-supported
22 EXPECT document-format-default
23 EXPECT document-format-supported
24 EXPECT generated-natural-language-supported
25 EXPECT ipp-versions-supported
26 EXPECT natural-language-configured
27 EXPECT operations-supported
97c9a8d7 28 EXPECT pdl-override-supported
ef416fc2 29 EXPECT printer-is-accepting-jobs
ef416fc2 30 EXPECT printer-name
31 EXPECT printer-state
32 EXPECT printer-state-reasons
33 EXPECT printer-up-time
34 EXPECT printer-uri-supported
97c9a8d7 35 EXPECT queued-job-count
ef416fc2 36 EXPECT uri-authentication-supported
37 EXPECT uri-security-supported
38}