Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 346 for display_name (0.07 sec)

  1. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            }
        }
    
        @Test
        @DisplayName("Constructor with andx sets next command")
        void testConstructorWithAndx() {
            DummyPlainSMB next = new DummyPlainSMB();
            DummyAndXBlock block = new DummyAndXBlock(next);
    
            assertNotNull(block);
            assertSame(next, block.andx, "andx should reference provided SMB");
        }
    
        @Test
        @DisplayName("getBatchLimit defaults to 0")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

            }
        }
    
        @Nested
        @DisplayName("Interface Constants Tests")
        class InterfaceConstantsTests {
    
            @Test
            @DisplayName("Should have correct SMB_INFO_ALLOCATION constant value")
            void testSmbInfoAllocationConstant() {
                assertEquals((byte) -1, FileSystemInformation.SMB_INFO_ALLOCATION);
            }
    
            @Test
            @DisplayName("Should have correct FS_SIZE_INFO constant value")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

        @DisplayName("Test isDFSSupported returns false")
        void testIsDFSSupportedFalse() {
            // Arrange
            when(negotiationResponse.isDFSSupported()).thenReturn(false);
    
            // Act
            boolean result = negotiationResponse.isDFSSupported();
    
            // Assert
            assertFalse(result);
            verify(negotiationResponse).isDFSSupported();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Test class for SrvPipePeekResponse
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertSame;
    
    import java.util.Arrays;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Test class for ValidateNegotiateInfoResponse
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

    import java.io.IOException;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    
    /**
     * Unit tests for TransportException class
     */
    public class TransportExceptionTest {
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create exception with no arguments")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java

            when(mockContext.getConfig()).thenReturn(mockConfig);
            echoRequest = new Smb2EchoRequest(mockConfig);
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create echo request with correct command")
            void testConstructor() throws Exception {
                Smb2EchoRequest request = new Smb2EchoRequest(mockConfig);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/HandlerTest.java

            }
        }
    
        @Test
        @DisplayName("getDefaultPort returns SMB default port 445")
        void testGetDefaultPort() {
            // Act
            int port = handler.getDefaultPort();
    
            // Assert
            assertEquals(445, port);
            assertEquals(SmbConstants.DEFAULT_PORT, port);
        }
    
        @Test
        @DisplayName("openConnection creates SmbFile for valid URL")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java

    import static org.mockito.Mockito.verifyNoMoreInteractions;
    import static org.mockito.Mockito.when;
    
    import java.lang.reflect.Method;
    import java.util.Arrays;
    
    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;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/ShareEnumIteratorTest.java

            assertEquals("remove", ex.getMessage());
        }
    
        @Nested
        @DisplayName("Invalid constructor inputs")
        class InvalidInputs {
            @Test
            @DisplayName("Null delegate causes NullPointerException during construction")
            void nullDelegate_throwsNPE() throws Exception {
                SmbFile parent = newParent();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
Back to top