junitx.ddtunit.data
Class ExceptionAsserter

java.lang.Object
  extended by junitx.ddtunit.data.TypedObject
      extended by junitx.ddtunit.data.AssertObject
          extended by junitx.ddtunit.data.ExceptionAsserter
All Implemented Interfaces:
Cloneable

public class ExceptionAsserter
extends AssertObject

Author:
jg

Field Summary
static String EXCEPTION_ACTION_ISEQUAL
          defines equals action analogue to JUnit assertEquals
static String EXCEPTION_ACTION_ISINSTANCEOF
          defines equals action analogue to JUnit assertEquals
static String EXCEPTION_ACTION_ISSIMILAR
          defines equals action analogue to JUnit assertEquals
 
Fields inherited from class junitx.ddtunit.data.AssertObject
action, actualObject, actualObjectSet, actualType, markAsProcessed
 
Fields inherited from class junitx.ddtunit.data.TypedObject
UNKNOWN_TYPE
 
Constructor Summary
ExceptionAsserter(String exceptionId, String exceptionType, String exceptionAction)
           
 
Method Summary
 Object clone()
           
 void validate(boolean mark)
          validate internal expression.
 
Methods inherited from class junitx.ddtunit.data.AssertObject
getAction, getActualObject, getActualType, setActualObject, toString
 
Methods inherited from class junitx.ddtunit.data.TypedObject
equals, getId, getType, getValue, hashCode, setId, setType, setValue
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

EXCEPTION_ACTION_ISEQUAL

public static final String EXCEPTION_ACTION_ISEQUAL
defines equals action analogue to JUnit assertEquals

See Also:
Constant Field Values

EXCEPTION_ACTION_ISSIMILAR

public static final String EXCEPTION_ACTION_ISSIMILAR
defines equals action analogue to JUnit assertEquals

See Also:
Constant Field Values

EXCEPTION_ACTION_ISINSTANCEOF

public static final String EXCEPTION_ACTION_ISINSTANCEOF
defines equals action analogue to JUnit assertEquals

See Also:
Constant Field Values
Constructor Detail

ExceptionAsserter

public ExceptionAsserter(String exceptionId,
                         String exceptionType,
                         String exceptionAction)
Parameters:
assertId -
assertType -
exceptionAction -
Method Detail

validate

public void validate(boolean mark)
validate internal expression.

Specified by:
validate in class AssertObject
Parameters:
mark - as processed if set to true, else multiple validation is possible.
See Also:
junitx.ddtunit.data.AssertObject#validate()

clone

public Object clone()
Overrides:
clone in class TypedObject


Copyright © 2004-2011. All Rights Reserved.