Author: hdu
Date: Thu Aug 29 11:41:19 2013
New Revision: 1518606

URL: http://svn.apache.org/r1518606
Log:
#i123141# fix fvt.mix.MixedTes's text color selection

"Light Green" is not part of the standard color palette defined
in main/extras/source/palettes/standard.soc. The nearest color
to "Light Green" (a.k.a. #00FF00) in the standard palette is
"Green 3" (a.k.a. #00CC00).

Modified:
    openoffice/trunk/test/testuno/source/fvt/mix/MixedTest.java

Modified: openoffice/trunk/test/testuno/source/fvt/mix/MixedTest.java
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/test/testuno/source/fvt/mix/MixedTest.java?rev=1518606&r1=1518605&r2=1518606&view=diff
==============================================================================
--- openoffice/trunk/test/testuno/source/fvt/mix/MixedTest.java (original)
+++ openoffice/trunk/test/testuno/source/fvt/mix/MixedTest.java Thu Aug 29 
11:41:19 2013
@@ -83,11 +83,11 @@ public class MixedTest {
                writer.drag(10, 10, 300, 400);
                writer.menuItem("Format->Character...").select();
                effectsPage.select();
-               colorList.select("Light green");
+               colorList.select("Green 3");
                effectsPage.ok();
                //Verify the result via UNO API
                XTextCursor xTextCursor = xText.createTextCursor();
                XPropertySet xps = (XPropertySet) 
UnoRuntime.queryInterface(XPropertySet.class, xTextCursor);
-               Assert.assertEquals("Text Color", 0x0000FF00, 
xps.getPropertyValue("CharColor"));
+               Assert.assertEquals("Text Color", 0x00CC00, 
xps.getPropertyValue("CharColor"));
        }
 }


Reply via email to