edu.rice.cs.drjava.model.definitions.indent
Class QuestionInsideCommentTest
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--edu.rice.cs.drjava.model.definitions.indent.IndentRulesTestCase
|
+--edu.rice.cs.drjava.model.definitions.indent.QuestionInsideCommentTest
- All Implemented Interfaces:
- Test
- public class QuestionInsideCommentTest
- extends IndentRulesTestCase
Tests whether start of line is within a multiline comment.
- Version:
- $Id: QuestionInsideCommentTest.java,v 1.5 2002/03/30 08:38:28 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 |
_rule
static IndentRuleQuestion _rule
QuestionInsideCommentTest
public QuestionInsideCommentTest(String name)
setUp
public void setUp()
- Description copied from class:
IndentRulesTestCase
- Sets up the test environment.
- Overrides:
setUp
in class IndentRulesTestCase
testDocStart
public void testDocStart()
throws BadLocationException
testLineBeginsComment
public void testLineBeginsComment()
throws BadLocationException
testFooLine
public void testFooLine()
throws BadLocationException
testLineEndsComment
public void testLineEndsComment()
throws BadLocationException
testBarLine
public void testBarLine()
throws BadLocationException
testSlashStarMidLineBefore
public void testSlashStarMidLineBefore()
throws BadLocationException
testSlashStarMidLineAfter
public void testSlashStarMidLineAfter()
throws BadLocationException
testCommentedOutSlashStar
public void testCommentedOutSlashStar()
throws BadLocationException
testStarSlashMidLineBefore
public void testStarSlashMidLineBefore()
throws BadLocationException
testStarSlashMidLineAfter
public void testStarSlashMidLineAfter()
throws BadLocationException
testAfterCommentedOutSlashStar
public void testAfterCommentedOutSlashStar()
throws BadLocationException