Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 200 for succeeded (0.05 sec)

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

            verify(handle, times(1)).release();
            verifyNoMoreInteractions(handle);
        }
    
        @Test
        @DisplayName("ensureDFSResolved(): no exception when underlying call succeeds")
        void ensureDFSResolved_success() throws Exception {
            // Arrange: default mock does nothing
    
            // Act: call method under test
            handle.ensureDFSResolved();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt

          val uri = url.toUri()
          if (uri.host == null) return immutableListOf(Proxy.NO_PROXY)
    
          // Try each of the ProxySelector choices until one connection succeeds.
          val proxiesOrNull = address.proxySelector.select(uri)
          if (proxiesOrNull.isNullOrEmpty()) return immutableListOf(Proxy.NO_PROXY)
    
          return proxiesOrNull.toImmutableList()
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorFactory.java

        }
    
        /**
         * Retrieves an extractor for the specified key.
         * If multiple extractors are associated with the key, returns a composite extractor
         * that tries each extractor in order until one succeeds.
         *
         * @param key the key to look up
         * @return the extractor for the key, or null if not found
         */
        public Extractor getExtractor(final String key) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/SmbException.java

        /**
         * Error severity levels
         */
        public enum Severity {
            RECOVERABLE, // Can retry the operation
            TRANSIENT, // Temporary error, retry after delay
            PERMANENT, // Operation cannot succeed
            FATAL // Connection or session must be terminated
        }
    
        /**
         * Error categories
         */
        public enum Category {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/CredentialsInternalTest.java

                TestCredentials creds = new TestCredentials("X", false, false, null, false);
                assertNull(creds.getSubject());
            }
        }
    
        @Test
        @DisplayName("refresh succeeds when not configured to fail")
        void refresh_success() throws Exception {
            TestCredentials creds = new TestCredentials("Z", false, false, new Subject(), false);
            // Should not throw
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            // Prepare a minimal locator
            SmbResourceLocatorImpl loc = new SmbResourceLocatorImpl(ctx, smbUrl("smb://srv/share/path"));
    
            // Setup a tree that will fail with transport error first, then succeed
            SmbTreeImpl tree = mock(SmbTreeImpl.class);
            when(tree.acquire(false)).thenReturn(tree);
    
            CommonServerMessageBlockRequest req = mock(CommonServerMessageBlockRequest.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java

         */
        public void setOffset(final long offset) {
            this.offset = offset;
        }
    
        /**
         * Sets the minimum number of bytes that must be read for the operation to succeed
         *
         * @param minimumCount
         *            the minimumCount to set
         */
        public void setMinimumCount(final int minimumCount) {
            this.minimumCount = minimumCount;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/dtyp/ACE.java

     * <code>FILE_WRITE_DATA</code> bit on (bit <code>0x00000002</code>). Actually, this isn't quite correct. If
     * <code>WNET\alice</code> is in the local <code>Administrators</code> group the access check
     * will succeed because the inherited ACE allows local <code>Administrators</code>
     * both <code>FILE_READ_DATA</code> and <code>FILE_WRITE_DATA</code> access.
     *
     */
    public class ACE implements jcifs.ACE, Decodable {
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

        }
    
        @Test
        @DisplayName("Iterator with filter throwing exception")
        void iteratorWithFilterException() throws Exception {
            // Setup: first attempt throws, second succeeds
            FileEntry entry1 = mock(FileEntry.class);
            FileEntry entry2 = mock(FileEntry.class);
    
            when(delegate.hasNext()).thenReturn(true, true, false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/transport/TransportTest.java

                transport.setConnectFails(true);
                assertThrows(TransportException.class, () -> transport.connect(1000));
            }
    
            @Test
            @DisplayName("disconnect should succeed when connected")
            void shouldDisconnectWhenConnected() throws IOException {
                transport.setState(3); // Connected
                assertFalse(transport.disconnect(false));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top