2008/2/20, Aron Stansvik : > 2008/2/20, Thomas Zander : > > 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. s/commit/commit something/ _______________________________________________ koffice-devel mailing list koffice-devel@kde.org https://mail.kde.org/mailman/listinfo/koffice-devel