Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for test_inheritedClassAnnotation (0.1 seconds)

  1. src/test/java/org/codelibs/fess/annotation/SecuredTest.java

            }
    
            @Secured({ "ROLE_CHILD_METHOD" })
            public void childMethod() {
            }
        }
    
        // Test that class annotation is inherited
        @Test
        public void test_inheritedClassAnnotation() {
            Secured parentSecured = ParentClass.class.getAnnotation(Secured.class);
            assertNotNull(parentSecured);
            assertEquals("ROLE_PARENT", parentSecured.value()[0]);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.6K bytes
    - Click Count (0)
Back to Top