Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testResourceLoading_exceptionHandling (0.92 sec)

  1. src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java

            }
        }
    
        /**
         * Test that InputStream is properly closed even when exception occurs.
         * Verifies try-with-resources cleanup behavior.
         */
        @Test
        public void testResourceLoading_exceptionHandling() {
            try {
                try (InputStream is = getClass().getClassLoader().getResourceAsStream("suggest_indices/suggest/mappings-default.json")) {
                    assertNotNull("Resource should exist", is);
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 9.6K bytes
    - Viewed (0)
Back to top