Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 198 for delegates (0.05 sec)

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

        @Test
        @DisplayName("Constructor acquires tree connection; getConfig/isConnected delegate")
        void constructorAndSimpleDelegations() {
            // Ensures constructor acquires tree connection and simple delegate methods forward correctly
            // Verify constructor invoked acquire once
            verify(treeConnection, times(1)).acquire();
    
            // getConfig delegates
            when(treeConnection.getConfig()).thenReturn(config);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

            assertTrue(ex.getMessage().contains("boom"));
        }
    
        @Test
        @DisplayName("ensureTreeConnected delegates to handle")
        void ensureTreeConnected_delegates() throws Exception {
            // Verify ensureTreeConnected() delegates to SmbPipeHandleImpl
            SmbPipeInputStream stream = newStreamWithMinimalStubs(true);
            when(handle.ensureTreeConnected()).thenReturn(tree);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java

        // you should remove the 'final' if you need to override this
        /**
         * Hook method called before action execution.
         * This method refreshes the user information if a user is logged in
         * and delegates to the view helper's action hook.
         *
         * @param runtime the action runtime context
         * @return the action response, or null to continue with normal processing
         */
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/LittleEndianByteArray.java

     *
     * @author Kevin Damm
     * @author Kyle Maddison
     */
    final class LittleEndianByteArray {
    
      /**
       * The instance that actually does the work; delegates to VarHandle, Unsafe, or a Java-8
       * compatible pure-Java fallback.
       */
      private static final LittleEndianBytes byteArray = makeGetter();
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

        void emptyIterator() {
            when(delegate.hasNext()).thenReturn(false);
    
            TestIterator iterator = new TestIterator(null);
    
            assertFalse(iterator.hasNext());
            assertNull(iterator.next());
        }
    
        @Test
        @DisplayName("Close delegates to underlying iterator")
        void closeDelegation() throws CIFSException {
            when(delegate.hasNext()).thenReturn(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)
  6. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

            verify(tree).send(captor.capture(), any());
            assertNotNull(captor.getValue());
        }
    
        @Test
        @DisplayName("recv delegates to input.readDirect and returns its value")
        void testRecvDelegation() throws Exception {
            SmbPipeHandleImpl spyTarget = spy(target);
            SmbPipeInputStream in = mock(SmbPipeInputStream.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java

                }
            };
    
            // When/Then
            assertThrows(CIFSException.class, () -> iterator.close(), "Should propagate exception from delegate close");
        }
    
        /**
         * Test remove method delegates to underlying iterator.
         */
        @Test
        void testRemove() {
            // Given
            when(mockDelegate.hasNext()).thenReturn(true, false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

        } else if (superString != null) {
          return resultString + superString;
        }
        return null;
      }
    
      /**
       * An {@link AbstractTransformFuture} that delegates to an {@link AsyncFunction} and {@link
       * #setFuture(ListenableFuture)}.
       */
      private static final class AsyncTransformFuture<
              I extends @Nullable Object, O extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 20 18:03:37 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

        } else if (superString != null) {
          return resultString + superString;
        }
        return null;
      }
    
      /**
       * An {@link AbstractTransformFuture} that delegates to an {@link AsyncFunction} and {@link
       * #setFuture(ListenableFuture)}.
       */
      private static final class AsyncTransformFuture<
              I extends @Nullable Object, O extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 20 18:03:37 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/context/CIFSContextWrapperTest.java

            // This test primarily ensures that the wrapper correctly handles the MalformedURLException
            // and delegates the SmbFile creation.
    
            // When a valid URL is provided, it should not throw an exception.
            assertNotNull(cifsContextWrapper.get(url));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
Back to top