- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 199 for efter (3.85 sec)
-
src/test/java/jcifs/EmptyIteratorTest.java
// Verify iterator still works after multiple removes assertFalse(emptyIterator.hasNext(), "Iterator should still work after multiple removes"); assertNull(emptyIterator.next(), "Iterator should still return null after multiple removes"); } @Test @DisplayName("EmptyIterator should maintain state after all operations") void testStateConsistencyAfterOperations() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
} catch (CIFSException e) { // Expected } } // Circuit should be OPEN after 3 failures assertEquals(State.OPEN, customCb.getState(), "Circuit should be OPEN after regular failures"); assertEquals(3, customCb.getFailureCount(), "Should have 3 failures"); // Reset for custom predicate test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K bytes - Viewed (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
// The rate limiter should still be functional after concurrent access assertTrue(concurrentLimiter.checkAttempt("finaluser", "192.168.3.1"), "Rate limiter should still be functional after concurrent operations"); // Verify that the rate limiter tracked some activityRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java
// Test state after nextElement call response.nextElement(); // Response behavior may change after nextElement // Test state after error (using errorCode, not status) response.setTestErrorCode(1); assertFalse(response.hasMoreElements()); // Test state after reset response.reset(); // After reset, hasMore should be true againRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java
} // Call the method under test d.readBytesWireFormat(buf, 0); // After a full read both flags should be set and hasMore should be false assertTrue(d.getParametersDone(), "parametersDone should be true after reading"); assertTrue(d.getDataDone(), "dataDone should be true after reading"); assertFalse(d.getHasMore(), "hasMore should be false when both packets are fully read"); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
// Refresh should clear the cache auth.refresh(); Subject afterRefresh = auth.getSubject(); // After refresh, may succeed or fail depending on JAAS configuration // Just verify that refresh doesn't break the authenticator assertNotNull(auth, "Authenticator should remain usable after refresh"); } @Test @DisplayName("handle: sets NameCallback and PasswordCallback on happy path")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
// Read the three data bytes assertEquals(1, sis.read()); assertEquals(2, sis.read()); assertEquals(3, sis.read()); // After consuming all data, trying to read again will attempt to read // another packet header, but since there's no more data, it will throw IOException assertThrows(IOException.class, () -> sis.read()); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java
}); } /** * Upload a stopwords file. * * @param form the upload form containing the file and dictionary ID * @return HTML response redirecting to the list page after successful upload */ @Execute @Secured({ ROLE }) public HtmlResponse upload(final UploadForm form) { validate(form, messages -> {}, () -> uploadpage(form.dictId));Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 20.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java
public HandleGuid requestDurableHandle(String path, HandleType type, long timeout, Smb2LeaseKey leaseKey) { HandleGuid guid = new HandleGuid(); // Create handle info with empty file ID (will be populated after successful create response) HandleInfo info = new HandleInfo(path, guid, new byte[16], type, timeout, leaseKey); lock.writeLock().lock(); try { handles.put(path, info);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java
verify(tree, times(1)).send(captor.capture(), any()); assertNotNull(captor.getValue()); // Tree handle is released after close verify(tree, atLeastOnce()).release(); } @Test @DisplayName("open(): server returns NO_SUCH_FILE after receiving response -> iterator empty, closed") void openHandlesNoSuchFileGracefully() throws Exception {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0)