git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908486 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2023-03-18 12:03:41 +00:00
parent 2ae294e606
commit 9f0fe6139e
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ class TestXSLFSlide {
XSLFTextShape sh2 = (XSLFTextShape)shapes1.get(1); XSLFTextShape sh2 = (XSLFTextShape)shapes1.get(1);
assertEquals( assertEquals(
"Text in an autoshape is white\n" + "Text in a autoshape is white\n" +
"Fill: RGB(148, 198,0)", sh2.getText()); "Fill: RGB(148, 198,0)", sh2.getText());
XSLFTextRun r2 = sh2.getTextParagraphs().get(0).getTextRuns().get(0); XSLFTextRun r2 = sh2.getTextParagraphs().get(0).getTextRuns().get(0);
assertEquals("Century Gothic", r2.getFontFamily()); assertEquals("Century Gothic", r2.getFontFamily());