|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.exolab.jmscts.report.ReportHelper
Helper class to map between types
| Method Summary | |
static Behaviour |
getBehaviour(TestContext context)
Maps the messaging behaviour in a TestContext to a
Behaviour |
static Context |
getContext(TestContext context)
Maps a TestContext instance to a Context |
static Factory |
getFactory(TestContext context)
Maps the factory in a TestContext to a Factory |
static Failure |
getFailure(java.lang.String description,
java.lang.Throwable cause,
java.lang.Throwable rootCause)
Maps exceptions to a Failure |
static Failure |
getFailure(java.lang.Throwable cause,
java.lang.Throwable rootCause)
Maps exceptions to a Failure |
static MessageType |
getMessage(TestContext context)
Maps the message in a TestContext to a MessageType |
static java.lang.String |
getName(JMSTestCase test)
Return a fully qualified name for a test case |
static SessionType |
getSession(TestContext context)
Maps the session in a TestContext to a SessionType |
static TestRun |
getTestRun(JMSTestCase test)
Maps a JMSTestCase instance to a TestRun |
static TestRun |
getTestRun(JMSTestCase test,
TestContext context)
Maps a JMSTestCase instance to a TestRun,
using the specified context |
static TestRuns |
getTestRuns(JMSTestCase test)
Maps a JMSTestCase instance to a TestRuns |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static TestRuns getTestRuns(JMSTestCase test)
JMSTestCase instance to a TestRunstest - the test caseTestRuns instancepublic static TestRun getTestRun(JMSTestCase test)
JMSTestCase instance to a TestRuntest - the test caseTestRun instance
public static TestRun getTestRun(JMSTestCase test,
TestContext context)
JMSTestCase instance to a TestRun,
using the specified contexttest - the test casecontext - the test context. May be null.TestRun instance
public static Failure getFailure(java.lang.Throwable cause,
java.lang.Throwable rootCause)
Failurecause - the exception to maprootCause - the root cause of the exception.
May be null
public static Failure getFailure(java.lang.String description,
java.lang.Throwable cause,
java.lang.Throwable rootCause)
Failuredescription - a description of the failurecause - the exception to maprootCause - the root cause of the exception.
May be nullpublic static java.lang.String getName(JMSTestCase test)
test - the test casepublic static Context getContext(TestContext context)
TestContext instance to a Contextcontext - the test contextpublic static Factory getFactory(TestContext context)
TestContext to a Factorycontext - the text contextpublic static SessionType getSession(TestContext context)
TestContext to a SessionTypecontext - the text contextpublic static MessageType getMessage(TestContext context)
TestContext to a MessageTypecontext - the text contextpublic static Behaviour getBehaviour(TestContext context)
TestContext to a
Behaviourcontext - the text contextMessagingBehaviour instance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||