]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Make the default get-printer-attributes test request media-col-database.
authorMichael R Sweet <michael.r.sweet@gmail.com>
Fri, 22 Mar 2019 17:00:54 +0000 (13:00 -0400)
committerMichael R Sweet <michael.r.sweet@gmail.com>
Fri, 22 Mar 2019 17:00:54 +0000 (13:00 -0400)
test/get-printer-attributes-2.0.test [deleted file]
test/get-printer-attributes.test

diff --git a/test/get-printer-attributes-2.0.test b/test/get-printer-attributes-2.0.test
deleted file mode 100644 (file)
index adfb457..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-# Get printer attributes using get-printer-attributes
-{
-       # The name of the test...
-       NAME "Get printer attributes using get-printer-attributes"
-
-       # The resource to use for the POST
-       # RESOURCE /admin
-
-       # The operation to use
-       OPERATION get-printer-attributes
-
-       # The version to use
-       VERSION 2.0
-
-       # 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 keyword requested-attributes all,media-col-database
-
-       # What statuses are OK?
-       STATUS successful-ok
-
-       # What attributes do we expect?
-       EXPECT charset-configured
-       EXPECT charset-supported
-       EXPECT compression-supported
-       EXPECT document-format-default
-       EXPECT document-format-supported
-       EXPECT generated-natural-language-supported
-       EXPECT ipp-versions-supported
-       EXPECT media-col-default
-       EXPECT natural-language-configured
-       EXPECT operations-supported
-       EXPECT printer-info
-       EXPECT printer-is-accepting-jobs
-       EXPECT printer-location
-       EXPECT printer-make-and-model
-       EXPECT printer-more-info
-       EXPECT printer-name
-       EXPECT printer-state
-       EXPECT printer-state-reasons
-       EXPECT printer-up-time
-       EXPECT printer-uri-supported
-       EXPECT uri-authentication-supported
-       EXPECT uri-security-supported
-}
index 5940017a02640b0303bceaa8b499cb594b781f4b..adfb45758002a0dd2714e0d10421e8e7cbd8300a 100644 (file)
@@ -1,16 +1,23 @@
 # Get printer attributes using get-printer-attributes
 {
        # The name of the test...
-       NAME "Get printer attributes using Get-Printer-Attributes"
+       NAME "Get printer attributes using get-printer-attributes"
+
+       # The resource to use for the POST
+       # RESOURCE /admin
 
        # The operation to use
-       OPERATION Get-Printer-Attributes
+       OPERATION get-printer-attributes
+
+       # The version to use
+       VERSION 2.0
 
        # Attributes, starting in the operation group...
-       GROUP operation-attributes-tag
+       GROUP operation
        ATTR charset attributes-charset utf-8
        ATTR language attributes-natural-language en
        ATTR uri printer-uri $uri
+       ATTR keyword requested-attributes all,media-col-database
 
        # What statuses are OK?
        STATUS successful-ok
        EXPECT document-format-supported
        EXPECT generated-natural-language-supported
        EXPECT ipp-versions-supported
+       EXPECT media-col-default
        EXPECT natural-language-configured
        EXPECT operations-supported
-       EXPECT pdl-override-supported
+       EXPECT printer-info
        EXPECT printer-is-accepting-jobs
+       EXPECT printer-location
+       EXPECT printer-make-and-model
+       EXPECT printer-more-info
        EXPECT printer-name
        EXPECT printer-state
        EXPECT printer-state-reasons
        EXPECT printer-up-time
        EXPECT printer-uri-supported
-       EXPECT queued-job-count
        EXPECT uri-authentication-supported
        EXPECT uri-security-supported
 }