edu.rice.cs.drjava.model.definitions.reducedmodel
Class ModelListTest

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.drjava.model.definitions.reducedmodel.ModelListTest
All Implemented Interfaces:
Test

public final class ModelListTest
extends DrJavaTestCase

Tests the functionality of the ModelList list class.

Version:
$Id: ModelListTest.java 4691 2008-12-02 23:33:27Z dlsmith $

Field Summary
protected  edu.rice.cs.drjava.model.definitions.reducedmodel.ModelList<Integer> fEmpty
           
protected  edu.rice.cs.drjava.model.definitions.reducedmodel.ModelList<Integer> fFull
           
 
Fields inherited from class edu.rice.cs.drjava.DrJavaTestCase
TEST_DRJAVA_CONFIG_PROPERTY
 
Constructor Summary
ModelListTest()
           
 
Method Summary
protected  void setUp()
          Set up for every test.
 void testCollapse()
           
 void testCurrent()
           
 void testInsert()
           
 void testInsertFront()
           
 void testListenerCount()
           
 void testNext()
           
 void testNextItem()
           
 void testNotifyCollapse()
           
 void testNotifyInsert()
           
 void testNotifyRemove()
           
 void testPrev()
           
 void testPrevItem()
           
 void testRemove()
           
 
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

fEmpty

protected edu.rice.cs.drjava.model.definitions.reducedmodel.ModelList<Integer> fEmpty

fFull

protected edu.rice.cs.drjava.model.definitions.reducedmodel.ModelList<Integer> fFull
Constructor Detail

ModelListTest

public ModelListTest()
Method Detail

setUp

protected 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.

testInsert

public void testInsert()

testInsertFront

public void testInsertFront()

testRemove

public void testRemove()

testNext

public void testNext()

testPrev

public void testPrev()

testCurrent

public void testCurrent()

testPrevItem

public void testPrevItem()

testNextItem

public void testNextItem()

testCollapse

public void testCollapse()

testNotifyInsert

public void testNotifyInsert()

testNotifyRemove

public void testNotifyRemove()

testNotifyCollapse

public void testNotifyCollapse()

testListenerCount

public void testListenerCount()