Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 83 for assertNotSame (0.07 sec)

  1. src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java

            SsoLoginException exception3 = new SsoLoginException("Error 3", new RuntimeException());
    
            assertNotSame(exception1, exception2);
            assertNotSame(exception2, exception3);
            assertNotSame(exception1, exception3);
    
            assertEquals("Error 1", exception1.getMessage());
            assertEquals("Error 2", exception2.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotSame;
    import static org.junit.jupiter.api.Assertions.assertSame;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.ArgumentMatchers.any;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/StaticJAASConfigurationTest.java

            // Assert
            assertNotSame(a1, a2, "Arrays should be different instances");
            assertEquals(1, a1.length);
            assertEquals(1, a2.length);
    
            AppConfigurationEntry e1 = a1[0];
            AppConfigurationEntry e2 = a2[0];
    
            assertNotSame(e1, e2, "Entries should be different instances");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java

            ResultOffsetExceededException exception3 = new ResultOffsetExceededException("Third instance");
    
            assertNotSame(exception1, exception2);
            assertNotSame(exception2, exception3);
            assertNotSame(exception1, exception3);
    
            assertEquals("First instance", exception1.getMessage());
            assertEquals("Second instance", exception2.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/BufferCacheTest.java

    import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNotSame;
    import static org.junit.jupiter.api.Assertions.assertSame;
    import static org.mockito.Mockito.doNothing;
    import static org.mockito.Mockito.when;
    
    import java.util.ArrayList;
    import java.util.List;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java

            UnsupportedSearchException exception2 = new UnsupportedSearchException(message2);
    
            assertNotSame(exception1, exception2);
            assertEquals(message1, exception1.getMessage());
            assertEquals(message2, exception2.getMessage());
    
            // Verify they have different stack traces
            assertNotSame(exception1.getStackTrace(), exception2.getStackTrace());
        }
    
        public void test_throwAndCatch() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/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);
    
                for (int i = 0; i < 100; i++) {
                    if (crawler1.crawlerContext.getStatus() == CrawlerStatus.RUNNING) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertInstanceOf;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNotSame;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.when;
    
    import java.lang.reflect.Field;
    
    import org.junit.jupiter.api.BeforeEach;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java

            assertNotNull(provider1.providePrimaryOneWayCryptographer());
            assertNotNull(provider2.providePrimaryOneWayCryptographer());
            assertNotSame(provider1.providePrimaryOneWayCryptographer(), provider2.providePrimaryOneWayCryptographer());
        }
    
        // Test thread safety
        public void test_threadSafety() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

            TestComponent component2 = factory.create();
            assertNotNull(component2);
            assertEquals(2, component2.getId());
    
            // Different instances for prototype
            assertNotSame(component, component2);
        }
    
        /**
         * Test creation with null component name
         */
        public void test_create_nullComponentName() {
            factory.setComponentName(null);
    
            try {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19.3K bytes
    - Viewed (0)
Back to top