Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for testToStringNotNonsense (0.22 sec)

  1. compat/maven-model/src/test/java/org/apache/maven/model/BuildTest.java

            Build thing = new Build();
            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new Build().toString());
        }
    
        public void testToStringNotNonsense() {
            Build build = new Build();
    
            String s = build.toString();
    
            assert "Build {BuildBase {PluginConfiguration {PluginContainer {}}}}".equals(s) : s;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. compat/maven-model/src/test/java/org/apache/maven/model/LicenseTest.java

            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new License().toString());
        }
    
        public void testToStringNotNonsense() {
            License license = new License();
            license.setName("Unlicense");
            license.setUrl("http://lic.localdomain");
    
            String s = license.toString();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. compat/maven-model/src/test/java/org/apache/maven/model/ScmTest.java

            Scm thing = new Scm();
            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new Scm().toString());
        }
    
        public void testToStringNotNonsense() {
            Scm scm = new Scm();
            scm.setConnection("scm:git:git://git.localdomain/model");
    
            String s = scm.toString();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. compat/maven-model/src/test/java/org/apache/maven/model/IssueManagementTest.java

            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new IssueManagement().toString());
        }
    
        public void testToStringNotNonsense() {
            IssueManagement im = new IssueManagement();
            im.setSystem("Velociraptor");
            im.setUrl("https://velo.localdomain");
    
            String s = im.toString();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. compat/maven-model/src/test/java/org/apache/maven/model/MailingListTest.java

            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new MailingList().toString());
        }
    
        public void testToStringNotNonsense() {
            MailingList list = new MailingList();
            list.setName("modello-dev");
    
            String s = list.toString();
    
            assertEquals("MailingList {name=modello-dev, archive=null}", s);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top