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

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--edu.rice.cs.drjava.model.definitions.indent.IndentRulesTestCase
                    |
                    +--edu.rice.cs.drjava.model.definitions.indent.ActionDoNothingTest
All Implemented Interfaces:
Test

public class ActionDoNothingTest
extends IndentRulesTestCase

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

Version:
$Id: ActionDoNothingTest.java,v 1.3 2002/03/20 18:33:11 csreis Exp $

Fields inherited from class edu.rice.cs.drjava.model.definitions.indent.IndentRulesTestCase
_doc, _indent
 
Fields inherited from class junit.framework.TestCase
fName
 
Constructor Summary
ActionDoNothingTest(String name)
          Tests the indentation decision tree.
 
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
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Constructor Detail

ActionDoNothingTest

public ActionDoNothingTest(String name)
Tests the indentation decision tree.
Parameters:
String - name
Method Detail

testEmptyString

public void testEmptyString()
                     throws BadLocationException
Tests empty string

testNoLeadingSpaces

public void testNoLeadingSpaces()
                         throws BadLocationException
Tests no leading spaces

testLeadingSpaces

public void testLeadingSpaces()
                       throws BadLocationException
Tests leading spaces