Author: hdu
Date: Thu Oct 11 15:56:31 2012
New Revision: 1397128

URL: http://svn.apache.org/viewvc?rev=1397128&view=rev
Log:
fix the annotations of to-be-ignored automatic tests

The JUNIT @Ignore annotations are further processed in XMLReporter.xsl
using the regular expression "(.*)#(\d+)(.*)" to find an eventual issue
reference or other details, so an annotation should^ follow this pattern.

Modified:
    
incubator/ooo/trunk/test/testgui/source/fvt/gui/formula/importexport/CreateFormulaInDifferentWays.java
    incubator/ooo/trunk/test/testgui/source/fvt/gui/sc/filter/Fitler.java
    
incubator/ooo/trunk/test/testgui/source/fvt/gui/sc/sort/SortDialogSetting.java
    incubator/ooo/trunk/test/testgui/source/fvt/gui/sw/table/TableGeneral.java
    
incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/puretext/CharacterHyperlink.java
    
incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/puretext/CharacterRotationAndScaleWidth.java

Modified: 
incubator/ooo/trunk/test/testgui/source/fvt/gui/formula/importexport/CreateFormulaInDifferentWays.java
URL: 
http://svn.apache.org/viewvc/incubator/ooo/trunk/test/testgui/source/fvt/gui/formula/importexport/CreateFormulaInDifferentWays.java?rev=1397128&r1=1397127&r2=1397128&view=diff
==============================================================================
--- 
incubator/ooo/trunk/test/testgui/source/fvt/gui/formula/importexport/CreateFormulaInDifferentWays.java
 (original)
+++ 
incubator/ooo/trunk/test/testgui/source/fvt/gui/formula/importexport/CreateFormulaInDifferentWays.java
 Thu Oct 11 15:56:31 2012
@@ -185,7 +185,8 @@ public class CreateFormulaInDifferentWay
         * 
         * @throws Exception
         */
-       @Ignore("Bug 119077 - defect in windows only")
+       @Test
+       @Ignore("Bug #119077 - defect in windows only")
        public void testUndoRedoInMath() throws Exception {
 
                // Make Elements window pop up

Modified: incubator/ooo/trunk/test/testgui/source/fvt/gui/sc/filter/Fitler.java
URL: 
http://svn.apache.org/viewvc/incubator/ooo/trunk/test/testgui/source/fvt/gui/sc/filter/Fitler.java?rev=1397128&r1=1397127&r2=1397128&view=diff
==============================================================================
--- incubator/ooo/trunk/test/testgui/source/fvt/gui/sc/filter/Fitler.java 
(original)
+++ incubator/ooo/trunk/test/testgui/source/fvt/gui/sc/filter/Fitler.java Thu 
Oct 11 15:56:31 2012
@@ -62,8 +62,7 @@ public class Fitler {
         * 
         * Verify 2+ won't be treated as 2
         */
-       @Ignore("Bug 120076")
-       @Test
+       @Ignore("Bug #120076")
        public void testAutoFilterWithPlusSign() {
                String expect = "2+";
                SCTool.selectRange("A1");

Modified: 
incubator/ooo/trunk/test/testgui/source/fvt/gui/sc/sort/SortDialogSetting.java
URL: 
http://svn.apache.org/viewvc/incubator/ooo/trunk/test/testgui/source/fvt/gui/sc/sort/SortDialogSetting.java?rev=1397128&r1=1397127&r2=1397128&view=diff
==============================================================================
--- 
incubator/ooo/trunk/test/testgui/source/fvt/gui/sc/sort/SortDialogSetting.java 
(original)
+++ 
incubator/ooo/trunk/test/testgui/source/fvt/gui/sc/sort/SortDialogSetting.java 
Thu Oct 11 15:56:31 2012
@@ -114,7 +114,7 @@ public class SortDialogSetting {
         * 
         * @throws Exception
         */
-       @Ignore("Bug 119035")
+       @Ignore("Bug #119035")
        public void testSortOptionsCopyResultTo() throws Exception {
 
                // Input some data

Modified: 
incubator/ooo/trunk/test/testgui/source/fvt/gui/sw/table/TableGeneral.java
URL: 
http://svn.apache.org/viewvc/incubator/ooo/trunk/test/testgui/source/fvt/gui/sw/table/TableGeneral.java?rev=1397128&r1=1397127&r2=1397128&view=diff
==============================================================================
--- incubator/ooo/trunk/test/testgui/source/fvt/gui/sw/table/TableGeneral.java 
(original)
+++ incubator/ooo/trunk/test/testgui/source/fvt/gui/sw/table/TableGeneral.java 
Thu Oct 11 15:56:31 2012
@@ -63,8 +63,7 @@ public class TableGeneral {
        // Test setting table cell background in text document
 
        @Test
-       @Ignore
-       // bug120378
+       @Ignore("Bug #120378")
        public void testTableBackground() throws Exception {
                writerInsertTable.ok();
                assertNotNull(statusBar.getItemTextById(8));
@@ -451,4 +450,4 @@ public class TableGeneral {
                else
                        assertEquals("Converted text", "1\t2\n3\t4\n", 
app.getClipboard());
        }
-}
\ No newline at end of file
+}

Modified: 
incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/puretext/CharacterHyperlink.java
URL: 
http://svn.apache.org/viewvc/incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/puretext/CharacterHyperlink.java?rev=1397128&r1=1397127&r2=1397128&view=diff
==============================================================================
--- 
incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/puretext/CharacterHyperlink.java
 (original)
+++ 
incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/puretext/CharacterHyperlink.java
 Thu Oct 11 15:56:31 2012
@@ -29,7 +29,8 @@ public class CharacterHyperlink {
                //app.close();
        }
 
-       @Test@Ignore //bug120676_the hyperlink name lost and hyperlinktarget 
change to "_blank" when save to doc
+       @Test
+       @Ignore("Bug #120676 - hyperlink name and target lost when saving to 
doc")
        public void testCharacterBackHyperlinkSetting() throws Exception {
                XTextDocument xTextDocument = (XTextDocument) 
UnoRuntime.queryInterface(XTextDocument.class, app.newDocument("swriter"));// 
new a text document
                xText = xTextDocument.getText();

Modified: 
incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/puretext/CharacterRotationAndScaleWidth.java
URL: 
http://svn.apache.org/viewvc/incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/puretext/CharacterRotationAndScaleWidth.java?rev=1397128&r1=1397127&r2=1397128&view=diff
==============================================================================
--- 
incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/puretext/CharacterRotationAndScaleWidth.java
 (original)
+++ 
incubator/ooo/trunk/test/testuno/source/testcase/uno/sw/puretext/CharacterRotationAndScaleWidth.java
 Thu Oct 11 15:56:31 2012
@@ -132,7 +132,8 @@ public class CharacterRotationAndScaleWi
                assertEquals("assert character rotation 
",true,xCursorProps_assert_odt.getPropertyValue("CharRotationIsFitToLine"));
        }
        //test character rotation 270 degree
-       @Test@Ignore //bug 120673_character rotation degree change to 90 from 
270 when save to doc
+       @Test
+       @Ignore("Bug #120673 - character rotation changes to 90 from 270 
degrees when saving to doc")
        public void testCharacterRotationDefineSetting() throws Exception {
                XTextDocument xTextDocument = (XTextDocument) 
UnoRuntime.queryInterface(XTextDocument.class, app.newDocument("swriter"));// 
new a text document
                xText = xTextDocument.getText();


Reply via email to