Class GroupMatcherMethodSelector

  • All Implemented Interfaces:
    org.testng.IMethodSelector

    public class GroupMatcherMethodSelector
    extends java.lang.Object
    implements org.testng.IMethodSelector
    Method selector delegating to GroupMatcher to decide if a method is included or not.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean includeMethod​(org.testng.IMethodSelectorContext context, org.testng.ITestNGMethod method, boolean isTestMethod)  
      static void setGroupMatcher​(org.apache.maven.surefire.group.match.GroupMatcher matcher)  
      static void setGroups​(java.lang.String groups, java.lang.String excludedGroups)  
      void setTestMethods​(java.util.List<org.testng.ITestNGMethod> testMethods)  
      • Methods inherited from class java.lang.Object

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

      • GroupMatcherMethodSelector

        public GroupMatcherMethodSelector()
    • Method Detail

      • includeMethod

        public boolean includeMethod​(org.testng.IMethodSelectorContext context,
                                     org.testng.ITestNGMethod method,
                                     boolean isTestMethod)
        Specified by:
        includeMethod in interface org.testng.IMethodSelector
      • setTestMethods

        public void setTestMethods​(java.util.List<org.testng.ITestNGMethod> testMethods)
        Specified by:
        setTestMethods in interface org.testng.IMethodSelector
      • setGroups

        public static void setGroups​(java.lang.String groups,
                                     java.lang.String excludedGroups)
      • setGroupMatcher

        public static void setGroupMatcher​(org.apache.maven.surefire.group.match.GroupMatcher matcher)