Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testThroughputCalculation (0.09 seconds)

  1. src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java

                channelInfo.incrementErrors(); // 100% error rate
            }
            int highErrorScore = channelInfo.getScore();
            assertTrue(highErrorScore < baseScore);
        }
    
        @Test
        void testThroughputCalculation() {
            long initialThroughput = channelInfo.getThroughput();
            assertEquals(0, initialThroughput);
    
            // Add some data transfer
            channelInfo.addBytesSent(1000);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 7.4K bytes
    - Click Count (0)
Back to Top