- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 65 for Invocation (0.09 seconds)
-
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
// Mock successful but empty response when(treeHandle.send(any(), any(), (RequestParam[]) any())).thenAnswer(invocation -> { // The response is the second argument Object response = invocation.getArgument(1); // Return it unchanged (which will have default values = empty results) return response; });Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.8K bytes - Click Count (0) -
ci/official/utilities/extract_resultstore_links.py
continue url = result_store_line_match.group(1) url_lines = result_store_links.setdefault(url, {}) # Each bazel RBE invocation should produce two # 'Streaming build results to: ...' lines, one at the start, and one at the # end of the invocation. # If there's a failure message, it will be found in-between these two. if not current_url: url_lines['start'] = iCreated: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Wed Nov 08 17:50:27 GMT 2023 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmHttpFilterTest.java
when(filterConfig.getInitParameterNames()).thenReturn(Collections.enumeration(initParams.keySet())); when(filterConfig.getInitParameter(anyString())).thenAnswer(invocation -> initParams.get(invocation.getArgument(0))); assertDoesNotThrow(() -> filter.init(filterConfig)); } @Test void testInit_withMinimalConfig() throws ServletException {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 12.8K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
byte[] buf = new byte[4280]; // Use maxRecv size // Mock initial receive with valid PDU header when(mockSmbPipeHandleInternal.recv(buf, 0, buf.length)).thenAnswer(invocation -> { byte[] buffer = invocation.getArgument(0); buffer[0] = 5; // Valid PDU version buffer[1] = 0; // Valid PDU type Encdec.enc_uint16le((short) 50, buffer, 8); // Fragment length
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21K bytes - Click Count (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java
private String since; /** Reference the invocation phase of the Mojo. */ private String executePhase; /** Reference the invocation goal of the Mojo. */ private String executeGoal; /** Reference the invocation lifecycle of the Mojo. */ private String executeLifecycle; /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 21.7K bytes - Click Count (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java
when(mockClearScrollBuilder.addScrollId(any(String.class))).thenReturn(mockClearScrollBuilder); doAnswer(invocation -> { ActionListener<ClearScrollResponse> listener = invocation.getArgument(0); listener.onResponse(mock(ClearScrollResponse.class)); return null; }).when(mockClearScrollBuilder).execute(any(ActionListener.class));
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Nov 20 08:44:44 GMT 2025 - 17K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
if (lmCompatibility == 3 || lmCompatibility == 4 || lmCompatibility == 5) { // For LM compatibility 3-5, only 16 bytes are used doAnswer(invocation -> { byte[] dest = invocation.getArgument(2); int offset = invocation.getArgument(3); System.arraycopy(new byte[16], 0, dest, offset, 16); return null;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmServletTest.java
lenient().when(servletConfig.getInitParameterNames()).thenReturn(Collections.enumeration(initParams.keySet())); lenient().when(servletConfig.getInitParameter(anyString())).thenAnswer(invocation -> initParams.get(invocation.getArgument(0))); // Mock HTTP method for request - this is required for HttpServlet.service() lenient().when(request.getMethod()).thenReturn("GET");Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
// Mock transport.connect() to succeed doNothing().when(transport).connect(); // Setup response for tree connect doAnswer(invocation -> { ServerMessageBlock request = invocation.getArgument(0); ServerMessageBlock response = invocation.getArgument(1); if (request instanceof SmbComTreeConnectAndX && response instanceof SmbComTreeConnectAndXResponse) {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 10.2K bytes - Click Count (0) -
src/test/java/jcifs/util/HMACT64Test.java
when(mockMd5.digest()).thenReturn(innerDigest); when(mockMd5.digest(buffer, 0, expectedOutput.length)).thenAnswer(invocation -> { byte[] b = invocation.getArgument(0); int off = invocation.getArgument(1); int l = invocation.getArgument(2); System.arraycopy(expectedOutput, 0, b, off, l); return l; });Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.6K bytes - Click Count (0)