xref: /aosp_15_r20/external/libcups/examples/get-printers.test (revision 5e7646d21f1134fb0638875d812ef646c12ab91e)
1*5e7646d2SAndroid Build Coastguard Worker# Get printer attributes using get-printer-attributes
2*5e7646d2SAndroid Build Coastguard Worker{
3*5e7646d2SAndroid Build Coastguard Worker	# The name of the test...
4*5e7646d2SAndroid Build Coastguard Worker	NAME "CUPS-Get-Printers"
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 CUPS-Get-Printers
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
17*5e7646d2SAndroid Build Coastguard Worker	# What statuses are OK?
18*5e7646d2SAndroid Build Coastguard Worker	STATUS successful-ok
19*5e7646d2SAndroid Build Coastguard Worker}
20