Class FilterFactory
- java.lang.Object
-
- org.apache.maven.surefire.common.junit48.FilterFactory
-
public class FilterFactory extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.ClassLoader
testClassLoader
-
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.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
createGroupFilter(java.util.Map<java.lang.String,java.lang.String> providerProperties)
Creates filter using he keyProviderParameterNames.TESTNG_GROUPS_PROP
and/orProviderParameterNames.TESTNG_EXCLUDEDGROUPS_PROP
.org.junit.runner.manipulation.Filter
createMatchAnyDescriptionFilter(java.lang.Iterable<org.junit.runner.Description> descriptions)
org.junit.runner.manipulation.Filter
createMethodFilter(java.lang.String requestedTestMethod)
org.junit.runner.manipulation.Filter
createMethodFilter(TestListResolver resolver)
-
-
-
Method Detail
-
canCreateGroupFilter
public boolean canCreateGroupFilter(java.util.Map<java.lang.String,java.lang.String> providerProperties)
- Returns:
true
if non-blankProviderParameterNames.TESTNG_GROUPS_PROP
and/orProviderParameterNames.TESTNG_EXCLUDEDGROUPS_PROP
exists.
-
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_PROP
and/orProviderParameterNames.TESTNG_EXCLUDEDGROUPS_PROP
.
-
createMethodFilter
public org.junit.runner.manipulation.Filter createMethodFilter(java.lang.String requestedTestMethod)
-
createMethodFilter
public org.junit.runner.manipulation.Filter createMethodFilter(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)
-
-