diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2012-01-03 14:02:47 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-05 03:49:45 +0100 |
commit | ca81ec03d69817e838c7758844184447f530e0f6 (patch) | |
tree | 898948d4493c3b5ae19ad5cbef583140174f4ab7 /src/widgets/graphicsview/qgraphicsitem.cpp | |
parent | 77ddb00a49fdde54df2b232e9e901a08e48cee6d (diff) | |
download | qtbase-ca81ec03d69817e838c7758844184447f530e0f6.tar.gz |
Prevent QFileInfo test from leaving temporary files behind.
Use a small helper class to ensure that the files created during the
test are removed afterwards, even if the test fails. Also, verify
creation of the files in the body of the test function, not in the
helper, as verifying in the helper won't terminate the test on failure.
Change-Id: I76eff20e54ef6a1ed71d9bbb31e00f41f3d14c38
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'src/widgets/graphicsview/qgraphicsitem.cpp')
0 files changed, 0 insertions, 0 deletions