Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 344 for DisplayName (0.98 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

        }
    
        @Test
        @DisplayName("Test inheritance from ServerMessageBlock2Response")
        void testInheritance() {
            response = new Smb2QueryInfoResponse(mockConfig, (byte) 1, (byte) 2);
            assertTrue(response instanceof ServerMessageBlock2Response);
            assertTrue(response instanceof ServerMessageBlock2);
        }
    
        @Test
        @DisplayName("Test OVERHEAD constant value")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/AllocInfoTest.java

                // Simple test implementation - not used in these tests
                return 0;
            }
        }
    
        @Nested
        @DisplayName("Interface Contract Tests")
        class InterfaceContractTests {
    
            @Test
            @DisplayName("Should implement FileSystemInformation interface")
            void shouldImplementFileSystemInformation() {
                // Verify that AllocInfo extends FileSystemInformation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top