sman-81 commented on code in PR #60:
URL: https://github.com/apache/maven-jxr/pull/60#discussion_r928515378


##########
maven-jxr/src/test/java/org/apache/maven/jxr/pacman/JavaFileImplTest.java:
##########
@@ -46,4 +46,14 @@ public void testJXR_135_lotsOfNested() throws IOException
         assertEquals( "NotNested", classTypes.next().getName() );
     }
 
-}
\ No newline at end of file
+    @Test
+    public void testJXR_170_multiLineString() throws IOException
+    {
+        JavaFileImpl javaFile = new JavaFileImpl( Paths.get(
+                
"src/test/resources/jxr170/org/apache/maven/jxr/pacman/ClassWithMultiLineString.java"
 ),
+                "UTF-8" );
+        assertEquals( 1, javaFile.getClassTypes().size() );
+        assertEquals( "ClassWithMultiLineString", 
javaFile.getClassTypes().get(0).getName() );
+        assertEquals( "[ImportType[name=java.lang.*]]", 
javaFile.getImportTypes().toString() );

Review Comment:
   What do you mean?
   getImportTypes returns a Set, getClassTypes returns a List (this is the 
original code unchanged by me)



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

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to