Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 706 for verifyCn (0.05 sec)

  1. src/test/java/jcifs/smb/SmbNamedPipeTest.java

            // Act
            pipe.customizeCreate(req, resp);
    
            // Assert: verify interactions with dependencies
            verify(req, times(1)).addFlags0(0x16);
            verify(resp, times(1)).setExtended(true);
            verify(resp, never()).setExtended(false);
        }
    
        @Test
        @DisplayName("openPipe returns a handle bound to this pipe")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/config/DelegatingConfigurationTest.java

            verify(mockDelegate).getLanManCompatibility();
            verify(mockDelegate).isAllowNTLMFallback();
            verify(mockDelegate).isUseRawNTLM();
            verify(mockDelegate).isDisablePlainTextPasswords();
            verify(mockDelegate).getGuestUsername();
            verify(mockDelegate).getGuestPassword();
            verify(mockDelegate).isAllowGuestFallback();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/NotifyResponseTest.java

            assertEquals(mockNotifyInfo2, notifications.get(1));
    
            // Verify first notification
            FileNotifyInformation info1 = notifications.get(0);
            assertEquals(FileNotifyInformation.FILE_ACTION_ADDED, info1.getAction());
            assertEquals("test1.txt", info1.getFileName());
    
            // Verify second notification
            FileNotifyInformation info2 = notifications.get(1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java

            int result = response.readDataWireFormat(buffer, bufferIndex, len);
    
            // Verify the result
            assertEquals(len, result, "readDataWireFormat should return the length of data read.");
    
            // Verify that the receive method on the input stream was called exactly once
            verify(mockPipeIn, times(1)).receive(buffer, bufferIndex, len);
        }
    
        /**
         * Tests the toString method.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java

                entry.encode(mockNdrBuffer);
    
                // Then: Should encode all fields
                verify(mockNdrBuffer).align(4);
                verify(mockNdrBuffer).enc_ndr_long(1);
                verify(mockNdrBuffer).enc_ndr_short((short) 4);
                verify(mockNdrBuffer).enc_ndr_short((short) 6);
                verify(mockNdrBuffer).enc_ndr_referent(entry.name.buffer, 1);
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/FileNotifyInformationTest.java

        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")
            void testFileNotifyChangeDirName() {
    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/util/SecureKeyManagerTest.java

            byte[] rawKey = keyManager.getRawKey(sessionId);
            assertNotNull(rawKey, "Should retrieve raw key");
            assertArrayEquals(testKey, rawKey, "Raw key should match");
    
            // Verify we get a copy, not the original
            rawKey[0] = (byte) ~rawKey[0];
            byte[] rawKey2 = keyManager.getRawKey(sessionId);
            assertArrayEquals(testKey, rawKey2, "Should still match original");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/context/AbstractCIFSContextTest.java

            CIFSContext wrappedContext = context.withCredentials(newCreds);
    
            assertNotNull(wrappedContext);
            assertTrue(wrappedContext instanceof CIFSContextCredentialWrapper);
            // Verify that the new context uses the provided credentials
            assertEquals(newCreds, wrappedContext.getCredentials());
        }
    
        @Test
        void testWithAnonymousCredentials() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/ByteEncodableTest.java

            byte[] dest = new byte[5];
    
            int encodedLen = encodable.encode(dest, 0);
    
            // Verify encoded length
            assertEquals(3, encodedLen, "Encoded length should be equal to the specified length");
    
            // Verify content
            assertArrayEquals(new byte[] { 0x02, 0x03, 0x04, 0x00, 0x00 }, dest, "Encoded bytes should match the expected subset");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

                entry.encode(mockNdrBuffer);
    
                // Then: Should encode all fields
                verify(mockNdrBuffer).align(4);
                verify(mockNdrBuffer).enc_ndr_long(1);
                verify(mockNdrBuffer).enc_ndr_short((short) 4);
                verify(mockNdrBuffer).enc_ndr_short((short) 6);
                verify(mockNdrBuffer).enc_ndr_referent(entry.name.buffer, 1);
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.7K bytes
    - Viewed (0)
Back to top