summaryrefslogtreecommitdiff
path: root/test/validate-job.test
blob: c4140ea0372d3cbce0d1fb419221f7c5cdfdcd24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Validate a test page using Validate-Job
{
	# The name of the test...
	NAME "Validate file/ticket using Validate-Job"

	# The operation to use
	OPERATION Validate-Job

	# Attributes, starting in the operation group...
	GROUP operation-attributes-tag
	ATTR charset attributes-charset utf-8
	ATTR language attributes-natural-language en
	ATTR uri printer-uri $uri
	ATTR name requesting-user-name $user
	ATTR mimeMediaType document-format $filetype

	GROUP job-attributes-tag
	ATTR integer copies 1

	# What statuses are OK?
	STATUS successful-ok
	STATUS successful-ok-ignored-or-substituted-attributes
}