Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 243 for scenarios (0.51 seconds)

  1. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

            item.setNewInput(newSpecialInput);
            assertEquals(newSpecialInput, item.toLineString());
        }
    
        @Test
        public void test_whitespaceHandling() {
            // Test with various whitespace scenarios
            ProtwordsItem item1 = new ProtwordsItem(1, "  word  ");
            assertEquals("  word  ", item1.getInput());
            assertEquals("  word  ", item1.toLineString());
    
    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)
  2. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

            assertTrue(memory2 >= 0);
            // Memory usage should have changed (though we can't guarantee direction due to GC)
        }
    
        @Test
        public void test_integrationScenarios() {
            // Test realistic scenarios combining multiple methods
            String memoryLog1 = MemoryUtil.getMemoryUsageLog();
    
            // Create some objects and measure their sizes
            List<String> testData = new ArrayList<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/sso/SsoManagerTest.java

            };
            ComponentUtil.setFessConfig(fessConfig);
    
            ssoManager = new SsoManager();
            assertEquals(expectedSsoType, ssoManager.getSsoType());
        }
    
        // Test full integration scenarios
        @Test
        public void test_fullScenario_ssoEnabled() {
            currentSsoType = "saml";
            final LoginCredential expectedCredential = new TestLoginCredential("samluser");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                assertEquals(FileSystemInformation.FS_FULL_SIZE_INFO, freshInfo.getFileSystemInformationClass());
            }
        }
    
        @Nested
        @DisplayName("Edge Cases and Real-World Scenarios")
        class EdgeCasesAndRealWorldTests {
    
            @Test
            @DisplayName("Should handle typical Windows NTFS configuration")
            void shouldHandleTypicalNTFSConfiguration() throws SMBProtocolDecodingException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 30.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/SmbSessionTest.java

                verify(mockSession, times(1)).unwrap(SmbSession.class);
                verify(mockSession, times(1)).close();
            }
    
            @Test
            @DisplayName("Should support partial mocking scenarios")
            void shouldSupportPartialMockingScenarios() {
                SmbSession mockSession = mock(SmbSession.class);
                Configuration mockConfig = mock(Configuration.class);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  6. README.md

    OkHttp is principled and avoids being overly configurable, especially when such configuration is
    to workaround a buggy server, test invalid scenarios or that contradict the relevant RFC.
    Other HTTP libraries exist that fill that gap allowing extensive customisation including potentially
    invalid requests.
    
    Example Limitations
    
    * Does not allow GET with a body.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  7. docs/smb3-features/02-persistent-handles-design.md

    ## 1. Overview
    
    Persistent handles (also known as durable handles) allow SMB3 connections to survive network disconnections, server reboots, and client reconnections. This feature is critical for enterprise reliability and seamless failover scenarios.
    
    ## 2. Protocol Specification Reference
    
    - **MS-SMB2 Section 2.2.13.2.3**: SMB2_CREATE_DURABLE_HANDLE_REQUEST
    - **MS-SMB2 Section 2.2.13.2.4**: SMB2_CREATE_DURABLE_HANDLE_REQUEST_V2
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 31.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorEdgeCaseTest.java

    import org.dbflute.optional.OptionalThing;
    import org.junit.jupiter.api.Test;
    
    /**
     * Edge case tests for RankFusionProcessor.
     * Tests boundary conditions, empty states, and error scenarios.
     */
    public class RankFusionProcessorEdgeCaseTest extends UnitFessTestCase {
    
        private static final String ID_FIELD = "_id";
    
        /**
         * Test behavior when no searchers are registered (empty list).
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 14.2K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java

     * Due to the iterator's constructor calling advance() immediately, which requires
     * the adapt() method to be functional, we test the behavior using simple mock
     * scenarios that don't require complex filter setups.
     */
    @ExtendWith(MockitoExtension.class)
    class DirFileEntryAdapterIteratorTest {
    
        @Mock
        private SmbResource mockParent;
    
        @Mock
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  10. src/test/java/jcifs/netbios/NameQueryResponseTest.java

            assertTrue(actual.contains("10.0.0.5"), "toString should contain the second NbtAddress string representation");
        }
    
        /**
         * Helper method to set common superclass fields for successful parsing scenarios.
         */
        private void setSuperclassFieldsForSuccessfulParsing() throws NoSuchFieldException, IllegalAccessException {
            Field resultCodeField = NameServicePacket.class.getDeclaredField("resultCode");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.4K bytes
    - Click Count (0)
Back to Top