|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase edu.sdsc.inca.IncatListTest
public class IncatListTest
A JUnit for the IncatList class.
Constructor Summary | |
---|---|
IncatListTest()
|
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent ae)
Placeholder to allow using this class as an ActionListener. |
void |
testConstructorAndAddElement()
Tests the IncatList constructor and the addElement method. |
void |
testEmpty()
Tests operations on an empty list. |
void |
testFindMatchingElement()
Tests the findMatchingElement method. |
void |
testSelection()
Tests the methods involved in setting and querying the selected element. |
void |
testSort()
Tests the sort method. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IncatListTest()
Method Detail |
---|
public void testConstructorAndAddElement()
public void testFindMatchingElement()
public void testSelection()
public void testEmpty()
public void testSort()
public void actionPerformed(java.awt.event.ActionEvent ae)
actionPerformed
in interface java.awt.event.ActionListener
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |