edu.rice.cs.drjava.model.definitions.indent
Class ActionStartPrevLinePlusTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
edu.rice.cs.drjava.DrJavaTestCase
edu.rice.cs.drjava.model.definitions.indent.IndentRulesTestCase
edu.rice.cs.drjava.model.definitions.indent.ActionStartPrevLinePlusTest
- All Implemented Interfaces:
- Test
public class ActionStartPrevLinePlusTest
- extends IndentRulesTestCase
Tests ActionStartPrevLinePlus(String)
- Version:
- $Id: ActionStartPrevLinePlusTest.java 5175 2010-01-20 08:46:32Z mgricken $
| 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, failNotEquals, failNotSame, failSame, format |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ActionStartPrevLinePlusTest
public ActionStartPrevLinePlusTest()
makeAction
private IndentRuleAction makeAction(java.lang.String suffix)
- This is a clever (IMHO) factory trick to reuse these methods in TestCases for logically similar IndentActions.
- Parameters:
suffix - the text to be added by this rule after indent padding- See Also:
ActionStartPrevLinePlus.ActionStartPrevLinePlus(String)
testLeaveBe
public void testLeaveBe()
throws javax.swing.text.BadLocationException
- Throws:
javax.swing.text.BadLocationException
testLeaveBeMidLine
public void testLeaveBeMidLine()
throws javax.swing.text.BadLocationException
- Throws:
javax.swing.text.BadLocationException
testAddSpaces
public void testAddSpaces()
throws javax.swing.text.BadLocationException
- Throws:
javax.swing.text.BadLocationException
testAddSpacesMidLine
public void testAddSpacesMidLine()
throws javax.swing.text.BadLocationException
- Throws:
javax.swing.text.BadLocationException
testBothIndented
public void testBothIndented()
throws javax.swing.text.BadLocationException
- Throws:
javax.swing.text.BadLocationException
testBothIndentedAddSpaces
public void testBothIndentedAddSpaces()
throws javax.swing.text.BadLocationException
- Throws:
javax.swing.text.BadLocationException
testBothIndentedAddStuff
public void testBothIndentedAddStuff()
throws javax.swing.text.BadLocationException
- Throws:
javax.swing.text.BadLocationException
testSecondLineMisindented
public void testSecondLineMisindented()
throws javax.swing.text.BadLocationException
- Throws:
javax.swing.text.BadLocationException
testLeavesOtherLinesAlone
public void testLeavesOtherLinesAlone()
throws javax.swing.text.BadLocationException
- Throws:
javax.swing.text.BadLocationException
testOtherLinesIndented
public void testOtherLinesIndented()
throws javax.swing.text.BadLocationException
- Throws:
javax.swing.text.BadLocationException