Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 354 for displayName (0.07 sec)

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

            }
        }
    
        @Nested
        @DisplayName("Getter Methods Tests")
        class GetterMethodsTests {
    
            @Test
            @DisplayName("getCloseFlags should return initial value of 0")
            void testGetCloseFlags() {
                assertEquals(0, response.getCloseFlags());
            }
    
            @Test
            @DisplayName("getCreationTime should return initial value of 0")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java

    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    
    /**
     * Unit tests for {@link SmbFileFilter}. The filter interface is small; the
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/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.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

            @Test
            @DisplayName("Should initialize with self-referencing next")
            void testConstructorInitialization() {
                DfsReferralDataImpl data = new DfsReferralDataImpl();
                assertNotNull(data.next());
                assertSame(data, data.next());
            }
        }
    
        @Nested
        @DisplayName("Unwrap Tests")
        class UnwrapTests {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java

    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.verifyNoInteractions;
    
    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.NullAndEmptySource;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/FileNotifyInformationTest.java

        }
    
        @Nested
        @DisplayName("Filter Flags Constants Tests")
        class FilterFlagsTests {
    
            @Test
            @DisplayName("Verify FILE_NOTIFY_CHANGE_FILE_NAME constant value")
            void testFileNotifyChangeFileName() {
                assertEquals(0x00000001, FileNotifyInformation.FILE_NOTIFY_CHANGE_FILE_NAME);
            }
    
            @Test
            @DisplayName("Verify FILE_NOTIFY_CHANGE_DIR_NAME constant value")
    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/internal/CommonServerMessageBlockRequestTest.java

        @DisplayName("Test split returns null when no following message")
        void testSplitWithNoFollowingMessage() {
            // Given
            when(request.split()).thenReturn(null);
    
            // When
            CommonServerMessageBlockRequest result = request.split();
    
            // Then
            assertNull(result);
            verify(request, times(1)).split();
        }
    
        @Test
        @DisplayName("Test size returns positive message size")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

            handle = new TestDcerpcHandle(mockContext, mockBinding);
        }
    
        @Nested
        @DisplayName("Binding Parsing Tests")
        class BindingParsingTests {
    
            @ParameterizedTest
            @DisplayName("Should parse valid binding URLs correctly")
            @CsvSource({ "'ncacn_np:\\\\server[endpoint=\\pipe\\srvsvc]', ncacn_np, server, '\\pipe\\srvsvc'",
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/StringsTest.java

     * Tests all string encoding/decoding operations and utility methods.
     */
    @DisplayName("Strings Utility Tests")
    class StringsTest {
    
        private static final String TEST_STRING = "Hello World";
        private static final String UNICODE_STRING = "Hello δΈ–η•Œ 🌍";
        private static final String ASCII_STRING = "ASCII Test";
    
        @Nested
        @DisplayName("Basic Encoding Methods")
        class BasicEncodingTests {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  10. 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)
Back to top