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


On 10/05/2011 09:13 AM, Kevin Hunter wrote:
At 2:58am -0400 Wed, 05 Oct 2011, Stephan Bergmann wrote:
On 10/04/2011 11:01 PM, Kevin Hunter wrote:
Here is a second patch that compiles, /should/ respond to what you just
confirmed was the original intent, but is untested. (It was a random
drive by patching.) Specifically, I suppose it's obvious that this now
changes the semantics of it actually used to do. If you know how to test
it ...

Yes, that's how I would have done it, too. Pushed now, thanks again. (I
assume you already stated somewhere what license your contributions are
under, even though that's not explicitly listed at
<http://wiki.documentfoundation.org/Development/Developers>.)

Incidentally, do we have a set of tests for this? I wouldn't know where
to begin. This was truly a "drive-by" reading of a commit and
surrounding code.

Unfortunately, there's no good unit tests for this code. Blame it on me for taking the all too easy road out and committing the fix without doing the boring ^H^H^H joyful work of adding a test for it first.

That said, people wanting to write unit tests for the introspection stuff would be more than welcome! There's definitely things to unearth there...

-Stephan

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.