|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.commons.lang.exception.AbstractNestableTestCase
Tests implementations of the org.apache.commons.lang.exception.Nestable interface.
| Constructor Summary | |
AbstractNestableTestCase(java.lang.String name)
Constructs an instance of AbstractNestableTestCase. |
|
| Method Summary | |
abstract java.lang.Class |
getBaseThrowableClass()
Returns the base class being used, typically Error, Eception or RuntimeException. |
abstract org.apache.commons.lang.exception.Nestable |
getNestable()
Returns an instance of the Nestable implementation being
tested. |
abstract org.apache.commons.lang.exception.Nestable |
getNestable(org.apache.commons.lang.exception.Nestable n)
Returns an instance of the Nestable implementation being
tested. |
abstract org.apache.commons.lang.exception.Nestable |
getNestable(java.lang.String msg)
Returns an instance of the Nestable implementation being
tested. |
abstract org.apache.commons.lang.exception.Nestable |
getNestable(java.lang.String msg,
org.apache.commons.lang.exception.Nestable n)
Returns an instance of the Nestable implementation being
tested. |
abstract org.apache.commons.lang.exception.Nestable |
getNestable(java.lang.String msg,
java.lang.Throwable t)
Returns an instance of the Nestable implementation being
tested. |
abstract org.apache.commons.lang.exception.Nestable |
getNestable(java.lang.Throwable t)
Returns an instance of the Nestable implementation being
tested. |
abstract org.apache.commons.lang.exception.Nestable |
getTester1(org.apache.commons.lang.exception.Nestable n)
Returns an instance of one tester Nestable implementation. |
abstract org.apache.commons.lang.exception.Nestable |
getTester1(java.lang.String msg,
org.apache.commons.lang.exception.Nestable n)
Returns an instance of one tester Nestable implementation. |
abstract org.apache.commons.lang.exception.Nestable |
getTester1(java.lang.String msg,
java.lang.Throwable t)
Returns an instance of one tester Nestable implementation. |
abstract org.apache.commons.lang.exception.Nestable |
getTester1(java.lang.Throwable t)
Returns an instance of one tester Nestable implementation. |
abstract java.lang.Class |
getTester1Class()
Returns the class of the first tester Nestable
implementation. |
abstract org.apache.commons.lang.exception.Nestable |
getTester2(java.lang.String msg,
org.apache.commons.lang.exception.Nestable n)
Returns an instance of a second tester Nestable
implementation. |
abstract org.apache.commons.lang.exception.Nestable |
getTester2(java.lang.String msg,
java.lang.Throwable t)
Returns an instance of a second tester Nestable
implementation. |
abstract java.lang.Class |
getTester2Class()
Returns the class of the second tester Nestable
implementation. |
abstract java.lang.Throwable |
getThrowable(java.lang.String msg)
Returns an instance of a Throwable to be used in
constructing instances of the Nestable implementation being
tested. |
abstract java.lang.Class |
getThrowableClass()
Returns the class of the Throwable used in constructing
instances of the Nestable implementation being tested. |
void |
testGetCause()
Tests the getCause() operation. |
void |
testGetMessage()
Tests the getMessage() operation. |
void |
testGetMessageI()
Tests the getMessage(int) operation. |
void |
testGetMessages()
Tests the getMessages() operation. |
void |
testGetThrowableCount()
Tests the getThrowableCount() operation. |
void |
testGetThrowableI()
Tests the getThrowable(int) operation. |
void |
testGetThrowables()
Tests the getThrowables() operation. |
void |
testIndexOfThrowable()
Tests the indexOfThrowable() operation. |
void |
testIndexOfThrowableI()
Tests the indexOfThrowable(int) operation. |
void |
testPrintPartialStackTrace()
Tests the printPartialStackTrace() operation. |
void |
testPrintStackTrace()
Tests the printStackTrace() operation. |
| 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 AbstractNestableTestCase(java.lang.String name)
AbstractNestableTestCase.
name - the test name| Method Detail |
public void testGetCause()
public void testGetThrowableCount()
public void testGetMessage()
public void testGetMessageI()
public void testGetMessages()
public void testGetThrowableI()
public void testGetThrowables()
public void testIndexOfThrowable()
public void testIndexOfThrowableI()
public void testPrintPartialStackTrace()
public void testPrintStackTrace()
public abstract org.apache.commons.lang.exception.Nestable getNestable()
Nestable implementation being
tested.
public abstract org.apache.commons.lang.exception.Nestable getNestable(org.apache.commons.lang.exception.Nestable n)
Nestable implementation being
tested.
n - Nestable argument to be provided to the instance
constructor
public abstract org.apache.commons.lang.exception.Nestable getNestable(java.lang.String msg)
Nestable implementation being
tested.
msg - String argument to be provided to the instance
constructor
public abstract org.apache.commons.lang.exception.Nestable getNestable(java.lang.String msg,
org.apache.commons.lang.exception.Nestable n)
Nestable implementation being
tested.
msg - String argument to be provided to the instance
constructorn - Nestable argument to be provided to the instance
constructor
public abstract org.apache.commons.lang.exception.Nestable getNestable(java.lang.String msg,
java.lang.Throwable t)
Nestable implementation being
tested.
msg - String argument to be provided to the instance
constructort - Throwable argument to be provided to the instance
constructor
public abstract org.apache.commons.lang.exception.Nestable getNestable(java.lang.Throwable t)
Nestable implementation being
tested.
t - Throwable argument to be provided to the instance
constructor
public abstract java.lang.Throwable getThrowable(java.lang.String msg)
Throwable to be used in
constructing instances of the Nestable implementation being
tested.
msg - String argument to be provided to the instance
constructor
public abstract org.apache.commons.lang.exception.Nestable getTester1(org.apache.commons.lang.exception.Nestable n)
Nestable implementation.
n - Nestable argument to be provided to the instance
constructor
public abstract org.apache.commons.lang.exception.Nestable getTester1(java.lang.Throwable t)
Nestable implementation.
t - Throwable argument to be provided to the instance
constructor
public abstract org.apache.commons.lang.exception.Nestable getTester1(java.lang.String msg,
org.apache.commons.lang.exception.Nestable n)
Nestable implementation.
msg - String argument to be provided to the instance
constructorn - Nestable argument to be provided to the instance
constructor
public abstract org.apache.commons.lang.exception.Nestable getTester1(java.lang.String msg,
java.lang.Throwable t)
Nestable implementation.
msg - String argument to be provided to the instance
constructort - Throwable argument to be provided to the instance
constructor
public abstract org.apache.commons.lang.exception.Nestable getTester2(java.lang.String msg,
org.apache.commons.lang.exception.Nestable n)
Nestable
implementation.
msg - String argument to be provided to the instance
constructorn - Nestable argument to be provided to the instance
constructor
public abstract org.apache.commons.lang.exception.Nestable getTester2(java.lang.String msg,
java.lang.Throwable t)
Nestable
implementation.
msg - String argument to be provided to the instance
constructort - Throwable argument to be provided to the instance
constructor
public abstract java.lang.Class getTester1Class()
Nestable
implementation.
public abstract java.lang.Class getTester2Class()
Nestable
implementation.
public abstract java.lang.Class getThrowableClass()
Throwable used in constructing
instances of the Nestable implementation being tested.
public abstract java.lang.Class getBaseThrowableClass()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||