Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testFieldType (0.13 sec)

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

    import org.junit.Test;
    
    /**
     * @author koichik
     */
    public class ParameterizedClassDescFactoryTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testFieldType() throws Exception {
            final Map<TypeVariable<?>, Type> map = ParameterizedClassDescFactory.getTypeVariables(Hoge.class);
            final Field field = Hoge.class.getField("foo");
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java

            assertThat(pd.getPropertyName(), is("ggg"));
            assertThat(pd.getPropertyType(), is(sameClass(String.class)));
        }
    
        /**
         * @throws Exception
         */
        public void testFieldType() throws Exception {
            BeanDesc bd = BeanDescFactory.getBeanDesc(Hoge.class);
            PropertyDesc pd = bd.getPropertyDesc("foo");
            assertThat(pd.isParameterized(), is(true));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top