Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testEqualsTypeSafe (0.19 sec)

  1. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java

            assertEquals(v1.hashCode(), v2.hashCode());
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(newArtifactVersion("1").equals(null));
        }
    
        @Test
        void testEqualsTypeSafe() {
            assertFalse(newArtifactVersion("1").equals("non-an-artifact-version-instance"));
        }
    
        private void assertVersionOlder(String left, String right) {
            assertTrue(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top