maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [maven-dependency-analyzer] elharo commented on a change in pull request #21: [MSHARED-785] Make ConstantPoolParser ignore classes in unnamed package
Date Mon, 03 Aug 2020 15:18:25 GMT

elharo commented on a change in pull request #21:
URL: https://github.com/apache/maven-dependency-analyzer/pull/21#discussion_r464480964



##########
File path: src/test/java/org/apache/maven/shared/dependency/analyzer/DefaultProjectDependencyAnalyzerTest.java
##########
@@ -427,6 +427,32 @@ public void testTypeUseAnnotationDependencyOnLocalVariable()
         assertEquals( expectedAnalysis, actualAnalysis );
     }
 
+    public void testUnnamedPackageClassReference()
+        throws TestToolsException, ProjectDependencyAnalyzerException
+    {
+        if ( !SystemUtils.isJavaVersionAtLeast( JavaVersion.JAVA_1_8 ) )

Review comment:
       This is a use case for Assume. 




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