Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testNegativeProgressedSize (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/FileSizeFormatTest.java

                assertEquals(expected, format.format(input));
            } else {
                assertEquals(expected, format.format(input, unit));
            }
        }
    
        @Test
        void testNegativeProgressedSize() {
            FileSizeFormat format = new FileSizeFormat();
    
            long negativeProgressedSize = -100L;
            assertThrows(IllegalArgumentException.class, () -> format.formatProgress(negativeProgressedSize, 10L));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 14.9K bytes
    - Click Count (0)
Back to Top