- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 83 for assertNotSame (0.07 sec)
-
src/test/java/org/codelibs/fess/script/AbstractScriptEngineTest.java
assertNotNull(retrieved1); assertNotNull(retrieved2); assertEquals(engine1, retrieved1); assertEquals(engine2, retrieved2); assertNotSame(retrieved1, retrieved2); } // Test register method with case insensitive name public void test_register_caseInsensitive() { testScriptEngine.register();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java
assertEquals(item1.hashCode(), item2.hashCode()); 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");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java
// Same input should have same hashCode regardless of id assertEquals(item1.hashCode(), item2.hashCode()); // Different input should have different hashCode assertNotSame(item1.hashCode(), item3.hashCode()); // Consistent hashCode assertEquals(item1.hashCode(), item1.hashCode()); } public void test_hashCode_withNullInput() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNotSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
final String sessionId1 = crawler1.execute(); final String sessionId2 = crawler2.execute(); assertNotSame(sessionId1, sessionId2); assertNotSame(crawler1.crawlerContext, crawler2.crawlerContext); // Wait for both crawlers to start with polling long startTime = System.currentTimeMillis();
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 19.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java
assertEquals("Message1", exception1.getMessage()); assertEquals("Type2", exception2.getType()); assertEquals("Message2", exception2.getMessage()); assertNotSame(exception1, exception2); } public void test_serialVersionUID() { // Test that serialVersionUID is properly defined
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/SsoMessageExceptionTest.java
// Verify assertEquals(loginErrorCode, loginException.getMessageCode()); assertEquals(logoutErrorCode, logoutException.getMessageCode()); assertNotSame(loginException.getMessageCode(), logoutException.getMessageCode()); } public void test_complexMessageCode() { // Setup - test with a complex message code that has parameters
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/opensearch/common/ImplementedInvokerAssistantTest.java
BehaviorExceptionThrower thrower1 = invokerAssistant.assistBehaviorExceptionThrower(); BehaviorExceptionThrower thrower2 = invokerAssistant.assistBehaviorExceptionThrower(); assertNotSame(thrower1, thrower2); } // Helper method to check if array contains a value private boolean containsValue(String[] array, String value) { for (String element : array) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/UserInfoHelperTest.java
String id1 = userInfoHelper.getId(); String id2 = userInfoHelper.getId(); assertNotNull(id1); assertNotNull(id2); assertNotSame(id1, id2); assertEquals(32, id1.length()); assertEquals(32, id2.length()); assertTrue(id1.matches("[0-9a-f]+")); assertTrue(id2.matches("[0-9a-f]+")); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java
// Verify different message codes assertEquals(unknownErrorCode, unknownException.getMessageCode()); assertEquals(parseErrorCode, parseException.getMessageCode()); assertNotSame(unknownException.getMessageCode(), parseException.getMessageCode()); } public void test_complexMessageCode() { // Setup - test with a complex message code that includes parameters
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 15.6K bytes - Viewed (0)