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


Hello,

Trying a "make check" on my pc Debian x86-64 with master sources updated
today (French locale), I've got this:
LOG> Execute: insertNewByName()
LOG> starting required method: createDataPilotDescriptor()
LOG> Inserting new Table "XDataPilotTables"
warn:legacy.osl:32160:12:sc/source/core/data/dpsave.cxx:1205:
ScDPSaveData::WriteToSource
LOG> FAILED
LOG> Trying to insert element with existent name
LOG> Expected exception - OK com.sun.star.uno.RuntimeException: 
LOG> Inserting new table FAILED
Method insertNewByName() finished with state FAILED
LOG> insertNewByName(): PASSED.FAILED

It fails because of  these lines:
     90             oObj.insertNewByName(name, CA, DPDscr);
     91             bResult &= oSheet.getCellByPosition
     92                 (CA.Column, CA.Row).getFormula().equals("Filter");

http://opengrok.libreoffice.org/xref/core/qadevOOo/tests/java/ifc/sheet/_XDataPilotTables.java#90

In my case "oSheet.getCellByPosition(CA.Column, CA.Row).getFormula() " gives
"Filtrer" (= "to filter" in French)

So how to change this so any this test can pass with any locale?

Julien



--
View this message in context: 
http://nabble.documentfoundation.org/JunitTest-sc-unoapi-4-depends-on-localization-tp4150046.html
Sent from the Dev mailing list archive at Nabble.com.

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.