Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On Fri, 2012-08-17 at 23:19 +0700, Korrawit Pruegsanusak wrote:
Hello all,

While I tried to create unittest with UNO API for fdo#47434 [1], I
came across a function 'load' defined in
sd/qa/unit/regression-test.cxx line #80:

    virtual bool load( const rtl::OUString &rFilter, const
rtl::OUString &rURL, const rtl::OUString &rUserData);

and the function code is defined in line #239-253. Also, opengrok [2]
showed this 'load' functions *seem* to be unused, because the result
shown only the function definitions, without function call.

SdFiltersTest inherits from test::FiltersTest and that has a
FiltersTest::testDir which calls recursiveScan which calls the virtual
"load". In this specific case the SdFiltersTest::load isn't being used.
But that's more an oversight and someone should get around to filling a
dir like sw/qa/core/data/ww8 and do the same as SwFiltersTest::testCVEs
for sd

C.


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.