fix build issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1837349 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c456c2fbe6
commit
cad6c1701f
@ -27,6 +27,7 @@ import java.util.Iterator;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.poi.openxml4j.exceptions.InvalidFormatException;
|
||||
import org.apache.poi.util.LocaleUtil;
|
||||
import org.apache.poi.util.Units;
|
||||
import org.apache.poi.wp.usermodel.HeaderFooterType;
|
||||
import org.apache.poi.xwpf.XWPFTestDataSamples;
|
||||
@ -727,7 +728,7 @@ public class TestXWPFRun {
|
||||
assertEquals("auto", run.getUnderlineColor());
|
||||
String colorRgb = "C0F1a2";
|
||||
run.setUnderlineColor(colorRgb);
|
||||
assertEquals(colorRgb.toUpperCase(), run.getUnderlineColor());
|
||||
assertEquals(colorRgb.toUpperCase(LocaleUtil.getUserLocale()), run.getUnderlineColor());
|
||||
run.setUnderlineColor("auto");
|
||||
assertEquals("auto", run.getUnderlineColor());
|
||||
document.close();
|
||||
|
Loading…
Reference in New Issue
Block a user