Skip to content

ipp-tests.test: Test I-10 fails to detect missing required keywords for "print-color-mode" and perhaps other attributes #105

Description

@wifiprintguy

In IPP Everywhere 1.1, "print-color-mode-supported" is a required Printer Description attribute, and 5100.14-2020 adopted the requirements from 5100.13-2012, which requires the Printer to support the 'auto' and 'monochrome' keywords (Table 6). This requirement didn't change in 5100.13-2023.

But the test on line 467 of ipp-tests.test fails to test this correctly:

EXPECT print-color-mode-supported OF-TYPE keyword IN-GROUP printer-attributes-tag WITH-ALL-VALUES "/^(auto|auto-monochrome|bi-level|color|highlight|monochrome|process-bi-level|process-monochrome)$/"

It checks that it lists one value, but doesn't disambiguate between required and optional keywords. The 'monochrome' and 'auto' keywords are required, and should be tested on separate lines, or perhaps the regex needs to be rewritten?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions