public class KeyEntryTester
extends java.lang.Object
KeyEntry
and its
interaction with an associated IKeyManager
.Constructor and Description |
---|
KeyEntryTester() |
Modifier and Type | Method and Description |
---|---|
void |
checkConstruction()
This checks the constructor for
KeyEntry to ensure that the
default values are properly set. |
void |
checkContentProvider()
Checks that the content provider can be set properly and cannot be set to
an invalid content provider (anything other than a non-null
KeyEntryContentProvider ). |
void |
checkCopy()
Checks the copy and clone methods.
|
void |
checkEquals()
Checks the equals and hash code methods for an object, an equivalent
object, an unequal object, and invalid arguments.
|
void |
checkValue()
Checks that the
KeyEntry.setValue(String) properly assigns valid
values (valid, unused keys in the associated key manager) and rejects
invalid values (invalid or used keys in the key manager). |
public void checkConstruction()
KeyEntry
to ensure that the
default values are properly set.public void checkValue()
KeyEntry.setValue(String)
properly assigns valid
values (valid, unused keys in the associated key manager) and rejects
invalid values (invalid or used keys in the key manager).public void checkContentProvider()
KeyEntryContentProvider
).public void checkEquals()
public void checkCopy()