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 2022/12/15 18:54:31 UTC

[GitHub] [maven] pzygielo commented on a diff in pull request #914: Generate or implement some `toString`s

pzygielo commented on code in PR #914:
URL: https://github.com/apache/maven/pull/914#discussion_r1050027356


##########
maven-model/src/test/java/org/apache/maven/model/OrganizationTest.java:
##########
@@ -53,4 +53,36 @@ public void testToStringNullSafe()
         assertNotNull( new Organization().toString() );
     }
 
+
+    public void testToStringNotNonsense11()
+    {
+        Organization org = new Organization();
+        org.setName( "Testing Maven Unit" );
+        org.setUrl( "https://maven.localdomain" );
+
+        assertEquals( "name = 'Testing Maven Unit'\nurl = 'https://maven.localdomain'", org.toString() );

Review Comment:
   `MailingList`, `Scm`, `Organiation` - their `toString` is generated by modello.



-- 
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-unsubscribe@maven.apache.org

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