[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: KWord for 2.0
From:       "Aron Stansvik" <elvstone () gmail ! com>
Date:       2008-02-20 9:23:31
Message-ID: 751a4f870802200123y3a692077v65bc56463da5e8b4 () mail ! gmail ! com
[Download RAW message or body]

2008/2/20, Thomas Zander <zander@kde.org>:
> On Tuesday 19 February 2008 23:49:24 Pierre wrote:
> > But for the unit tests, it could be interesting to use the ODF test
> > suite, but I have no idea
> > about how to check the results... Compare the QTextDocument structure
> > ?
>
> I think that would indeed be the best idea; maybe a sligtly modified
> version of the test to only take the snippet of ODF you need and then
> compare the QTextBlock etc.
> The problem with doing that, as you point out, is that it takes work. I'll
> see if I can make some proof-of-concept unittests since I already know
> all the classes used in QTextDocument (QTextBlock QTextCharFormat etc)
> that need to be queried.

If you commit I could use as inspiration, I could take a stab at
writing further tests and look into gathering good test data once the
yearly book sale is over here (it's roughly the week following feb
26), during which I'll be quite busy.

Aron
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic