Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for Invocation (0.11 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. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Invoker.java

         *
         * @param invokerRequest the request containing all necessary information for the invocation
         * @return an integer representing the exit code of the invocation (0 typically indicates success)
         * @throws InvokerException if an error occurs during the invocation process.
         */
        int invoke(@Nonnull InvokerRequest invokerRequest) throws InvokerException;
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jan 31 20:56:58 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java

            // Setup for successful close
            ArgumentCaptor<MsrpcSamrCloseHandle> closeCaptor = ArgumentCaptor.forClass(MsrpcSamrCloseHandle.class);
            doAnswer(invocation -> {
                MsrpcSamrCloseHandle rpc = invocation.getArgument(0);
                rpc.retval = 0; // Simulate success
                return null;
            }).when(mockHandle).sendrecv(closeCaptor.capture());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
Back to top