Fixed qstandardpaths unittest to check before using first()
authorKurt Korbatits <kurt.korbatits@nokia.com>
Thu, 26 Jan 2012 22:26:11 +0000 (08:26 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 31 Jan 2012 03:24:04 +0000 (04:24 +0100)
commitc0dd519f88a71895a1ebc0a52146a11fe0d4a17d
treee2e8d04951b5708338b47a08a367afbaf2934543
parent3f36f9b6500c9287644bb7c9afca88e0501b0b0f
Fixed qstandardpaths unittest to check before using first()

- Added check to testLocateAll() to check count() before calling
  first().

Change-Id: I04e93c1f913972b26c517f2bbd08760f9898cc7a
Reviewed-by: Kurt Korbatits <kurt.korbatits@nokia.com>
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
tests/auto/corelib/io/qstandardpaths/tst_qstandardpaths.cpp