Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 711 for stesti (2.43 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/RobotsTxtTest.java

    /**
     * Test class for {@link RobotsTxt} and {@link Directive}.
     */
    public class RobotsTxtTest extends PlainTestCase {
    
        public void test_defaultConstructor() {
            // Test default constructor
            RobotsTxt robotsTxt = new RobotsTxt();
            assertNotNull(robotsTxt);
        }
    
        public void test_allowsWithNoDirectives() {
            // Test allows method when no directives are set
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

        }
    
        @ParameterizedTest
        @DisplayName("Test decode with various ACE counts")
        @ValueSource(ints = { 0, 1, 10, 100, 1000, 4096 })
        void testDecodeWithVariousAceCounts(int aceCount) throws SMBProtocolDecodingException {
            // This test is theoretical as we can't create huge buffers
            // but tests the boundary conditions
            if (aceCount <= 10) { // Only test small counts practically
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/http/NtlmServletTest.java

        }
    
        /**
         * Test the init method when CIFSException occurs.
         * Verifies that configuration properties are properly validated during initialization.
         */
        @Test
        void testInitWithCIFSException() {
            // Test with valid configuration - should initialize successfully
            Map<String, String> validParams = new HashMap<>();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Test class for SocketInputStream using JUnit 5 and Mockito.
     * Tests the NetBIOS session layer protocol implementation.
     */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. docs/smb3-features/02-persistent-handles-design.md

            System.getProperty("user.home") + "/.jcifs/handles");
    }
    ```
    
    ## 8. Testing Strategy
    
    ### 8.1 Unit Tests
    ```java
    package jcifs.tests.smb3;
    
    import org.junit.Test;
    import static org.junit.Assert.*;
    
    public class PersistentHandleTest {
        
        @Test
        public void testHandleGuidGeneration() {
            HandleGuid guid1 = new HandleGuid();
            HandleGuid guid2 = new HandleGuid();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

    import jcifs.internal.smb2.ServerMessageBlock2;
    import jcifs.internal.smb2.ServerMessageBlock2Response;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Test class for Smb2TreeDisconnectResponse functionality
     */
    @DisplayName("Smb2TreeDisconnectResponse Tests")
    class Smb2TreeDisconnectResponseTest extends BaseTest {
    
        private Configuration mockConfig;
        private Smb2TreeDisconnectResponse response;
    
        @BeforeEach
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

                assertNull(actualFileId);
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        }
    
        @Test
        @DisplayName("Test buffer size edge cases")
        void testBufferSizeEdgeCases() {
            // Test with very small buffer sizes
            when(mockConfig.getMaximumBufferSize()).thenReturn(256);
            when(mockConfig.getListSize()).thenReturn(128);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/spnego/SpnegoConstantsTest.java

    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for SpnegoConstants interface.
     * Verifies constant values, modifiers, types, and structural properties.
     */
    class SpnegoConstantsTest {
    
        // Simple OID format: numbers separated by dots (at least one dot)
        private static final Pattern OID_PATTERN = Pattern.compile("\\d+(?:\\.\\d+)+");
    
        @Test
        @DisplayName("Constant values match expected OIDs")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

            conditionalRule.setRuleId("conditional");
            testRule.setRuleId("test");
    
            assertEquals("conditional", conditionalRule.getRuleId());
            assertEquals("test", testRule.getRuleId());
        }
    
        /**
         * Test protected field access
         */
        public void test_protectedFieldAccess() {
            // Test direct field access (protected fields)
            TestAbstractRule rule = new TestAbstractRule();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

    /*
     * Tests for Smb2IoctlResponse.
     *
     * Notes:
     * - Comments are in English as requested.
     * - JUnit 5 is used; Mockito is not required here.
     */
    package jcifs.internal.smb2.ioctl;
    
    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top