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

List:       koffice-devel
Subject:    Re: ODF Testsuite update
From:       Pierre <pinaraf () gmail ! com>
Date:       2008-05-15 23:47:02
Message-ID: 2d74a35c0805151647l23e2fdc6qb3d8b9e2e267b760 () mail ! gmail ! com
[Download RAW message or body]

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 <mail@dipe.org> wrote:
> On Friday 16 May 2008, Pierre wrote:
>> On Wed, May 14, 2008 at 1:56 AM, Sebastian Sauer <mail@dipe.org> 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
[prev in list] [next in list] [prev in thread] [next in thread] 

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