Author: liuzhe Date: Sat Sep 22 11:28:38 2012 New Revision: 1388773 URL: http://svn.apache.org/viewvc?rev=1388773&view=rev Log: #i120965# [testuno]paragraph number and bullet character style,character bullet Patch By: Du Jing <bjduj...@gmail.com> Review By: Liu Zhe <aliu...@gmail.com>
Added: incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/paragraph/ParagraphNumberingAndBulletCharacterStyle.java (with props) incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/paragraph/ParagraphNumberingAndBullet_CharacterBullet.java (with props) Modified: incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/paragraph/ParagraphAlignment.java incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/paragraph/ParagraphBackGraphic.java incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/paragraph/ParagraphBorder.java incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/paragraph/ParagraphIndentAndSpacing.java incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/paragraph/ParagraphInsertBreak.java incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/paragraph/ParagraphLineSpacing.java incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/paragraph/ParagraphNumberingAndBullet_Graphic.java incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/paragraph/ParagraphNumberingAndBullet_Graphic_Alignment.java incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/paragraph/ParagraphNumberingAndBullet_Graphic_WidthAndHeight.java incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/paragraph/ParagraphNumberingAndBullet_Numbering.java incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/paragraph/ParagraphOutlineAndNumbering.java incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/paragraph/ParagraphShadow.java incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/paragraph/ParagraphTabs.java Modified: incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/paragraph/ParagraphAlignment.java URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/paragraph/ParagraphAlignment.java?rev=1388773&r1=1388772&r2=1388773&view=diff ============================================================================== --- incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/paragraph/ParagraphAlignment.java (original) +++ incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/paragraph/ParagraphAlignment.java Sat Sep 22 11:28:38 2012 @@ -36,7 +36,7 @@ public class ParagraphAlignment { * 4.save and close the document * 5.reload the saved document and check the paragraph alignment */ - @Test@Ignore //bug120636_the expand single word option disable when save to doc + @Test@Ignore("Bug #120636 - [testUNO patch]the expand single word option disable when save to doc") public void testParagraphAlignmentJustified() throws Exception { XTextDocument xTextDocument = (XTextDocument) UnoRuntime.queryInterface(XTextDocument.class, app.newDocument("swriter"));// new a text document Modified: incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/paragraph/ParagraphBackGraphic.java URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/paragraph/ParagraphBackGraphic.java?rev=1388773&r1=1388772&r2=1388773&view=diff ============================================================================== --- incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/paragraph/ParagraphBackGraphic.java (original) +++ incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/paragraph/ParagraphBackGraphic.java Sat Sep 22 11:28:38 2012 @@ -36,7 +36,7 @@ public class ParagraphBackGraphic { * 4.save and close the document * 5.reload the saved document and check the paragraph background graphic */ - @Test@Ignore //bug120638_graphic background lost when save to doc + @Test@Ignore("Bug #120638 - [testUNO patch]graphic background lost when save to doc") public void testParagraphBackGraphic_LeftBottom() throws Exception { XTextDocument xTextDocument = (XTextDocument) UnoRuntime.queryInterface(XTextDocument.class, app.newDocument("swriter"));// new a text document @@ -96,7 +96,7 @@ public class ParagraphBackGraphic { * 4.save and close the document * 5.reload the saved document and check the paragraph background graphic */ - @Test@Ignore //bug120638_graphic background lost when save to doc + @Test@Ignore("Bug #120638 - [testUNO patch]graphic background lost when save to doc") public void testParagraphBackGraphic_LeftMiddle() throws Exception { XTextDocument xTextDocument = (XTextDocument) UnoRuntime.queryInterface(XTextDocument.class, app.newDocument("swriter"));// new a text document @@ -156,7 +156,7 @@ public class ParagraphBackGraphic { * 4.save and close the document * 5.reload the saved document and check the paragraph background graphic */ - @Test@Ignore //bug120638_graphic background lost when save to doc + @Test@Ignore("Bug #120638 - [testUNO patch]graphic background lost when save to doc") public void testParagraphBackGraphic_LeftTop() throws Exception { XTextDocument xTextDocument = (XTextDocument) UnoRuntime.queryInterface(XTextDocument.class, app.newDocument("swriter"));// new a text document @@ -216,7 +216,7 @@ public class ParagraphBackGraphic { * 4.save and close the document * 5.reload the saved document and check the paragraph background graphic */ - @Test@Ignore //bug120638_graphic background lost when save to doc + @Test@Ignore("Bug #120638 - [testUNO patch]graphic background lost when save to doc") public void testParagraphBackGraphic_MiddleBottom() throws Exception { XTextDocument xTextDocument = (XTextDocument) UnoRuntime.queryInterface(XTextDocument.class, app.newDocument("swriter"));// new a text document @@ -276,7 +276,7 @@ public class ParagraphBackGraphic { * 4.save and close the document * 5.reload the saved document and check the paragraph background graphic */ - @Test@Ignore //bug120638_graphic background lost when save to doc + @Test@Ignore("Bug #120638 - [testUNO patch]graphic background lost when save to doc") public void testParagraphBackGraphic_MiddleMiddle() throws Exception { XTextDocument xTextDocument = (XTextDocument) UnoRuntime.queryInterface(XTextDocument.class, app.newDocument("swriter"));// new a text document @@ -336,7 +336,7 @@ public class ParagraphBackGraphic { * 4.save and close the document * 5.reload the saved document and check the paragraph background graphic */ - @Test@Ignore //bug120638_graphic background lost when save to doc + @Test@Ignore("Bug #120638 - [testUNO patch]graphic background lost when save to doc") public void testParagraphBackGraphic_MiddleTop() throws Exception { XTextDocument xTextDocument = (XTextDocument) UnoRuntime.queryInterface(XTextDocument.class, app.newDocument("swriter"));// new a text document @@ -397,7 +397,7 @@ public class ParagraphBackGraphic { * 4.save and close the document * 5.reload the saved document and check the paragraph background graphic */ - @Test@Ignore //bug120638_graphic background lost when save to doc + @Test@Ignore("Bug #120638 - [testUNO patch]graphic background lost when save to doc") public void testParagraphBackGraphic_RightBottom() throws Exception { XTextDocument xTextDocument = (XTextDocument) UnoRuntime.queryInterface(XTextDocument.class, app.newDocument("swriter"));// new a text document @@ -457,7 +457,7 @@ public class ParagraphBackGraphic { * 4.save and close the document * 5.reload the saved document and check the paragraph background graphic */ - @Test@Ignore //bug120638_graphic background lost when save to doc + @Test@Ignore("Bug #120638 - [testUNO patch]graphic background lost when save to doc") public void testParagraphBackGraphic_RightMiddle() throws Exception { XTextDocument xTextDocument = (XTextDocument) UnoRuntime.queryInterface(XTextDocument.class, app.newDocument("swriter"));// new a text document @@ -517,7 +517,7 @@ public class ParagraphBackGraphic { * 4.save and close the document * 5.reload the saved document and check the paragraph background graphic */ - @Test@Ignore //bug120638_graphic background lost when save to doc + @Test@Ignore("Bug #120638 - [testUNO patch]graphic background lost when save to doc") public void testParagraphBackGraphic_RightTop() throws Exception { XTextDocument xTextDocument = (XTextDocument) UnoRuntime.queryInterface(XTextDocument.class, app.newDocument("swriter"));// new a text document @@ -577,7 +577,7 @@ public class ParagraphBackGraphic { * 4.save and close the document * 5.reload the saved document and check the paragraph background graphic */ - @Test@Ignore //bug120638_graphic background lost when save to doc + @Test@Ignore("Bug #120638 - [testUNO patch]graphic background lost when save to doc") public void testParagraphBackGraphic_Area() throws Exception { XTextDocument xTextDocument = (XTextDocument) UnoRuntime.queryInterface(XTextDocument.class, app.newDocument("swriter"));// new a text document @@ -637,7 +637,7 @@ public class ParagraphBackGraphic { * 4.save and close the document * 5.reload the saved document and check the paragraph background graphic */ - @Test@Ignore //bug120638_graphic background lost when save to doc + @Test@Ignore("Bug #120638 - [testUNO patch]graphic background lost when save to doc") public void testParagraphBackGraphic_Titled() throws Exception { XTextDocument xTextDocument = (XTextDocument) UnoRuntime.queryInterface(XTextDocument.class, app.newDocument("swriter"));// new a text document Modified: incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/paragraph/ParagraphBorder.java URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/paragraph/ParagraphBorder.java?rev=1388773&r1=1388772&r2=1388773&view=diff ============================================================================== --- incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/paragraph/ParagraphBorder.java (original) +++ incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/paragraph/ParagraphBorder.java Sat Sep 22 11:28:38 2012 @@ -38,7 +38,7 @@ public class ParagraphBorder { * 4.save and close the document * 5.reload the saved document and check the paragraph border */ - @Test@Ignore //bug120694_the paragraph border line style change when save to doc. + @Test@Ignore("Bug #120694 - [testUNO patch]the paragraph border line style change when save to doc.") public void testParagraphBorderSetting() throws Exception { XTextDocument xTextDocument = (XTextDocument) UnoRuntime.queryInterface(XTextDocument.class, app.newDocument("swriter"));// new a text document Modified: incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/paragraph/ParagraphIndentAndSpacing.java URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/paragraph/ParagraphIndentAndSpacing.java?rev=1388773&r1=1388772&r2=1388773&view=diff ============================================================================== --- incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/paragraph/ParagraphIndentAndSpacing.java (original) +++ incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/paragraph/ParagraphIndentAndSpacing.java Sat Sep 22 11:28:38 2012 @@ -97,7 +97,7 @@ public class ParagraphIndentAndSpacing { assertEquals("assert first line indent",4001,xCursorProps_Assert_doc.getPropertyValue("ParaFirstLineIndent")); assertEquals("assert paragraph first line is no autoindent",false,xCursorProps_Assert_doc.getPropertyValue("ParaIsAutoFirstLineIndent")); } - @Test@Ignore //bug 120646_the auto indent effect of first line lost when save to doc + @Test@Ignore("Bug #120646 - [testUNO patch]the auto indent effect of first line lost when save to doc") public void testParagraphIndent() throws Exception { XTextDocument xTextDocument = (XTextDocument) UnoRuntime.queryInterface(XTextDocument.class, app.newDocument("swriter"));// new a text document Modified: incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/paragraph/ParagraphInsertBreak.java URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/paragraph/ParagraphInsertBreak.java?rev=1388773&r1=1388772&r2=1388773&view=diff ============================================================================== --- incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/paragraph/ParagraphInsertBreak.java (original) +++ incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/paragraph/ParagraphInsertBreak.java Sat Sep 22 11:28:38 2012 @@ -132,7 +132,7 @@ public class ParagraphInsertBreak { assertEquals("assert paragraph break",(byte)2,xCursorProps_Assert_odt.getPropertyValue("ParaOrphans")); assertEquals("assert paragraph break",(byte)2,xCursorProps_Assert_odt.getPropertyValue("ParaWidows")); } - @Test@Ignore //bug 120719_the page_after break change to page_before break when save to doc. + @Test@Ignore("Bug #120719 - [testUNO patch]the page_after break change to page_before break when save to doc.") public void InsertPage_AfterBreak() throws Exception { XTextDocument xTextDocument = (XTextDocument) UnoRuntime.queryInterface(XTextDocument.class, app.newDocument("swriter"));// new a text document @@ -178,7 +178,7 @@ public class ParagraphInsertBreak { //verify paragraph break assertEquals("assert paragraph break",com.sun.star.style.BreakType.PAGE_AFTER,xCursorProps_Assert_doc.getPropertyValue("BreakType")); } - @Test@Ignore //bug 120719_the page_after/column_before break change to page_before break when save to doc. + @Test@Ignore("Bug #120719 - [testUNO patch]the page_after break change to page_before break when save to doc.") public void InsertColumn_BeforeBreak() throws Exception { XTextDocument xTextDocument = (XTextDocument) UnoRuntime.queryInterface(XTextDocument.class, app.newDocument("swriter"));// new a text document @@ -224,7 +224,7 @@ public class ParagraphInsertBreak { //verify paragraph break assertEquals("assert paragraph break",com.sun.star.style.BreakType.COLUMN_BEFORE,xCursorProps_Assert_doc.getPropertyValue("BreakType")); } - @Test@Ignore //bug 120719_the page_after/column_before/column_after break change to page_before break when save to doc. + @Test@Ignore("Bug #120719 - [testUNO patch]the page_after break change to page_before break when save to doc.") public void InsertColumn_AfterBreak() throws Exception { XTextDocument xTextDocument = (XTextDocument) UnoRuntime.queryInterface(XTextDocument.class, app.newDocument("swriter"));// new a text document @@ -270,7 +270,7 @@ public class ParagraphInsertBreak { //verify paragraph break assertEquals("assert paragraph break",com.sun.star.style.BreakType.COLUMN_AFTER,xCursorProps_Assert_doc.getPropertyValue("BreakType")); } - @Test@Ignore //bug120721_the endnote page break change to page default break when save to doc. + @Test@Ignore("Bug #120721 - [testUNO patch]the endnote page break change to page default break when save to doc.") public void InsertPage_Endnote_BeforeBreak() throws Exception { XTextDocument xTextDocument = (XTextDocument) UnoRuntime.queryInterface(XTextDocument.class, app.newDocument("swriter"));// new a text document @@ -322,7 +322,7 @@ public class ParagraphInsertBreak { assertEquals("assert paragraph break",(short)3,xCursorProps_Assert_doc.getPropertyValue("PageNumberOffset")); } - @Test@Ignore //bug120721_the envelope page break change to page default break when save to doc. + @Test@Ignore("Bug #120721 - [testUNO patch]the endnote page break change to page default break when save to doc.") public void InsertPage_Envelop_BeforeBreak() throws Exception { XTextDocument xTextDocument = (XTextDocument) UnoRuntime.queryInterface(XTextDocument.class, app.newDocument("swriter"));// new a text document @@ -425,7 +425,7 @@ public class ParagraphInsertBreak { assertEquals("assert paragraph break","First Page",xCursorProps_Assert_doc.getPropertyValue("PageDescName")); assertEquals("assert paragraph break",(short)3,xCursorProps_Assert_doc.getPropertyValue("PageNumberOffset")); } - @Test@Ignore //bug120721_the footnote page break change to page default break when save to doc. + @Test@Ignore("Bug #120721 - [testUNO patch]the endnote page break change to page default break when save to doc.") public void InsertPage_Footnote_BeforeBreak() throws Exception { XTextDocument xTextDocument = (XTextDocument) UnoRuntime.queryInterface(XTextDocument.class, app.newDocument("swriter"));// new a text document @@ -476,7 +476,7 @@ public class ParagraphInsertBreak { assertEquals("assert paragraph break","Footnote",xCursorProps_Assert_doc.getPropertyValue("PageDescName")); assertEquals("assert paragraph break",(short)3,xCursorProps_Assert_doc.getPropertyValue("PageNumberOffset")); } - @Test@Ignore //bug120721_the footnote page break change to page default break when save to doc. + @Test@Ignore("Bug #120721 - [testUNO patch]the endnote page break change to page default break when save to doc.") public void InsertPage_HTML_BeforeBreak() throws Exception { XTextDocument xTextDocument = (XTextDocument) UnoRuntime.queryInterface(XTextDocument.class, app.newDocument("swriter"));// new a text document @@ -527,7 +527,7 @@ public class ParagraphInsertBreak { assertEquals("assert paragraph break","HTML",xCursorProps_Assert_doc.getPropertyValue("PageDescName")); assertEquals("assert paragraph break",(short)3,xCursorProps_Assert_doc.getPropertyValue("PageNumberOffset")); } - @Test@Ignore //bug120721_the index page break change to page default break when save to doc. + @Test@Ignore("Bug #120721 - [testUNO patch]the endnote page break change to page default break when save to doc.") public void InsertPage_Index_BeforeBreak() throws Exception { XTextDocument xTextDocument = (XTextDocument) UnoRuntime.queryInterface(XTextDocument.class, app.newDocument("swriter"));// new a text document @@ -578,7 +578,7 @@ public class ParagraphInsertBreak { assertEquals("assert paragraph break","Index",xCursorProps_Assert_doc.getPropertyValue("PageDescName")); assertEquals("assert paragraph break",(short)3,xCursorProps_Assert_doc.getPropertyValue("PageNumberOffset")); } - @Test@Ignore //bug120721_the landscape page break change to page default break when save to doc. + @Test@Ignore("Bug #120721 - [testUNO patch]the endnote page break change to page default break when save to doc.") public void InsertPage_Landscape_BeforeBreak() throws Exception { XTextDocument xTextDocument = (XTextDocument) UnoRuntime.queryInterface(XTextDocument.class, app.newDocument("swriter"));// new a text document @@ -629,7 +629,7 @@ public class ParagraphInsertBreak { assertEquals("assert paragraph break","Landscape",xCursorProps_Assert_doc.getPropertyValue("PageDescName")); assertEquals("assert paragraph break",(short)3,xCursorProps_Assert_doc.getPropertyValue("PageNumberOffset")); } - @Test@Ignore //bug120721_the leftpage break change to page default break when save to doc. + @Test@Ignore("Bug #120721 - [testUNO patch]the endnote page break change to page default break when save to doc.") public void InsertPage_LeftPage_BeforeBreak() throws Exception { XTextDocument xTextDocument = (XTextDocument) UnoRuntime.queryInterface(XTextDocument.class, app.newDocument("swriter"));// new a text document @@ -680,7 +680,7 @@ public class ParagraphInsertBreak { assertEquals("assert paragraph break","Left Page",xCursorProps_Assert_doc.getPropertyValue("PageDescName")); assertEquals("assert paragraph break",(short)3,xCursorProps_Assert_doc.getPropertyValue("PageNumberOffset")); } - @Test@Ignore //bug120721_the right page break change to page default break when save to doc. + @Test@Ignore("Bug #120721 - [testUNO patch]the endnote page break change to page default break when save to doc.") public void InsertPage_RightPage_BeforeBreak() throws Exception { XTextDocument xTextDocument = (XTextDocument) UnoRuntime.queryInterface(XTextDocument.class, app.newDocument("swriter"));// new a text document Modified: incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/paragraph/ParagraphLineSpacing.java URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/paragraph/ParagraphLineSpacing.java?rev=1388773&r1=1388772&r2=1388773&view=diff ============================================================================== --- incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/paragraph/ParagraphLineSpacing.java (original) +++ incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/paragraph/ParagraphLineSpacing.java Sat Sep 22 11:28:38 2012 @@ -97,7 +97,7 @@ public class ParagraphLineSpacing { * 4.save and close the document * 5.reload the saved document and check the paragraph line spacing */ - @Test@Ignore //bug 120647_line spacing leading setting change to at least when save to doc + @Test@Ignore("Bug #120647 - [testUNO patch]line spacing leading setting change to at least when save to doc") public void testParagraphLineSpacingLeading() throws Exception { XTextDocument xTextDocument = (XTextDocument) UnoRuntime.queryInterface(XTextDocument.class, app.newDocument("swriter"));// new a text document @@ -280,7 +280,7 @@ public class ParagraphLineSpacing { * 4.save and close the document * 5.reload the saved document and check the paragraph line spacing */ - @Test@Ignore //bug 120649_single line spacing change to "at least" of "0.07" when save to doc + @Test@Ignore("Bug #120649 - [testUNO patch]single line spacing change to at least of 0.07 when save to doc") public void testParagraphLineSpacingSingle() throws Exception { XTextDocument xTextDocument = (XTextDocument) UnoRuntime.queryInterface(XTextDocument.class, app.newDocument("swriter"));// new a text document