mirror of https://github.com/apache/poi.git
Fix whitespace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1578915 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b63080e7c4
commit
59a0691ed3
|
@ -38,7 +38,6 @@ import org.openxmlformats.schemas.wordprocessingml.x2006.main.STVerticalAlignRun
|
||||||
* Tests for XWPF Run
|
* Tests for XWPF Run
|
||||||
*/
|
*/
|
||||||
public class TestXWPFRun extends TestCase {
|
public class TestXWPFRun extends TestCase {
|
||||||
|
|
||||||
public CTR ctRun;
|
public CTR ctRun;
|
||||||
public XWPFParagraph p;
|
public XWPFParagraph p;
|
||||||
|
|
||||||
|
@ -47,7 +46,6 @@ public class TestXWPFRun extends TestCase {
|
||||||
p = doc.createParagraph();
|
p = doc.createParagraph();
|
||||||
|
|
||||||
this.ctRun = CTR.Factory.newInstance();
|
this.ctRun = CTR.Factory.newInstance();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testSetGetText() {
|
public void testSetGetText() {
|
||||||
|
@ -169,7 +167,6 @@ public class TestXWPFRun extends TestCase {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testAddCarriageReturn() {
|
public void testAddCarriageReturn() {
|
||||||
|
|
||||||
ctRun.addNewT().setStringValue("TEST STRING");
|
ctRun.addNewT().setStringValue("TEST STRING");
|
||||||
ctRun.addNewCr();
|
ctRun.addNewCr();
|
||||||
ctRun.addNewT().setStringValue("TEST2 STRING");
|
ctRun.addNewT().setStringValue("TEST2 STRING");
|
||||||
|
@ -184,7 +181,6 @@ public class TestXWPFRun extends TestCase {
|
||||||
run.setText("T2");
|
run.setText("T2");
|
||||||
run.addCarriageReturn();
|
run.addCarriageReturn();
|
||||||
assertEquals(3, run.getCTR().getCrList().size());
|
assertEquals(3, run.getCTR().getCrList().size());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testAddPageBreak() {
|
public void testAddPageBreak() {
|
||||||
|
|
Loading…
Reference in New Issue