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

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

public class ModelListTest
extends TestCase

Tests the functionality of the ModelList list class.

Version:
$Id: ModelListTest.java,v 1.10 2002/02/08 14:22:21 brianstoler Exp $

Field Summary
protected  ModelList fEmpty
           
protected  ModelList fFull
           
 
Fields inherited from class junit.framework.TestCase
fName
 
Constructor Summary
ModelListTest(String name)
           
 
Method Summary
protected  void setUp()
           
static Test suite()
           
 void testCollapse()
           
 void testCurrent()
           
 void testInsert()
           
 void testInsertFront()
           
 void testNext()
           
 void testNextItem()
           
 void testNotifyCollapse()
           
 void testNotifyInsert()
           
 void testNotifyRemove()
           
 void testPrev()
           
 void testPrevItem()
           
 void testRemove()
           
 
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

fEmpty

protected ModelList fEmpty

fFull

protected ModelList fFull
Constructor Detail

ModelListTest

public ModelListTest(String name)
Method Detail

setUp

protected void setUp()
Overrides:
setUp in class TestCase

suite

public static Test suite()

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()