- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 203 for after (0.01 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/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/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/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/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
digest.secureWipeKey(); // Verify digest fails after wiping byte[] newData = new byte[128]; Arrays.fill(newData, (byte) 0x66); assertThrows(IllegalStateException.class, () -> { digest.sign(newData, 0, newData.length, request, response); }, "Should throw exception after key is wiped"); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java
assertTrue(it.hasNext()); assertEquals("b", it.next().getName(), "Next element should skip '.' and '..'"); assertFalse(it.hasNext(), "Iterator exhausted after valid entries"); verify(tree, times(1)).release(); // closed after exhaustion } @ParameterizedTest @ValueSource(strings = { "", "file.txt", "subdir" }) @DisplayName("Name filter interaction: accept calls and rejections")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.5K bytes - Viewed (0)