se.biltmore.tools.fileeditor
Class TextFileEditorTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by se.biltmore.tools.fileeditor.TextFileEditorTest
All Implemented Interfaces:
junit.framework.Test

public class TextFileEditorTest
extends junit.framework.TestCase


Constructor Summary
TextFileEditorTest(String testName)
           
 
Method Summary
 void testAppendBuffer()
          Test of appendBuffer method, of class TextFileEditor.
 void testClearSelection()
          Test of clearSelection method, of class TextFileEditor.
 void testDeleteCurrentLine()
          Test of deleteCurrentLine method, of class TextFileEditor.
 void testDeleteCurrentWord_char()
          Test of deleteCurrentWord method, of class TextFileEditor.
 void testDeleteSelectionMultiLine()
          Test of deleteSelection method, of class TextFileEditor.
 void testDeleteSelectionMultiLineFullLines()
          Test of deleteSelection method, of class TextFileEditor.
 void testDeleteSelectionSingleLine()
          Test of deleteSelection method, of class TextFileEditor.
 void testFind()
          Test of find method, of class TextFileEditor.
 void testFindAllBlankLines()
          Test of findAllBlankLines method, of class TextFileEditor.
 void testFindAllLinesMatching()
          Test of findAllLinesMatching method, of class TextFileEditor.
 void testFindAllOccurences()
          Test of findAllOccurences method, of class TextFileEditor.
 void testFindBlankLine()
          Test of findBlankLine method, of class TextFileEditor.
 void testFindLast()
          Test of findLast method, of class TextFileEditor.
 void testFindLastOccurence()
          Test of findLastOccurence method, of class TextFileEditor.
 void testFindNext()
          Test of findNext method, of class TextFileEditor.
 void testFindNextBlankLine()
          Test of findNextBlankLine method, of class TextFileEditor.
 void testGetChar()
          Test of getChar method, of class TextFileEditor.
 void testGetSelectedTextAsString()
          Test of getSelectedTextAsString method, of class TextFileEditor.
 void testGetSubString_3args()
          Test of getSubString method, of class TextFileEditor.
 void testInsertBuffer()
          Test of insertBuffer method, of class TextFileEditor.
 void testInsertLine()
          Test of insertLine method, of class TextFileEditor.
 void testInsertLineAbove()
          Test of insertLineAbove method, of class TextFileEditor.
 void testIsOnFirstColumn()
          Test of isOnFirstColumn method, of class TextFileEditor.
 void testIsOnFirstLine()
          Test of isOnFirstLine method, of class TextFileEditor.
 void testIsOnLastColumn()
          Test of isOnLastColumn method, of class TextFileEditor.
 void testIsOnLastLine()
          Test of isOnLastLine method, of class TextFileEditor.
 void testLineMatches()
          Test of lineMatches method, of class TextFileEditor.
 void testMoveAndReturnNextChar()
          Test of moveToAndReturnNextChar method, of class TextFileEditor.
 void testMoveDown()
          Test of moveDown method, of class TextFileEditor.
 void testMoveLeft()
          Test of moveLeft method, of class TextFileEditor.
 void testMoveRight()
          Test of moveRight method, of class TextFileEditor.
 void testMoveToBeginningOfLine()
          Test of moveToBeginningOfLine method, of class TextFileEditor.
 void testMoveToBottomOfFile()
          Test of moveToBottomOfFile method, of class TextFileEditor.
 void testMoveToEndOfFile()
          Test of moveToEndOfFile method, of class TextFileEditor.
 void testMoveToEndOfLine()
          Test of moveToEndOfLine method, of class TextFileEditor.
 void testMoveToMatching()
          Test of moveToMatching method, of class TextFileEditor.
 void testMoveToNextChar()
          Test of moveToNextChar method, of class TextFileEditor.
 void testMoveToPrevChar()
          Test of moveToPrevChar method, of class TextFileEditor.
 void testMoveToTopOfFile()
          Test of moveToTopOfFile method, of class TextFileEditor.
 void testMoveUp()
          Test of moveUp method, of class TextFileEditor.
 void testMoveWordsLeft()
          Test of moveWordsLeft method, of class TextFileEditor.
 void testMoveWordsRigth()
          Test of moveWordsRight method, of class TextFileEditor.
 void testNextLineMatches()
          Test of nextLineMatches method, of class TextFileEditor.
 void testReplaceAllInCurrentLine()
          Test of replaceAllInCurrentLine method, of class TextFileEditor.
 void testReplaceAllInFile()
          Test of replaceAllInFile method, of class TextFileEditor.
 void testReplaceCurrentLine()
          Test of replaceCurrentLine method, of class TextFileEditor.
 void testReplaceFirstInCurrentLine()
          Test of replaceFirstInCurrentLine method, of class TextFileEditor.
 void testReplaceSelectionWithTextBuffer()
          Test of replaceSelectionWithTextBuffer method, of class TextFileEditor.
 void testSelection()
          Test of startSelection & endSelection methods, of class TextFileEditor.
 void testSelectToMatching()
          Test of selectToMatching method, of class TextFileEditor.
 void testSetPosition_Position()
          Test of setPosition method, of class TextFileEditor.
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TextFileEditorTest

public TextFileEditorTest(String testName)
Method Detail

testGetSubString_3args

public void testGetSubString_3args()
Test of getSubString method, of class TextFileEditor.


testSetPosition_Position

public void testSetPosition_Position()
Test of setPosition method, of class TextFileEditor.


testMoveDown

public void testMoveDown()
Test of moveDown method, of class TextFileEditor.


testMoveUp

public void testMoveUp()
Test of moveUp method, of class TextFileEditor.


testMoveRight

