org.apache.cactus.internal.server
Class MessageDrivenBeanTestCaller

java.lang.Object
  extended by org.apache.cactus.internal.server.AbstractJMSTestCaller
      extended by org.apache.cactus.internal.server.MessageDrivenBeanTestCaller

public class MessageDrivenBeanTestCaller
extends AbstractJMSTestCaller

Responsible for instanciating the TestCase class on the server side, set up the implicit objects and call the test method.

Version:
$Id: MessageDrivenBeanTestCaller.java 292559 2005-09-29 21:36:43Z ptahchiev $

Field Summary
protected  MessageDrivenBeanImplicitObjects mdbImplicitObjects
          The implicit objects (which will be used to set the test case fields in the setTesCaseFields method.
 
Constructor Summary
MessageDrivenBeanTestCaller(MessageDrivenBeanImplicitObjects objects)
           
 
Method Summary
 void doCreateSession()
           
 void doGetResults()
           
 void doGetVersion()
           
 void doRunTest()
           
 void doTest()
           
protected  void setTestCaseFields(junit.framework.TestCase theTestInstance)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mdbImplicitObjects

protected MessageDrivenBeanImplicitObjects mdbImplicitObjects
The implicit objects (which will be used to set the test case fields in the setTesCaseFields method.

Constructor Detail

MessageDrivenBeanTestCaller

public MessageDrivenBeanTestCaller(MessageDrivenBeanImplicitObjects objects)
Parameters:
theObjects - the implicit objects coming from the redirector
Method Detail

setTestCaseFields

protected void setTestCaseFields(junit.framework.TestCase theTestInstance)
                          throws java.lang.Exception

Throws:
java.lang.Exception
See Also:
AbstractWebTestCaller.setTestCaseFields(TestCase)

doTest

public void doTest()

doGetResults

public void doGetResults()

doRunTest

public void doRunTest()

doCreateSession

public void doCreateSession()

doGetVersion

public void doGetVersion()


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.