Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 354 for displayName (0.06 sec)

  1. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.util.stream.Stream;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.Arguments;
    import org.junit.jupiter.params.provider.MethodSource;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K 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/smb1/trans/TransTransactNamedPipeTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    import jcifs.Configuration;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Unit tests for TransTransactNamedPipe class
     */
    @DisplayName("TransTransactNamedPipe Tests")
    class TransTransactNamedPipeTest {
    
        @Mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.when;
    
    import java.util.Properties;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.CsvSource;
    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.Mock;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  6. 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)
  7. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

            when(mockConfig.isUseUnicode()).thenReturn(true);
    
            return mockContext;
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Constructor with CIFSContext should create message with default flags")
            void testConstructor_CIFSContext() {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    
    /**
     * Test class for Smb3KeyDerivation.
     * Tests the SMB3 SP800-108 Counter Mode Key Derivation implementation.
     */
    @DisplayName("Smb3KeyDerivation Tests")
    class Smb3KeyDerivationTest {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

        }
    
        @Test
        @DisplayName("Test constructor with FILE_INTERNAL_INFO level")
        void testConstructorWithFileInternalInfo() {
            response = new Trans2QueryPathInformationResponse(mockConfig, FileInformation.FILE_INTERNAL_INFO);
    
            assertNotNull(response);
            assertEquals(SmbComTransaction.TRANS2_QUERY_PATH_INFORMATION, response.getSubCommand());
        }
    
        @Test
        @DisplayName("Test getInfo when info is null")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SpnegoContextTest.java

        }
    
        @Test
        @DisplayName("getFlags delegates to underlying mechanism context")
        void testGetFlagsDelegates() {
            SpnegoContext ctx = newContext();
            when(this.mechContext.getFlags()).thenReturn(0xCAFE);
            assertEquals(0xCAFE, ctx.getFlags());
            verify(this.mechContext, times(1)).getFlags();
        }
    
        @Test
        @DisplayName("dispose delegates to underlying mechanism context")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top