public void testMoveRight()
Test of moveRight method, of class TextFileEditor.


testMoveLeft

public void testMoveLeft()
Test of moveLeft method, of class TextFileEditor.


testMoveToNextChar

public void testMoveToNextChar()
Test of moveToNextChar method, of class TextFileEditor.


testMoveToPrevChar

public void testMoveToPrevChar()
Test of moveToPrevChar method, of class TextFileEditor.


testGetChar

public void testGetChar()
Test of getChar method, of class TextFileEditor.


testMoveAndReturnNextChar

public void testMoveAndReturnNextChar()
Test of moveToAndReturnNextChar method, of class TextFileEditor.


testMoveWordsRigth

public void testMoveWordsRigth()
Test of moveWordsRight method, of class TextFileEditor.


testMoveWordsLeft

public void testMoveWordsLeft()
Test of moveWordsLeft method, of class TextFileEditor.


testMoveToEndOfLine

public void testMoveToEndOfLine()
Test of moveToEndOfLine method, of class TextFileEditor.


testMoveToBeginningOfLine

public void testMoveToBeginningOfLine()
Test of moveToBeginningOfLine method, of class TextFileEditor.


testMoveToTopOfFile

public void testMoveToTopOfFile()
Test of moveToTopOfFile method, of class TextFileEditor.


testMoveToBottomOfFile

public void testMoveToBottomOfFile()
Test of moveToBottomOfFile method, of class TextFileEditor.


testMoveToEndOfFile

public void testMoveToEndOfFile()
Test of moveToEndOfFile method, of class TextFileEditor.


testIsOnFirstLine

public void testIsOnFirstLine()
Test of isOnFirstLine method, of class TextFileEditor.


testIsOnLastLine

public void testIsOnLastLine()
Test of isOnLastLine method, of class TextFileEditor.


testIsOnFirstColumn

public void testIsOnFirstColumn()
Test of isOnFirstColumn method, of class TextFileEditor.


testIsOnLastColumn

public void testIsOnLastColumn()
Test of isOnLastColumn method, of class TextFileEditor.


testFind

public void testFind()
Test of find method, of class TextFileEditor.


testFindNext

public void testFindNext()
Test of findNext method, of class TextFileEditor.


testFindLast

public void testFindLast()
Test of findLast method, of class TextFileEditor.


testFindAllOccurences

public void testFindAllOccurences()
Test of findAllOccurences method, of class TextFileEditor.


testFindLastOccurence

public void testFindLastOccurence()
Test of findLastOccurence method, of class TextFileEditor.


testFindBlankLine

public void testFindBlankLine()
Test of findBlankLine method, of class TextFileEditor.


testFindNextBlankLine

public void testFindNextBlankLine()
Test of findNextBlankLine method, of class TextFileEditor.


testFindAllBlankLines

public void testFindAllBlankLines()
Test of findAllBlankLines method, of class TextFileEditor.


testLineMatches

public void testLineMatches()
Test of lineMatches method, of class TextFileEditor.


testNextLineMatches

public void testNextLineMatches()
Test of nextLineMatches method, of class TextFileEditor.


testFindAllLinesMatching

public void testFindAllLinesMatching()
Test of findAllLinesMatching method, of class TextFileEditor.


testSelection

public void testSelection()
Test of startSelection & endSelection methods, of class TextFileEditor.


testClearSelection

public void testClearSelection()
Test of clearSelection method, of class TextFileEditor.


testDeleteSelectionSingleLine

public void testDeleteSelectionSingleLine()
Test of deleteSelection method, of class TextFileEditor.


testDeleteSelectionMultiLine

public void testDeleteSelectionMultiLine()
Test of deleteSelection method, of class TextFileEditor.


testDeleteSelectionMultiLineFullLines

public void testDeleteSelectionMultiLineFullLines()
Test of deleteSelection method, of class TextFileEditor.


testMoveToMatching

public void testMoveToMatching()
Test of moveToMatching method, of class TextFileEditor.


testSelectToMatching

public void testSelectToMatching()
Test of selectToMatching method, of class TextFileEditor.


testReplaceCurrentLine

public void testReplaceCurrentLine()
Test of replaceCurrentLine method, of class TextFileEditor.


testReplaceFirstInCurrentLine

public void testReplaceFirstInCurrentLine()
Test of replaceFirstInCurrentLine method, of class TextFileEditor.


testReplaceAllInCurrentLine

public void testReplaceAllInCurrentLine()
Test of replaceAllInCurrentLine method, of class TextFileEditor.


testReplaceAllInFile

public void testReplaceAllInFile()
Test of replaceAllInFile method, of class TextFileEditor.


testGetSelectedTextAsString

public void testGetSelectedTextAsString()
Test of getSelectedTextAsString method, of class TextFileEditor.


testReplaceSelectionWithTextBuffer

public void testReplaceSelectionWithTextBuffer()
Test of replaceSelectionWithTextBuffer method, of class TextFileEditor.


testInsertBuffer

public void testInsertBuffer()
Test of insertBuffer method, of class TextFileEditor.


testAppendBuffer

public void testAppendBuffer()
Test of appendBuffer method, of class TextFileEditor.


testInsertLine

public void testInsertLine()
Test of insertLine method, of class TextFileEditor.


testInsertLineAbove

public void testInsertLineAbove()
Test of insertLineAbove method, of class TextFileEditor.


testDeleteCurrentLine

public void testDeleteCurrentLine()
Test of deleteCurrentLine method, of class TextFileEditor.


testDeleteCurrentWord_char

public void testDeleteCurrentWord_char()
Test of deleteCurrentWord method, of class TextFileEditor.



Copyright © 2009-2010 Biltmore Group AB. All Rights Reserved.