Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,777 for Equals (0.08 sec)

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

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Dependency().equals(null));
    
            new Dependency().equals(new Dependency());
        }
    
        @Test
        void testEqualsIdentity() {
            Dependency thing = new Dependency();
            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new Dependency().toString());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. compat/maven-model/src/test/java/org/apache/maven/model/DistributionManagementTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new DistributionManagement().equals(null));
    
            new DistributionManagement().equals(new DistributionManagement());
        }
    
        @Test
        void testEqualsIdentity() {
            DistributionManagement thing = new DistributionManagement();
            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. compat/maven-model/src/test/java/org/apache/maven/model/ExclusionTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Exclusion().equals(null));
    
            new Exclusion().equals(new Exclusion());
        }
    
        @Test
        void testEqualsIdentity() {
            Exclusion thing = new Exclusion();
            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new Exclusion().toString());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. compat/maven-model/src/test/java/org/apache/maven/model/PluginTest.java

            new Plugin().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Plugin().equals(null));
    
            new Plugin().equals(new Plugin());
        }
    
        @Test
        void testEqualsIdentity() {
            Plugin thing = new Plugin();
            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new Plugin().toString());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. compat/maven-model/src/test/java/org/apache/maven/model/ProfileTest.java

            new Profile().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Profile().equals(null));
    
            new Profile().equals(new Profile());
        }
    
        @Test
        void testEqualsIdentity() {
            Profile thing = new Profile();
            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new Profile().toString());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. compat/maven-model/src/test/java/org/apache/maven/model/RepositoryPolicyTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new RepositoryPolicy().equals(null));
    
            new RepositoryPolicy().equals(new RepositoryPolicy());
        }
    
        @Test
        void testEqualsIdentity() {
            RepositoryPolicy thing = new RepositoryPolicy();
            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. compat/maven-model/src/test/java/org/apache/maven/model/ResourceTest.java

            new Resource().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Resource().equals(null));
    
            new Resource().equals(new Resource());
        }
    
        @Test
        void testEqualsIdentity() {
            Resource thing = new Resource();
            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new Resource().toString());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MultisetsImmutableEntryTest.java

        assertFalse(control("foo", 1).equals(entry("foo", 2)));
        assertFalse(entry("foo", 1).equals(control("bar", 1)));
        assertFalse(entry("foo", 1).equals(new Object()));
        assertFalse(entry("foo", 1).equals(null));
      }
    
      public void testEqualsNull() {
        assertEquals(control(NE, 1), entry(NE, 1));
        assertFalse(control(NE, 1).equals(entry(NE, 2)));
        assertFalse(entry(NE, 1).equals(control("bar", 1)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

            }
            return hash + getURLPath().toUpperCase().hashCode();
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#equals(java.lang.Object)
         */
        @Override
        public boolean equals ( Object obj ) {
            if ( ! ( obj instanceof SmbResourceLocatorImpl ) ) {
                return false;
            }
    
            SmbResourceLocatorImpl o = (SmbResourceLocatorImpl) obj;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:24:53 UTC 2019
    - 23.9K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/composition/DefaultDependencyManagementImporter.java

        }
    
        private boolean equals(Dependency d1, Dependency d2) {
            return Objects.equals(d1.getGroupId(), d2.getGroupId())
                    && Objects.equals(d1.getArtifactId(), d2.getArtifactId())
                    && Objects.equals(d1.getVersion(), d2.getVersion())
                    && Objects.equals(d1.getType(), d2.getType())
                    && Objects.equals(d1.getClassifier(), d2.getClassifier())
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top