| |
|
| org.apache.poi.hslf.model.TestTextRun
TestTextRun | public class TestTextRun extends TestCase (Code) | | Tests for TextRuns
author: Nick Burch (nick at torchbox dot com) |
testAdvancedSetText | public void testAdvancedSetText() throws Exception(Code) | | Test to ensure that changing non rich text between bytes and
chars works correctly
|
testBug41015 | public void testBug41015() throws Exception(Code) | | Test case for Bug 41015.
In some cases RichTextRun.getText() threw StringIndexOutOfBoundsException because
of the wrong list of potential paragraph properties defined in StyleTextPropAtom.
|
testChangeTextInRichTextRun | public void testChangeTextInRichTextRun() throws Exception(Code) | | Tests to ensure changing the text within rich text runs works
correctly
|
testChangeTextInRichTextRunNonRich | public void testChangeTextInRichTextRunNonRich() throws Exception(Code) | | Test to ensure the right stuff happens if we change the text
in a rich text run, that doesn't happen to actually be rich
|
testGetRichText | public void testGetRichText() throws Exception(Code) | | Tests to ensure that the rich text runs are built up correctly
|
testGetRichTextNonRich | public void testGetRichTextNonRich() throws Exception(Code) | | Tests to ensure that non rich text has the right default rich text run
set up for it
|
testGetText | public void testGetText() throws Exception(Code) | | Test to ensure that getting the text works correctly
|
testSetText | public void testSetText() throws Exception(Code) | | Test to ensure changing non rich text bytes->bytes works correctly
|
testSetTextWhereNotRich | public void testSetTextWhereNotRich() throws Exception(Code) | | Tests to ensure that setting the text where the text isn't rich,
ensuring that everything stays with the same default styling
|
testSetTextWhereRich | public void testSetTextWhereRich() throws Exception(Code) | | Tests to ensure that setting the text where the text is rich
sets everything to the same styling
|
|
|
|