Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for test_annotationWithCustomMessage (0.39 sec)

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

            assertEquals("maxKey should match", "test.max.only", annotation.maxKey());
        }
    
        // Test annotation with custom message
        public void test_annotationWithCustomMessage() throws Exception {
            final Field field = CustomSizeTest.class.getDeclaredField("testFieldWithMessage");
            final CustomSize annotation = field.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)
  2. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

            assertEquals("message should be default", "{org.lastaflute.validator.constraints.UriType.message}", annotation.message());
        }
    
        // Test annotation with custom message
        public void test_annotationWithCustomMessage() throws Exception {
            final Field field = UriTypeTest.class.getDeclaredField("testFieldWithMessage");
            final UriType annotation = field.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