public class FilterFactory extends Object
Constructor and Description |
---|
FilterFactory(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(Map<String,String> providerProperties) |
org.junit.runner.manipulation.Filter |
createGroupFilter(Map<String,String> providerProperties)
Creates filter using he key
ProviderParameterNames.TESTNG_GROUPS_PROP and/or
ProviderParameterNames.TESTNG_EXCLUDEDGROUPS_PROP . |
org.junit.runner.manipulation.Filter |
createMatchAnyDescriptionFilter(Iterable<org.junit.runner.Description> descriptions) |
org.junit.runner.manipulation.Filter |
createMethodFilter(String requestedTestMethod) |
org.junit.runner.manipulation.Filter |
createMethodFilter(TestListResolver resolver) |
public FilterFactory(ClassLoader testClassLoader)
public boolean canCreateGroupFilter(Map<String,String> providerProperties)
true
if non-blank
ProviderParameterNames.TESTNG_GROUPS_PROP
and/or
ProviderParameterNames.TESTNG_EXCLUDEDGROUPS_PROP
exists.public org.junit.runner.manipulation.Filter createGroupFilter(Map<String,String> providerProperties)
ProviderParameterNames.TESTNG_GROUPS_PROP
and/or
ProviderParameterNames.TESTNG_EXCLUDEDGROUPS_PROP
.public org.junit.runner.manipulation.Filter createMethodFilter(String requestedTestMethod)
public org.junit.runner.manipulation.Filter createMethodFilter(TestListResolver resolver)
public org.junit.runner.manipulation.Filter createMatchAnyDescriptionFilter(Iterable<org.junit.runner.Description> descriptions)
public org.junit.runner.manipulation.Filter and(org.junit.runner.manipulation.Filter filter1, org.junit.runner.manipulation.Filter filter2)
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.