Class FilterFactory
- java.lang.Object
-
- org.apache.maven.surefire.common.junit48.FilterFactory
-
public class FilterFactory extends java.lang.Object- Author:
- Todd Lipcon
-
-
Constructor Summary
Constructors Constructor Description FilterFactory(java.lang.ClassLoader testClassLoader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.junit.runner.manipulation.Filterand(org.junit.runner.manipulation.Filter filter1, org.junit.runner.manipulation.Filter filter2)booleancanCreateGroupFilter(java.util.Map<java.lang.String,java.lang.String> providerProperties)org.junit.runner.manipulation.FiltercreateGroupFilter(java.util.Map<java.lang.String,java.lang.String> providerProperties)Creates filter using he keyProviderParameterNames.TESTNG_GROUPS_PROPand/orProviderParameterNames.TESTNG_EXCLUDEDGROUPS_PROP.org.junit.runner.manipulation.FiltercreateMatchAnyDescriptionFilter(java.lang.Iterable<org.junit.runner.Description> descriptions)org.junit.runner.manipulation.FiltercreateMethodFilter(java.lang.String requestedTestMethod)org.junit.runner.manipulation.FiltercreateMethodFilter(org.apache.maven.surefire.api.testset.TestListResolver resolver)
-
-
-
Method Detail
-
canCreateGroupFilter
public boolean canCreateGroupFilter(java.util.Map<java.lang.String,java.lang.String> providerProperties)
- Returns:
trueif non-blankProviderParameterNames.TESTNG_GROUPS_PROPand/orProviderParameterNames.TESTNG_EXCLUDEDGROUPS_PROPexists.
-
createGroupFilter
public org.junit.runner.manipulation.Filter createGroupFilter(java.util.Map<java.lang.String,java.lang.String> providerProperties)
Creates filter using he keyProviderParameterNames.TESTNG_GROUPS_PROPand/orProviderParameterNames.TESTNG_EXCLUDEDGROUPS_PROP.
-
createMethodFilter
public org.junit.runner.manipulation.Filter createMethodFilter(java.lang.String requestedTestMethod)
-
createMethodFilter
public org.junit.runner.manipulation.Filter createMethodFilter(org.apache.maven.surefire.api.testset.TestListResolver resolver)
-
createMatchAnyDescriptionFilter
public org.junit.runner.manipulation.Filter createMatchAnyDescriptionFilter(java.lang.Iterable<org.junit.runner.Description> descriptions)
-
and
public org.junit.runner.manipulation.Filter and(org.junit.runner.manipulation.Filter filter1, org.junit.runner.manipulation.Filter filter2)
-
-