Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 1,122 for fails (0.49 sec)

  1. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            // Mock transports
            SmbTransportImpl trans1 = mock(SmbTransportImpl.class);
            SmbTransportImpl trans2 = mock(SmbTransportImpl.class);
    
            // trans2 fails first (lower fail count, tried first), trans1 succeeds
            when(trans2.unwrap(SmbTransportImpl.class)).thenReturn(trans2);
            when(trans2.ensureConnected()).thenThrow(new IOException("Connection failed"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

         *
         * @param thumbnailId the identifier for the thumbnail being generated
         * @param cmdList the list of command arguments to execute
         * @return the exit code of the process if it finishes normally; -1 if the process fails or is terminated
         */
        protected int executeCommand(final String thumbnailId, final List<String> cmdList) {
            ProcessDestroyer task = null;
            Process p = null;
            InputStreamThread ist = null;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Fri Jul 18 14:34:06 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/job/SuggestJob.java

        }
    
        /**
         * Executes the suggest creator process.
         * This method constructs the command line arguments and starts the process.
         * @throws JobProcessingException if the process fails.
         */
        protected void executeSuggestCreator() {
            final List<String> cmdList = new ArrayList<>();
            final String cpSeparator = SystemUtils.IS_OS_WINDOWS ? ";" : ":";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/ACE.java

     * and access mask are considered. If the ACE is a "deny"
     * ACE and <i>any</i> of the desired access bits match bits in the access
     * mask of the ACE, the whole access check fails. If the ACE is an "allow"
     * ACE and <i>all</i> of the bits in the desired access bits match bits in
     * the access mask of the ACE, the access check is successful. Otherwise,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbTreeTest.java

        void testClose_throwsException() {
            doThrow(new RuntimeException("Failed to close")).when(smbTree).close();
    
            assertThrows(RuntimeException.class, () -> smbTree.close(), "Should propagate exception when close fails");
        }
    
        /**
         * Test for AutoCloseable functionality.
         * Verifies that SmbTree can be used in try-with-resources.
         */
        @Test
        void testAutoCloseable() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

         * Sets up the classpath, JVM options, and command line arguments
         * to launch the ThumbnailGenerator in a separate process.
         *
         * @throws JobProcessingException if the thumbnail generation process fails
         */
        protected void executeThumbnailGenerator() {
            final List<String> cmdList = new ArrayList<>();
            final String cpSeparator = SystemUtils.IS_OS_WINDOWS ? ";" : ":";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        assertEquals(0, numCalls.get());
        reject.set(false);
        executor.execute(task);
        assertEquals(1, numCalls.get());
      }
    
      /*
       * Under Android, MyError propagates up and fails the test?
       *
       * TODO(b/218700094): Does this matter to prod users, or is it just a feature of our testing
       * environment? If the latter, maybe write a custom Executor that avoids failing the test when it
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/http/NtlmServletTest.java

                verify(response, never()).setStatus(HttpServletResponse.SC_UNAUTHORIZED);
            }
        }
    
        /**
         * Test the service method with NTLM authentication that fails.
         * Expects a 401 Unauthorized response.
         * @throws ServletException
         * @throws IOException
         * @throws CIFSException
         */
        @Test
        void testService_NtlmAuth_Failure() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java

        }
    
        @Test
        void testConstructorWithDecryptionFailure() throws IOException, GeneralSecurityException {
            // Test when decryption fails
            byte[] token = createTestTicketBytes(new BigInteger(KerberosConstants.KERBEROS_VERSION), SERVER_REALM, SERVER_PRINCIPAL_NAME,
                    ENCRYPTION_TYPE, ENCRYPTED_DATA, null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

            when(handle.getFid()).thenReturn(fid);
            when(tree.send(any(CommonServerMessageBlockRequest.class), any(), any(), any())).thenReturn(resp);
        }
    
        // Ensures watch() fails fast if the underlying handle is invalid
        @Test
        @DisplayName("watch() throws when handle invalid")
        void watch_invalidHandle_throwsSmbException() throws Exception {
            when(handle.isValid()).thenReturn(false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top