1*5e7646d2SAndroid Build Coastguard Worker# 2*5e7646d2SAndroid Build Coastguard Worker# Verify that the server requires the following attributes: 3*5e7646d2SAndroid Build Coastguard Worker# 4*5e7646d2SAndroid Build Coastguard Worker# attributes-charset 5*5e7646d2SAndroid Build Coastguard Worker# attributes-natural-language 6*5e7646d2SAndroid Build Coastguard Worker# printer-uri/job-uri 7*5e7646d2SAndroid Build Coastguard Worker# 8*5e7646d2SAndroid Build Coastguard Worker# Copyright © 2007-2019 by Apple Inc. 9*5e7646d2SAndroid Build Coastguard Worker# Copyright © 2001-2006 by Easy Software Products. All rights reserved. 10*5e7646d2SAndroid Build Coastguard Worker# 11*5e7646d2SAndroid Build Coastguard Worker# Licensed under Apache License v2.0. See the file "LICENSE" for more 12*5e7646d2SAndroid Build Coastguard Worker# information. 13*5e7646d2SAndroid Build Coastguard Worker# 14*5e7646d2SAndroid Build Coastguard Worker{ 15*5e7646d2SAndroid Build Coastguard Worker # The name of the test... 16*5e7646d2SAndroid Build Coastguard Worker NAME "No Attributes" 17*5e7646d2SAndroid Build Coastguard Worker 18*5e7646d2SAndroid Build Coastguard Worker # The operation to use 19*5e7646d2SAndroid Build Coastguard Worker OPERATION get-jobs 20*5e7646d2SAndroid Build Coastguard Worker 21*5e7646d2SAndroid Build Coastguard Worker # What statuses are OK? 22*5e7646d2SAndroid Build Coastguard Worker STATUS client-error-bad-request 23*5e7646d2SAndroid Build Coastguard Worker 24*5e7646d2SAndroid Build Coastguard Worker # What attributes do we expect? 25*5e7646d2SAndroid Build Coastguard Worker EXPECT attributes-charset 26*5e7646d2SAndroid Build Coastguard Worker EXPECT attributes-natural-language 27*5e7646d2SAndroid Build Coastguard Worker} 28*5e7646d2SAndroid Build Coastguard Worker{ 29*5e7646d2SAndroid Build Coastguard Worker # The name of the test... 30*5e7646d2SAndroid Build Coastguard Worker NAME "Charset Attribute" 31*5e7646d2SAndroid Build Coastguard Worker 32*5e7646d2SAndroid Build Coastguard Worker # The operation to use 33*5e7646d2SAndroid Build Coastguard Worker OPERATION get-jobs 34*5e7646d2SAndroid Build Coastguard Worker 35*5e7646d2SAndroid Build Coastguard Worker # The attributes to send 36*5e7646d2SAndroid Build Coastguard Worker GROUP operation 37*5e7646d2SAndroid Build Coastguard Worker ATTR charset attributes-charset utf-8 38*5e7646d2SAndroid Build Coastguard Worker 39*5e7646d2SAndroid Build Coastguard Worker # What statuses are OK? 40*5e7646d2SAndroid Build Coastguard Worker STATUS client-error-bad-request 41*5e7646d2SAndroid Build Coastguard Worker 42*5e7646d2SAndroid Build Coastguard Worker # What attributes do we expect? 43*5e7646d2SAndroid Build Coastguard Worker EXPECT attributes-charset 44*5e7646d2SAndroid Build Coastguard Worker EXPECT attributes-natural-language 45*5e7646d2SAndroid Build Coastguard Worker} 46*5e7646d2SAndroid Build Coastguard Worker{ 47*5e7646d2SAndroid Build Coastguard Worker # The name of the test... 48*5e7646d2SAndroid Build Coastguard Worker NAME "Language Attribute" 49*5e7646d2SAndroid Build Coastguard Worker 50*5e7646d2SAndroid Build Coastguard Worker # The operation to use 51*5e7646d2SAndroid Build Coastguard Worker OPERATION get-jobs 52*5e7646d2SAndroid Build Coastguard Worker 53*5e7646d2SAndroid Build Coastguard Worker # The attributes to send 54*5e7646d2SAndroid Build Coastguard Worker GROUP operation 55*5e7646d2SAndroid Build Coastguard Worker ATTR language attributes-natural-language en 56*5e7646d2SAndroid Build Coastguard Worker 57*5e7646d2SAndroid Build Coastguard Worker # What statuses are OK? 58*5e7646d2SAndroid Build Coastguard Worker STATUS client-error-bad-request 59*5e7646d2SAndroid Build Coastguard Worker 60*5e7646d2SAndroid Build Coastguard Worker # What attributes do we expect? 61*5e7646d2SAndroid Build Coastguard Worker EXPECT attributes-charset 62*5e7646d2SAndroid Build Coastguard Worker EXPECT attributes-natural-language 63*5e7646d2SAndroid Build Coastguard Worker} 64*5e7646d2SAndroid Build Coastguard Worker{ 65*5e7646d2SAndroid Build Coastguard Worker # The name of the test... 66*5e7646d2SAndroid Build Coastguard Worker NAME "Language + Charset Attributes" 67*5e7646d2SAndroid Build Coastguard Worker 68*5e7646d2SAndroid Build Coastguard Worker # The operation to use 69*5e7646d2SAndroid Build Coastguard Worker OPERATION get-jobs 70*5e7646d2SAndroid Build Coastguard Worker 71*5e7646d2SAndroid Build Coastguard Worker # The attributes to send 72*5e7646d2SAndroid Build Coastguard Worker GROUP operation 73*5e7646d2SAndroid Build Coastguard Worker ATTR language attributes-natural-language en 74*5e7646d2SAndroid Build Coastguard Worker ATTR charset attributes-charset utf-8 75*5e7646d2SAndroid Build Coastguard Worker 76*5e7646d2SAndroid Build Coastguard Worker # What statuses are OK? 77*5e7646d2SAndroid Build Coastguard Worker STATUS client-error-bad-request 78*5e7646d2SAndroid Build Coastguard Worker 79*5e7646d2SAndroid Build Coastguard Worker # What attributes do we expect? 80*5e7646d2SAndroid Build Coastguard Worker EXPECT attributes-charset 81*5e7646d2SAndroid Build Coastguard Worker EXPECT attributes-natural-language 82*5e7646d2SAndroid Build Coastguard Worker} 83*5e7646d2SAndroid Build Coastguard Worker{ 84*5e7646d2SAndroid Build Coastguard Worker # The name of the test... 85*5e7646d2SAndroid Build Coastguard Worker NAME "Charset + Language Attributes" 86*5e7646d2SAndroid Build Coastguard Worker 87*5e7646d2SAndroid Build Coastguard Worker # The operation to use 88*5e7646d2SAndroid Build Coastguard Worker OPERATION get-jobs 89*5e7646d2SAndroid Build Coastguard Worker 90*5e7646d2SAndroid Build Coastguard Worker # The attributes to send 91*5e7646d2SAndroid Build Coastguard Worker GROUP operation 92*5e7646d2SAndroid Build Coastguard Worker ATTR charset attributes-charset utf-8 93*5e7646d2SAndroid Build Coastguard Worker ATTR language attributes-natural-language en 94*5e7646d2SAndroid Build Coastguard Worker 95*5e7646d2SAndroid Build Coastguard Worker # What statuses are OK? 96*5e7646d2SAndroid Build Coastguard Worker STATUS client-error-bad-request 97*5e7646d2SAndroid Build Coastguard Worker 98*5e7646d2SAndroid Build Coastguard Worker # What attributes do we expect? 99*5e7646d2SAndroid Build Coastguard Worker EXPECT attributes-charset 100*5e7646d2SAndroid Build Coastguard Worker EXPECT attributes-natural-language 101*5e7646d2SAndroid Build Coastguard Worker} 102*5e7646d2SAndroid Build Coastguard Worker{ 103*5e7646d2SAndroid Build Coastguard Worker # The name of the test... 104*5e7646d2SAndroid Build Coastguard Worker NAME "Charset + Language + Printer URI Attributes" 105*5e7646d2SAndroid Build Coastguard Worker 106*5e7646d2SAndroid Build Coastguard Worker # The operation to use 107*5e7646d2SAndroid Build Coastguard Worker OPERATION get-jobs 108*5e7646d2SAndroid Build Coastguard Worker 109*5e7646d2SAndroid Build Coastguard Worker # The attributes to send 110*5e7646d2SAndroid Build Coastguard Worker GROUP operation 111*5e7646d2SAndroid Build Coastguard Worker ATTR charset attributes-charset utf-8 112*5e7646d2SAndroid Build Coastguard Worker ATTR language attributes-natural-language en 113*5e7646d2SAndroid Build Coastguard Worker ATTR uri printer-uri $uri 114*5e7646d2SAndroid Build Coastguard Worker 115*5e7646d2SAndroid Build Coastguard Worker # What statuses are OK? 116*5e7646d2SAndroid Build Coastguard Worker STATUS successful-ok 117*5e7646d2SAndroid Build Coastguard Worker 118*5e7646d2SAndroid Build Coastguard Worker # What attributes do we expect? 119*5e7646d2SAndroid Build Coastguard Worker EXPECT attributes-charset 120*5e7646d2SAndroid Build Coastguard Worker EXPECT attributes-natural-language 121*5e7646d2SAndroid Build Coastguard Worker} 122*5e7646d2SAndroid Build Coastguard Worker{ 123*5e7646d2SAndroid Build Coastguard Worker # The name of the test... 124*5e7646d2SAndroid Build Coastguard Worker NAME "Charset + Language + Job URI Attributes" 125*5e7646d2SAndroid Build Coastguard Worker 126*5e7646d2SAndroid Build Coastguard Worker # The operation to use 127*5e7646d2SAndroid Build Coastguard Worker OPERATION get-jobs 128*5e7646d2SAndroid Build Coastguard Worker 129*5e7646d2SAndroid Build Coastguard Worker # The attributes to send 130*5e7646d2SAndroid Build Coastguard Worker GROUP operation 131*5e7646d2SAndroid Build Coastguard Worker ATTR charset attributes-charset utf-8 132*5e7646d2SAndroid Build Coastguard Worker ATTR language attributes-natural-language en 133*5e7646d2SAndroid Build Coastguard Worker ATTR uri job-uri $scheme://$hostname:$port/jobs 134*5e7646d2SAndroid Build Coastguard Worker 135*5e7646d2SAndroid Build Coastguard Worker # What statuses are OK? 136*5e7646d2SAndroid Build Coastguard Worker STATUS client-error-bad-request 137*5e7646d2SAndroid Build Coastguard Worker 138*5e7646d2SAndroid Build Coastguard Worker # What attributes do we expect? 139*5e7646d2SAndroid Build Coastguard Worker EXPECT attributes-charset 140*5e7646d2SAndroid Build Coastguard Worker EXPECT attributes-natural-language 141*5e7646d2SAndroid Build Coastguard Worker} 142*5e7646d2SAndroid Build Coastguard Worker{ 143*5e7646d2SAndroid Build Coastguard Worker # The name of the test... 144*5e7646d2SAndroid Build Coastguard Worker NAME "Bad IPP Version" 145*5e7646d2SAndroid Build Coastguard Worker 146*5e7646d2SAndroid Build Coastguard Worker # The operation to use 147*5e7646d2SAndroid Build Coastguard Worker OPERATION get-jobs 148*5e7646d2SAndroid Build Coastguard Worker 149*5e7646d2SAndroid Build Coastguard Worker # The version number to use 150*5e7646d2SAndroid Build Coastguard Worker VERSION 0.0 151*5e7646d2SAndroid Build Coastguard Worker 152*5e7646d2SAndroid Build Coastguard Worker # The attributes to send 153*5e7646d2SAndroid Build Coastguard Worker GROUP operation 154*5e7646d2SAndroid Build Coastguard Worker ATTR charset attributes-charset utf-8 155*5e7646d2SAndroid Build Coastguard Worker ATTR language attributes-natural-language en 156*5e7646d2SAndroid Build Coastguard Worker ATTR uri printer-uri ipp://localhost/printers 157*5e7646d2SAndroid Build Coastguard Worker 158*5e7646d2SAndroid Build Coastguard Worker # What statuses are OK? 159*5e7646d2SAndroid Build Coastguard Worker STATUS server-error-version-not-supported 160*5e7646d2SAndroid Build Coastguard Worker} 161*5e7646d2SAndroid Build Coastguard Worker# 162*5e7646d2SAndroid Build Coastguard Worker# End of "$Id$" 163*5e7646d2SAndroid Build Coastguard Worker# 164