diff options
author | mike <mike@7a7537e8-13f0-0310-91df-b6672ffda945> | 2013-03-22 17:52:09 +0000 |
---|---|---|
committer | mike <mike@7a7537e8-13f0-0310-91df-b6672ffda945> | 2013-03-22 17:52:09 +0000 |
commit | 6db9f456090dc32e1422cef322ae895175e839e8 (patch) | |
tree | 2796401aa94fec020912fe502924e59b4da32be1 | |
parent | 7242933102d809e8dae0b7c278ee054767da7219 (diff) | |
download | cups-6db9f456090dc32e1422cef322ae895175e839e8.tar.gz |
Add Validate-Job test file.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@10924 7a7537e8-13f0-0310-91df-b6672ffda945
-rw-r--r-- | test/Makefile | 3 | ||||
-rw-r--r-- | test/validate-job.test | 23 |
2 files changed, 25 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile index b9375d76a..56ed7a4af 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 000000000..c4140ea03 --- /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 +} |