Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 83 for assertNotSame (0.04 sec)

  1. src/test/java/jcifs/smb/PreauthIntegrityTest.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.junit.jupiter.api.Assertions.fail;
    import static org.mockito.Mockito.when;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java

            CrawlerEngineClient client1 = new CrawlerEngineClient();
            CrawlerEngineClient client2 = new CrawlerEngineClient();
    
            assertNotNull(client1);
            assertNotNull(client2);
            assertNotSame(client1, client2);
        }
    
        // Test constructor with different thread context
        public void test_constructorInDifferentThread() throws Exception {
            // Test that constructor works in different thread
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    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;
    
    /**
     */
    @PlexusTest
    @Deprecated
    class DefaultWagonManagerTest {
        @Inject
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java

            DictionaryExpiredException exception1 = new DictionaryExpiredException();
            DictionaryExpiredException exception2 = new DictionaryExpiredException();
    
            assertNotSame(exception1, exception2);
            assertFalse(exception1.equals(exception2));
            assertTrue(exception1.equals(exception1));
        }
    
        public void test_hashCode() {
            // Test hashCode consistency
    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/exception/FessUserNotFoundExceptionTest.java

            FessUserNotFoundException exception1 = new FessUserNotFoundException("user1");
            FessUserNotFoundException exception2 = new FessUserNotFoundException("user2");
    
            assertNotSame(exception1, exception2);
            assertFalse(exception1.getMessage().equals(exception2.getMessage()));
            assertEquals("User is not found: user1", exception1.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserTimeZoneProcessProviderTest.java

                // Verify that the provider still returns the static centralTimeZone
                assertNotNull(result);
                assertEquals(FessUserTimeZoneProcessProvider.centralTimeZone, result);
                assertNotSame(newTimeZone, result);
            } finally {
                // Restore original time zone
                TimeZone.setDefault(originalTimeZone);
            }
        }
    
        // Test toString() method
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

            SystemMonitorTarget target2 = new SystemMonitorTarget();
    
            assertNotNull("First instance should not be null", target1);
            assertNotNull("Second instance should not be null", target2);
            assertNotSame("Instances should be different objects", target1, target2);
        }
    
        public void test_class_has_proper_annotations() {
            // Verify the class doesn't have any inappropriate annotations
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/timer/HotThreadMonitorTargetTest.java

            HotThreadMonitorTarget target2 = new HotThreadMonitorTarget();
    
            assertNotNull("First instance should not be null", target1);
            assertNotNull("Second instance should not be null", target2);
            assertNotSame("Instances should be different objects", target1, target2);
        }
    
        public void test_class_has_proper_annotations() {
            // Verify the class doesn't have any inappropriate annotations
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java

            UserRoleLoginException exception1 = new UserRoleLoginException(RootAction.class);
            UserRoleLoginException exception2 = new UserRoleLoginException(RootAction.class);
    
            assertNotSame(exception1, exception2);
            assertEquals(exception1.getActionClass(), exception2.getActionClass());
            assertSame(RootAction.class, exception1.getActionClass());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java

            assertEquals(logoutHashCode, SsoResponseType.LOGOUT.hashCode());
    
            // Different enum constants should have different hash codes (usually)
            assertNotSame(metadataHashCode, logoutHashCode);
        }
    
        public void test_compareTo() {
            // Test compareTo method for enum constants
            assertEquals(0, SsoResponseType.METADATA.compareTo(SsoResponseType.METADATA));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top