qt5base-lts/tests/auto
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
..
android Updated license headers 2016-01-21 18:55:18 +00:00
bic/data Update binary compatibility files for Qt 5.9.0 for QtBase 2017-08-14 13:48:17 +00:00
cmake tests: Unify license to GPL-EXCEPT 2017-04-03 07:18:46 +00:00
compilerwarnings/data Updated license headers 2016-01-21 18:55:18 +00:00
concurrent Change almost all other uses of qrand() to QRandomGenerator 2017-11-08 09:14:03 +00:00
corelib Change almost all other uses of qrand() to QRandomGenerator 2017-11-08 09:14:03 +00:00
dbus Use QSharedPointer::create() more 2017-07-19 13:40:42 +00:00
gui Change almost all other uses of qrand() to QRandomGenerator 2017-11-08 09:14:03 +00:00
guiapplauncher
installed_cmake
network Change almost all other uses of qrand() to QRandomGenerator 2017-11-08 09:14:03 +00:00
opengl Change almost all other uses of qrand() to QRandomGenerator 2017-11-08 09:14:03 +00:00
other Change almost all other uses of qrand() to QRandomGenerator 2017-11-08 09:14:03 +00:00
printsupport Convert features.completer to QT_[REQUIRE_]CONFIG 2017-09-04 11:28:02 +00:00
shared Remove workaround for potentially unavailable pasteboard in macOS 2017-03-07 01:04:46 +00:00
sql Merge remote-tracking branch 'origin/5.9' into 5.10 2017-10-30 08:54:05 +01:00
testlib Make QCOMPARE print QColor alpha values on failure 2017-11-03 14:29:49 +00:00
tools Merge remote-tracking branch 'origin/5.9' into dev 2017-08-31 14:31:31 +02:00
widgets Change almost all other uses of qrand() to QRandomGenerator 2017-11-08 09:14:03 +00:00
xml Increase timeout for tst_QXmlSimpleReader::inputFromSocket() test 2017-10-05 10:22:12 +00:00
auto.pro Blacklist and skip failing tests for Boot2Qt / 64 bit arm 2017-10-21 09:31:01 +00:00
network-settings.h Merge remote-tracking branch 'origin/5.6' into 5.7 2016-05-06 15:36:44 +02:00