From koffice-devel Thu May 15 23:47:02 2008 From: Pierre Date: Thu, 15 May 2008 23:47:02 +0000 To: koffice-devel Subject: Re: ODF Testsuite update Message-Id: <2d74a35c0805151647l23e2fdc6qb3d8b9e2e267b760 () mail ! gmail ! com> X-MARC-Message: https://marc.info/?l=koffice-devel&m=121089526015471 I found a part of explanation : you must manually count the successes and it works... I sent a private email to you and girish, sorry, I didn't see your mail on the mailing list (I was offline) On Fri, May 16, 2008 at 1:21 AM, Sebastian Sauer wrote: > On Friday 16 May 2008, Pierre wrote: >> On Wed, May 14, 2008 at 1:56 AM, Sebastian Sauer wrote: >> > On Tuesday 13 May 2008, Girish Ramakrishnan wrote: >> >> Thomas told me some of you are doing some refactoring with - Please read >> >> the README and the STATUS file (this probably belongs in a Wiki) that I >> >> submitted sometime back. The good news is that I svn up'ed and ran the >> >> tests just now and they all pass :-) >> > >> > for sure they do cause we are pretty aware of the tests and did only >> > touched code that was not working anyway to get it working ;) >> > >> > but I would also like to investigate sooner or later things like e.g. >> > http://lists.kde.org/?l=koffice-devel&m=121068865723376&w=2 (which may >> > touch things that are covered by the tests already what's pretty good >> > since it would allow us to verify that we don't break things) plus we >> > should also extend the tests with things that don't work yet but will >> > work (hopefully) soon - namely frames, anchors, headers+footers, etc. >> >> I tried the commands written in the README and I got the following result : >> Totals: 2 passed, 32 failed, 0 skipped > > btw; > > // this should really be actualFormat.properties() == > expectedFormat.properties() > - bool equal = actualFormat.font() == expectedFormat.font() > + bool equal = true; /*actualFormat.font() == expectedFormat.font() > && actualFormat.font().styleHint() == > expectedFormat.font().styleHint() // test this explicity since font == > ignores it > && actualFormat.foreground() == expectedFormat.foreground() > && actualFormat.background() == expectedFormat.background() > @@ -113,7 +113,7 @@ > && actualFormat.property(KoCharacterStyle::Language).toString() > == > expectedFormat.property(KoCharacterStyle::Language).toString() > && actualFormat.verticalAlignment() == > expectedFormat.verticalAlignment(); // FIXME: Compare other properties > - > +*/ > if (!equal) > qDebug() << "compareFragment: property mismatch at " << > actualFragment.text(); > > results in; > Totals: 3 passed, 0 failed, 0 skipped > rather then; > Totals: 2 passed, 32 failed, 0 skipped > _______________________________________________ > koffice-devel mailing list > koffice-devel@kde.org > https://mail.kde.org/mailman/listinfo/koffice-devel > _______________________________________________ koffice-devel mailing list koffice-devel@kde.org https://mail.kde.org/mailman/listinfo/koffice-devel