- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 333 for dangling (0.04 sec)
-
src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java
* behaviour. The tests cover flag manipulation, byte‑buffer operations and * static helpers. Edge cases such as null or short arrays and negative * values are verified to ensure proper exception handling and byte * conversion. */ @ExtendWith(MockitoExtension.class) class NtlmMessageTest { /** Lightweight concrete implementation used only for testing. */ private static class Dummy extends NtlmMessage {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CsvExtractor.java
* <p>Features: * <ul> * <li>Automatic delimiter detection (comma, tab, semicolon, pipe)</li> * <li>Header row detection and extraction</li> * <li>Column name to data value association</li> * <li>Quoted field handling</li> * <li>Column names as metadata</li> * <li>Configurable encoding and row limits</li> * </ul> */ public class CsvExtractor extends AbstractExtractor { /** Logger instance for this class. */
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java
assertEquals(newState, entry.getLeaseState()); assertEquals(initialEpoch + 1, entry.getEpoch()); assertFalse(entry.isBreaking()); // Should be false after break handling completes } @Test @DisplayName("Should release lease") void testReleaseLease() { String path = "/share/file.txt"; int requestedState = Smb2LeaseState.SMB2_LEASE_READ_HANDLE;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
// Act + Assert assertThrows(NullPointerException.class, () -> SmbCopyUtil.openCopyTargetFile(dest, SmbConstants.ATTR_NORMAL, false)); } // --- Tests for copyFile exception handling branch --- @Nested class CopyFileExceptions { private SmbTreeHandleImpl newTreeHandle(boolean isSmb2) throws Exception { SmbTreeHandleImpl th = mock(SmbTreeHandleImpl.class);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/InfoTest.java
import java.util.Date; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.Mock; /** * Unit tests for the {@link Info} implementations used by the SMB1 * protocol handling code. */ class InfoTest { // A tiny mock to illustrate Mockito interaction patterns. @Mock private SmbComTransactionResponse transactionMock; @BeforeEach void setUp() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
// Then assertEquals(0, opnum, "Opnum should be 0 even with parameterized constructor"); } } @Nested @DisplayName("Result Handling Tests") class ResultHandlingTests { @Test @DisplayName("getResult should return null when result is 0") void testGetResultSuccess() throws Exception { // GivenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K bytes - Viewed (0) -
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
// Test that it can be caught specifically assertThrows(RuntimeCIFSException.class, () -> { throw new RuntimeCIFSException("Test exception"); }); // Test exception handling behavior try { throw new RuntimeCIFSException("Original message", new IllegalStateException("Cause")); } catch (RuntimeCIFSException e) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/DataStoreParams.java
* support for common types like String.</p> * * <p>This class is commonly used to pass configuration parameters to data store * implementations during crawling operations, allowing for flexible parameter * handling without tight coupling to specific parameter schemas.</p> */ public class DataStoreParams { /** * Internal map storing parameter key-value pairs.Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketRecorder.kt
class WebSocketRecorder( private val name: String, ) : WebSocketListener() { private val events = LinkedBlockingQueue<Any>() private var delegate: WebSocketListener? = null /** Sets a delegate for handling the next callback to this listener. Cleared after invoked. */ fun setNextEventDelegate(delegate: WebSocketListener?) { this.delegate = delegate } override fun onOpen( webSocket: WebSocket,
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 6.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/jar/JarFileUtil.java
import org.codelibs.core.io.FileUtil; import org.codelibs.core.log.Logger; import org.codelibs.core.net.JarURLConnectionUtil; import org.codelibs.core.net.URLUtil; /** * Utility class for handling {@link java.util.jar.JarFile}. * * @author higa */ public abstract class JarFileUtil { /** * Do not instantiate. */ protected JarFileUtil() { }Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 4.9K bytes - Viewed (0)