- Sort Score
- Num 10 results
- Language All
Results 21 - 29 of 29 for DialectVersion (0.09 seconds)
-
src/test/java/jcifs/config/PropertyConfigurationTest.java
// When PropertyConfiguration testConfig = new PropertyConfiguration(props); // Then assertEquals(DialectVersion.SMB1, testConfig.getMinimumVersion()); assertEquals(DialectVersion.SMB311, testConfig.getMaximumVersion()); } @Test @DisplayName("Should provide default values for missing properties")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeHandleImpl.java
jcifs.DialectVersion dialect = transport.getNegotiateResponse().getSelectedDialect(); return transport.isSMB2() && dialect.atLeast(jcifs.DialectVersion.SMB300) && !dialect.atLeast(jcifs.DialectVersion.SMB311); } catch (final SmbException e) { log.debug("Failed to connect for determining SMB 3.0 support", e);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java
when(mockConfig.getPid()).thenReturn(1234); when(mockConfig.getMaximumBufferSize()).thenReturn(65535); when(mockConfig.getMinimumVersion()).thenReturn(DialectVersion.SMB1); when(mockConfig.getMaximumVersion()).thenReturn(DialectVersion.SMB311); response = new TestSmbComNtTransactionResponse(mockConfig); } @Test @DisplayName("Test constructor with Configuration")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 16.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java
} @Test void testWithMockConfiguration() { when(mockConfig.getMinimumVersion()).thenReturn(jcifs.DialectVersion.SMB1); when(mockConfig.getMaximumVersion()).thenReturn(jcifs.DialectVersion.SMB311); trans2QueryPathInfo = new Trans2QueryPathInformation(mockConfig, TEST_FILENAME, TEST_INFO_LEVEL); assertNotNull(trans2QueryPathInfo);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java
import java.lang.reflect.Field; import java.util.Date; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.Mock; import jcifs.CIFSContext; import jcifs.DialectVersion; import jcifs.SmbConstants; import jcifs.config.BaseConfiguration; import jcifs.context.BaseContext; import jcifs.internal.SmbNegotiationRequest; import jcifs.internal.util.SMBUtil; import jcifs.util.Hexdump;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
import java.util.concurrent.atomic.AtomicLong; 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;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 30K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
} @Test @DisplayName("Test with mock configuration") void testWithMockConfiguration() { when(mockConfig.getMinimumVersion()).thenReturn(jcifs.DialectVersion.SMB1); when(mockConfig.getMaximumVersion()).thenReturn(jcifs.DialectVersion.SMB311); trans2QueryFSInfo = new Trans2QueryFSInformation(mockConfig, FileSystemInformation.SMB_INFO_ALLOCATION); assertNotNull(trans2QueryFSInfo); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
} @Test @DisplayName("Test with mock configuration") void testWithMockConfiguration() { when(mockConfig.getMinimumVersion()).thenReturn(jcifs.DialectVersion.SMB1); when(mockConfig.getMaximumVersion()).thenReturn(jcifs.DialectVersion.SMB311); trans2SetFileInfo = new Trans2SetFileInformation(mockConfig, TEST_FID, mockFileInfo); assertNotNull(trans2SetFileInfo);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
import javax.security.auth.Subject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.CIFSContext; import jcifs.CIFSException; import jcifs.Configuration; import jcifs.DialectVersion; import jcifs.RuntimeCIFSException; import jcifs.SmbConstants; import jcifs.SmbSession; import jcifs.internal.CommonServerMessageBlock; import jcifs.internal.CommonServerMessageBlockRequest;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 68.9K bytes - Click Count (0)