Version: 1.1.1

org.biomoby.service.test
Class ServletTester

java.lang.Object
  extended by org.biomoby.service.test.ServletTester

public class ServletTester
extends Object


Constructor Summary
ServletTester()
          Runs a test on the service described in WEB-INF/web.xml
ServletTester(String altWebXML)
          Mainly for JUnit tests, specify a web.xml file to be used for configuring the test run, rather than using the default WEB-INF/web.xml in the class path.
 
Method Summary
static void main(String[] args)
           
static void registerService(MobyService service, Central central)
           
 void runService(String[] args)
           
static void unregisterService(MobyService service, Central central)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletTester

public ServletTester()
Runs a test on the service described in WEB-INF/web.xml


ServletTester

public ServletTester(String altWebXML)
Mainly for JUnit tests, specify a web.xml file to be used for configuring the test run, rather than using the default WEB-INF/web.xml in the class path.

Method Detail

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

runService

public void runService(String[] args)
                throws Exception
Throws:
Exception

registerService

public static void registerService(MobyService service,
                                   Central central)
                            throws Exception
Throws:
Exception

unregisterService

public static void unregisterService(MobyService service,
                                     Central central)
                              throws Exception
Throws:
Exception

Version: 1.1.1

Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010