Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for test_annotationOnMethod (0.12 sec)

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

            assertEquals("Invalid cron expression format", violation.getMessage());
        }
    
        // Test annotation on method parameter
        public void test_annotationOnMethod() throws Exception {
            Method method = TestService.class.getDeclaredMethod("scheduledTask", String.class);
            Annotation[][] paramAnnotations = method.getParameterAnnotations();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

            assertEquals("Payload class should match", TestPayload.class, annotation.payload()[0]);
        }
    
        // Test annotation on method
        public void test_annotationOnMethod() throws Exception {
            final Method method = CustomSizeTest.class.getMethod("testMethod");
            final CustomSize annotation = method.getAnnotation(CustomSize.class);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.2K bytes
    - Viewed (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
        public void test_annotationOnMethod() throws Exception {
            final Method method = UriTypeTest.class.getMethod("testMethod");
            final UriType annotation = method.getAnnotation(UriType.class);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 21K bytes
    - Viewed (0)
Back to top