Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testFieldType (1.05 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 Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 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 Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 13.9K bytes
    - Viewed (0)
Back to top