You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Xiao Ting Xiao <ti...@gmail.com> on 2012/08/31 12:54:53 UTC

[QA CALLFORREV​IEW] [testuno]C​heck paper format in SW via UNO API

Hi all,

One patch for UNO automation test script has been submitted with *Bug
120784,
https://issues.apache.org/ooo/show_bug.cgi?id=120784

This patch include:
paper's width, height
paper's orientation
paper's margin
paper's background

Please help review.

Re: [QA CALLFORREV​IEW] [testuno]C​heck paper format in SW via UNO API

Posted by Carl Marcum <cm...@apache.org>.
On 09/13/2012 07:17 AM, Xiao Ting Xiao wrote:
> attach the patch, use uno to test page format, include
>
> 1. page's width/height, orientation, margin
> 2. page's background, include back color and back graphic
> 3. page's header/footer settings, such as margin, spacing, height,
> border, background
>
> also include 3 methods in SWUtil.java
>
> one update in sw/DocumentTest.java to apply latest version of
> prepareData() method in Testspace.java
>
> Please help reivew, it has been submitted with bug 120784,
> https://issues.apache.org/ooo/show_bug.cgi?id=120784
>
> On Fri, Aug 31, 2012 at 6:54 PM, Xiao Ting Xiao <ti...@gmail.com> wrote:
>
>> Hi all,
>>
>> One patch for UNO automation test script has been submitted with *Bug
>> 120784,
>> https://issues.apache.org/ooo/show_bug.cgi?id=120784
>>
>> This patch include:
>> paper's width, height
>> paper's orientation
>> paper's margin
>> paper's background
>>
>> Please help review.
>>
>


I updated:
Updated to revision 1384617.

$ patch -p0 -i /home/carl/Downloads/pageFormat1.patch
(Stripping trailing CRs from patch.)

$ patch -p0 -i /home/carl/Downloads/pageFormat1.patch
(Stripping trailing CRs from patch.)
patching file testuno/source/testcase/uno/sw/DocumentTest.java
Hunk #1 FAILED at 43.
1 out of 1 hunk FAILED -- saving rejects to file 
testuno/source/testcase/uno/sw/DocumentTest.java.rej
(Stripping trailing CRs from patch.)
patching file testuno/source/testcase/uno/sw/page/CheckBackground.java
(Stripping trailing CRs from patch.)
patching file testuno/source/testcase/uno/sw/page/CheckFooterHeader.java
(Stripping trailing CRs from patch.)
patching file 
testuno/source/testcase/uno/sw/page/CheckFooterHeaderBackground.java
(Stripping trailing CRs from patch.)
patching file 
testuno/source/testcase/uno/sw/page/CheckFooterHeaderBorder.java
(Stripping trailing CRs from patch.)
patching file testuno/source/testcase/uno/sw/page/CheckPage.java
(Stripping trailing CRs from patch.)
patching file testuno/source/testlib/uno/SWUtil.java
Hunk #1 FAILED at 25.
Hunk #2 FAILED at 53.
Hunk #3 FAILED at 183.
3 out of 3 hunks FAILED -- saving rejects to file 
testuno/source/testlib/uno/SWUtil.java.rej

best regards,
Carl

Re: [QA CALLFORREV​IEW] [testuno]C​heck paper format in SW via UNO API

Posted by Xiao Ting Xiao <ti...@gmail.com>.
attach the patch, use uno to test page format, include

1. page's width/height, orientation, margin
2. page's background, include back color and back graphic
3. page's header/footer settings, such as margin, spacing, height,
border, background

also include 3 methods in SWUtil.java

one update in sw/DocumentTest.java to apply latest version of
prepareData() method in Testspace.java

Please help reivew, it has been submitted with bug 120784,
https://issues.apache.org/ooo/show_bug.cgi?id=120784

On Fri, Aug 31, 2012 at 6:54 PM, Xiao Ting Xiao <ti...@gmail.com> wrote:

> Hi all,
>
> One patch for UNO automation test script has been submitted with *Bug
> 120784,
> https://issues.apache.org/ooo/show_bug.cgi?id=120784
>
> This patch include:
> paper's width, height
> paper's orientation
> paper's margin
> paper's background
>
> Please help review.
>