public class FilterFactory extends Object
Constructor and Description |
---|
FilterFactory(ClassLoader testClassLoader) |
Modifier and Type | Method and Description |
---|---|
Filter |
and(Filter filter1,
Filter filter2) |
boolean |
canCreateGroupFilter(Map<String,String> providerProperties) |
Filter |
createFailingMethodFilter(Map<Class<?>,Set<String>> failingClassMethodMap) |
Filter |
createGroupFilter(Map<String,String> providerProperties)
Creates filter using he key
ProviderParameterNames.TESTNG_GROUPS_PROP and/or
ProviderParameterNames.TESTNG_EXCLUDEDGROUPS_PROP . |
Filter |
createMethodFilter(String requestedTestMethod) |
Filter |
createMethodFilter(TestListResolver resolver) |
public FilterFactory(ClassLoader testClassLoader)
public boolean canCreateGroupFilter(Map<String,String> providerProperties)
ProviderParameterNames.TESTNG_GROUPS_PROP
and/or
ProviderParameterNames.TESTNG_EXCLUDEDGROUPS_PROP
exists.public Filter createGroupFilter(Map<String,String> providerProperties)
ProviderParameterNames.TESTNG_GROUPS_PROP
and/or
ProviderParameterNames.TESTNG_EXCLUDEDGROUPS_PROP
.public Filter createMethodFilter(TestListResolver resolver)
public Filter createFailingMethodFilter(Map<Class<?>,Set<String>> failingClassMethodMap)
Copyright © 2004–2015 The Apache Software Foundation. All rights reserved.