edu.rice.cs.drjava.model.definitions.indent
Class ActionStartPrevLinePlusTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by edu.rice.cs.drjava.DrJavaTestCase
              extended by edu.rice.cs.drjava.model.definitions.indent.IndentRulesTestCase
                  extended by edu.rice.cs.drjava.model.definitions.indent.ActionStartPrevLinePlusTest
All Implemented Interfaces:
Test

public class ActionStartPrevLinePlusTest
extends IndentRulesTestCase

Tests ActionStartPrevLinePlus(String)

Version:
$Id: ActionStartPrevLinePlusTest.java 4519 2008-06-15 07:14:29Z rcartwright $

Field Summary
 
Fields inherited from class edu.rice.cs.drjava.model.definitions.indent.IndentRulesTestCase
_doc, TEST_INDENT_LEVEL
 
Fields inherited from class edu.rice.cs.drjava.DrJavaTestCase
TEST_DRJAVA_CONFIG_PROPERTY
 
Constructor Summary
ActionStartPrevLinePlusTest()
           
 
Method Summary
 void testAddSpaces()
           
 void testAddSpacesMidLine()
           
 void testBothIndented()
           
 void testBothIndentedAddSpaces()
           
 void testBothIndentedAddStuff()
           
 void testLeaveBe()
           
 void testLeaveBeMidLine()
           
 void testLeavesOtherLinesAlone()
           
 void testOtherLinesIndented()
           
 void testSecondLineMisindented()
           
 
Methods inherited from class edu.rice.cs.drjava.model.definitions.indent.IndentRulesTestCase
_assertContents, _setDocText, setUp, tearDown
 
Methods inherited from class edu.rice.cs.drjava.DrJavaTestCase
setConfigSetting, setDocText
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, 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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActionStartPrevLinePlusTest

public ActionStartPrevLinePlusTest()
Method Detail

testLeaveBe

public void testLeaveBe()
                 throws BadLocationException
Throws:
BadLocationException

testLeaveBeMidLine

public void testLeaveBeMidLine()
                        throws BadLocationException
Throws:
BadLocationException

testAddSpaces

public void testAddSpaces()
                   throws BadLocationException
Throws:
BadLocationException

testAddSpacesMidLine

public void testAddSpacesMidLine()
                          throws BadLocationException
Throws:
BadLocationException

testBothIndented

public void testBothIndented()
                      throws BadLocationException
Throws:
BadLocationException

testBothIndentedAddSpaces

public void testBothIndentedAddSpaces()
                               throws BadLocationException
Throws:
BadLocationException

testBothIndentedAddStuff

public void testBothIndentedAddStuff()
                              throws BadLocationException
Throws:
BadLocationException

testSecondLineMisindented

public void testSecondLineMisindented()
                               throws BadLocationException
Throws:
BadLocationException

testLeavesOtherLinesAlone

public void testLeavesOtherLinesAlone()
                               throws BadLocationException
Throws:
BadLocationException

testOtherLinesIndented

public void testOtherLinesIndented()
                            throws BadLocationException
Throws:
BadLocationException