Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 385 for display_name (0.07 seconds)

  1. src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java

        }
    
        @Test
        @DisplayName("getResponse before initResponse returns null")
        void getResponseInitiallyNull() {
            SmbComNTCreateAndX req = createRequest(0, 0);
            assertNull(req.getResponse(), "Before init, response is null");
        }
    
        @Test
        @DisplayName("toString representation contains expected fields")
        void toStringContainsKeyData() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  2. 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")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  3. src/test/java/jcifs/ConfigurationTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    
    /**
     * Test class for Configuration interface functionality
     */
    @DisplayName("Configuration Interface Tests")
    class ConfigurationTest extends BaseTest {
    
        @Mock
        private Configuration mockConfig;
    
        @Test
        @DisplayName("Should define all configuration methods")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  4. 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")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.8K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb1/util/MimeMapTest.java

            }
        }
    
        @Nested
        @DisplayName("Constructor and initialization")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create MimeMap instance successfully")
            void testConstructor() {
                assertDoesNotThrow(() -> new MimeMap());
            }
    
            @Test
            @DisplayName("Should load mime.map resource properly")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  6. 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
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    /**
     * Test class for SecurityInfo interface constants
     */
    class SecurityInfoTest {
    
        @Test
        @DisplayName("Test OWNER_SECURITY_INFO constant value")
        void testOwnerSecurityInfo() {
            assertEquals(0x1, SecurityInfo.OWNER_SECURITY_INFO);
        }
    
        @Test
        @DisplayName("Test GROUP_SECURITY_INFO constant value")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  8. src/test/java/jcifs/CIFSContextTest.java

    import java.net.URLStreamHandler;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    
    /**
     * Test class for CIFSContext interface functionality
     */
    @DisplayName("CIFSContext Tests")
    class CIFSContextTest extends BaseTest {
    
        @Mock
        private CIFSContext mockContext;
    
        @Test
        @DisplayName("Should define interface methods")
        void testCIFSContextInterface() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

            when(mockData.getDomain()).thenReturn("DOMAIN");
            return (DfsReferralDataImpl) base.combine(mockData);
        }
    
        @Nested
        @DisplayName("Interface Method Contract Tests")
        class InterfaceMethodTests {
    
            @Test
            @DisplayName("Should fixup host with FQDN")
            void testFixupHost() {
                String fqdn = "server.example.com";
    
                // Test with mock
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  10. 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")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.4K bytes
    - Click Count (0)
Back to Top