Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for expected (0.18 sec)

  1. src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java

            assertThat(beanDesc.hasMethodDesc("getAaa"), is(true));
            assertThat(beanDesc.hasMethodDesc("getaaa"), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test(expected = MethodNotFoundRuntimeException.class)
        public void testGetMethodDesc() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 13.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/lang/FieldUtilTest.java

            final Field field = getClass().getField("STRING_DATA");
            assertThat(FieldUtil.getString(field), is(STRING_DATA));
        }
    
        /**
         * @throws Exception
         */
        @Test(expected = ClIllegalArgumentException.class)
        public void testSet() throws Exception {
            final Field field = getClass().getField("intField");
            FieldUtil.set(field, this, "abc");
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/lang/ClassUtilTest.java

        /** */
        public static final String HOGE = "hoge";
    
        /**
         * @throws Exception
         */
        @Test(expected = EmptyArgumentException.class)
        public void testForName_EmptyName() throws Exception {
            ClassUtil.forName("");
        }
    
        /**
         * @throws Exception
         */
        @Test(expected = EmptyArgumentException.class)
        public void testGetField_EmptyName() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/beans/impl/MethodDescTest.java

            assertThat(foo.isAbstract(), is(not(true)));
            assertThat(foo.invoke(new MyBean()), is((Object) "hoge"));
        }
    
        /**
         * @throws Exception
         */
        @Test(expected = MethodNotStaticRuntimeException.class)
        public void testFoo_InvokeStatic() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final MethodDesc foo = beanDesc.getMethodDesc("foo");
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

            assertArrayEquals(new Integer[] { new Integer(1), new Integer(5), new Integer(2) }, a);
        }
    
        /**
         * @throws Exception
         */
        @Test(expected = IllegalArgumentException.class)
        public void testToObjectArray_NoArray() throws Exception {
            ArrayUtil.toObjectArray("a");
        }
    
        /**
         * @throws Exception
         */
        @Test
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java

        @Test(expected = IllegalPropertyRuntimeException.class)
        public void testGetValue_notReableWithField() throws Exception {
            final MyBean myBean = new MyBean();
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final PropertyDesc propDesc = beanDesc.getPropertyDesc("kkk");
            propDesc.getValue(myBean);
        }
    
        /**
         * @throws Exception
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java

         * @throws Exception
         */
        @Test(expected = FieldNotStaticRuntimeException.class)
        public void testAaa_GetStaticFieldValue() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final FieldDesc aaa = beanDesc.getFieldDesc("aaa");
            aaa.getStaticFieldValue();
        }
    
        /**
         * @throws Exception
         */
        @Test(expected = FieldNotStaticRuntimeException.class)
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/lang/ClassIteratorTest.java

            assertThat(it.next(), is(sameClass(Number.class)));
    
            assertThat(it.hasNext(), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test(expected = ClIllegalArgumentException.class)
        public void testInterface() throws Exception {
            new ClassIterator(Iterable.class);
        }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java

            assertThat(itr.hasNext(), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test(expected = NullArgumentException.class)
        public void testConstructorWithNull() throws Exception {
            new EnumerationIterator<String>((Enumeration<String>) null);
        }
    
        /**
         * @throws Exception
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java

                    is((Object) "19700101"));
        }
    
        /**
         * @throws Exception
         */
        @Test(expected = ConverterRuntimeException.class)
        public void testConvertValue_throwable() throws Exception {
            new CopyOptions().converter(new NumberConverter("##0")).convertValue("a", "aaa", Integer.class);
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 12K bytes
    - Viewed (0)
Back to top