- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for testStatistics (0.15 seconds)
-
src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java
// Release should not throw exception assertDoesNotThrow(() -> bufferManager.releaseBuffer(buffer)); } @Test public void testStatistics() throws Exception { long initialAllocated = bufferManager.getTotalAllocated(); // Allocate regions larger than pool buffer size to force new allocationsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 7.1K bytes - Click Count (0) -
src/test/java/jcifs/util/ServerResponseValidatorTest.java
assertThrows(SmbException.class, () -> { validator.validateArrayAllocation(1000000, 200, 1000000); // 200MB }); } @Test public void testStatistics() throws Exception { // Reset stats validator.resetStats(); ServerResponseValidator.ValidationStats stats = validator.getStats(); assertEquals(0, stats.getTotalValidations());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.2K bytes - Click Count (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
rateLimiter.recordFailure("user1", null); assertTrue(rateLimiter.checkAttempt("user1", "192.168.1.9"), "Should still track account"); } @Test public void testStatistics() throws Exception { // Initially stats should be zero AuthenticationRateLimiter.RateLimiterStats stats = rateLimiter.getStats(); assertEquals(0, stats.getTotalBlocked());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.8K bytes - Click Count (0)