edu.rice.cs.drjava.model.definitions.indent
Class QuestionCurrLineEmptyTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--edu.rice.cs.drjava.model.definitions.indent.IndentRulesTestCase
                    |
                    +--edu.rice.cs.drjava.model.definitions.indent.QuestionCurrLineEmptyTest
All Implemented Interfaces:
Test

public class QuestionCurrLineEmptyTest
extends IndentRulesTestCase

Tests whether the current line is empty.

Version:
$Id: QuestionCurrLineEmptyTest.java,v 1.6 2002/03/30 08:38:28 csreis Exp $

Field Summary
(package private) static IndentRuleQuestion _rule
           
(package private) static String stuffExample
           
 
Fields inherited from class edu.rice.cs.drjava.model.definitions.indent.IndentRulesTestCase
_doc, _indent
 
Fields inherited from class junit.framework.TestCase
fName
 
Constructor Summary
QuestionCurrLineEmptyTest(String name)
           
 
Method Summary
 void testEmpty()
           
 void testLineWithStar()
           
 void testSpaces()
           
 void testStuffAfter()
           
 void testStuffBefore()
           
 
Methods inherited from class edu.rice.cs.drjava.model.definitions.indent.IndentRulesTestCase
_assertContents, _setDocText, setUp
 
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
 

Field Detail

_rule

static IndentRuleQuestion _rule

stuffExample

static String stuffExample
Constructor Detail

QuestionCurrLineEmptyTest

public QuestionCurrLineEmptyTest(String name)
Method Detail

testEmpty

public void testEmpty()
               throws BadLocationException

testSpaces

public void testSpaces()
                throws BadLocationException

testStuffBefore

public void testStuffBefore()
                     throws BadLocationException

testStuffAfter

public void testStuffAfter()
                    throws BadLocationException

testLineWithStar

public void testLineWithStar()
                      throws BadLocationException