- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 724 for WHEN (1.53 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/AbstractIntervalController.java
* </p> * <ul> * <li>Before processing a URL ({@link #delayBeforeProcessing()})</li> * <li>After processing a URL ({@link #delayAfterProcessing()})</li> * <li>When there are no URLs in the queue ({@link #delayAtNoUrlInQueue()})</li> * <li>While waiting for new URLs to be added to the queue ({@link #delayForWaitingNewUrl()})</li> * </ul> * * <p>
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:58:39 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java
// Assert message and cause assertEquals(message, ex.getMessage(), "Message should be preserved as provided"); assertNull(ex.getCause(), "Cause should be null when only message is provided"); // toString should include the class name and (if non-null) the message String ts = ex.toString();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
@Test @DisplayName("Constructor(Configuration) uses cache size and maximum buffer size from config") void constructorUsesConfigurationAndAllocatesWithConfiguredSize() { when(cfg.getBufferCacheSize()).thenReturn(2); when(cfg.getMaximumBufferSize()).thenReturn(5); BufferCacheImpl impl = new BufferCacheImpl(cfg); // Verify interactions happen exactly once during constructionRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/spnego/NegTokenTargTest.java
assertNull(parsed.getMechanism(), "mechanism should be null when omitted"); assertNull(parsed.getMechanismToken(), "mechanism token should be null when omitted"); assertNull(parsed.getMechanismListMIC(), "MIC should be null when omitted"); } @Test @DisplayName("parsing malformed token throws IOException") void testMalformedToken() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java
smbComNtTransaction.writeParameterWordsWireFormat(dst, 0); // Check that offsets are zero when counts are zero assertEquals(0, SmbComTransaction.readInt4(dst, 23), "parameterOffset should be 0 when parameterCount is 0"); assertEquals(0, SmbComTransaction.readInt4(dst, 31), "dataOffset should be 0 when dataCount is 0"); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.verifyNoMoreInteractions; import static org.mockito.Mockito.when; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java
@Test @DisplayName("Should skip verification when digest is null") void testVerifySignatureNoDigest() { byte[] buffer = new byte[100]; boolean result = response.verifySignature(buffer, 0, 100); assertTrue(result); } @Test @DisplayName("Should verify signature on error when secure negotiate required")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java
assertEquals(0, failedChannel.getRequestsPending()); } @Test void testRecoverySuccess() throws Exception { when(mockChannelManager.createTransport(any(), any())).thenReturn(mockNewTransport); doNothing().when(mockChannelManager).performChannelBinding(any()); IOException error = new IOException("Connection failed"); failover.handleFailure(failedChannel, error);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java
private static final int FILE_NOTIFY_CHANGE_ALL = 0x00000FFF; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); when(mockConfig.getNotifyBufferSize()).thenReturn(4096); when(mockConfig.getTransactionBufferSize()).thenReturn(65535); } @Test @DisplayName("Test constructor initialization with basic parameters") void testConstructorBasic() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
SmbTree tree = new SmbTree(session, "testShare", "testService"); // Mock transport.connect() to succeed doNothing().when(transport).connect(); // Simulate failed tree connect doThrow(new SmbException("Connection failed")).when(session).send(any(ServerMessageBlock.class), any(ServerMessageBlock.class)); assertThrows(SmbException.class, () -> tree.treeConnect(null, null));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.2K bytes - Viewed (0)