Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setAccessible (0.03 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

            Constructor<CrawlerSystemException> constructor =
                    CrawlerSystemException.class.getDeclaredConstructor(String.class, boolean.class, boolean.class);
            constructor.setAccessible(true);
    
            // Test with suppression enabled and writable stack trace
            String message1 = "Test with suppression enabled";
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

            assertTrue(Modifier.isPrivate(constructor.getModifiers()));
    
            // Make it accessible to test it throws no exception
            constructor.setAccessible(true);
            constructor.newInstance();
        }
    
        @Test
        public void testCreateSuggestTextId() {
            // Test normal text
            String text = "test text";
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 18.2K bytes
    - Viewed (0)
Back to top