| javax.swing.text.DefaultStyledDocument_ElementBuffer_InsertSeveralNewLinesTest
DefaultStyledDocument_ElementBuffer_InsertSeveralNewLinesTest | public class DefaultStyledDocument_ElementBuffer_InsertSeveralNewLinesTest extends TestCase (Code) | | Tests DefaultStyledDocument.ElementBuffer.insert() method with
ElementSpec array that was obtained from real-life text insertions.
The text contains several new line characters as well as other characters
too.
|
testInsertSameAttrsDocStart2NewLines | public void testInsertSameAttrsDocStart2NewLines() throws Exception(Code) | | Inserting text with the same attributes into the beginning of
the document. The text contains two new line characters only.
This test is equivalent to
doc.insertString(insertOffset, newLines2, null) ,
where insertOffset = 0 .
|
testInsertSameAttrsDocStart2NewLinesText | public void testInsertSameAttrsDocStart2NewLinesText() throws Exception(Code) | | Inserting text with the same attributes into the beginning of
the document. The text contains two new line characters and
one digit before each of them.
This test is equivalent to
doc.insertString(insertOffset, newLines2Text, null) ,
where insertOffset = 0 .
|
testInsertSameAttrsDocStart3NewLines | public void testInsertSameAttrsDocStart3NewLines() throws Exception(Code) | | Inserting text with the same attributes into the beginning of
the document. The text contains three new line characters only.
This test is equivalent to
doc.insertString(insertOffset, newLines3, null) ,
where insertOffset = 0 .
|
testInsertSameAttrsDocStart3NewLinesText | public void testInsertSameAttrsDocStart3NewLinesText() throws Exception(Code) | | Inserting text with the same attributes into the beginning of
the document. The text contains three new line characters and
one digit before each of them.
This test is equivalent to
doc.insertString(insertOffset, newLines3Text, null) ,
where insertOffset = 0 .
|
|
|