diff options
author | jlovell <jlovell@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2006-01-13 01:51:53 +0000 |
---|---|---|
committer | jlovell <jlovell@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2006-01-13 01:51:53 +0000 |
commit | ef416fc25c4af449e930416117bedb12fc9924ba (patch) | |
tree | 11f8aa8c5d3565a17d4a6d5121d3edba22e2a21e /test/create-job-sheets.test | |
parent | 9ec11526e139aeacf6a052799a6aa22cbbe6ebb2 (diff) |
Load cups into easysw/current.
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@2 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'test/create-job-sheets.test')
-rw-r--r-- | test/create-job-sheets.test | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/test/create-job-sheets.test b/test/create-job-sheets.test new file mode 100644 index 000000000..d15bb7d4b --- /dev/null +++ b/test/create-job-sheets.test @@ -0,0 +1,55 @@ +# Test create-job + send-document with job-sheets attribute +{ + # The name of the test... + NAME "Print test page using create-job" + + # The resource to use for the POST + # RESOURCE /admin + + # The operation to use + OPERATION create-job + + # Attributes, starting in the operation group... + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $uri + ATTR name requesting-user-name $user + + GROUP job + ATTR integer copies 1 + ATTR name job-sheets standard + + # What statuses are OK? + STATUS ok + STATUS ok-subst + + # What attributes do we expect? + EXPECT job-id + EXPECT job-uri +} +{ + # The name of the test... + NAME "... and send-document" + + # The resource to use for the POST + # RESOURCE /admin + + # The operation to use + OPERATION send-document + + # Attributes, starting in the operation group... + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $uri + ATTR integer job-id $job-id + ATTR name requesting-user-name $user + ATTR boolean last-document true + + FILE ../data/testprint.ps + + # What statuses are OK? + STATUS ok + STATUS ok-subst +} |