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 $
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 |
ActionDoNothingTest
public ActionDoNothingTest(String name)
- Tests the indentation decision tree.
- Parameters:
String
- name
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