|
|||||||||
| Home >> All >> org >> apache >> commons >> lang >> [ exception overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.commons.lang.exception
Class NestableRuntimeExceptionTestCase

java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.commons.lang.exception.AbstractNestableTestCase
org.apache.commons.lang.exception.NestableRuntimeExceptionTestCase
- All Implemented Interfaces:
- junit.framework.Test
- public class NestableRuntimeExceptionTestCase
- extends AbstractNestableTestCase
Tests the org.apache.commons.lang.exception.NestableRuntimeException class.
- Version:
- $Id: NestableRuntimeExceptionTestCase.java 161244 2005-04-14 06:16:36Z ggregory $
| Field Summary |
| Fields inherited from class junit.framework.TestCase |
|
| Constructor Summary | |
NestableRuntimeExceptionTestCase(java.lang.String name)
Construct a new instance of NestableRuntimeExceptionTestCase. |
|
| Method Summary | |
java.lang.Class |
getBaseThrowableClass()
Returns the base class being used, typically Error, Eception or RuntimeException. |
Nestable |
getNestable()
Returns an instance of the Nestable implementation being
tested. |
Nestable |
getNestable(Nestable n)
Returns an instance of the Nestable implementation being
tested. |
Nestable |
getNestable(java.lang.String msg)
Returns an instance of the Nestable implementation being
tested. |
Nestable |
getNestable(java.lang.String msg,
Nestable n)
Returns an instance of the Nestable implementation being
tested. |
Nestable |
getNestable(java.lang.String msg,
java.lang.Throwable t)
Returns an instance of the Nestable implementation being
tested. |
Nestable |
getNestable(java.lang.Throwable t)
Returns an instance of the Nestable implementation being
tested. |
Nestable |
getTester1(Nestable n)
Returns an instance of one tester Nestable implementation. |
Nestable |
getTester1(java.lang.String msg,
Nestable n)
Returns an instance of one tester Nestable implementation. |
Nestable |
getTester1(java.lang.String msg,
java.lang.Throwable t)
Returns an instance of one tester Nestable implementation. |
Nestable |
getTester1(java.lang.Throwable t)
Returns an instance of one tester Nestable implementation. |
java.lang.Class |
getTester1Class()
Returns the class of the first tester Nestable
implementation. |
Nestable |
getTester2(java.lang.String msg,
Nestable n)
Returns an instance of a second tester Nestable
implementation. |
Nestable |
getTester2(java.lang.String msg,
java.lang.Throwable t)
Returns an instance of a second tester Nestable
implementation. |
java.lang.Class |
getTester2Class()
Returns the class of the second tester Nestable
implementation. |
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. |
java.lang.Class |
getThrowableClass()
Returns the class of the Throwable used in constructing
instances of the Nestable implementation being tested. |
static void |
main(java.lang.String[] args)
Command line entry point for running the test suite. |
void |
setUp()
Sets up instance variables required by this test case. |
static junit.framework.Test |
suite()
Returns the test suite |
void |
tearDown()
Tears down instance variables required by this test case. |
void |
testSpecificPrintStackTrace()
|
| Methods inherited from class org.apache.commons.lang.exception.AbstractNestableTestCase |
testGetCause, testGetMessage, testGetMessageI, testGetMessages, testGetThrowableCount, testGetThrowableI, testGetThrowables, testIndexOfThrowable, testIndexOfThrowableI, testPrintPartialStackTrace, testPrintStackTrace |
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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 |
NestableRuntimeExceptionTestCase
public NestableRuntimeExceptionTestCase(java.lang.String name)
- Construct a new instance of
NestableRuntimeExceptionTestCase.
| Method Detail |
setUp
public void setUp()
- Sets up instance variables required by this test case.
suite
public static junit.framework.Test suite()
- Returns the test suite
tearDown
public void tearDown()
- Tears down instance variables required by this test case.
main
public static void main(java.lang.String[] args)
- Command line entry point for running the test suite.
getNestable
public Nestable getNestable()
- Description copied from class:
AbstractNestableTestCase - Returns an instance of the
Nestableimplementation being tested.- Specified by:
getNestablein classAbstractNestableTestCase
getNestable
public Nestable getNestable(Nestable n)
- Description copied from class:
AbstractNestableTestCase - Returns an instance of the
Nestableimplementation being tested.- Specified by:
getNestablein classAbstractNestableTestCase
getNestable
public Nestable getNestable(java.lang.String msg)
- Description copied from class:
AbstractNestableTestCase - Returns an instance of the
Nestableimplementation being tested.- Specified by:
getNestablein classAbstractNestableTestCase
getNestable
public Nestable getNestable(java.lang.Throwable t)
- Description copied from class:
AbstractNestableTestCase - Returns an instance of the
Nestableimplementation being tested.- Specified by:
getNestablein classAbstractNestableTestCase
getNestable
public Nestable getNestable(java.lang.String msg, java.lang.Throwable t)
- Description copied from class:
AbstractNestableTestCase - Returns an instance of the
Nestableimplementation being tested.- Specified by:
getNestablein classAbstractNestableTestCase
getNestable
public Nestable getNestable(java.lang.String msg, Nestable n)
- Description copied from class:
AbstractNestableTestCase - Returns an instance of the
Nestableimplementation being tested.- Specified by:
getNestablein classAbstractNestableTestCase
getTester1
public Nestable getTester1(java.lang.Throwable t)
- Description copied from class:
AbstractNestableTestCase - Returns an instance of one tester
Nestableimplementation.- Specified by:
getTester1in classAbstractNestableTestCase
getTester1
public Nestable getTester1(Nestable n)
- Description copied from class:
AbstractNestableTestCase - Returns an instance of one tester
Nestableimplementation.- Specified by:
getTester1in classAbstractNestableTestCase
getTester1
public Nestable getTester1(java.lang.String msg, java.lang.Throwable t)
- Description copied from class:
AbstractNestableTestCase - Returns an instance of one tester
Nestableimplementation.- Specified by:
getTester1in classAbstractNestableTestCase
getTester1
public Nestable getTester1(java.lang.String msg, Nestable n)
- Description copied from class:
AbstractNestableTestCase - Returns an instance of one tester
Nestableimplementation.- Specified by:
getTester1in classAbstractNestableTestCase
getTester1Class
public java.lang.Class getTester1Class()
- Description copied from class:
AbstractNestableTestCase - Returns the class of the first tester
Nestableimplementation.- Specified by:
getTester1Classin classAbstractNestableTestCase
getTester2
public Nestable getTester2(java.lang.String msg, java.lang.Throwable t)
- Description copied from class:
AbstractNestableTestCase - Returns an instance of a second tester
Nestableimplementation.- Specified by:
getTester2in classAbstractNestableTestCase
getTester2
public Nestable getTester2(java.lang.String msg, Nestable n)
- Description copied from class:
AbstractNestableTestCase - Returns an instance of a second tester
Nestableimplementation.- Specified by:
getTester2in classAbstractNestableTestCase
getTester2Class
public java.lang.Class getTester2Class()
- Description copied from class:
AbstractNestableTestCase - Returns the class of the second tester
Nestableimplementation.- Specified by:
getTester2Classin classAbstractNestableTestCase
getThrowable
public java.lang.Throwable getThrowable(java.lang.String msg)
- Description copied from class:
AbstractNestableTestCase - Returns an instance of a
Throwableto be used in constructing instances of theNestableimplementation being tested.- Specified by:
getThrowablein classAbstractNestableTestCase
getThrowableClass
public java.lang.Class getThrowableClass()
- Description copied from class:
AbstractNestableTestCase - Returns the class of the
Throwableused in constructing instances of theNestableimplementation being tested.- Specified by:
getThrowableClassin classAbstractNestableTestCase
getBaseThrowableClass
public java.lang.Class getBaseThrowableClass()
- Description copied from class:
AbstractNestableTestCase - Returns the base class being used, typically Error, Eception or RuntimeException.
- Specified by:
getBaseThrowableClassin classAbstractNestableTestCase
testSpecificPrintStackTrace
public void testSpecificPrintStackTrace()
|
|||||||||
| Home >> All >> org >> apache >> commons >> lang >> [ exception overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC