Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_byteCountToDisplaySize_edgeCases (1.1 sec)

  1. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

            // Verify format contains expected memory units
            assertTrue(log.matches(".*used [0-9.]+[a-zA-Z]+, heap [0-9.]+[a-zA-Z]+, max [0-9.]+[a-zA-Z]+.*"));
        }
    
        public void test_byteCountToDisplaySize_edgeCases() {
            // Test negative values - should throw NullPointerException in private method via BigInteger.valueOf
            try {
                MemoryUtil.byteCountToDisplaySize(-1L);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.8K bytes
    - Viewed (0)
Back to top