Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 77 for TEST (0.15 sec)

  1. src/test/java/org/codelibs/core/lang/StringUtilTest.java

    import static org.junit.Assert.assertThat;
    import static org.junit.Assert.assertTrue;
    
    import java.lang.reflect.Method;
    
    import org.junit.Test;
    
    /**
     * @author higa
     *
     */
    public class StringUtilTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testReplace() throws Exception {
            assertEquals("1", "1bc45", StringUtil.replace("12345", "23", "bc"));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 12K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java

            LocaleUtil.setDefault(null);
        }
    
        /**
         * @throws Exception
         */
        //    @Test
        //    public void testToDate_Null() throws Exception {
        //        assertThat(toDate(null, Locale.JAPAN), is(nullValue()));
        //    }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToDate_EmptyString() throws Exception {
            assertThat(toDate("", Locale.JAPAN), is(nullValue()));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java

    import org.codelibs.core.beans.converter.NumberConverter;
    import org.codelibs.core.exception.ConverterRuntimeException;
    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class CopyOptionsTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testIncludes() throws Exception {
            final CopyOptions option = new CopyOptions();
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 12K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java

    import org.codelibs.core.beans.impl.sub.MogeBeanFactory;
    import org.codelibs.core.exception.IllegalPropertyRuntimeException;
    import org.junit.Test;
    
    /**
     * @author higa
     *
     */
    public class PropertyDescImplTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testSetValue() throws Exception {
            final MyBean myBean = new MyBean();
    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)
  5. src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java

    import org.junit.Rule;
    import org.junit.Test;
    import org.junit.rules.ExpectedException;
    
    /**
     * @author shot
     * @author manhole
     */
    public class EnumerationIteratorTest {
    
        /**
         * @see org.junit.rules.ExpectedException
         */
        @Rule
        public ExpectedException exception = ExpectedException.none();
    
        /**
         *
         */
        @Test
        public void testEnumerationIterator() {
    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)
  6. src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java

    import org.codelibs.core.beans.ParameterizedClassDesc;
    import org.codelibs.core.exception.FieldNotStaticRuntimeException;
    import org.junit.Test;
    
    /**
     * @author koichik
     */
    public class FieldDescImplTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testHOGE() 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
    - 5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/lang/ClassIteratorTest.java

    import static org.junit.Assert.assertThat;
    
    import org.codelibs.core.exception.ClIllegalArgumentException;
    import org.junit.Test;
    
    /**
     * @author koichik
     *
     */
    public class ClassIteratorTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            final ClassIterator it = new ClassIterator(Integer.class);
            assertThat(it.hasNext(), is(true));
    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)
  8. src/test/java/org/codelibs/core/collection/IndexedIteratorTest.java

    import static org.junit.Assert.assertThat;
    
    import java.io.StringReader;
    import java.util.List;
    
    import org.junit.Test;
    
    /**
     * @author wyukawa
     *
     */
    public class IndexedIteratorTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            final List<String> list = newArrayList();
            list.add("aaa");
            list.add("bbb");
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/io/LineIteratorTest.java

    import static org.hamcrest.CoreMatchers.not;
    import static org.junit.Assert.assertThat;
    
    import java.io.StringReader;
    
    import org.junit.Test;
    
    /**
     * @author koichik
     */
    public class LineIteratorTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            final StringReader reader = new StringReader("aaa\nbbb\nccc\n");
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/io/ClassTraversalTest.java

    import org.junit.Before;
    import org.junit.Test;
    
    /**
     * @author taedium
     */
    public class ClassTraversalTest {
    
        private static int count = 0;
    
        /**
         * @throws Exception
         */
        @Before
        public void setUp() throws Exception {
            count = 0;
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testForEachJarFile() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.1K bytes
    - Viewed (0)
Back to top