summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qconfig-bootstrapped.h
diff options
context:
space:
mode:
authorMarc Mutz <[email protected]>2025-07-11 14:54:43 +0200
committerMarc Mutz <[email protected]>2025-07-15 15:00:33 +0000
commit84bb6087371b322865d3cf2af58fdfb374ae74eb (patch)
tree20338cd78cc89f9af3545876ec89c50b851d23a9 /src/corelib/global/qconfig-bootstrapped.h
parentd48185433af1f69a388e28f0078224a82702be6c (diff)
tst_QTextStream: make pos3LargeFile() actually test pos()HEADdev
The test function took an inordinate amount of time to execute, due to QTBUG-138435, but didn't actually test the result of all the pos() calls. An earlier commit reduced the test file size by a factor of 10 to make the runtime manageable. This patch adds actual testing of pos() by calculating a running tally of where the expected position is, in the file, and comparing that with QTextStream::pos(). As a drive-by, port a QString(const char*) call to a _L1 string literal. Amends the start of the public history. Pick-to: 6.10 6.9 6.8 6.5 Task-number: QTBUG-138435 Change-Id: Ib9d4b79b68847f52a3f49ffc458098b5cabc441b Reviewed-by: Edward Welbourne <[email protected]>
Diffstat (limited to 'src/corelib/global/qconfig-bootstrapped.h')
0 files changed, 0 insertions, 0 deletions