You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2019/09/20 15:34:12 UTC

[GitHub] [maven-surefire] Tibor17 commented on a change in pull request #248: SUREFIRE-1695 Support multiple inheritance of @Categories

Tibor17 commented on a change in pull request #248: SUREFIRE-1695 Support multiple inheritance of @Categories
URL: https://github.com/apache/maven-surefire/pull/248#discussion_r326686006
 
 

 ##########
 File path: surefire-providers/common-junit48/src/main/java/org/apache/maven/surefire/common/junit48/GroupMatcherCategoryFilter.java
 ##########
 @@ -125,12 +144,13 @@ private boolean shouldRun( Description description, Description parent, Class<?>
                 cat = testClass.getAnnotation( Category.class );
                 if ( cat != null )
                 {
+                    // Found categories in current testClass
                     addAll( cats, cat.value() );
                 }
             }
 
             cats.remove( null );
-
+            // System.out.println("Categories in "+description.getTestClass()+"@"+description.getMethodName()+"\n\t"+ cats);
 
 Review comment:
   remove comments

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services