Class CombinedCategoryFilter


  • final class CombinedCategoryFilter
    extends org.junit.runner.manipulation.Filter
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Collection<org.junit.runner.manipulation.Filter> excludedFilters  
      private java.util.Collection<org.junit.runner.manipulation.Filter> includedFilters  
      • Fields inherited from class org.junit.runner.manipulation.Filter

        ALL
    • Constructor Summary

      Constructors 
      Constructor Description
      CombinedCategoryFilter​(java.util.Collection<org.junit.runner.manipulation.Filter> includedFilters, java.util.Collection<org.junit.runner.manipulation.Filter> excludedFilters)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private boolean allFiltersMatchDescription​(java.util.Collection<org.junit.runner.manipulation.Filter> filters, org.junit.runner.Description description)  
      private boolean anyFilterMatchesDescription​(java.util.Collection<org.junit.runner.manipulation.Filter> filters, org.junit.runner.Description description)  
      java.lang.String describe()  
      private java.lang.String joinFilters​(java.util.Collection<org.junit.runner.manipulation.Filter> filters, java.lang.String sep)  
      boolean shouldRun​(org.junit.runner.Description description)  
      • Methods inherited from class org.junit.runner.manipulation.Filter

        apply, intersect, matchMethodDescription
      • Methods inherited from class java.lang.Object

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

      • includedFilters

        private final java.util.Collection<org.junit.runner.manipulation.Filter> includedFilters
      • excludedFilters

        private final java.util.Collection<org.junit.runner.manipulation.Filter> excludedFilters
    • Constructor Detail

      • CombinedCategoryFilter

        CombinedCategoryFilter​(java.util.Collection<org.junit.runner.manipulation.Filter> includedFilters,
                               java.util.Collection<org.junit.runner.manipulation.Filter> excludedFilters)
    • Method Detail

      • shouldRun

        public boolean shouldRun​(org.junit.runner.Description description)
        Specified by:
        shouldRun in class org.junit.runner.manipulation.Filter
      • anyFilterMatchesDescription

        private boolean anyFilterMatchesDescription​(java.util.Collection<org.junit.runner.manipulation.Filter> filters,
                                                    org.junit.runner.Description description)
      • allFiltersMatchDescription

        private boolean allFiltersMatchDescription​(java.util.Collection<org.junit.runner.manipulation.Filter> filters,
                                                   org.junit.runner.Description description)
      • describe

        public java.lang.String describe()
        Specified by:
        describe in class org.junit.runner.manipulation.Filter
      • joinFilters

        private java.lang.String joinFilters​(java.util.Collection<org.junit.runner.manipulation.Filter> filters,
                                             java.lang.String sep)