public class LineEditorTest extends Object
org.jomc.util.LineEditor
.Constructor and Description |
---|
LineEditorTest()
Creates a new
LineEditorTest instance. |
Modifier and Type | Method and Description |
---|---|
LineEditor |
getLineEditor()
Gets the
LineEditor instance tests are performed with. |
String |
getResourceEncoding()
Gets the name of the encoding used when reading resources.
|
protected LineEditor |
newLineEditor()
Gets a new
LineEditor instance to test. |
protected LineEditor |
newLineEditor(LineEditor editor)
Gets a new
LineEditor instance to test taking an editor to chain. |
void |
setResourceEncoding(String value)
Sets the name of the encoding to use when reading resources.
|
void |
testLineEditor() |
void |
testLineEditorChain() |
public LineEditorTest()
LineEditorTest
instance.public LineEditor getLineEditor()
LineEditor
instance tests are performed with.LineEditor
instance tests are performed with.newLineEditor()
protected LineEditor newLineEditor()
LineEditor
instance to test.LineEditor
instance to test.getLineEditor()
protected LineEditor newLineEditor(LineEditor editor)
LineEditor
instance to test taking an editor to chain.editor
- The editor to chain.LineEditor
instance to test.public final String getResourceEncoding()
setResourceEncoding(java.lang.String)
public final void setResourceEncoding(String value)
value
- The new name of the encoding to use when reading resources or null
.getResourceEncoding()
public final void testLineEditor() throws Exception
Exception
public final void testLineEditorChain() throws Exception
Exception
Copyright © 2005-2013 The JOMC Project. All Rights Reserved.