• Stephan Bergmann's avatar
    Fix random range for XFunctionDescriptions::testGetById · 09fcdbd5
    Stephan Bergmann yazdı
    ...regression introduced with eff70347
    "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
    09fcdbd5
Adı
Son kayıt (commit)
Son güncelleme
..
beans Loading commit data...
container Loading commit data...
diff Loading commit data...
sheet Loading commit data...
text Loading commit data...
util Loading commit data...
bootstrapfixture.cxx Loading commit data...
calc_unoapi_test.cxx Loading commit data...
callgrind.cxx Loading commit data...
htmltesttools.cxx Loading commit data...
isheadless.hxx Loading commit data...
mtfxmldump.cxx Loading commit data...
primitive2dxmldump.cxx Loading commit data...
screenshot_test.cxx Loading commit data...
setupvcl.cxx Loading commit data...
unoapi_test.cxx Loading commit data...
vclbootstrapprotector.cxx Loading commit data...
xmltesttools.cxx Loading commit data...