- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for RuntimeCIFSException (0.14 sec)
-
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
/** * Test class for RuntimeCIFSException functionality */ @DisplayName("RuntimeCIFSException Tests") class RuntimeCIFSExceptionTest extends BaseTest { @Test @DisplayName("Should create RuntimeCIFSException with default constructor") void testDefaultConstructor() { // When RuntimeCIFSException exception = new RuntimeCIFSException(); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
// Validates usage counting and that an extra release() throws RuntimeCIFSException // First close -> usage 1 -> 0, triggers treeConnection.release() handle.close(); verify(treeConnection, times(1)).release(); // Second release -> usage 0 -> -1 triggers RuntimeCIFSException RuntimeCIFSException ex = assertThrows(RuntimeCIFSException.class, () -> handle.release());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/util/StringsTest.java
@Test @DisplayName("getOEMBytes should throw RuntimeCIFSException for unsupported encoding") void testGetOEMBytesWithUnsupportedEncoding() { // Given Configuration mockConfig = mock(Configuration.class); when(mockConfig.getOemEncoding()).thenReturn("INVALID-ENCODING"); // When & Then RuntimeCIFSException exception = assertThrows(RuntimeCIFSException.class, () -> {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTest.java
c.release(); verify(tree, times(1)).release(); } @Test @DisplayName("release below zero throws RuntimeCIFSException") void release_belowZero_throws() { SmbTreeConnection c = newConn(); RuntimeCIFSException ex = assertThrows(RuntimeCIFSException.class, c::release); assertTrue(ex.getMessage().toLowerCase().contains("usage count")); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
} @Test @DisplayName("Invalid path triggers RuntimeCIFSException during canonicalize") void testCanonicalizeInvalidPath() { SmbResourceLocatorImpl a = locator("smb:invalid-no-slash"); // Any accessor that triggers canonicalizePath should throw assertThrows(RuntimeCIFSException.class, a::getURLPath); assertThrows(RuntimeCIFSException.class, a::getUNCPath); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.CIFSContext; import jcifs.CIFSException; import jcifs.DfsReferralData; import jcifs.DialectVersion; import jcifs.RuntimeCIFSException; import jcifs.SmbConstants; import jcifs.SmbTree; import jcifs.internal.CommonServerMessageBlockRequest; import jcifs.internal.CommonServerMessageBlockResponse; import jcifs.internal.RequestWithPath;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
import org.mockito.junit.jupiter.MockitoExtension; import org.mockito.junit.jupiter.MockitoSettings; import org.mockito.quality.Strictness; import jcifs.CIFSContext; import jcifs.NameServiceClient; import jcifs.RuntimeCIFSException; import jcifs.config.PropertyConfiguration; import jcifs.context.BaseContext; import jcifs.smb.NtlmPasswordAuthentication; /** * Tests for the NtlmHttpURLConnection class.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeHandleImpl.java
import java.util.Set; import java.util.concurrent.atomic.AtomicLong; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.CIFSException; import jcifs.Configuration; import jcifs.RuntimeCIFSException; import jcifs.SmbTreeHandle; import jcifs.internal.CommonServerMessageBlockRequest; import jcifs.internal.CommonServerMessageBlockResponse; import jcifs.internal.SmbNegotiationResponse;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
import org.mockito.junit.jupiter.MockitoSettings; import org.mockito.quality.Strictness; import jcifs.CIFSContext; import jcifs.CIFSException; import jcifs.Configuration; import jcifs.Credentials; import jcifs.RuntimeCIFSException; import jcifs.internal.SMBSigningDigest; import jcifs.internal.smb2.Smb2EncryptionContext; import jcifs.internal.smb2.session.Smb2SessionSetupResponse; @ExtendWith(MockitoExtension.class)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpURLConnection.java
import javax.net.ssl.SSLSocketFactory; import org.bouncycastle.util.encoders.Base64; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.CIFSContext; import jcifs.RuntimeCIFSException; import jcifs.ntlmssp.NtlmFlags; import jcifs.ntlmssp.NtlmMessage; import jcifs.ntlmssp.Type1Message; import jcifs.ntlmssp.Type2Message; import jcifs.ntlmssp.Type3Message;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 25.6K bytes - Viewed (0)