summaryrefslogtreecommitdiff
path: root/qadevOOo/objdsc/ucpftp
ModeNameSize
-rw-r--r--com.sun.star.comp.ucb.FTPContentProvider.csv161logplain
ut type='submit' value='reload'/>
authorStephan Bergmann <sbergman@redhat.com>2018-02-14 22:36:01 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-02-14 22:36:01 +0100
commit09fcdbd5e0ae35fb7db8c8784329035edd82573b (patch)
treed519b0fde90872227320d9a0cd52f60380a6578f /test/source
parent57574c2bcc60d37620288c403267c34d960f5863 (diff)
Fix random range for XFunctionDescriptions::testGetById
...regression introduced with eff70347190a6642fd62a9e0b20e4366c39fbc7a "tdf#45904 Move _XFunctionDescriptions Java test to C++" (where java.util.Random.nextInt(n) returned a value 0 <= x < n), apparently causing sporadic failures of CppunitTest_sc_functionlistobj like <https:// ci.libreoffice.org/job/lo_gerrit/27696/Config=linux_clang_dbgutil_64/console> > ##Failure Location unknown## : Error > Test name: sc_apitest::ScFunctionListObj::testGetById > An uncaught exception of type com.sun.star.lang.IndexOutOfBoundsException Also verify that nCount is not negative, so that the requirements of the std::uniform_int_distribution ctor are guaranteed to be satisfied. Change-Id: I90a5dc234fdd07f52fea69ae1d406f0818efb007