diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2011-12-01 13:02:54 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-12-01 06:12:34 +0100 |
commit | d8492599f1f84564ea04d6450e90cdeffac42e45 (patch) | |
tree | 75296a0ede8d21184ca35d70305b86b4d5cdff36 /tests/benchmarks/corelib/tools | |
parent | d7fb773727b89d9db5acfcb3b4651d0fb6b3b820 (diff) |
Improve QString autotest.
The QString autotest shares test data between the remove() and replace()
tests because those functions are very similar. Unfortunately, when an
integer overflow bug was found in remove() the regression test was not
shared with replace(), which prevented the same integer overflow bug
from being discovered in replace().
This commit improves the test by sharing the overflow test data between
both functions, thus demonstrating the remaining bug.
Task-number: QTBUG-22967
Change-Id: I2778249800f74799d890eefa9227ca8ddd8fbaa3
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/benchmarks/corelib/tools')
0 files changed, 0 insertions, 0 deletions