summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qobject.cpp
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2022-10-05 16:44:45 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2022-10-17 15:53:32 +0200
commitce950bcbf7f6cf3bd5bf5113e7b70016f0d60492 (patch)
tree3199dfca470bccd01d7b175a5532c13fece6de3b /src/corelib/kernel/qobject.cpp
parent2ffc36c24a7c5365407263945f9a529a44369e80 (diff)
Clean up tst_QAlgorithms::count{Trail,Lead}ing_data_impl()
Pull out the arbitrary factor of three as a named constant and document its arbitrariness once. Pull out the mask and bit used in each function's loop to the outer layer of the loop, since they don't depend on the inner loop variable (or the random value generated in that loop). Use QTest::addRow() instead of constructing a string to pass to newRow(). Change-Id: Ifacbcb390e00828fd47f51b0c73d0ad5f6bc8bdb Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/corelib/kernel/qobject.cpp')
0 files changed, 0 insertions, 0 deletions