Removed the "tst_QVector::outOfMemory" test.
authorChristian Strømme <christian.stromme@digia.com>
Fri, 5 Oct 2012 14:32:19 +0000 (16:32 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 8 Oct 2012 15:38:20 +0000 (17:38 +0200)
commit0ed3cf2a1c487387bbc958317c791c9c53cf5a16
tree85b9a0215759d0e5b0906be2f29b39da635d8e06
parent2cce297b58ae50486094a6dcc148484a4a4bace5
Removed the "tst_QVector::outOfMemory" test.

The test is useless as we assert if the requested size exceeds
a certain limit. We could, as an alternative,
throw an exception, but in the end it's the caller's responsibility
to ensure that the requested size is a sane value.

Task-number: QTBUG-27285
Change-Id: I738950a6a2b51671a54e4d25c7e4c3ac0d7f63b8
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/corelib/tools/qbytearray.cpp
tests/auto/corelib/tools/qvector/tst_qvector.cpp