edu.rice.cs.drjava.model.definitions.indent
Class QuestionStartAfterOpenBraceTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
edu.rice.cs.drjava.DrJavaTestCase
edu.rice.cs.drjava.model.definitions.indent.IndentRulesTestCase
edu.rice.cs.drjava.model.definitions.indent.QuestionStartAfterOpenBraceTest
- All Implemented Interfaces:
- Test
public final class QuestionStartAfterOpenBraceTest
- extends IndentRulesTestCase
Tests whether the closest non-whitespace character preceding the start of the current line (excluding any characters
inside comments or strings) is an open brace.
- Version:
- $Id: QuestionStartAfterOpenBraceTest.java 4519 2008-06-15 07:14:29Z rcartwright $
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 |
QuestionStartAfterOpenBraceTest
public QuestionStartAfterOpenBraceTest()
testNoBrace
public void testNoBrace()
throws BadLocationException
- Throws:
BadLocationException
testRightAfterBrace
public void testRightAfterBrace()
throws BadLocationException
- Throws:
BadLocationException
testWSAfterBrace
public void testWSAfterBrace()
throws BadLocationException
- Throws:
BadLocationException
testCommentsAfterBrace
public void testCommentsAfterBrace()
throws BadLocationException
- Throws:
BadLocationException
testBraceLastCharOnLine
public void testBraceLastCharOnLine()
throws BadLocationException
- Throws:
BadLocationException
testTextAfterBrace
public void testTextAfterBrace()
throws BadLocationException
- Throws:
BadLocationException