QtPrintSupport: allow slight deviations from pre-defined paper sizes in tests
authorTeemu Katajisto <teemu.katajisto@digia.com>
Tue, 21 Aug 2012 07:53:31 +0000 (10:53 +0300)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 26 Sep 2012 08:08:59 +0000 (10:08 +0200)
commit0b2068eafd9d3789897c82f29a9153d5fd6e21a5
tree1eb4d8444d5b4232bc6504147b72aa8bf9820887
parent906c0168c564ccbc6722dc9bafc482137317085c
QtPrintSupport: allow slight deviations from pre-defined paper sizes in tests

CUPS paper sizes may differ from Qt paper sizes slightly and thus fail
the strict comparison in qprinter tests. This is needed for the
followup patch which initializes the cupsplugin with CUPS/PPD defaults.

Change-Id: Ie66f77ead0204de0fc7c7913005fa516d57d34eb
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
tests/auto/printsupport/kernel/qprinter/tst_qprinter.cpp