- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for getMaximumVersion (0.33 sec)
-
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
when(mockConfig.isDfsDisabled()).thenReturn(false); when(mockConfig.isEncryptionEnabled()).thenReturn(true); when(mockConfig.getMinimumVersion()).thenReturn(DialectVersion.SMB202); when(mockConfig.getMaximumVersion()).thenReturn(DialectVersion.SMB311); when(mockConfig.getMachineId()).thenReturn(testMachineId); when(mockConfig.getRandom()).thenReturn(mockRandom); when(mockContext.getConfig()).thenReturn(mockConfig);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/test/java/jcifs/config/PropertyConfigurationTest.java
// Then assertEquals(DialectVersion.SMB1, testConfig.getMinimumVersion()); assertEquals(DialectVersion.SMB311, testConfig.getMaximumVersion()); } @Test @DisplayName("Should provide default values for missing properties") void testDefaultValues() throws CIFSException { // GivenRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/config/BaseConfigurationTest.java
assertEquals(DialectVersion.SMB311, config.getMaximumVersion()); } @Test @DisplayName("Test initProtocolVersions with null/empty strings") void testInitProtocolVersionsWithNullStrings() { config.initProtocolVersions(null, ""); assertEquals(DialectVersion.SMB202, config.getMinimumVersion()); assertEquals(DialectVersion.SMB311, config.getMaximumVersion()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.6K bytes - Viewed (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
when(mockDelegate.getMinimumVersion()).thenReturn(minVersion); when(mockDelegate.getMaximumVersion()).thenReturn(maxVersion); // When DialectVersion resultMin = delegatingConfig.getMinimumVersion(); DialectVersion resultMax = delegatingConfig.getMaximumVersion(); // Then assertSame(minVersion, resultMin, "Should return delegated minimum version");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/main/java/jcifs/config/DelegatingConfiguration.java
return this.delegate.getMinimumVersion(); } /** * {@inheritDoc} * * @see jcifs.Configuration#getMaximumVersion() */ @Override public DialectVersion getMaximumVersion() { return this.delegate.getMaximumVersion(); } /** * {@inheritDoc} * * @see jcifs.Configuration#isUseSMB2OnlyNegotiation() */ @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
} if (!selected.atLeast(getConfig().getMinimumVersion()) || !selected.atMost(getConfig().getMaximumVersion())) { log.debug("Server selected an disallowed dialect version {} (min: {} max: {})", selected, getConfig().getMinimumVersion(), getConfig().getMaximumVersion()); return false; } this.selectedDialect = selected;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (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);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (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") void testConstructor() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.3K bytes - Viewed (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); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.9K bytes - Viewed (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);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.8K bytes - Viewed (0)