summaryrefslogtreecommitdiffstats
path: root/src/widgets/graphicsview/qgraphicsview.cpp
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2012-01-03 14:02:47 +1000
committerQt by Nokia <qt-info@nokia.com>2012-01-05 03:49:45 +0100
commitca81ec03d69817e838c7758844184447f530e0f6 (patch)
tree898948d4493c3b5ae19ad5cbef583140174f4ab7 /src/widgets/graphicsview/qgraphicsview.cpp
parent77ddb00a49fdde54df2b232e9e901a08e48cee6d (diff)
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/qgraphicsview.cpp')
0 files changed, 0 insertions, 0 deletions