- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 878 for Verify (0.04 sec)
-
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
byte[] buffer = new byte[100]; assertTrue(testBlock.verifySignature(buffer, 0, 100)); verify(mockDigest, never()).verify(any(), anyInt(), anyInt(), anyInt(), any()); } @Test @DisplayName("Test verify signature success") void testVerifySignatureSuccess() { testBlock.setDigest(mockDigest); testBlock.setErrorCode(0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java
import static org.junit.jupiter.api.Assertions.assertThrows; import static org.mockito.Mockito.clearInvocations; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.verifyNoInteractions; import static org.mockito.Mockito.when; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
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) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmSspTest.java
// Verify assertNull(result, "Authentication result should be null"); verify(mockResponse).setHeader("WWW-Authenticate", "NTLM"); verify(mockResponse).setStatus(HttpServletResponse.SC_UNAUTHORIZED); verify(mockResponse).setContentLength(0); verify(mockResponse).flushBuffer(); } /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.4K bytes - Viewed (1) -
src/test/java/jcifs/ResolverTypeTest.java
*/ class ResolverTypeTest { /** * Tests that all expected enum constants exist. */ @Test void testEnumConstants() { // Verify that each enum constant exists and can be referenced assertNotNull(ResolverType.RESOLVER_WINS, "RESOLVER_WINS should not be null."); assertNotNull(ResolverType.RESOLVER_BCAST, "RESOLVER_BCAST should not be null.");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcMessageTest.java
message.encode(mockBuffer); // Verify key operations happened verify(mockBuffer).enc_ndr_small(5); // RPC version verify(mockBuffer).enc_ndr_long(0x00000010); // Little-endian / ASCII / IEEE verify(mockBuffer).enc_ndr_long(message.call_id); verify(mockBuffer).enc_ndr_short(message.getOpnum()); // opnum
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SpnegoContextTest.java
assertNotNull(out); assertTrue(out.length > 0); // Verify interactions: flags and an empty optimistic token are used verify(this.mechContext, times(1)).getFlags(); ArgumentCaptor<byte[]> cap = ArgumentCaptor.forClass(byte[].class); verify(this.mechContext, times(1)).initSecContext(cap.capture(), eq(0), eq(0));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java
// Verify the bytes written assertTrue(bytesWritten > 0); // Verify max setup count is written at position 0 assertEquals(2, dst[0]); // Verify reserved bytes assertEquals(0, dst[1]); assertEquals(0, dst[2]); // Verify total parameter count (4 bytes at position 3)Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java
// execute ToolchainPrivate[] toolchains = toolchainManager.getToolchainsForType("basic", session); // verify verify(logger, never()).error(anyString()); assertEquals(1, toolchains.length); } @Test void testToolchainsForUnknownType() throws Exception { // prepareRegistered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 11K bytes - Viewed (0)