Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 1,777 for Equals (0.06 sec)

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

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Contributor().equals(null));
    
            new Contributor().equals(new Contributor());
        }
    
        @Test
        void testEqualsIdentity() {
            Contributor thing = new Contributor();
            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new Contributor().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/ExtensionTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Extension().equals(null));
    
            new Extension().equals(new Extension());
        }
    
        @Test
        void testEqualsIdentity() {
            Extension thing = new Extension();
            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new Extension().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)
  3. compat/maven-model/src/test/java/org/apache/maven/model/PluginContainerTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new PluginContainer().equals(null));
    
            new PluginContainer().equals(new PluginContainer());
        }
    
        @Test
        void testEqualsIdentity() {
            PluginContainer thing = new PluginContainer();
            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)
  4. compat/maven-model/src/test/java/org/apache/maven/model/RelocationTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Relocation().equals(null));
    
            new Relocation().equals(new Relocation());
        }
    
        @Test
        void testEqualsIdentity() {
            Relocation thing = new Relocation();
            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new Relocation().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)
  5. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/FilterHashEqualsTest.java

            IncludesArtifactFilter f2 = new IncludesArtifactFilter(patterns);
    
            assertTrue(f1.equals(f2));
            assertTrue(f2.equals(f1));
            assertTrue(f1.hashCode() == f2.hashCode());
    
            IncludesArtifactFilter f3 = new IncludesArtifactFilter(Arrays.asList("d", "c", "e"));
            assertTrue(f1.equals(f3));
            assertTrue(f1.hashCode() == f3.hashCode());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/FilteredMultimapTest.java

          new Predicate<Entry<String, Integer>>() {
            @Override
            public boolean apply(Entry<String, Integer> entry) {
              return !"badkey".equals(entry.getKey()) && !((Integer) 55556).equals(entry.getValue());
            }
          };
    
      protected Multimap<String, Integer> create() {
        Multimap<String, Integer> unfiltered = HashMultimap.create();
        unfiltered.put("foo", 55556);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

                // 2.0.X == 2-X == 2.0.0.X for any string x
                checkVersionsEqual("2-" + x, "2.0." + x); // previously ordered, now equals
                checkVersionsEqual("2-" + x, "2.0.0." + x); // previously ordered, now equals
                checkVersionsEqual("2.0." + x, "2.0.0." + x); // previously ordered, now equals
            }
        }
    
        @Test
        public void testMng7714() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelVersionParser.java

                }
            }
    
            @Override
            public boolean equals(Object o) {
                if (this == o) {
                    return true;
                }
                if (o == null || getClass() != o.getClass()) {
                    return false;
                }
                DefaultVersion that = (DefaultVersion) o;
                return delegate.equals(that.delegate);
            }
    
            @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

        }
      }
    
      static class SlowElement extends Element {
        SlowElement(int hash) {
          super(hash);
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          return slowItDown() != 1 && super.equals(obj);
        }
    
        @Override
        public int hashCode() {
          return slowItDown() + hash;
        }
    
        @Override
        public int compareTo(Element e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/FilteredMultimapTest.java

          new Predicate<Entry<String, Integer>>() {
            @Override
            public boolean apply(Entry<String, Integer> entry) {
              return !"badkey".equals(entry.getKey()) && !((Integer) 55556).equals(entry.getValue());
            }
          };
    
      protected Multimap<String, Integer> create() {
        Multimap<String, Integer> unfiltered = HashMultimap.create();
        unfiltered.put("foo", 55556);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top