org.jomc.util.test
Class LineEditorTest

Package class diagram package LineEditorTest
java.lang.Object
  extended by org.jomc.util.test.LineEditorTest
Direct Known Subclasses:
SectionEditorTest, TrailingWhitespaceEditorTest

public class LineEditorTest
extends Object

Test cases for class org.jomc.util.LineEditor.

Version:
$JOMC: LineEditorTest.java 3846 2011-10-10 14:04:55Z schulte2005 $
Author:
Christian Schulte

Constructor Summary
LineEditorTest()
          Creates a new LineEditorTest instance.
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LineEditorTest

public LineEditorTest()
Creates a new LineEditorTest instance.

Method Detail

getLineEditor

public LineEditor getLineEditor()
Gets the LineEditor instance tests are performed with.

Returns:
The LineEditor instance tests are performed with.
See Also:
newLineEditor()

newLineEditor

protected LineEditor newLineEditor()
Gets a new LineEditor instance to test.

Returns:
A new LineEditor instance to test.
See Also:
getLineEditor()

newLineEditor

protected LineEditor newLineEditor(LineEditor editor)
Gets a new LineEditor instance to test taking an editor to chain.

Parameters:
editor - The editor to chain.
Returns:
A new LineEditor instance to test.

getResourceEncoding

public final String getResourceEncoding()
Gets the name of the encoding used when reading resources.

Returns:
The name of the encoding used when reading resources.
See Also:
setResourceEncoding(java.lang.String)

setResourceEncoding

public final void setResourceEncoding(String value)
Sets the name of the encoding to use when reading resources.

Parameters:
value - The new name of the encoding to use when reading resources or null.
See Also:
getResourceEncoding()

testLineEditor

public final void testLineEditor()
                          throws Exception
Throws:
Exception

testLineEditorChain

public final void testLineEditorChain()
                               throws Exception
Throws:
Exception


Copyright © 2005-2012 The JOMC Project. All Rights Reserved.Get JOMC at SourceForge.net. Fast, secure and Free Open Source software downloads
Please note that this documentation is maintained by non-native english speaking authors. As such, you may encounter phrases or wordings which seem imprecise or may even have a totally different meaning to native english speaking readers than what the individual author was trying to express. If you are a native english speaking reader and find any such phrases or wordings we kindly ask you to send an email to the corresponding author and help us improve this documentation in order to avoid misunderstandings. You will find the authors' email addresses at the top of each class. Please accept our apologies for any inconvenience caused.