edu.rice.cs.util.swing
Class HighlightManagerTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by edu.rice.cs.drjava.DrJavaTestCase
              extended by edu.rice.cs.util.swing.HighlightManagerTest
All Implemented Interfaces:
junit.framework.Test

public class HighlightManagerTest
extends DrJavaTestCase

A JUnit test case class for the class HighlightManager. Every method starting with the word "test" will be called when running the test with JUnit.


Nested Class Summary
 
Nested classes/interfaces inherited from class junit.framework.TestCase
junit.framework.TestCase.WrappedException
 
Field Summary
(package private)  HighlightManager hm
           
(package private)  JTextComponent jtc
          A test method.
(package private)  Highlighter.HighlightPainter p
           
(package private)  Highlighter.HighlightPainter p1
           
(package private)  Highlighter.HighlightPainter p2
           
 
Constructor Summary
HighlightManagerTest()
           
 
Method Summary
 void setUp()
          Set up for every test.
 void testAddRemove()
           
 void testHighlightInfoEquals()
           
 
Methods inherited from class edu.rice.cs.drjava.DrJavaTestCase
setConfigSetting, setDocText, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
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
 

Field Detail

jtc

JTextComponent jtc
A test method. (Replace "X" with a name describing the test. You may write as many "testSomething" methods in this class as you wish, and each one will be called when running JUnit over this class.)


p

Highlighter.HighlightPainter p

p1

Highlighter.HighlightPainter p1

p2

Highlighter.HighlightPainter p2

hm

HighlightManager hm
Constructor Detail

HighlightManagerTest

public HighlightManagerTest()
Method Detail

setUp

public void setUp()
           throws Exception
Description copied from class: DrJavaTestCase
Set up for every test.

Overrides:
setUp in class DrJavaTestCase
Throws:
Exception - This convention is mandated by JUnit.TestCase, the superclass of this class.

testAddRemove

public void testAddRemove()

testHighlightInfoEquals

public void testHighlightInfoEquals()