- Sort Score
- Result 10 results
- Languages All
Results 1031 - 1040 of 2,319 for execution (0.1 sec)
-
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java
final Exception[] exceptions = new Exception[threadCount]; for (int i = 0; i < threadCount; i++) { final int index = i; threads[i] = new Thread(() -> { try { providers[index] = new FessTimeResourceProvider(mockConfig); } catch (Exception e) { exceptions[index] = e;Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java
ComponentUtil.setFessConfig(fessConfig); // Execute and expect exception to be handled try { String result = pingSearchEngineJob.execute(); // Job should handle exception gracefully assertNotNull(result); } catch (Exception e) { // Exception is expected to be caught within the job
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
@Mock private Configuration mockConfig; @Mock private NbtAddress mockQueryAddress; private NodeStatusResponse response; @BeforeEach void setUp() throws Exception { // Setup mock configuration with lenient stubbing lenient().when(mockConfig.getOemEncoding()).thenReturn("UTF-8"); // Setup mock query address mockQueryAddress = mock(NbtAddress.class);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/ListenableFuture.java
* For restrictions, please refer to the documentation of the then() method. */ public interface ListenableFuture<V extends @Nullable Object> extends Future<V>, IThenable<V> { void addListener(Runnable listener, Executor executor); /** Note that this method is not expected to be overridden. */ @JsMethod @Override default <R extends @Nullable Object> IThenable<R> then(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/SmbPipeHandleTest.java
/** * Verifies that the close method can be called without throwing an exception. * @throws CIFSException if an error occurs during close. */ @Test public void testClose() throws CIFSException { assertDoesNotThrow(() -> smbPipeHandle.close(), "close() should not throw an exception on a mock object."); // Verify that the close method was calledRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java
@Test void testFailureWithNoAlternativeChannels() throws Exception { failedChannel.addPendingOperation(mockOperation); when(mockLoadBalancer.selectChannel(mockOperation)).thenThrow(new ChannelLoadBalancer.NoAvailableChannelException("No channels")); IOException error = new IOException("Connection failed"); // Should not throw exception even if no alternative channelsRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java
import org.codelibs.fess.app.web.base.login.SamlCredential.SamlUser; import org.codelibs.fess.crawler.Constants; import org.codelibs.fess.exception.SsoLoginException; import org.codelibs.fess.exception.SsoMessageException; import org.codelibs.fess.exception.SsoProcessException; import org.codelibs.fess.mylasta.action.FessUserBean; import org.codelibs.fess.sso.SsoAuthenticator; import org.codelibs.fess.sso.SsoResponseType;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 16.4K bytes - Viewed (3) -
src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorTest.java
import org.dbflute.optional.OptionalThing; public class RankFusionProcessorTest extends UnitFessTestCase { private static final String ID_FIELD = "_id"; public void test_default_1000docs_10size() throws Exception { String query = "*"; int allRecordCount = 1000; int pageSize = 10; try (RankFusionProcessor rankFusionProcessor = new RankFusionProcessor()) {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 25.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessNotificationTest.java
assertTrue(notification.getOldIPAddresses().isEmpty()); assertEquals(WitnessNotification.WITNESS_RESOURCE_STATE_UNKNOWN, notification.getFlags()); } @Test void testAddIPAddresses() throws Exception { InetAddress ipv4 = InetAddress.getByName("192.168.1.100"); InetAddress ipv6 = InetAddress.getByName("2001:db8::1"); notification.addNewIPAddress(ipv4); notification.addNewIPAddress(ipv6);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbAuthExceptionTest.java
@MethodSource("intErrorCodes") @DisplayName("int ctor: sets message and NT status as expected") void intConstructor_populatesMessageAndStatus(int errCode, int expectedStatus) { // Arrange & Act: create exception with error code SmbAuthException ex = new SmbAuthException(errCode); // Assert: type, message derived from code, status mapping, and no cause assertNotNull(ex);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0)