- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 706 for verifyCn (0.04 sec)
-
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 (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
} @Test void constructor_shouldInitializeFields() throws Exception { // Verify configuration is set Field configField = NameServicePacket.class.getDeclaredField("config"); configField.setAccessible(true); assertSame(mockConfig, configField.get(response)); // Verify queryAddress is set Field queryAddressField = NodeStatusResponse.class.getDeclaredField("queryAddress");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/RequestTest.java
verify(mockRequest, times(1)).getCreditCost(); // Verify method was called once } @Test 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);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K 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/witness/WitnessClientTest.java
// Unregister client.unregister(registration).get(5, TimeUnit.SECONDS); assertEquals(0, client.getActiveRegistrationCount()); verify(mockRpc).register(any(WitnessRegisterRequest.class)); verify(mockRpc).unregister(any(WitnessUnregisterRequest.class)); client.close(); } @Test void testGetWitnessServer() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/WinErrorTest.java
handler.handle(WinError.WINERR_CODES[i], WinError.WINERR_MESSAGES[i]); } // Verify the collaborator is invoked exactly N times verify(handler, times(WinError.WINERR_CODES.length)).handle(anyInt(), anyString()); // Capture one known interaction to verify argument integrity ArgumentCaptor<Integer> codeCap = ArgumentCaptor.forClass(Integer.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpFilterTest.java
filter.doFilter(request, response, filterChain); verify(response).setStatus(HttpServletResponse.SC_UNAUTHORIZED); verify(response).setHeader("WWW-Authenticate", "NTLM"); verify(response).addHeader("WWW-Authenticate", "Basic realm=\"TestRealm\""); verify(filterChain, never()).doFilter(any(), any()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandleTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ServletRuntimeExceptionTest.java
ServletRuntimeException runtimeException = new ServletRuntimeException(servletException); // Verify that the cause is correctly set assertNotNull(runtimeException); assertEquals(servletException, runtimeException.getCause()); // Verify that the message is preserved from the cause assertTrue(runtimeException.getMessage().contains(ServletException.class.getName()));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 5.8K bytes - Viewed (0)