]>
Commit | Line | Data |
---|---|---|
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 | |
31 | EXPECT printer-info | |
32 | EXPECT printer-is-accepting-jobs | |
33 | EXPECT printer-location | |
34 | EXPECT printer-make-and-model | |
35 | EXPECT printer-more-info | |
36 | EXPECT printer-name | |
37 | EXPECT printer-state | |
38 | EXPECT printer-state-reasons | |
39 | EXPECT printer-up-time | |
40 | EXPECT printer-uri-supported | |
41 | EXPECT uri-authentication-supported | |
42 | EXPECT uri-security-supported | |
43 | } |