Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 117 for test_equals (0.07 sec)

  1. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

            assertEquals(item1.hashCode(), item3.hashCode());
    
            // Different input should have different hashCode
            assertNotSame(item1.hashCode(), item4.hashCode());
        }
    
        public void test_equals() {
            // Test equals method
            StopwordsItem item1 = new StopwordsItem(1, "test");
            StopwordsItem item2 = new StopwordsItem(1, "test");
            StopwordsItem item3 = new StopwordsItem(2, "test");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java

            assertEquals("METADATA", SsoResponseType.METADATA.toString());
            assertEquals("LOGOUT", SsoResponseType.LOGOUT.toString());
        }
    
        public void test_equals() {
            // Test equals method for enum constants
            assertTrue(SsoResponseType.METADATA.equals(SsoResponseType.METADATA));
            assertTrue(SsoResponseType.LOGOUT.equals(SsoResponseType.LOGOUT));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java

            int hashCode1 = crawlerEngineClient.hashCode();
            int hashCode2 = crawlerEngineClient.hashCode();
            assertEquals(hashCode1, hashCode2);
        }
    
        // Test equals method
        public void test_equals() {
            // Test equals method basic functionality
            assertTrue(crawlerEngineClient.equals(crawlerEngineClient));
            assertFalse(crawlerEngineClient.equals(null));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java

            }
    
            assertNotNull(originalException);
            assertNotNull(rethrownException);
            assertSame(originalException, rethrownException);
        }
    
        public void test_equals() {
            // Test that different instances are not equal
            DictionaryExpiredException exception1 = new DictionaryExpiredException();
            DictionaryExpiredException exception2 = new DictionaryExpiredException();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

            try {
                item.hashCode();
                fail("Expected NullPointerException");
            } catch (NullPointerException e) {
                // Expected
            }
        }
    
        public void test_equals() {
            // Test equals method
            ProtwordsItem item1 = new ProtwordsItem(1, "word");
            ProtwordsItem item2 = new ProtwordsItem(2, "word");
            ProtwordsItem item3 = new ProtwordsItem(1, "different");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

            // Same inputs but different output should have different hash code
            assertNotSame(item1.hashCode(), item4.hashCode());
        }
    
        public void test_equals() {
            String[] inputs1 = { "a", "b" };
            String[] inputs2 = { "b", "a" }; // Different order
            String[] inputs3 = { "c", "d" };
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

    public class PrunedTagTest extends UnitFessTestCase {
    
        public void test_hashCode() {
            PrunedTag prunedtag = new PrunedTag("tag");
    
            assertTrue(prunedtag.hashCode() >= 0);
    
        }
    
        public void test_equals() {
    
            PrunedTag prunedtag = new PrunedTag("tag");
    
            assertTrue(prunedtag.equals(prunedtag));
            assertEquals(false, prunedtag.equals(null));
            assertEquals(false, prunedtag.equals(""));
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 21K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

    @NullMarked
    public final class ForwardingWrapperTester {
    
      private boolean testsEquals = false;
    
      /**
       * Asks for {@link Object#equals} and {@link Object#hashCode} to be tested. That is, forwarding
       * wrappers of equal instances should be equal.
       */
      @CanIgnoreReturnValue
      public ForwardingWrapperTester includingEquals() {
        this.testsEquals = true;
        return this;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

    @NullMarked
    public final class ForwardingWrapperTester {
    
      private boolean testsEquals = false;
    
      /**
       * Asks for {@link Object#equals} and {@link Object#hashCode} to be tested. That is, forwarding
       * wrappers of equal instances should be equal.
       */
      @CanIgnoreReturnValue
      public ForwardingWrapperTester includingEquals() {
        this.testsEquals = true;
        return this;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/dict/synonym/SynonymItemTest.java

            synonymItem.setNewInputs(new String[0]);
            synonymItem.setNewOutputs(new String[0]);
            assertTrue(synonymItem.isUpdated());
            assertTrue(synonymItem.isDeleted());
        }
    
        public void test_equals1() {
            final SynonymItem synonymItem1 = new SynonymItem(1, new String[] { "a", "A" }, new String[] { "b", "B" });
    
            assertTrue(synonymItem1.equals(synonymItem1));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 5K bytes
    - Viewed (1)
Back to top