Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for MyBean (0.07 sec)

  1. src/test/java/org/codelibs/core/beans/util/MyBean.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.beans.util;
    
    /**
     * @author higa
     */
    public class MyBean {
    
        /**
         *
         */
        public String aaa;
    
        /**
         *
         */
        public String bbb;
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 803 bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/beans/impl/MethodDescTest.java

        @Test
        public void testFoo() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final MethodDesc foo = beanDesc.getMethodDesc("foo");
            assertThat(foo, is(notNullValue()));
            assertThat(foo.getBeanDesc(), is(sameInstance(beanDesc)));
            assertThat(foo.getMethod(), is(MyBean.class.getMethod("foo")));
            assertThat(foo.getMethodName(), is("foo"));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/beans/impl/ConstructorDescTest.java

            assertThat(ctor.getParameterTypes().length, is(1));
            assertThat(ctor.isPublic(), is(true));
            final MyBean myBean = ctor.newInstance("hoge");
            assertThat(myBean, is(notNullValue()));
            assertThat(myBean.s, is("hoge"));
        }
    
        /**
         */
        public static class MyBean {
            /** */
            public String s;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java

            assertThat(parameterizedClassDesc.isParameterizedClass(), is(true));
            assertThat(parameterizedClassDesc.getRawClass(), is(sameClass(Class.class)));
            final MyBean myBean = new MyBean();
            aaa.setFieldValue(myBean, String.class);
            assertThat(aaa.getFieldValue(myBean), is(sameClass(String.class)));
        }
    
        /**
         * @throws Exception
         */
        @Test(expected = FieldNotStaticRuntimeException.class)
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/beans/factory/BeanDescFactoryTest.java

            final BeanDesc beanDesc = BeanDescFactory.getBeanDesc(MyBean.class);
            assertThat(BeanDescFactory.getBeanDesc(MyBean.class), is(sameInstance(beanDesc)));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testClear() throws Exception {
            final BeanDesc beanDesc = BeanDescFactory.getBeanDesc(MyBean.class);
            BeanDescFactory.clear();
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top