Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 1,425 for equalTo (0.07 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. cni/pkg/nodeagent/cni-watcher_test.go

    		p, err := pluginServer.getPodWithRetry(log, pod.Name, pod.Namespace)
    		assert.NoError(t, err)
    		assert.Equal(t, p, pod)
    	})
    	t.Run("no pod", func(t *testing.T) {
    		p, err := pluginServer.getPodWithRetry(log, "fake", pod.Namespace)
    		assert.Error(t, err)
    		assert.Equal(t, p, nil)
    	})
    	t.Run("pod out of ambient", func(t *testing.T) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. 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)
  9. src/main/java/jcifs/smb/SmbTreeImpl.java

            int e = stackTrace.length;
    
            for ( int i = s; i < e; i++ ) {
                StackTraceElement se = stackTrace[ i ];
    
                if ( i == s && SmbTreeImpl.class.getName().equals(se.getClassName()) && "close".equals(se.getMethodName()) ) {
                    s++;
                    continue;
                }
    
                if ( se.getClassName().startsWith("org.junit.runners.") ) {
                    e = i - 4;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/AbstractGraph.java

      @Override
      public final boolean equals(@CheckForNull Object obj) {
        if (obj == this) {
          return true;
        }
        if (!(obj instanceof Graph)) {
          return false;
        }
        Graph<?> other = (Graph<?>) obj;
    
        return isDirected() == other.isDirected()
            && nodes().equals(other.nodes())
            && edges().equals(other.edges());
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 1.8K bytes
    - Viewed (0)
Back to top