Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for test_nullHandling (0.06 seconds)

  1. src/test/java/org/codelibs/fess/exception/QueryParseExceptionTest.java

            assertTrue(queryParseException instanceof Exception);
            assertTrue(queryParseException instanceof Throwable);
        }
    
        @Test
        public void test_nullHandling() {
            // Test with null ParseException
            QueryParseException queryParseException = new QueryParseException(null);
            assertNotNull(queryParseException);
            assertNull(queryParseException.getCause());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  2. api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java

                String readContent = new String(inputStream.readAllBytes());
                assertEquals(content, readContent);
            }
        }
    
        @Test
        void testNullHandling() {
            assertThrows(NullPointerException.class, () -> Sources.fromPath(null));
            assertThrows(NullPointerException.class, () -> Sources.buildSource(null));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 5.4K bytes
    - Click Count (0)
Back to Top