libcups icon indicating copy to clipboard operation
libcups copied to clipboard

ipptool: Add DISPLAY-WARNING predicate

Open michaelrsweet opened this issue 3 years ago • 0 comments

It would be nice to support warnings when running tests, e.g. if a Printer supports a deprecated operation or attribute, we could write:

EXPECT operations-supported WITH-VALUE 0x0012 DISPLAY-WARNING "The Purge-Jobs operation is DEPRECATED and SHOULD NOT be implemented any longer."

Similarly, we could display a warning for a status code that is unexpected:

STATUS client-error-not-found DISPLAY-WARNING "client-error-not-found is not defined for this operation."

michaelrsweet avatar May 17 '22 14:05 michaelrsweet