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



On 29 Jan 2016, at 3:29 AM, Markus Mohrhard <markus.mohrhard@googlemail.com> wrote:

Hey Giuseppe,

On Thu, Jan 28, 2016 at 4:59 PM, Giuseppe Castagno <giuseppe.castagno@acca-esse.eu 
<mailto:giuseppe.castagno@acca-esse.eu>> wrote:
Hi Chris,

On 01/28/2016 02:15 AM, Chris Sherlock wrote:
This is pretty cool :-)

I’ve currently got an odd issue with Calc not detecting the content-encoding via the WebDAV layer 
in bug 95217 - https://bugs.documentfoundation.org/show_bug.cgi?id=95217 
<https://bugs.documentfoundation.org/show_bug.cgi?id=95217> - Persian test in a webpage encoded 
as UTF-8 is corrupting.

Is it worthwhile having an optional component that runs a local webserver that can test out stuff 
like this?

I was thinking about having VM, each of one with it's own server,eg. Apache WebDAV, Alfresco, 
Windows 7 Profession WebDAV, eXo Platform

I don't know if this can be obtained adding an optional component.


So the ideal solution would be to stub the external dependency and avoid the need for an external 
service. IMHO it is the only way how such a test can be written and be included into the normal 
LibreOffice build. All other solutions require that this will be only run in some special 
circumstances (which means in the end never). You can have a look at how Cedric solved that 
problem for libcmis if you need some inspiration.

If you need help or need more information how to stub a dependency please contact me.

Regards,
Markus 


Yeah, agreed - probably a set of mock tests might be worthwhile. 

I’m going to keep working on the font stuff, but will try to revisit this soon. Thanks Markus. 

Chris

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.