- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 193 for delegates (0.81 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryWrapper.java
* to the wrapped factory instance. * * This class implements the decorator pattern to extend CrawlerClientFactory functionality while * maintaining the same interface. * */ public class CrawlerClientFactoryWrapper extends CrawlerClientFactory { /** * The underlying CrawlerClientFactory instance to which operations are delegated. */Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 5.2K bytes - Viewed (10) -
src/test/java/jcifs/smb1/util/LogStreamTest.java
assertThrows(NullPointerException.class, () -> { LogStream.setInstance(null); }); } @Test void testPrintStreamDelegation() { // Test that LogStream properly delegates to underlying PrintStream // Use a real PrintStream with ByteArrayOutputStream to test delegation ByteArrayOutputStream baos = new ByteArrayOutputStream(); PrintStream realStream = new PrintStream(baos);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.3K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java
assertEquals(0, indices.length); } catch (Exception e) { fail("Should handle null targetIndices: " + e.getMessage()); } } /** * Test: prepareStreamSearch delegates to prepareSearch * Verifies that both methods return the same result */ @Test public void testPrepareStreamSearchDelegatesToPrepareSearch() {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:44:44 UTC 2025 - 17K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/FessApiAction.java
* * @param runtime the action runtime context containing request information * @return ActionResponse with unauthorized error if access denied, otherwise delegates to parent */ @Override public ActionResponse godHandPrologue(final ActionRuntime runtime) { if (!isAccessAllowed()) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileFilterTest.java
} @Test @DisplayName("accept: propagates SmbException thrown by dependency") void accept_propagatesSmbException() throws Exception { // Arrange: filter delegates to isDirectory which may throw SmbException SmbFileFilter filter = f -> f.isDirectory(); SmbException boom = new SmbException("io error"); when(smbFile.isDirectory()).thenThrow(boom);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java
// Should return 0 when auto-connect fails due to missing project ID long lastModified = conn.getLastModified(); assertEquals(0, lastModified); } /** * Test that getDate() delegates to getLastModified(). */ public void test_getDate_delegatesToGetLastModified() throws Exception { URL url = new URL("gcs://mybucket/object.txt"); Handler handler = new Handler();Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java
} @Test @DisplayName("Constructor with delegate: acquire() forwards to delegate and release() too") void constructor_withDelegate_acquireAndReleaseForwarded() { // Arrange: delegate we can spy on for interaction verification CIFSContext ctx = mock(CIFSContext.class); SmbTreeConnectionTrace delegate = Mockito.spy(new SmbTreeConnectionTrace(ctx));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/SsoManager.java
* * This class serves as the central coordinator for SSO authentication in Fess. * It manages registered SSO authenticators, determines when SSO is available, * and delegates authentication operations to the appropriate SSO provider based * on the current configuration. */ public class SsoManager { /** Logger for this class. */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
} @Test @DisplayName("Close delegates to underlying stream") void closeDelegatesToUnderlyingStream(@Mock InputStream mockIn) throws IOException { SocketInputStream sis = new SocketInputStream(mockIn); sis.close(); verify(mockIn).close(); } @Test @DisplayName("Read array delegates to read with offset and length")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java
assertEquals(expected, result); verify(locator, times(1)).shouldForceSigning(); verifyNoMoreInteractions(locator); } // Happy path: overlaps delegates to implementation and returns as stubbed @Test @DisplayName("overlaps returns true then false as stubbed") void overlapsReturnsTrueThenFalse() throws Exception {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0)