Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 223 for Successful (0.03 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java

        void testClose_Successful() throws IOException {
            // Test case: close() when opened and successful MsrpcSamrCloseHandle
            String server = "testServer";
            int access = 123;
    
            // Setup for successful constructor
            doNothing().when(mockHandle).sendrecv(any(MsrpcSamrConnect4.class));
    
            // Setup for successful close
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java

            RangeQueryBuilder rangeQuery = (RangeQueryBuilder) deleteQuery;
            assertEquals("expires", rangeQuery.fieldName());
            assertEquals("now", rangeQuery.to());
    
            // Assert result is empty when successful
            assertEquals("", result);
        }
    
        public void test_execute_withException() {
            // Create mock SearchEngineClient that throws exception
            searchEngineClient = new SearchEngineClient() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/ASN1UtilTest.java

    /**
     * Tests for the {@link ASN1Util} class.
     */
    class ASN1UtilTest {
    
        // --- as(Class, Object) ---
    
        @Test
        void testAs_Object_Success() throws PACDecodingException {
            // Test successful casting
            String expected = "test string";
            Object obj = expected;
            String result = ASN1Util.as(String.class, obj);
            assertSame(expected, result);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/cache/RequestResult.java

     * @param request The original request that was processed
     * @param result The result of the request, if successful; may be null if an error occurred
     * @param error Any error that occurred during processing; null if the request was successful
     * @since 4.0.0
     */
    @Experimental
    public record RequestResult<REQ extends Request<?>, REP extends Result<REQ>>(
            /**
             * The original request that was processed
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  5. src/main/config/openapi/openapi-user.yaml

              in: query
              description: Callback name for using JSONP
              required: false
              schema:
                type: string
          responses:
            '200':
              description: Successful operation
              content:
                application/json:
                  schema:
                    type: object
                    properties:
                      q:
                        type: string
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu May 09 06:31:27 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

            HandleGuid guid = new HandleGuid();
    
            // Create handle info with empty file ID (will be populated after successful create response)
            HandleInfo info = new HandleInfo(path, guid, new byte[16], type, timeout, leaseKey);
    
            lock.writeLock().lock();
            try {
                handles.put(path, info);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java

        }
    
        @Test
        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;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/NameQueryResponseTest.java

        @Test
        void readRDataWireFormat_shouldSetNbtAddress_whenAddressIsNonZero_groupNameFalse_nodeTypeZero()
                throws NoSuchFieldException, IllegalAccessException {
            // Prepare superclass fields for successful parsing
            setSuperclassFieldsForSuccessfulParsing();
    
            byte[] src = new byte[10];
            int srcIndex = 0;
    
            // Simulate groupName = false (0x00), nodeType = 0 (0x00) -> src[srcIndex] = 0x00
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/NetServerEnumIteratorTest.java

            when(locator.getType()).thenReturn(SmbConstants.TYPE_WORKGROUP);
            when(locator.getURL()).thenReturn(createSmbURL("smb://"));
    
            // 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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/witness/WitnessUnregisterResponse.java

        public WitnessUnregisterResponse() {
            // Default constructor
        }
    
        private int returnCode;
        private String error;
    
        /**
         * Checks if the unregistration was successful.
         *
         * @return true if successful
         */
        public boolean isSuccess() {
            return returnCode == 0;
        }
    
        /**
         * Gets a human-readable error description.
         *
         * @return the error description
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 2K bytes
    - Viewed (0)
Back to top