|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnl.ivonet.beanunit.Asserter
public abstract class Asserter
Parent class for all Asserters.
This class implements all the plumbing code to make the work of the other Asserters
easier.
| Constructor Summary | |
|---|---|
Asserter()
|
|
| Method Summary | |
|---|---|
static void |
deregisterType(java.lang.Class<?> type)
Removes the specified type, so that there wil no longer be a default argument for the type. |
static void |
registerTypeAndDefaultArgument(java.lang.Class<?> type,
java.lang.Object defaultArgument)
Registers the specified type that will default to the specified defaultArgument as the argument to
setter methods. |
static void |
resetToDefaultTypes()
Resets the types and default arguments to the original list. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Asserter()
| Method Detail |
|---|
public static void registerTypeAndDefaultArgument(java.lang.Class<?> type,
java.lang.Object defaultArgument)
defaultArgument as the argument to
setter methods. Note this method will override any existing default arguments for a type.
type - the type to registerdefaultArgument - the default argument to use in setterspublic static void deregisterType(java.lang.Class<?> type)
type - the type to deregister.public static void resetToDefaultTypes()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||