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

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.ActionDoNothingTest
All Implemented Interfaces:
Test

public final class ActionDoNothingTest
extends IndentRulesTestCase

Tests the action rule which does nothing to the given text.

Version:
$Id: ActionDoNothingTest.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
ActionDoNothingTest()
           
 
Method Summary
 void testEmptyString()
          Tests empty string
 void testLeadingSpaces()
          Tests leading spaces
 void testNoLeadingSpaces()
          Tests no leading spaces
 
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

ActionDoNothingTest

public ActionDoNothingTest()
Method Detail

testEmptyString

public void testEmptyString()
                     throws BadLocationException
Tests empty string

Throws:
BadLocationException

testNoLeadingSpaces

public void testNoLeadingSpaces()
                         throws BadLocationException
Tests no leading spaces

Throws:
BadLocationException

testLeadingSpaces

public void testLeadingSpaces()
                       throws BadLocationException
Tests leading spaces

Throws:
BadLocationException