org.jvnet.hk2
Class TestRunner

java.lang.Object
  extended by org.jvnet.hk2.TestRunner
All Implemented Interfaces:
com.sun.enterprise.module.bootstrap.ModuleStartup

public class TestRunner
extends java.lang.Object
implements com.sun.enterprise.module.bootstrap.ModuleStartup

Author:
Kohsuke Kawaguchi

Constructor Summary
TestRunner()
           
 
Method Summary
 junit.framework.TestResult runTests(java.io.File reportDir)
          Runs all the tests and returns the result.
 void setStartupContext(com.sun.enterprise.module.bootstrap.StartupContext context)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestRunner

public TestRunner()
Method Detail

setStartupContext

public void setStartupContext(com.sun.enterprise.module.bootstrap.StartupContext context)
Specified by:
setStartupContext in interface com.sun.enterprise.module.bootstrap.ModuleStartup

start

public void start()
Specified by:
start in interface com.sun.enterprise.module.bootstrap.ModuleStartup

stop

public void stop()
Specified by:
stop in interface com.sun.enterprise.module.bootstrap.ModuleStartup

runTests

public junit.framework.TestResult runTests(java.io.File reportDir)
Runs all the tests and returns the result.

Parameters:
reportDir - If non-null, XML reports of the test runs will be placed in this folder.


Copyright © 2011 Oracle Corporation. All Rights Reserved.