[Libreoffice] testDataPilot unit test breaks in sc

Kohei Yoshida kyoshida at novell.com
Fri May 6 21:57:35 PDT 2011


On Fri, 2011-05-06 at 18:55 +0200, Thorsten Behrens wrote:
> Generally, and going forward - I'd be a bit happier if unit tests
> would not assume en-US locale at all, since at least in theory, it's
> possible to do a build w/o en-US at all... 

Well, if we can't assume a locale being set (regardless of whether or
not it's en-US), we wouldn't be able to test e.g. calculations involving
functions since all function names are localized.  Also, without a
locale set, a string collator won't work which is used even for simple
things like populating data into data pilot cache (because of its need
to check for string equality).  So we wouldn't be able to write test for
datapilot at all.  With these two things out, I don't know what other
things we can still test in Calc's code that are still worth testing...

Kohei

-- 
Kohei Yoshida, LibreOffice hacker, Calc
<kyoshida at novell.com>



More information about the LibreOffice mailing list