Class TestRunners
- java.lang.Object
-
- org.jboss.arquillian.container.test.spi.util.TestRunners
-
public final class TestRunners extends Object
TestRunnersHelper factory for loading TestRunners in container.
- Version:
- $Revision: $
- Author:
- Aslak Knutsen
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TestRunner
getTestRunner()
Dynamically loads an instance of a test runner.static TestRunner
getTestRunner(ClassLoader classLoader)
Dynamically loads an instance of a test runner.
-
-
-
Method Detail
-
getTestRunner
public static TestRunner getTestRunner()
Dynamically loads an instance of a test runner.- Returns:
- A Initialized TestRunner
- Throws:
IllegalStateException
- if multiple TestRunners found in classpath.
-
getTestRunner
public static TestRunner getTestRunner(ClassLoader classLoader)
Dynamically loads an instance of a test runner.- Returns:
- A Initialized TestRunner
- Throws:
IllegalStateException
- if multiple TestRunners found in classpath.
-
-