Make tst_qnetworkdiskcache parallel-safe
authorRohan McGovern <rohan.mcgovern@nokia.com>
Thu, 31 May 2012 03:02:17 +0000 (13:02 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 31 May 2012 03:37:28 +0000 (05:37 +0200)
commitb63e101a90b677dcb192214aef35a107620c5f3c
treee3e2cd01ce6c3978c82bd81334f4810f6d486afd
parentc09b5f5ad869e97f0b1eac93ca79d472a0405294
Make tst_qnetworkdiskcache parallel-safe

Use a QTemporaryDir for a unique test cache directory for each process,
rather than a fixed path.

Change-Id: I64df8422d01282bbc108e942947c1b55368bd941
Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
tests/auto/network/access/qnetworkdiskcache/qnetworkdiskcache.pro
tests/auto/network/access/qnetworkdiskcache/tst_qnetworkdiskcache.cpp