|
||||||||||
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 TestRuns
test
- the test caseTestRuns
instancepublic static TestRun getTestRun(JMSTestCase test)
JMSTestCase
instance to a TestRun
test
- the test caseTestRun
instancepublic 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
instancepublic static Failure getFailure(java.lang.Throwable cause, java.lang.Throwable rootCause)
Failure
cause
- 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)
Failure
description
- a description of the failurecause
- the exception to maprootCause
- the root cause of the exception.
May be null
public static java.lang.String getName(JMSTestCase test)
test
- the test casepublic static Context getContext(TestContext context)
TestContext
instance to a Context
context
- the test contextpublic static Factory getFactory(TestContext context)
TestContext
to a Factory
context
- the text contextpublic static SessionType getSession(TestContext context)
TestContext
to a SessionType
context
- the text contextpublic static MessageType getMessage(TestContext context)
TestContext
to a MessageType
context
- the text contextpublic static Behaviour getBehaviour(TestContext context)
TestContext
to a
Behaviour
context
- the text contextMessagingBehaviour
instance
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |