|author||Jason McDonald <email@example.com>||2012-01-03 14:02:47 +1000|
|committer||Qt by Nokia <firstname.lastname@example.org>||2012-01-05 03:49:45 +0100|
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 <email@example.com>
Diffstat (limited to 'tests/benchmarks/corelib/kernel/qmetaobject/main.cpp')
0 files changed, 0 insertions, 0 deletions