org.jboss.testharness.api
Interface TestLauncher


public interface TestLauncher

Allow the TCK to launch a test remotely in a container. The TCK provides a built in launcher for use in an environment where Servlet is available such as EE6, EE5 or EE6 Web Profile. This can be used by specifying: org.jboss.jsr299.tck.api.TestLauncher=org.jboss.jsr299.tck.impl.runner.servlet.ServletTestLauncher A Servlet suitable for launching tests is included in the artifacts produced by the JSR299 TCK.

Author:
Pete Muir

Field Summary
static java.lang.String PROPERTY_NAME
           
 
Method Summary
 TestResult launchTest(java.lang.reflect.Method method)
          Launch a test remotely, returning the result to the TCK.
 

Field Detail

PROPERTY_NAME

static final java.lang.String PROPERTY_NAME
Method Detail

launchTest

TestResult launchTest(java.lang.reflect.Method method)
                      throws java.io.IOException
Launch a test remotely, returning the result to the TCK.

Parameters:
method - the method to launch
Returns:
the test result
Throws:
java.io.IOException - if a communication error occured with the server. This will cause the test to fail


Copyright © 2009. All Rights Reserved.