public class FilterFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.ClassLoader |
testClassLoader |
Constructor and Description |
---|
FilterFactory(java.lang.ClassLoader testClassLoader) |
Modifier and Type | Method and Description |
---|---|
org.junit.runner.manipulation.Filter |
and(org.junit.runner.manipulation.Filter filter1,
org.junit.runner.manipulation.Filter filter2) |
boolean |
canCreateGroupFilter(java.util.Map<java.lang.String,java.lang.String> providerProperties) |
org.junit.runner.manipulation.Filter |
createFailingMethodFilter(java.util.Map<java.lang.Class<?>,java.util.Set<java.lang.String>> failingClassMethodMap) |
org.junit.runner.manipulation.Filter |
createGroupFilter(java.util.Map<java.lang.String,java.lang.String> providerProperties)
Creates filter using he key
ProviderParameterNames.TESTNG_GROUPS_PROP and/or
ProviderParameterNames.TESTNG_EXCLUDEDGROUPS_PROP . |
org.junit.runner.manipulation.Filter |
createMethodFilter(java.lang.String requestedTestMethod) |
org.junit.runner.manipulation.Filter |
createMethodFilter(TestListResolver resolver) |
public boolean canCreateGroupFilter(java.util.Map<java.lang.String,java.lang.String> providerProperties)
ProviderParameterNames.TESTNG_GROUPS_PROP
and/or
ProviderParameterNames.TESTNG_EXCLUDEDGROUPS_PROP
exists.public org.junit.runner.manipulation.Filter createGroupFilter(java.util.Map<java.lang.String,java.lang.String> providerProperties)
ProviderParameterNames.TESTNG_GROUPS_PROP
and/or
ProviderParameterNames.TESTNG_EXCLUDEDGROUPS_PROP
.public org.junit.runner.manipulation.Filter createMethodFilter(java.lang.String requestedTestMethod)
public org.junit.runner.manipulation.Filter createMethodFilter(TestListResolver resolver)
public org.junit.runner.manipulation.Filter createFailingMethodFilter(java.util.Map<java.lang.Class<?>,java.util.Set<java.lang.String>> failingClassMethodMap)
public org.junit.runner.manipulation.Filter and(org.junit.runner.manipulation.Filter filter1, org.junit.runner.manipulation.Filter filter2)