From: mike Date: Fri, 22 Mar 2013 17:52:09 +0000 (+0000) Subject: Add Validate-Job test file. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6db9f456090dc32e1422cef322ae895175e839e8;p=thirdparty%2Fcups.git Add Validate-Job test file. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@10924 7a7537e8-13f0-0310-91df-b6672ffda945 --- diff --git a/test/Makefile b/test/Makefile index b9375d76ae..56ed7a4af8 100644 --- a/test/Makefile +++ b/test/Makefile @@ -49,7 +49,8 @@ TESTFILES = \ ipp-everywhere.test \ print-job.test \ print-job-deflate.test \ - print-job-gzip.test + print-job-gzip.test \ + validate-job.test OBJS = \ ippserver.o \ ipptool.o \ diff --git a/test/validate-job.test b/test/validate-job.test new file mode 100644 index 0000000000..c4140ea037 --- /dev/null +++ b/test/validate-job.test @@ -0,0 +1,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 +}