Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 548 for hoge (0.12 sec)

  1. src/test/java/org/codelibs/core/lang/Hoge.java

    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * @author higa
     *
     */
    @Retention(RetentionPolicy.RUNTIME)
    @Target({ ElementType.TYPE, ElementType.METHOD })
    public @interface Hoge {
    
        /**
         *
         */
        String aaa() default "123";
    
        /**
         *
         */
        String bbb();
    
        /**
         *
         */
        String ccc() default "";
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/exception/SUnsupportedOperationExceptionTest.java

        @Test
        public void testSUnsupportedOperationExceptionString() {
            final ClUnsupportedOperationException clUnsupportedOperationException = new ClUnsupportedOperationException("hoge");
            assertThat(clUnsupportedOperationException.getMessage(), is("hoge"));
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.exception.ClUnsupportedOperationException#SUnsupportedOperationException(java.lang.String, java.lang.Throwable)}
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/message/MessageFormatterTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testGetMessageWithArgs() throws Exception {
            final String s = MessageFormatter.getMessage("EMSG0001", "hoge");
            System.out.println(s);
            assertThat(s, is("[EMSG0001]hogeが見つかりません"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetMessageIllegalSystemName() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/exception/NullArgumentExceptionTest.java

            // ## Arrange ##
            Locale.setDefault(Locale.JAPANESE);
            final NullArgumentException nullArgumentException = new NullArgumentException("hoge");
            assertThat(nullArgumentException.getArgName(), is("hoge"));
            assertThat(nullArgumentException.getMessage(), is("[ECL0008]argument[hoge] is null."));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testErrorMessage_en() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/lang/AnnotationUtilTest.java

    /**
     * @author higa
     */
    public class AnnotationUtilTest {
    
        /**
         * @throws Exception
         */
        @Hoge(bbb = "3")
        @Test
        public void testGetProperties() throws Exception {
            final Method m = ClassUtil.getMethod(getClass(), "testGetProperties");
            final Annotation anno = m.getAnnotation(Hoge.class);
            final Map<String, Object> props = AnnotationUtil.getProperties(anno);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java

            final FieldDesc hoge = beanDesc.getFieldDesc("HOGE");
            assertThat(hoge.getBeanDesc(), is(sameInstance(beanDesc)));
            assertThat(hoge.getField(), is(MyBean.class.getDeclaredField("HOGE")));
            assertThat(hoge.getFieldName(), is("HOGE"));
            assertThat(hoge.getFieldType(), is(sameClass(String.class)));
            assertThat(hoge.isPublic(), is(true));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/exception/SIllegalStateExceptionTest.java

         * .
         */
        @Test
        public void testSIllegalStateExceptionString() {
            final ClIllegalStateException clIllegalStateException = new ClIllegalStateException("hoge");
            assertThat(clIllegalStateException.getMessage(), is("hoge"));
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.exception.ClIllegalStateException#SIllegalStateException(java.lang.String, java.lang.Throwable)}
         * .
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/io/PropertiesUtilTest.java

            final Properties properties = new Properties();
            PropertiesUtil.load(properties, inputStream);
            assertThat(properties.getProperty("hoge"), is("ほげ"));
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.io.PropertiesUtil#load(java.util.Properties, java.io.InputStream)}
         * .
         */
        @Test
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/io/ResourceUtilTest.java

            assertNotNull(ResourceUtil.getResource("org/codelibs"));
            try {
                ResourceUtil.getResource("hoge", "xml");
                fail("2");
            } catch (final ResourceNotFoundRuntimeException e) {
                System.out.println(e);
                assertEquals("3", "hoge.xml", e.getPath());
            }
            System.out.println(ResourceUtil.getResource("."));
        }
    
        /**
         * @throws Exception
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/exception/SIndexOutOfBoundsExceptionTest.java

         * .
         */
        @Test
        public void testSIndexOutOfBoundsExceptionString() {
            final ClIndexOutOfBoundsException clIndexOutOfBoundsException = new ClIndexOutOfBoundsException("hoge");
            assertThat(clIndexOutOfBoundsException.getMessage(), is("hoge"));
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.7K bytes
    - Viewed (0)
Back to top