Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 1,225 for equalTo (0.05 sec)

  1. src/test/java/org/codelibs/fess/dict/DictionaryExceptionTest.java

            boolean foundTestMethod = false;
            for (StackTraceElement element : exception.getStackTrace()) {
                if (element.getMethodName().equals("test_stackTrace") && element.getClassName().equals(this.getClass().getName())) {
                    foundTestMethod = true;
                    break;
                }
            }
            assertTrue(foundTestMethod);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Enums.java

        protected String doBackward(T enumValue) {
          return enumValue.name();
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof StringConverter) {
            StringConverter<?> that = (StringConverter<?>) obj;
            return this.enumClass.equals(that.enumClass);
          }
          return false;
        }
    
        @Override
        public int hashCode() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 13:41:58 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java

            return guid.toString();
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj)
                return true;
            if (obj == null || getClass() != obj.getClass())
                return false;
            HandleGuid that = (HandleGuid) obj;
            return guid.equals(that.guid);
        }
    
        @Override
        public int hashCode() {
            return guid.hashCode();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/io/ResourceTraversalTest.java

                    assertThat(path, path.startsWith("junit") || path.startsWith("org/junit") || path.startsWith("org/hamcrest")
                            || path.startsWith("META-INF/") || path.equals("LICENSE-junit.txt"), is(true));
                    assertThat(is, is(notNullValue()));
                    count++;
                } finally {
                    CloseableUtil.close(is);
                }
            });
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/JvmUtil.java

                if (!matcher.matches()) {
                    return s;
                }
                final int v = Integer.parseInt(matcher.group(1));
                if ("-".equals(matcher.group(2))) {
                    if (version >= v) {
                        return matcher.group(3);
                    }
                } else if (v == version) {
                    return matcher.group(3);
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/it/admin/dict/DictCrudTestBase.java

            for (Map<String, String> item : dicts) {
                assertTrue(item.containsKey("id"));
                assertTrue(item.containsKey("type"));
                if (getDictType().equals(item.get("type"))) {
                    dictId = item.get("id");
                    return;
                }
            }
    
            fail();
        }
    
        @Override
        protected String getJsonPath() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  7. tests/scanner_valuer_test.go

    	}
    
    	if result.ExampleStructPtr.Val != "value2" {
    		t.Errorf(`ExampleStructPtr.Val should equal to "value2", but got %v`, result.ExampleStructPtr.Val)
    	}
    
    	if result.ExampleStruct.Val != "value1" {
    		t.Errorf(`ExampleStruct.Val should equal to "value1", but got %#v`, result.ExampleStruct)
    	}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            CIFSException ex = assertThrows(CIFSException.class, bad::getAddress);
            assertTrue(ex.getMessage().contains("Failed to lookup address"));
        }
    
        @Test
        @DisplayName("hashCode/equals based on address or server fallback")
        void testEqualsAndHashCode() throws Exception {
            UniAddress a = mock(UniAddress.class);
            when(nsc.getAllByName(eq("server"), anyBoolean())).thenReturn(new Address[] { a });
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/MinimalSet.java

      }
    
      private MinimalSet(Class<? super @NonNull E> type, E... contents) {
        super(type, true, contents);
      }
    
      /*
       * equals() and hashCode() are more specific in the Set contract.
       */
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object instanceof Set) {
          Set<?> that = (Set<?>) object;
          return (this.size() == that.size()) && this.containsAll(that);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/MinimalSet.java

      }
    
      private MinimalSet(Class<? super @NonNull E> type, E... contents) {
        super(type, true, contents);
      }
    
      /*
       * equals() and hashCode() are more specific in the Set contract.
       */
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object instanceof Set) {
          Set<?> that = (Set<?>) object;
          return (this.size() == that.size()) && this.containsAll(that);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top