Hi there,
I've been looking into this, but I've hit a roadblock & could use some
help.
During Calc's unit test, ScGlobal creates & initializes CollatorWrapper,
which basically wrapps UNO's css.i18n.Collator service. This class is
used in many places across Calc's core where string comparisons are
performed, but for some reason it fails to create this service during
the unit test run, and as a result all string comparisons end up being
equal (!)
I've traced the problem to the constructor of CollatorWrapper, where
creating the instance of css.i18n.Collator service fails, and returns
NULL. In my understanding the soffice process locates service via
services.rdb, which doesn't yet exist during the build process esp at
the time when the building of the sc module finishes.
So, I have no idea how best to go about this. Does anyone else have any
clues?
TIA,
Kohei
--
Kohei Yoshida, LibreOffice hacker, Calc
<kyoshida@novell.com>
Context
- [Libreoffice] creating a i18n.Collator service for calc's unit test · Kohei Yoshida
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.