- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 615 for verifyCn (0.24 sec)
-
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
// When encryptionContext.secureWipeKeys(); // Then - Verify keys are wiped (we can't directly access private fields, // but we can verify the context behaves correctly after wiping) // After wiping, operations that require keys should failRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java
} /** * Verify that root causes are stored and returned correctly. */ @Test @DisplayName("Root cause propagation") void testRootCausePropagation() { Throwable root = mock(Throwable.class); SmbException ex = new SmbException(0, root); assertSame(root, ex.getRootCause()); } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
// Verify lengths assertEquals(2, setupWritten); assertEquals(6, paramWritten); assertEquals(56, dataWritten); // 50 + 6 padding // Verify setup content assertEquals(SmbComTransaction.TRANS2_SET_FILE_INFORMATION, setupBuffer[0]); assertEquals(0x00, setupBuffer[1]); // Verify parameter contentRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
} else { // If delete fails, at least verify copy succeeded log.warn("Could not delete source after copy, but continuing"); deleted = true; // Proceed anyway } } } // Verify results with fresh context CIFSContext checkContext = createFreshContext();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt
peer.sendFrame().settings(Settings()) peer.acceptFrame() // ACK peer.sendFrame().ping(false, 2, 3) peer.acceptFrame() // PING peer.play() // Play it back. connect(peer) // Verify the peer received what was expected. val ping = peer.takeFrame() assertThat(ping.type).isEqualTo(Http2.TYPE_PING) assertThat(ping.streamId).isEqualTo(0) assertThat(ping.payload1).isEqualTo(2)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 75.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmContext.java
throw new CIFSException(String.format("Invalid MIC sequence, expect %d have %d", expectSeq, seq)); } final byte[] verify = new byte[8]; System.arraycopy(mic, 4, verify, 0, 8); if (!MessageDigest.isEqual(trunc, verify)) { if (log.isDebugEnabled()) { log.debug(String.format("Seq = %d ver = %d encrypted = %s", seq, ver, encrypted));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 17.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
assertFalse(filter.accept(mockDir, "image.png"), "Should reject non-.txt files"); assertFalse(filter.accept(mockDir, null), "Should reject null names"); // Verify getPath was called three times (once for each accept call) verify(mockDir, times(3)).getPath(); verifyNoMoreInteractions(mockDir); } /** * Defensive behavior: implementation throws NPE on null inputs by design. */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java
// Verify all methods were called verify(mockBasicFileInfo).getAttributes(); verify(mockBasicFileInfo).getCreateTime(); verify(mockBasicFileInfo).getLastWriteTime(); verify(mockBasicFileInfo).getLastAccessTime(); verify(mockBasicFileInfo).getSize(); verify(mockBasicFileInfo).getFileInformationLevel(); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryTest.java
assertEquals(12345L, size); // Verify precise interactions verify(mockEntry, times(1)).getName(); verify(mockEntry, times(2)).getType(); verify(mockEntry, times(1)).getAttributes(); verify(mockEntry, times(1)).createTime(); verify(mockEntry, times(1)).lastModified(); verify(mockEntry, times(1)).lastAccess(); verify(mockEntry, times(1)).length();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java
ndrLong.decode(mockNdrBuffer); // Verify that dec_ndr_long was called exactly once verify(mockNdrBuffer, times(1)).dec_ndr_long(); // Verify that the value field was updated correctly assertEquals(decodedValue, ndrLong.value, "Decode should correctly assign the value returned by dec_ndr_long."); // Verify that no other interactions occurred with the mock buffer
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0)