qt5base-lts/tests/auto/corelib
Ivan Komissarov 9a029c9de4 Fix sizes QStorageInfo returns for invalid drives
Zero is a legitimate size to be returned by bytesFree/bytesAvailable
functions, so change those functions to return some 'invalid' size
in case of an invalid drive.
This is also consistent with the original version from the Qt Systems
framework.

[ChangeLog][QtCore][QStorageInfo] Fixed sizes returned for invalid drives.

Task-number: QTBUG-45724
Change-Id: I312fba521fdf8d52d7a0ac0e46cacca625775e80
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2015-06-11 16:13:49 +00:00
..
animation Update copyright headers 2015-02-11 06:49:51 +00:00
codecs Fix support for iso8859-16 when compiling with ICU 2015-03-18 07:34:55 +00:00
global Add CONFIG += testcase to test qglobalstatic. 2015-05-22 04:37:52 +00:00
io Fix sizes QStorageInfo returns for invalid drives 2015-06-11 16:13:49 +00:00
itemmodels Update copyright headers 2015-02-11 06:49:51 +00:00
json Make sure remove() doesn't corrupt the json object 2015-03-18 07:34:59 +00:00
kernel QMetaType: Fix compilation with non default constructible Q_GADGET 2015-05-27 10:51:10 +00:00
mimetypes Merge remote-tracking branch 'origin/5.4' into 5.5 2015-03-31 10:03:31 +02:00
plugin The qpluginloader machtest needs Q_AUTOTEST_EXPORT 2015-04-30 06:32:23 +00:00
statemachine QStateMachine: empty the whole internal queue before external queue 2015-05-19 08:03:46 +00:00
thread Do not search test binary if QProcess is not supported. 2015-03-23 08:38:58 +00:00
tools Fix compilation of QContiguousCache::operator= 2015-05-20 17:23:33 +00:00
xml Update copyright headers 2015-02-11 06:49:51 +00:00
corelib.pro iOS: Enable building of basic tests 2014-01-22 12:35:17 +01:00