maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [maven-surefire] Tibor17 commented on a change in pull request #320: [SUREFIRE-1851] Prevent NPE in SmartStackTraceParser
Date Tue, 06 Oct 2020 22:01:17 GMT

Tibor17 commented on a change in pull request #320:
URL: https://github.com/apache/maven-surefire/pull/320#discussion_r500598880



##########
File path: surefire-providers/common-java5/src/test/java/org/apache/maven/surefire/report/SmartStackTraceParserTest.java
##########
@@ -340,6 +340,21 @@ public void testStackTraceWithFocusOnClassAsString()
         }
     }
 
+    public void testNullStackTrace()
+    {
+        try
+        {
+            new ATestClass().aMockedException();
+        }
+        catch (Exception e)

Review comment:
       Pls run the local build (mvn install). Here the checkstyle plugin should fail.




----------------------------------------------------------------
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



Mime
View raw message