]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - test/get-job-template-attributes.test
Import CUPS v2.0b1
[thirdparty/cups.git] / test / get-job-template-attributes.test
diff --git a/test/get-job-template-attributes.test b/test/get-job-template-attributes.test
new file mode 100644 (file)
index 0000000..0330160
--- /dev/null
@@ -0,0 +1,24 @@
+# Get printer Job Template attributes using get-printer-attributes
+{
+       # The name of the test...
+       NAME "Get printer Job Template attributes using Get-Printer-Attributes"
+
+       # The operation to use
+       OPERATION Get-Printer-Attributes
+
+       # 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 keyword requested-attributes job-template,media-col-database
+
+       # What statuses are OK?
+       STATUS successful-ok
+       STATUS successful-ok-ignored-or-substituted-attributes
+
+       # What attributes do we expect?
+       EXPECT copies-default
+       EXPECT copies-supported
+       EXPECT media-col-database
+}