Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testStatistics (0.11 sec)

  1. 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 allocations
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. 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());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. 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());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top