2 # "$Id: 4.1-requests.test 1595 2001-03-01 20:40:17Z mike $"
4 # Verify that the server requires the following attributes:
7 # attributes-natural-language
11 # The name of the test...
14 # The operation to use
17 # What statuses are OK?
18 STATUS client-error-bad-request
20 # What attributes do we expect?
21 EXPECT attributes-charset
22 EXPECT attributes-natural-language
25 # The name of the test...
26 NAME "Charset Attribute"
28 # The operation to use
31 # The attributes to send
33 ATTR charset attributes-charset utf-8
35 # What statuses are OK?
36 STATUS client-error-bad-request
38 # What attributes do we expect?
39 EXPECT attributes-charset
40 EXPECT attributes-natural-language
43 # The name of the test...
44 NAME "Language Attribute"
46 # The operation to use
49 # The attributes to send
51 ATTR language attributes-natural-language en
53 # What statuses are OK?
54 STATUS client-error-bad-request
56 # What attributes do we expect?
57 EXPECT attributes-charset
58 EXPECT attributes-natural-language
61 # The name of the test...
62 NAME "Language + Charset Attributes"
64 # The operation to use
67 # The attributes to send
69 ATTR language attributes-natural-language en
70 ATTR charset attributes-charset utf-8
72 # What statuses are OK?
73 STATUS client-error-bad-request
75 # What attributes do we expect?
76 EXPECT attributes-charset
77 EXPECT attributes-natural-language
80 # The name of the test...
81 NAME "Charset + Language Attributes"
83 # The operation to use
86 # The attributes to send
88 ATTR charset attributes-charset utf-8
89 ATTR language attributes-natural-language en
91 # What statuses are OK?
92 STATUS client-error-bad-request
94 # What attributes do we expect?
95 EXPECT attributes-charset
96 EXPECT attributes-natural-language
99 # The name of the test...
100 NAME "Charset + Language + Printer URI Attributes"
102 # The operation to use
105 # The attributes to send
107 ATTR charset attributes-charset utf-8
108 ATTR language attributes-natural-language en
109 ATTR uri printer-uri $uri
111 # What statuses are OK?
114 # What attributes do we expect?
115 EXPECT attributes-charset
116 EXPECT attributes-natural-language
119 # The name of the test...
120 NAME "Charset + Language + Job URI Attributes"
122 # The operation to use
125 # The attributes to send
127 ATTR charset attributes-charset utf-8
128 ATTR language attributes-natural-language en
129 ATTR uri job-uri $method://$hostname:$port/jobs
131 # What statuses are OK?
134 # What attributes do we expect?
135 EXPECT attributes-charset
136 EXPECT attributes-natural-language
139 # End of "$Id: 4.1-requests.test 1595 2001-03-01 20:40:17Z mike $"