qt5base-lts/tests/auto
John Layt f3ad57e90e QtPrintSupport - Fix Mac printerName() use
Mac in Qt4 and 5 has been using the PMPrinter Name for the QPrinter
and QPrinterInfo printerName() value, but this is incorrect. This
is in fact the CUPS Description field, is in human readable form
and is not guaranteed to be unique. The CUPS Name field is the
PMPrinter ID value and should be used as the unique identifier
when accessing printers. This has worked up to now due to an
undocumented feature in the OSX api that accepted the Name when
the ID should be used.

Changing all uses of PMPrinterGetName to PMPrinterGetID fixes this
and allows the QPrinterInfo test of names to pass without
munging the names.

Change-Id: I25322aa1a924bed9f67f4ad5e208274c8b700e17
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Reviewed-by: John Layt <jlayt@kde.org>
2012-05-23 23:55:43 +02:00
..
cmake Use IF(NOT TARGET ...) before creating imported targets. 2012-05-15 23:03:23 +02:00
compilerwarnings/data Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
concurrent Remove insignification from QtConcurrentFilter test. 2012-04-19 13:26:51 +02:00
corelib Fix handling of invalid urls in QDataStream << QUrl 2012-05-23 14:18:34 +02:00
dbus Fix unit confusion in ccf3b9e48b2d773999a9a88e249f79380618cde6 2012-05-02 22:49:26 +02:00
gui Fix wrong local positions in mouse events when no tlw was given 2012-05-23 19:22:34 +02:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
network QAuthenticator - test NTLM SSO and normal paths separately 2012-05-23 14:18:34 +02:00
opengl Expose QPA API under qpa/* 2012-05-07 20:25:24 +02:00
other Replace (un)checkAction with toggleAction (3/3) 2012-05-22 20:56:38 +02:00
printsupport QtPrintSupport - Fix Mac printerName() use 2012-05-23 23:55:43 +02:00
shared Expose QPA API under qpa/* 2012-05-07 20:25:24 +02:00
sql Fix encoding mismatches in tst_QSqlQuery 2012-05-07 05:03:17 +02:00
testlib Make the event notification on Windows be mandatory in all dispatchers 2012-05-04 12:44:14 +02:00
tools Don't use the deprecated translate() method anymore 2012-05-18 22:38:55 +02:00
widgets Fixed QLineEdit::inputMethodQuery() for Qt::ImHints 2012-05-23 01:11:27 +02:00
xml Change remaining uses of {to,from}Ascii to {to,from}Latin1 [QtXml] 2012-05-03 11:33:05 +02:00
auto.pro Re-enable network tests on Mac OS. 2012-04-24 16:06:28 +02:00
network-settings.h Fix auto tests build with gcc 4.7 2012-05-23 00:42:20 +02:00
platformquirks.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
test.pl Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00