Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 324 for Correct (0.04 sec)

  1. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

            void shouldImplementFileSystemInformation() {
                assertTrue(FileSystemInformation.class.isAssignableFrom(FileFsFullSizeInformation.class));
            }
    
            @Test
            @DisplayName("Should return correct file system information class")
            void shouldReturnCorrectFileSystemInformationClass() {
                assertEquals(FileSystemInformation.FS_FULL_SIZE_INFO, fileFsFullSizeInfo.getFileSystemInformationClass());
            }
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            recordNameField.setAccessible(true);
            assertNotNull(recordNameField.get(response));
    
            // Verify macAddress is initialized with correct size
            Field macAddressField = NodeStatusResponse.class.getDeclaredField("macAddress");
            macAddressField.setAccessible(true);
            byte[] macAddress = (byte[]) macAddressField.get(response);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/http/NtlmHttpServletRequestTest.java

        }
    
        /**
         * Test method for {@link NtlmHttpServletRequest#getUserPrincipal()}.
         * Verifies that the method returns the correct principal object.
         */
        @Test
        void testGetUserPrincipal() {
            // Act: Call the method under test
            Principal actualPrincipal = ntlmRequest.getUserPrincipal();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseStateTest.java

    /**
     * Unit tests for DirectoryLeaseState
     */
    public class DirectoryLeaseStateTest {
    
        @Test
        public void testDirectoryLeaseConstants() {
            // Test that directory lease states use correct base values
            assertEquals(Smb2LeaseState.SMB2_LEASE_READ_CACHING | Smb2LeaseState.SMB2_LEASE_HANDLE_CACHING,
                    DirectoryLeaseState.DIRECTORY_READ_HANDLE);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java

        private Trans2GetDfsReferral trans2GetDfsReferral;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        @DisplayName("Constructor should initialize with correct values")
        void testConstructor() throws Exception {
            // Given
            String filename = "\\\\server\\share\\file.txt";
    
            // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. docs/changelogs/changelog_1x.md

     * Fix: Change HTTP date formats to UTC to conform to RFC2616 section 3.3.
     * Fix: Support SPDY header blocks with trailing bytes.
     * Fix: Allow `;` as separator for `Cache-Control` header.
     * Fix: Correct bug where HTTPS POST requests were always automatically buffered.
     * Fix: Honor read timeout when parsing SPDY headers.
    
    
    ## Version 1.2.1
    
    _2013-08-23_
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    @DisplayName("Smb2LeaseKey Tests")
    class Smb2LeaseKeyTest {
    
        @Test
        @DisplayName("Should generate random lease key with correct size")
        void testRandomLeaseKeyGeneration() {
            Smb2LeaseKey key = new Smb2LeaseKey();
    
            assertNotNull(key.getKey());
            assertEquals(16, key.getKey().length);
            assertFalse(key.isZero());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java

         */
        @Test
        void testGetFlags() {
            int expectedFlags = 0xAABBCCDD;
            AvFlags avFlags = new AvFlags(expectedFlags);
            assertEquals(expectedFlags, avFlags.getFlags(), "getFlags should return the correct integer value");
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ntlmssp/av/AvTargetNameTest.java

            assertEquals(targetName, avTargetName.getTargetName(), "Retrieved target name should match the original string");
        }
    
        /**
         * Test getTargetName() method with raw bytes input.
         * Verifies that the correct string is reconstructed from raw UTF-16LE bytes.
         */
        @Test
        void testGetTargetNameFromRawBytesConstructor() {
            String originalString = "RawBytesTarget";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/transport/RequestTest.java

        void testSetRequestCredits() {
            // Test case for setRequestCredits method
            int credits = 5;
            mockRequest.setRequestCredits(credits);
    
            // Verify that setRequestCredits was called with the correct argument
            verify(mockRequest, times(1)).setRequestCredits(credits);
        }
    
        @Test
        void testIsCancelTrue() {
            // Test case for isCancel method when it returns true
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
Back to top