Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for Invocation (1.27 sec)

  1. src/test/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandleTest.java

            // Arrange
            String server = "testServer";
            int access = 123;
    
            // Mock the behavior of sendrecv for MsrpcLsarOpenPolicy2
            doAnswer(invocation -> {
                MsrpcLsarOpenPolicy2 rpc = invocation.getArgument(0);
                rpc.retval = 0; // Simulate success
                return null;
            }).when(mockDcerpcHandle).sendrecv(any(MsrpcLsarOpenPolicy2.class));
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java

            // Arrange
            String server = "testServer";
            int access = 123;
    
            // Mock the behavior of sendrecv for MsrpcLsarOpenPolicy2
            doAnswer(invocation -> {
                MsrpcLsarOpenPolicy2 rpc = invocation.getArgument(0);
                rpc.retval = 0; // Simulate success
                return null;
            }).when(mockDcerpcHandle).sendrecv(any(MsrpcLsarOpenPolicy2.class));
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java

        void constructor_shouldOpenDomainSuccessfully() throws IOException {
            // Arrange
            int access = 0x01; // Example access value
            // Simulate successful RPC call
            doAnswer(invocation -> {
                MsrpcSamrOpenDomain rpc = invocation.getArgument(0);
                rpc.retval = 0; // Success
                return null;
            }).when(mockDcerpcHandle).sendrecv(any(MsrpcSamrOpenDomain.class));
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java

            // Arrange
            int access = 1;
            int rid = 100;
    
            // Mock the behavior of sendrecv for MsrpcSamrOpenAlias
            doAnswer(invocation -> {
                MsrpcSamrOpenAlias rpc = invocation.getArgument(0);
                rpc.retval = 0; // Simulate success
                return null;
            }).when(mockDcerpcHandle).sendrecv(any(MsrpcSamrOpenAlias.class));
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java

            doAnswer(new Answer<Void>() {
                @Override
                public Void answer(InvocationOnMock invocation) throws Throwable {
                    SmbComReadAndX readCmd = invocation.getArgument(0);
                    SmbComReadAndXResponse response = invocation.getArgument(1);
                    response.dataLength = 1;
                    // The response buffer points to the internal tmp buffer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  6. 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 {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. 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;
            });
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

            }
        }
    
        // Test multiple invocations of hook method
        public void test_hook_multipleInvocations() {
            FwAssistantDirector assistantDirector = createMockAssistantDirector();
    
            // First invocation
            curtainFinallyHook.hook(assistantDirector);
    
            // Second invocation - should also work without issues
            curtainFinallyHook.hook(assistantDirector);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/common/ImplementedInvokerAssistant.java

            // Default constructor
        }
    
        /** Default client invoke names for DBFlute behavior invocation. */
        protected static final String[] DEFAULT_CLIENT_INVOKE_NAMES = { "Page", "Action", "Controller", "ControllerImpl", "Task", "Test" };
    
        /** Default bypass invoke names for DBFlute behavior invocation. */
        protected static final String[] DEFAULT_BYPASS_INVOKE_NAMES =
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  10. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java

        /**
         * Returns the top-level directory of the Maven invocation.
         * This is typically the directory containing the POM file being executed.
         *
         * @return the top-level directory path
         */
        @Nonnull
        Path topDirectory();
    
        /**
         * Returns the root directory of the Maven invocation, if found. This is determined by the presence of a
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 6.7K bytes
    - Viewed (0)
Back to top