Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 688 for dest (0.01 sec)

  1. src/test/java/jcifs/netbios/NameTest.java

        @Test
        void writeScopeWireFormat_withScope_shouldWriteEncodedScope() {
            Name name = new Name(mockConfig, "TEST", 0x20, "test.com");
            byte[] dst = new byte[50];
    
            int length = name.writeScopeWireFormat(dst, 0);
    
            // After processing, should start with length byte for "test" (4)
            assertEquals(4, dst[0]);
    
            // Should end with 0x00
            assertEquals(0x00, dst[length - 1]);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java

        }
    
        // Test main method with valid arguments
        public void test_main_validArguments() {
            // Cannot directly test main as it calls System.exit
            // Test options parsing instead
            SuggestCreator.Options options = new SuggestCreator.Options();
            options.sessionId = "test-session";
            options.name = "test-name";
            assertEquals("test-session", options.sessionId);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java

        }
    
        @Test
        @DisplayName("Test setTid with positive value")
        void testSetTidWithPositiveValue() {
            // Given
            int tid = 12345;
            doNothing().when(request).setTid(tid);
    
            // When
            request.setTid(tid);
    
            // Then
            verify(request, times(1)).setTid(tid);
        }
    
        @Test
        @DisplayName("Test setTid with zero value")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

        }
    
        /**
         * Test setting and getting String field (oemDomainName)
         */
        @Test
        @DisplayName("Test oemDomainName field with various string values")
        public void testOemDomainNameField() {
            // Test with normal string
            serverData.oemDomainName = "WORKGROUP";
            assertEquals("WORKGROUP", serverData.oemDomainName);
    
            // Test with empty string
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java

            }
        }
    
        // Test getId method
        public void test_getId() {
            // Test normal ID
            TestSearchLogEvent event = new TestSearchLogEvent("test-id-123", 1L, "search");
            assertEquals("test-id-123", event.getId());
    
            // Test ID change
            event.setId("new-id-456");
            assertEquals("new-id-456", event.getId());
    
            // Test null ID
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/util/SMBUtilTest.java

            assertEquals((byte) 0x34, dst[0]);
            assertEquals((byte) 0x12, dst[1]);
    
            // Test with max value for 2 bytes
            SMBUtil.writeInt2(0xFFFFL, dst, 2);
            assertEquals((byte) 0xFF, dst[2]);
            assertEquals((byte) 0xFF, dst[3]);
    
            // Test with zero
            SMBUtil.writeInt2(0L, dst, 4);
            assertEquals((byte) 0x00, dst[4]);
            assertEquals((byte) 0x00, dst[5]);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/GsaConfigParserTest.java

            assertEquals("^test$", parser.appendFileterPath(new StringBuilder(), "^test$"));
            assertEquals(".*test$", parser.appendFileterPath(new StringBuilder(), "test$"));
            assertEquals(".*test/\\E.*", parser.appendFileterPath(new StringBuilder(), "test/\\E"));
            assertEquals("test", parser.appendFileterPath(new StringBuilder(), "test"));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

        }
    
        // Test command string construction edge cases
        public void test_command_string_edge_cases() throws Exception {
            // Test with commands containing special characters
            final List<String> specialCommands = Arrays.asList("echo \"test with quotes\"", "echo 'test with single quotes'",
                    "echo test with spaces", "echo test&with&ampersand", "echo test|with|pipe");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbPipeResourceTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the SmbPipeResource interface.
     * This test class primarily verifies the constant values defined in the interface.
     */
    class SmbPipeResourceTest {
    
        /**
         * Test if the PIPE_TYPE_RDONLY constant has the correct value.
         */
        @Test
        void testPipeTypeRdonly() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

        }
    
        @Test
        @DisplayName("Test buffer boundary conditions")
        void testBufferBoundaryConditions() {
            trans2QueryFSInfo = new Trans2QueryFSInformation(config, FileSystemInformation.SMB_INFO_ALLOCATION);
    
            // Test with minimal buffer size
            byte[] minBuffer = new byte[2];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
Back to top