edu.rice.cs.drjava.model.definitions.indent
Class QuestionInsideCommentTest
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.QuestionInsideCommentTest
- All Implemented Interfaces:
- Test
public final class QuestionInsideCommentTest
- extends IndentRulesTestCase
Tests whether start of line is within a multiline comment.
- Version:
- $Id: QuestionInsideCommentTest.java 5175 2010-01-20 08:46:32Z mgricken $
| 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 |
_rule
static IndentRuleQuestion _rule
QuestionInsideCommentTest
public QuestionInsideCommentTest()
setUp
public void setUp()
throws java.lang.Exception
- Description copied from class:
IndentRulesTestCase
- Sets up the test environment.
- Overrides:
setUp in class IndentRulesTestCase
- Throws:
java.lang.Exception - This convention is mandated by JUnit.TestCase, the superclass of this class.
testDocStart
public void testDocStart()
throws javax.swing.text.BadLocationException
- Throws:
javax.swing.text.BadLocationException
testLineBeginsComment
public void testLineBeginsComment()
throws javax.swing.text.BadLocationException
- Throws:
javax.swing.text.BadLocationException
testFooLine
public void testFooLine()
throws javax.swing.text.BadLocationException
- Throws:
javax.swing.text.BadLocationException
testLineEndsComment
public void testLineEndsComment()
throws javax.swing.text.BadLocationException
- Throws:
javax.swing.text.BadLocationException
testBarLine
public void testBarLine()
throws javax.swing.text.BadLocationException
- Throws:
javax.swing.text.BadLocationException
testSlashStarMidLineBefore
public void testSlashStarMidLineBefore()
throws javax.swing.text.BadLocationException
- Throws:
javax.swing.text.BadLocationException
testSlashStarMidLineAfter
public void testSlashStarMidLineAfter()
throws javax.swing.text.BadLocationException
- Throws:
javax.swing.text.BadLocationException
testCommentedOutSlashStar
public void testCommentedOutSlashStar()
throws javax.swing.text.BadLocationException
- Throws:
javax.swing.text.BadLocationException
testStarSlashMidLineBefore
public void testStarSlashMidLineBefore()
throws javax.swing.text.BadLocationException
- Throws:
javax.swing.text.BadLocationException
testStarSlashMidLineAfter
public void testStarSlashMidLineAfter()
throws javax.swing.text.BadLocationException
- Throws:
javax.swing.text.BadLocationException
testAfterCommentedOutSlashStar
public void testAfterCommentedOutSlashStar()
throws javax.swing.text.BadLocationException
- Throws:
javax.swing.text.BadLocationException