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


Hi all,

On Mon, 25 Jul 2011 12:14:14 +0100
Caolán McNamara <caolanm@redhat.com> wrote:

I've not been able to carve out time to look at this failure (for way
too long), but last time I checked it was a bookmarks test which
failed for me. So if the words "bookmarks" in writer, make anyone go,
"oh I did something there", it might be good to have a look at the
bookmarks complex test to see if the test itself needs updating.

Running this against a debug build I get a lot of:
sw/source/core/unocore/unobkm.cxx, Line 180:
<SwXBookmark::GetObject(..)>SwXBookmark requested for non-bookmark mark.
when executing getBookmarksHash in the test, which suggests something
at odd in general with the the mark container, as a generic mark is
cast to a bookmark, while it is not one.

Best,

Bjoern

P.S.:
As the original author of that bookmark test, here is a mea culpa:
The test is not really suited well for debugging. It creates a huge set
of bookmarks and then does a lot of pseudorandom delete/insert
operations on the document and compares a hash of the bookmark contents
with the one from a previous run. If the test fails, you just changed
the behavior of bookmarks changed. If one fixed a broken behavior, that
is of cause a Good Thing(tm), and the test needs to be updated. If
nobody intended to change bookmark behavior it is likely a Bad
Thing(tm). At least with onegit, we will soon be able to bisect to the
suspicious commit and make the decision, if that was intended or not
easier. ;)
Of course, in this case it doesnt really matter because getting the
hash should always work.

-- 
https://launchpad.net/~bjoern-michaelsen



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.