qt5base-lts/tests/auto/gui/text
Thiago Macieira 19b0ce5daa Change almost all other uses of qrand() to QRandomGenerator
The vast majority is actually switched to QRandomGenerator::bounded(),
which gives a mostly uniform distribution over the [0, bound)
range. There are very few floating point cases left, as many of those
that did use floating point did not need to, after all. (I did leave
some that were too ugly for me to understand)

This commit also found a couple of calls to rand() instead of qrand().

This commit does not include changes to SSL code that continues to use
qrand() (job for someone else):
  src/network/ssl/qsslkey_qt.cpp
  src/network/ssl/qsslsocket_mac.cpp
  tests/auto/network/ssl/qsslsocket/tst_qsslsocket.cpp

Change-Id: Icd0e0d4b27cb4e5eb892fffd14b5285d43f4afbf
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2017-11-08 09:14:03 +00:00
..
qabstracttextdocumentlayout Make imageAt and formatAt more robus against different font metrics 2016-08-12 03:59:23 +00:00
qcssparser Merge remote-tracking branch 'origin/5.7' into 5.8 2016-11-01 06:02:55 +01:00
qfont Blacklist tst_QFont::DefaultFamily in B2Qt 2017-08-16 07:32:09 +00:00
qfontcache Avoid synthesizing stretch on condensed font families 2016-08-15 11:39:44 +00:00
qfontdatabase Ensure that tst_QFontDatabase::addAppFont() tests the whole path to an engine 2017-03-31 09:45:39 +00:00
qfontmetrics Add API to disable text shaping on fonts 2017-07-26 10:51:00 +00:00
qglyphrun Accept error margin in QGlyphRun/QStaticText test for decorations 2017-02-02 15:10:41 +00:00
qinputcontrol Accept all formatting characters as valid input 2017-01-26 10:59:49 +00:00
qrawfont Added capHeight() to QRawFont and QFontMetrics(F) 2016-08-15 18:27:06 +00:00
qstatictext Accept error margin in QGlyphRun/QStaticText test for decorations 2017-02-02 15:10:41 +00:00
qsyntaxhighlighter
qtextblock
qtextcursor
qtextdocument Fix CSS line-height property multiplier value handling 2017-04-21 07:10:51 +00:00
qtextdocumentfragment
qtextdocumentlayout
qtextformat QTextFormatCollection: replace copy ctor and op= with clear() 2017-02-23 18:11:55 +00:00
qtextlayout Add QTextOption/QTextEdit/QPlainTextEdit::tabStopDistance property 2017-08-06 08:16:06 +00:00
qtextlist
qtextobject
qtextodfwriter
qtextpiecetable Change almost all other uses of qrand() to QRandomGenerator 2017-11-08 09:14:03 +00:00
qtextscriptengine Revert "Ignore thaiZWJ failure on RHEL 7.2" 2017-08-07 07:18:26 +00:00
qtexttable
qzip update testdata 2016-08-31 10:00:29 +00:00
text.pro Build examples and tests only if their requirements are met 2017-03-22 15:55:55 +00:00