1*5e7646d2SAndroid Build Coastguard Worker# Test create-job + send-document with job-sheets attribute 2*5e7646d2SAndroid Build Coastguard Worker{ 3*5e7646d2SAndroid Build Coastguard Worker # The name of the test... 4*5e7646d2SAndroid Build Coastguard Worker NAME "Print test page using create-job" 5*5e7646d2SAndroid Build Coastguard Worker 6*5e7646d2SAndroid Build Coastguard Worker # The resource to use for the POST 7*5e7646d2SAndroid Build Coastguard Worker # RESOURCE /admin 8*5e7646d2SAndroid Build Coastguard Worker 9*5e7646d2SAndroid Build Coastguard Worker # The operation to use 10*5e7646d2SAndroid Build Coastguard Worker OPERATION create-job 11*5e7646d2SAndroid Build Coastguard Worker 12*5e7646d2SAndroid Build Coastguard Worker # Attributes, starting in the operation group... 13*5e7646d2SAndroid Build Coastguard Worker GROUP operation 14*5e7646d2SAndroid Build Coastguard Worker ATTR charset attributes-charset utf-8 15*5e7646d2SAndroid Build Coastguard Worker ATTR language attributes-natural-language en 16*5e7646d2SAndroid Build Coastguard Worker ATTR uri printer-uri $uri 17*5e7646d2SAndroid Build Coastguard Worker ATTR name requesting-user-name $user 18*5e7646d2SAndroid Build Coastguard Worker 19*5e7646d2SAndroid Build Coastguard Worker GROUP job 20*5e7646d2SAndroid Build Coastguard Worker ATTR integer copies 1 21*5e7646d2SAndroid Build Coastguard Worker ATTR name job-sheets standard 22*5e7646d2SAndroid Build Coastguard Worker 23*5e7646d2SAndroid Build Coastguard Worker # What statuses are OK? 24*5e7646d2SAndroid Build Coastguard Worker STATUS successful-ok 25*5e7646d2SAndroid Build Coastguard Worker STATUS successful-ok-ignored-or-substituted-attributes 26*5e7646d2SAndroid Build Coastguard Worker 27*5e7646d2SAndroid Build Coastguard Worker # What attributes do we expect? 28*5e7646d2SAndroid Build Coastguard Worker EXPECT job-id 29*5e7646d2SAndroid Build Coastguard Worker EXPECT job-uri 30*5e7646d2SAndroid Build Coastguard Worker} 31*5e7646d2SAndroid Build Coastguard Worker{ 32*5e7646d2SAndroid Build Coastguard Worker # The name of the test... 33*5e7646d2SAndroid Build Coastguard Worker NAME "... and send-document" 34*5e7646d2SAndroid Build Coastguard Worker 35*5e7646d2SAndroid Build Coastguard Worker # The resource to use for the POST 36*5e7646d2SAndroid Build Coastguard Worker # RESOURCE /admin 37*5e7646d2SAndroid Build Coastguard Worker 38*5e7646d2SAndroid Build Coastguard Worker # The operation to use 39*5e7646d2SAndroid Build Coastguard Worker OPERATION send-document 40*5e7646d2SAndroid Build Coastguard Worker 41*5e7646d2SAndroid Build Coastguard Worker # Attributes, starting in the operation group... 42*5e7646d2SAndroid Build Coastguard Worker GROUP operation 43*5e7646d2SAndroid Build Coastguard Worker ATTR charset attributes-charset utf-8 44*5e7646d2SAndroid Build Coastguard Worker ATTR language attributes-natural-language en 45*5e7646d2SAndroid Build Coastguard Worker ATTR uri printer-uri $uri 46*5e7646d2SAndroid Build Coastguard Worker ATTR integer job-id $job-id 47*5e7646d2SAndroid Build Coastguard Worker ATTR name requesting-user-name $user 48*5e7646d2SAndroid Build Coastguard Worker ATTR boolean last-document true 49*5e7646d2SAndroid Build Coastguard Worker 50*5e7646d2SAndroid Build Coastguard Worker FILE ../data/testprint.ps 51*5e7646d2SAndroid Build Coastguard Worker 52*5e7646d2SAndroid Build Coastguard Worker # What statuses are OK? 53*5e7646d2SAndroid Build Coastguard Worker STATUS successful-ok 54*5e7646d2SAndroid Build Coastguard Worker STATUS successful-ok-ignored-or-substituted-attributes 55*5e7646d2SAndroid Build Coastguard Worker} 56