- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 45 for scenarios (0.25 sec)
-
src/test/java/jcifs/ACETest.java
verify(ace, times(1)).getFlags(); } } @Nested @DisplayName("Real-world Usage Scenarios") class RealWorldUsageTests { @Test @DisplayName("Should handle typical file system permission scenarios") void shouldHandleFileSystemPermissions() { // Read-only file access
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
assertEquals(FileSystemInformation.FS_FULL_SIZE_INFO, freshInfo.getFileSystemInformationClass()); } } @Nested @DisplayName("Edge Cases and Real-World Scenarios") class EdgeCasesAndRealWorldTests { @Test @DisplayName("Should handle typical Windows NTFS configuration") void shouldHandleTypicalNTFSConfiguration() throws SMBProtocolDecodingException {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java
* Due to the iterator's constructor calling advance() immediately, which requires * the adapt() method to be functional, we test the behavior using simple mock * scenarios that don't require complex filter setups. */ @ExtendWith(MockitoExtension.class) class DirFileEntryAdapterIteratorTest { @Mock private SmbResource mockParent; @Mock
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java
* Disabled by default - enable with -Dwitness.integration.test=true */ @Test void testWitnessEnvironmentConfiguration() throws Exception { // Test simulating real witness environment scenarios // This test validates integration patterns without requiring real cluster // Simulate witness service discovery InetAddress mockWitnessAddress = InetAddress.getByName("127.0.0.1");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
assertEquals((byte) 0xFF, dst[1]); assertEquals((byte) 0xFF, dst[2]); assertEquals((byte) 0xFF, dst[3]); } @Test @DisplayName("Test writeUTime with DST scenarios") void testWriteUTimeWithDST() { when(mockConfig.getLocalTimezone()).thenReturn(mockTimeZone); byte[] dst = new byte[4]; long testTime = System.currentTimeMillis();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.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/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
import jcifs.internal.smb2.Smb2Constants; import jcifs.internal.util.SMBUtil; /** * Security-focused test cases for Smb2NegotiateResponse input validation. * Tests various malformed input scenarios to ensure proper validation and * protection against buffer overflow, integer overflow, and other attacks. */ public class Smb2NegotiateResponseInputValidationTest { private Configuration mockConfig;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
assertEquals(TEST_CAPABILITIES, SMBUtil.readInt4(buffer, offset + 4)); // Capabilities } @Test @DisplayName("Should handle session binding scenarios") void testSessionBindingScenarios() throws Exception { // Test both true and false session binding boolean[] bindingValues = { true, false }; for (boolean binding : bindingValues) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/main/java/jcifs/audit/SecurityAuditLogger.java
* * In high performance mode, expensive regex operations are avoided by doing * fast string contains checks first. This significantly improves performance * for high-frequency logging scenarios. * * @param enable true to enable high performance mode */ public void setHighPerformanceModeEnabled(boolean enable) { this.enableHighPerformanceMode = enable;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 26.6K bytes - Viewed (0)