[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: RE: Review Request: Layout, first paragraph bottom position fix
From: Korinek Pavol <pavol.korinek () ixonos ! com>
Date: 2010-09-16 6:12:23
Message-ID: 0D3E2052891577439DFFBFAC2CE5A23A0281A528 () HKIMAIL01 ! ixonos ! local
[Download RAW message or body]
I have already tried to create new Mock object, but in:
1. plugins/textshape/tests/TestDocumentLayout: there's not possible to include \
KWTextDocumentLayout to use it in my new mock object. 2. \
kword/part/tests/TestDocumentLayout: there's not possible to include Layout to work \
with more shapes There's no way how to test it without moving, or redesigning some \
files. Maybe there's some advisable place where to create new Test, where is possible \
to use (include) Layout.h and KWTextDocumentLayout.h and all other layout classes \
which I need to test layout process as one piece.
Pavol Korinek
-----Original Message-----
From: Thomas Zander [mailto:zander@kde.org]
Sent: Tuesday, September 14, 2010 11:25 PM
To: For developer's discussion about KOffice
Subject: Re: Review Request: Layout, first paragraph bottom position fix
On Tuesday 14. September 2010 12.26.25 Korinek Pavol wrote:
> There's problem to use kword/part/tests/TestDocumentLayout.cpp, because it
> has only one shape (page) called shape1 to test. I need use also
> Layout.cpp to work with more shapes (pages).
I suggest adding a line of code like this then;
KoShape shape2 = new MockTextShape();
--
Thomas Zander
_______________________________________________
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