|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.Assert | +--junit.framework.TestCase | +--de.jface.util.KeyTest
The test case KeyTest
tests the [your text here].
Constructor Summary | |
KeyTest(java.lang.String name)
This constructor creates a new KeyTest test case. |
Method Summary | |
void |
testCompareTo()
|
void |
testContains()
The focus of this test is to test the contains() method with a deep hierarchy and with multiple instances of keys with the same name. |
void |
testGetKey()
Tests the method getKey. |
void |
testName()
|
void |
testRemove()
Tests the remove method. |
void |
testToString()
|
void |
testValue()
This method tests [your text here]. |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, setUp, 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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public KeyTest(java.lang.String name)
Method Detail |
public void testValue()
public void testCompareTo()
public void testGetKey()
public void testRemove()
parent == null
). In this case the remove
method should return false
. The second part will take part
with a key that has a parent, where the remove mehtod should return
true
.public void testContains()
public void testToString()
public void testName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |