Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 344 for DisplayName (0.05 sec)

  1. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    
    import jcifs.internal.SMBProtocolDecodingException;
    
    /**
     * Test class for CreateContextResponse interface functionality
     */
    @DisplayName("CreateContextResponse Tests")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create response with default values")
            void testConstructor() {
                SrvCopyChunkCopyResponse copyResponse = new SrvCopyChunkCopyResponse();
                assertNotNull(copyResponse);
            }
    
            @Test
            @DisplayName("Should initialize chunksWritten to zero")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

            // Set up index field for derive operations
            mockDeferredBuffer.index = 0;
        }
    
        @Nested
        @DisplayName("Protocol Information Tests")
        class ProtocolInfoTests {
    
            @Test
            @DisplayName("Should return correct syntax string")
            void testGetSyntax() {
                // When/Then: Verify the protocol syntax identifier
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java

            assertEquals(TEST_ATTRIBUTES, info.getAttributes());
        }
    
        @Test
        @DisplayName("Test getFileInformationLevel returns correct value")
        void testGetFileInformationLevel() {
            assertEquals(FileInformation.FILE_BASIC_INFO, fileBasicInfo.getFileInformationLevel());
        }
    
        @Test
        @DisplayName("Test getSize always returns 0")
        void testGetSize() {
            // Default instance
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

        }
    
        @Test
        @DisplayName("Test constructor initialization with config only")
        void testConstructorWithConfigOnly() {
            TestSmbComTransactionResponse resp = new TestSmbComTransactionResponse(mockConfig);
            assertNotNull(resp);
            assertEquals(0, resp.getSubCommand());
        }
    
        @Test
        @DisplayName("Test constructor initialization with command and subcommand")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

        }
    
        @Test
        @DisplayName("Constructor: invalid mode throws IllegalArgumentException")
        void constructor_invalidMode_throws() {
            SmbFile file = mock(SmbFile.class);
            assertThrows(IllegalArgumentException.class, () -> new SmbRandomAccessFile(file, "badmode"));
        }
    
        @Test
        @DisplayName("open(): acquires and releases handle (no I/O)")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/config/BaseConfigurationTest.java

        }
    
        @Test
        @DisplayName("Test initProtocolVersions with strings")
        void testInitProtocolVersionsWithStrings() {
            config.initProtocolVersions("SMB202", "SMB311");
    
            assertEquals(DialectVersion.SMB202, config.getMinimumVersion());
            assertEquals(DialectVersion.SMB311, config.getMaximumVersion());
        }
    
        @Test
        @DisplayName("Test initProtocolVersions with null/empty strings")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

    import java.io.IOException;
    import java.security.SecureRandom;
    import java.util.LinkedList;
    import java.util.List;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSContext;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

        @BeforeEach
        void setUp() {
            bind = new DcerpcBind();
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Default constructor should create instance with default values")
            void testDefaultConstructor() {
                // When
                DcerpcBind defaultBind = new DcerpcBind();
    
                // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

        }
    
        @Test
        @DisplayName("Constructor should initialize with Configuration")
        void testConstructor() {
            // Given & When
            Smb2FlushResponse flushResponse = new Smb2FlushResponse(mockConfig);
    
            // Then
            assertNotNull(flushResponse);
            // Cannot test getConfig() as it's protected
        }
    
        @Nested
        @DisplayName("writeBytesWireFormat tests")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top