- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for testConcurrentAccess (0.34 sec)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
assertNotNull(customResponse); assertEquals(SmbComTransaction.TRANS2_SET_FILE_INFORMATION, customResponse.getSubCommand()); } @Test @DisplayName("Test concurrent access") void testConcurrentAccess() throws InterruptedException { // Test thread safety - multiple threads accessing the same response final int THREAD_COUNT = 10; Thread[] threads = new Thread[THREAD_COUNT];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
assertArrayEquals(context.getLeaseKey().getKey(), decodedContext.getLeaseKey().getKey()); } @Test public void testConcurrentAccess() throws Exception { String directoryPath = "/test/concurrent"; directoryLeaseManager.requestDirectoryLease(directoryPath, DirectoryLeaseState.DIRECTORY_READ_HANDLE,
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/EmptyIteratorTest.java
}, "EmptyIterator should work with manual iteration"); } @Test @DisplayName("EmptyIterator should handle concurrent access safely") void testConcurrentAccess() throws InterruptedException, CIFSException { // Given final int threadCount = 10; final Thread[] threads = new Thread[threadCount]; final boolean[] results = new boolean[threadCount];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
for (int i = 0; i < 3; i++) { assertTrue(rateLimiter.checkAttempt(username, ip)); rateLimiter.recordFailure(username, ip); } } @Test public void testConcurrentAccess() throws Exception { // Test thread safety with concurrent access // Use a separate rate limiter instance with higher limits for this test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/context/BaseContextTest.java
assertTrue(context instanceof AbstractCIFSContext, "BaseContext should extend AbstractCIFSContext"); } @Test @DisplayName("Context should handle concurrent access safely") void testConcurrentAccess() throws InterruptedException { // Given final int threadCount = 10; final Thread[] threads = new Thread[threadCount]; final boolean[] results = new boolean[threadCount];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
assertNotNull(trans2QueryFSInfo); } @Test @DisplayName("Test concurrent access") void testConcurrentAccess() throws InterruptedException { trans2QueryFSInfo = new Trans2QueryFSInformation(config, FileSystemInformation.SMB_INFO_ALLOCATION); final int THREAD_COUNT = 10;
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
// But we can verify the object is created successfully with these values assertNotNull(trans2SetFileInfo); } @Test @DisplayName("Test concurrent access") void testConcurrentAccess() throws InterruptedException { // Setup mock before creating the object when(mockFileInfo.getFileInformationLevel()).thenReturn((byte) FileInformation.FILE_BASIC_INFO);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.8K bytes - Viewed (0)