edu.rice.cs.drjava.model.definitions.indent
Class ActionBracePlusTest
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--edu.rice.cs.drjava.model.definitions.indent.IndentRulesTestCase
|
+--edu.rice.cs.drjava.model.definitions.indent.ActionBracePlusTest
- All Implemented Interfaces:
- Test
- public class ActionBracePlusTest
- extends IndentRulesTestCase
Test class according to the JUnit protocol. Tests the action
that aligns the indentation of the current line to the character
that opened the most recent block or expression list that contains
the beginning of the current line. Optional additional whitespaces
can be passed through the constructor.
- Version:
- $Id: ActionBracePlusTest.java,v 1.6 2002/04/02 07:11:37 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 |
_text
private String _text
_aligned
private String _aligned
_action
private IndentRuleAction _action
ActionBracePlusTest
public ActionBracePlusTest(String name)
- Parameters:
name
- The name of this test case.
setUp
public void setUp()
- Description copied from class:
IndentRulesTestCase
- Sets up the test environment.
- Overrides:
setUp
in class IndentRulesTestCase
testNoSuffix
public void testNoSuffix()
throws BadLocationException
testSpaceSuffix
public void testSpaceSuffix()
throws BadLocationException
testLargeSuffix
public void testLargeSuffix()
throws BadLocationException
testComment
public void testComment()
throws BadLocationException