- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 174 for test_equals (0.08 seconds)
-
src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java
assertEquals("METADATA", SsoResponseType.METADATA.toString()); assertEquals("LOGOUT", SsoResponseType.LOGOUT.toString()); } @Test public void test_equals() { // Test equals method for enum constants assertTrue(SsoResponseType.METADATA.equals(SsoResponseType.METADATA)); assertTrue(SsoResponseType.LOGOUT.equals(SsoResponseType.LOGOUT));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 6.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java
int hashCode2 = crawlerEngineClient.hashCode(); assertEquals(hashCode1, hashCode2); } // Test equals method @Test public void test_equals() { // Test equals method basic functionality assertTrue(crawlerEngineClient.equals(crawlerEngineClient)); assertFalse(crawlerEngineClient.equals(null));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java
assertEquals(hash1, hash2); // Consistent hashCode assertEquals(item1.hashCode(), item1.hashCode()); } @Test 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");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java
} assertNotNull(originalException); assertNotNull(rethrownException); assertSame(originalException, rethrownException); } @Test public void test_equals() { // Test that different instances are not equal DictionaryExpiredException exception1 = new DictionaryExpiredException(); DictionaryExpiredException exception2 = new DictionaryExpiredException();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java
assertEquals(hash1, hash2); // Consistent hashCode assertEquals(item1.hashCode(), item1.hashCode()); } @Test 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");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java
assertEquals(hash1, hash2); // Consistent hashCode assertEquals(item1.hashCode(), item1.hashCode()); } @Test public void test_equals() { String[] inputs1 = { "a", "b" }; String[] inputs2 = { "b", "a" }; // Different order String[] inputs3 = { "c", "d" };
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 16K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/PrunedTagTest.java
@Test public void test_hashCode() { PrunedTag prunedtag = new PrunedTag("tag"); assertTrue(prunedtag.hashCode() >= 0); } @Test public void test_equals() { PrunedTag prunedtag = new PrunedTag("tag"); assertTrue(prunedtag.equals(prunedtag)); assertEquals(false, prunedtag.equals(null)); assertEquals(false, prunedtag.equals(""));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 21.1K bytes - Click Count (0) -
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; } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K bytes - Click Count (0) -
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; } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/synonym/SynonymItemTest.java
synonymItem.setNewOutputs(new String[0]); assertTrue(synonymItem.isUpdated()); assertTrue(synonymItem.isDeleted()); } @Test public void test_equals1() { final SynonymItem synonymItem1 = new SynonymItem(1, new String[] { "a", "A" }, new String[] { "b", "B" }); assertTrue(synonymItem1.equals(synonymItem1));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 8K bytes - Click Count (1)