|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sonatype.tests.http.runner.ConfigurationHelper
public class ConfigurationHelper
A Helper class for the tasks needed by Junit3SuiteConfiguration
and ConfigurationRunner
as well.
Constructor Summary | |
---|---|
ConfigurationHelper()
|
Method Summary | |
---|---|
static List<SuiteConfigurator> |
computeConfigurators(Class<?> testClass)
Use the annotations for the given class to compute the configurators to use. |
static Collection<?> |
computeIgnoredConfiguratorClasses(Class<?> testCls)
Use the annotations for the given class to compute the configurators to ignore. |
static List<Class<? extends SuiteConfigurator>> |
getConfiguratorClasses(ClassLoader cl,
String... lists)
Load the configurators mentioned in the given lists, using the given classloader. |
static List<Class<? extends SuiteConfigurator>> |
getDefaultConfiguratorClasses()
Load the default configurator list ("DefaultSuiteConfigurator.list"). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfigurationHelper()
Method Detail |
---|
public static List<SuiteConfigurator> computeConfigurators(Class<?> testClass)
testClass
- the class to scan.
Configurators
,
ConfiguratorList
,
IgnoreConfigurators
public static Collection<?> computeIgnoredConfiguratorClasses(Class<?> testCls)
testClass
- the class to scan.
ConfiguratorList
,
IgnoreConfigurators
public static List<Class<? extends SuiteConfigurator>> getDefaultConfiguratorClasses()
public static List<Class<? extends SuiteConfigurator>> getConfiguratorClasses(ClassLoader cl, String... lists)
cl
- the classloader to use.lists
- the lists to read.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |