From koffice-devel Wed Feb 20 07:32:02 2008 From: Thomas Zander Date: Wed, 20 Feb 2008 07:32:02 +0000 To: koffice-devel Subject: Re: KWord for 2.0 Message-Id: <200802200832.02541.zander () kde ! org> X-MARC-Message: https://marc.info/?l=koffice-devel&m=120349276208740 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============1257561748==" --===============1257561748== Content-Type: multipart/signed; boundary="nextPart3303379.LU58IuD3CD"; protocol="application/pgp-signature"; micalg=pgp-sha1 --nextPart3303379.LU58IuD3CD Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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=20 version of the test to only take the snippet of ODF you need and then=20 compare the QTextBlock etc. The problem with doing that, as you point out, is that it takes work. I'll= =20 see if I can make some proof-of-concept unittests since I already know=20 all the classes used in QTextDocument (QTextBlock QTextCharFormat etc)=20 that need to be queried. =2D-=20 Thomas Zander --nextPart3303379.LU58IuD3CD Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBHu9dyCojCW6H2z/QRApWSAKCeWzpVb5WvRYCYkKiEo4eTTChGtACbB6wr TltCF9ICv2Bg2nrY+bEeqww= =yeQD -----END PGP SIGNATURE----- --nextPart3303379.LU58IuD3CD-- --===============1257561748== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ koffice-devel mailing list koffice-devel@kde.org https://mail.kde.org/mailman/listinfo/koffice-devel --===============1257561748==--