Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 346 for display_name (0.08 sec)

  1. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

            }
        }
    
        @Nested
        @DisplayName("Constants Tests")
        class ConstantsTests {
    
            @Test
            @DisplayName("Should have correct SMB2_READFLAG_READ_UNBUFFERED value")
            void testReadUnbufferedFlag() {
                assertEquals((byte) 0x1, Smb2ReadRequest.SMB2_READFLAG_READ_UNBUFFERED);
            }
    
            @Test
            @DisplayName("Should have correct SMB2_CHANNEL_NONE value")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/EmptyIteratorTest.java

    import java.util.Iterator;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.RepeatedTest;
    import org.junit.jupiter.api.Test;
    
    /**
     * Comprehensive test suite for EmptyIterator class.
     * Tests the implementation of CloseableIterator for empty collections.
     */
    @DisplayName("EmptyIterator Tests")
    class EmptyIteratorTest extends BaseTest {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

            }
    
            @Test
            @DisplayName("Should not throw when preparing with null next response")
            void testPrepareWithNullNext() {
                assertDoesNotThrow(() -> response.prepare(mockRequest));
            }
        }
    
        @Nested
        @DisplayName("State Management Tests")
        class StateManagementTests {
    
            @Test
            @DisplayName("Should reset state correctly")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

            @Test
            @DisplayName("isCancel should always return false")
            void testIsCancel() {
                assertFalse(testRequest.isCancel());
            }
    
            @Test
            @DisplayName("getCreditCost should return 1 by default")
            void testGetCreditCost() {
                assertEquals(1, testRequest.getCreditCost());
            }
    
            @Test
            @DisplayName("setRequestCredits should set credit value")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/https/HandlerTest.java

            @DisplayName("Should extend jcifs.smb1.http.Handler")
            void testInheritance() {
                // Then
                assertTrue(handler instanceof jcifs.smb1.http.Handler);
                assertTrue(handler instanceof URLStreamHandler);
            }
        }
    
        @Nested
        @DisplayName("Default Port Tests")
        class DefaultPortTests {
    
            @Test
            @DisplayName("Should return HTTPS port 443")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

    import static org.mockito.Mockito.verify;
    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
    - 17.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

    import java.net.URLStreamHandlerFactory;
    import java.util.ArrayList;
    import java.util.List;
    
    import org.junit.jupiter.api.BeforeAll;
    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.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
    - 12.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

        }
    
        @Test
        @DisplayName("Constructor with null file ID should accept null")
        void testConstructorWithNullFileId() {
            // Should not throw exception
            Smb2FlushRequest requestWithNull = new Smb2FlushRequest(mockConfig, null);
            assertNotNull(requestWithNull);
        }
    
        @Test
        @DisplayName("setFileId should update file ID")
        void testSetFileId() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbSessionTest.java

    import static org.mockito.Mockito.when;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    
    @DisplayName("SmbSession Interface Contract Tests")
    class SmbSessionTest {
    
        @Nested
        @DisplayName("AutoCloseable Contract Tests")
        class AutoCloseableContractTest {
    
            @Test
            @DisplayName("Should implement AutoCloseable interface")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

            }
    
            @Test
            @DisplayName("Should create lock with negative values")
            void testConstructorWithNegativeValues() {
                lock = new Smb2Lock(-1L, -1L, -1);
    
                assertNotNull(lock);
            }
        }
    
        @Nested
        @DisplayName("Size Tests")
        class SizeTests {
    
            @Test
            @DisplayName("Should return constant size of 24 bytes")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top