Search Options

Results per page
Sort
Preferred Languages
Advance

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

  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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.4K bytes
    - Viewed (0)
Back to top