Class 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.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 key ProviderParameterNames.TESTNG_GROUPS_PROP and/or ProviderParameterNames.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​(org.apache.maven.surefire.api.testset.TestListResolver resolver)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FilterFactory

        public FilterFactory​(java.lang.ClassLoader testClassLoader)
    • Method Detail

      • canCreateGroupFilter

        public boolean canCreateGroupFilter​(java.util.Map<java.lang.String,​java.lang.String> providerProperties)
        Returns:
        true if non-blank ProviderParameterNames.TESTNG_GROUPS_PROP and/or ProviderParameterNames.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 key ProviderParameterNames.TESTNG_GROUPS_PROP and/or ProviderParameterNames.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)