From koffice-devel Thu May 15 23:21:17 2008 From: Sebastian Sauer Date: Thu, 15 May 2008 23:21:17 +0000 To: koffice-devel Subject: Re: ODF Testsuite update Message-Id: <200805160121.17805.mail () dipe ! org> X-MARC-Message: https://marc.info/?l=koffice-devel&m=121089368413103 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