qt5base-lts/tests/auto/corelib/tools
Jüri Valdmann af7e756155 Return "en" for QLocale::c().bcp47Name()
Currently QLocale::c().bcp47Name() returns "C" which, according to [BCP47], is
not a valid language tag. In particular it does not conform to the ABNF grammar
in section 2.1 which specifies a minimum length of 2 characters for all language
tags.

[BCP47]: https://tools.ietf.org/html/bcp47

This patch changes the return value to "en" seeing as the documentation for
QLocale::Language states that the C language is identical in behavior to
English.

Task-number: QTBUG-61949
Change-Id: I2a381def8fb7156467e01d105da92bb1f4821204
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2017-07-26 08:22:51 +00:00
..
collections Fix tst_Collections for gcc/arm 2017-04-07 05:54:04 +00:00
qalgorithms
qarraydata tst_QArrayData: fix unused variable warning in reallocate() 2017-03-22 09:22:34 +00:00
qarraydata_strictiterators
qbitarray
qbytearray Fix some MSVC warnings in tests 2017-06-28 17:58:13 +00:00
qbytearraylist
qbytearraymatcher
qbytedatabuffer
qcache
qchar Merge remote-tracking branch 'origin/5.8' into 5.9 2017-03-21 19:07:53 +01:00
qcollator macOS/iOS: Correctly ignore punctuation in QCollator 2017-06-13 04:08:56 +00:00
qcommandlineparser Properly use the "process" feature 2017-02-27 15:44:46 +00:00
qcontiguouscache
qcryptographichash QCryptographicHash: make SHA3 calculate SHA3, not Keccak 2017-03-31 07:58:35 +00:00
qdate
qdatetime Merge remote-tracking branch 'origin/5.8' into 5.9 2017-03-13 15:55:44 +01:00
qeasingcurve
qexplicitlyshareddatapointer
qfreelist
qhash QHash/QMultiHash: fix operator== 2017-05-05 12:18:25 +00:00
qhash_strictiterators
qhashfunctions tst_qhashfunctions: Test non-zero seeds too 2017-04-11 06:38:14 +00:00
qlatin1string
qline
qlinkedlist
qlist
qlist_strictiterators
qlocale Return "en" for QLocale::c().bcp47Name() 2017-07-26 08:22:51 +00:00
qmap QMap, QHash: make key_iterator satisfy the DefaultConstructible concept 2017-03-20 04:36:42 +00:00
qmap_strictiterators
qmargins
qmessageauthenticationcode
qpair
qpoint
qpointf
qqueue
qrect
qregexp
qregularexpression
qringbuffer
qscopedpointer
qscopedvaluerollback
qset
qsharedpointer tst_QSharedPointer: Terminate hanging qmake-processes 2017-06-28 17:53:24 +00:00
qsize
qsizef
qstl
qstring Split Q_COMPILER_UNICODE_STRINGS: add Q_STDLIB_UNICODE_STRINGS 2017-04-20 06:50:36 +00:00
qstring_no_cast_from_bytearray
qstringapisymmetry
qstringbuilder
qstringiterator
qstringlist
qstringmatcher
qstringref
qtextboundaryfinder Use QT_CONFIG(library) instead of QT_NO_LIBRARY 2017-03-06 11:27:20 +00:00
qtime QLocale: fix handling of milliseconds in string format and document 2017-07-07 07:21:53 +00:00
qtimeline Blacklist flaky tst_QTimeLine tests on macOS 10.12 2017-06-18 12:58:53 +00:00
qtimezone Fix sending UTC-offset QTimeZones through QDataStream 2017-06-08 08:34:31 +00:00
qvarlengtharray
qvector
qvector_strictiterators
qversionnumber tst_QVersionNumber: fix Clang warning about superfluous move 2017-03-06 11:13:17 +00:00
tools.pro