- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 170 for CIFSException (0.05 sec)
-
src/main/java/jcifs/SidResolver.java
* methods. * @throws CIFSException if there is an error resolving the SIDs */ void resolveSids(CIFSContext tc, String authorityServerName, SID[] sids) throws CIFSException; /** * Resolve part of an array of SIDs using a cache and at most one MSRPC request. * * @param tc the CIFS context to useRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/SmbFileHandleTest.java
} /** * Test release() when a CIFSException is thrown. * * @throws CIFSException */ @Test void testRelease_throwsCIFSException() throws CIFSException { doThrow(new CIFSException("Failed to release")).when(smbFileHandle).release(); assertThrows(CIFSException.class, () -> smbFileHandle.release(), "release() should throw CIFSException when releasing fails.");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/SmbResourceTest.java
assertEquals(1, existsExceptions.length, "exists() should declare CIFSException"); assertEquals(CIFSException.class, existsExceptions[0], "Should declare CIFSException"); assertEquals(1, getTypeExceptions.length, "getType() should declare CIFSException"); assertEquals(CIFSException.class, getTypeExceptions[0], "Should declare CIFSException"); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
src/test/java/jcifs/SmbTransportPoolTest.java
@Test @DisplayName("Should handle exception during close") void testClosePoolException() throws CIFSException { // Given when(transportPool.close()).thenThrow(new CIFSException("Close failed")); // When & Then assertThrows(CIFSException.class, () -> transportPool.close()); } @Test @DisplayName("Should close pool multiple times")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
src/test/java/jcifs/config/SecurityConfigurationTest.java
package jcifs.config; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; import jcifs.CIFSException; import jcifs.DialectVersion; /** * Security configuration tests * * Verifies that default security settings are properly configured * according to SMB security best practices. */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/config/PropertyConfigurationTest.java
import java.util.Properties; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.mockito.Mock; import jcifs.BaseTest; import jcifs.CIFSException; import jcifs.DialectVersion; import jcifs.ResolverType; /** * Test class for PropertyConfiguration functionality */ @DisplayName("PropertyConfiguration Tests")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/MultiChannelManagerBasicTest.java
// If it doesn't throw, that's unexpected for localhost fail("Expected CIFSException for localhost multi-channel attempt"); } catch (java.lang.reflect.InvocationTargetException e) { // We expect this to fail, but it should be a CIFSException, not a NullPointerException assertTrue(e.getCause() instanceof CIFSException);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 4K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/av/AvPairs.java
} /** * Decode a list of AvPairs * * @param data the encoded AV pairs data * @return individual pairs * @throws CIFSException if decoding fails */ public static List<AvPair> decode(final byte[] data) throws CIFSException { final List<AvPair> pairs = new LinkedList<>(); int pos = 0; boolean foundEnd = false; while (pos + 4 <= data.length) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/compression/DefaultCompressionService.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/DfsResolverTest.java
} // Test for isTrustedDomain method @Test void testIsTrustedDomain_DfsDisabled() throws CIFSException { when(mockConfig.isDfsDisabled()).thenReturn(true); assertFalse(dfsResolver.isTrustedDomain(mockContext, "anyDomain")); } @Test void testIsTrustedDomain_NoUserDomain() throws CIFSException { when(mockConfig.isDfsDisabled()).thenReturn(false);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0)