Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testGetBeanDesc (0.07 sec)

  1. src/test/java/org/codelibs/core/beans/factory/BeanDescFactoryTest.java

    import org.codelibs.core.beans.BeanDesc;
    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class BeanDescFactoryTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetBeanDesc() throws Exception {
            final BeanDesc beanDesc = BeanDescFactory.getBeanDesc(MyBean.class);
            assertThat(BeanDescFactory.getBeanDesc(MyBean.class), is(sameInstance(beanDesc)));
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java

            final MyDto dto = new MyDto();
            pd.setValue(dto, "ONE");
            assertEquals(MyEnum.ONE, dto.myEnum);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetBeanDesc() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final PropertyDesc propDesc = beanDesc.getPropertyDesc("URL");
            assertThat(propDesc.getBeanDesc(), is(notNullValue()));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top