Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for test_annotationWithCustomMessage (0.15 seconds)

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

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

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