qt5base-lts/tests/auto/corelib/io/qurl
Thiago Macieira 4c7e950aad Mark QUrl::{to,from}Punycode as deprecated since 5.0
These functions are now aliases to {to,from}Ace, which are usually
what you want. The original functions from Qt 4.0 had the wrong
semantics and wrong name. The new ones from Qt 4.2 execute the ACE
processing from IDNA (specifically, the ToASCII and ToUnicode
operations described in the RFC).

But so as not to be without tests, export the tests in unit testing
environment and test the punycode roundtrip. Note that the
tst_QUrl::idna_test_suite test tests *only* the Punycode roundtrip,
not the nameprepping.

Change-Id: I9b95b4bd07b4425344a5c6ef5cce7cfcb9846d3e
Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Reviewed-by: David Faure <faure@kde.org>
2012-03-30 01:19:59 +02:00
..
.gitignore Moving relevant tests to corelib/io 2011-08-31 10:08:38 +02:00
idna-test.c Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qurl.pro Mark QUrl::{to,from}Punycode as deprecated since 5.0 2012-03-30 01:19:59 +02:00
tst_qurl.cpp Mark QUrl::{to,from}Punycode as deprecated since 5.0 2012-03-30 01:19:59 +02:00