Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for test_annotationOnMethod (0.1 seconds)

  1. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

            assertEquals("Payload class should match", TestPayload.class, annotation.payload()[0]);
        }
    
        // Test annotation on method
        @Test
        public void test_annotationOnMethod() throws Exception {
            final Method method = CustomSizeTest.class.getMethod("testMethod");
            final CustomSize annotation = method.getAnnotation(CustomSize.class);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/validation/CronExpressionTest.java

            assertEquals("Invalid cron expression format", violation.getMessage());
        }
    
        // Test annotation on method parameter
        @Test
        public void test_annotationOnMethod() throws Exception {
            Method method = TestService.class.getDeclaredMethod("scheduledTask", String.class);
            Annotation[][] paramAnnotations = method.getParameterAnnotations();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

            assertEquals("Second payload should be AnotherTestPayload", AnotherTestPayload.class, annotation.payload()[1]);
        }
    
        // Test annotation on method
        @Test
        public void test_annotationOnMethod() throws Exception {
            final Method method = UriTypeTest.class.getMethod("testMethod");
            final UriType annotation = method.getAnnotation(UriType.class);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 21.3K bytes
    - Click Count (0)
Back to Top