Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for Jest (0.15 sec)

  1. src/test/java/org/codelibs/core/convert/TimeConversionUtilTest.java

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

            assertThat(map.indexOf(null), is(0));
            assertThat(map.indexOf("test3"), is(-1));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGet() throws Exception {
            assertThat(map.get("1"), is("test"));
            assertThat(map.get(null), is(nullValue()));
            assertThat(map.get("test3"), is(nullValue()));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/collection/CollectionsUtilTest.java

    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.HashMap;
    
    import org.junit.Test;
    
    /**
     * @author wyukawa
     *
     */
    public class CollectionsUtilTest {
    
        /**
         * Test method for
         * {@link org.codelibs.core.collection.CollectionsUtil#isEmpty(java.util.Collection)}
         * .
         */
        @Test
        public void testIsEmptyCollectionOfQ() {
            Collection<String> c = null;
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/lang/MethodUtilTest.java

    import static org.junit.Assert.assertThat;
    
    import java.lang.reflect.Method;
    import java.util.List;
    import java.util.Map;
    
    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class MethodUtilTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testIsEqualsMethod() throws Exception {
            final Method equalsMethod = ClassUtil.getMethod(getClass(), "equals", Object.class);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/net/MimeTypeUtilTest.java

    import org.junit.Rule;
    import org.junit.Test;
    import org.junit.rules.ExpectedException;
    
    /**
     * @author shot
     */
    public class MimeTypeUtilTest {
    
        /**
         * @see org.junit.rules.ExpectedException
         */
        @Rule
        public ExpectedException exception = ExpectedException.none();
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetFromStream() throws Exception {
    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)
  6. src/test/java/org/codelibs/core/convert/BinaryConversionUtilTest.java

    import org.junit.Rule;
    import org.junit.Test;
    import org.junit.rules.ExpectedException;
    
    /**
     * @author wyukawa
     *
     */
    public class BinaryConversionUtilTest {
    
        /**
         * @see org.junit.rules.ExpectedException
         */
        @Rule
        public ExpectedException exception = ExpectedException.none();
    
        /**
         * Test method for
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/text/TokenizerTest.java

     */
    package org.codelibs.core.text;
    
    import static org.hamcrest.CoreMatchers.is;
    import static org.junit.Assert.assertThat;
    
    import org.junit.Test;
    
    /**
     * @author higa
     *
     */
    public class TokenizerTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testEOF() throws Exception {
            final Tokenizer tokenizer = new Tokenizer("");
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/convert/CalendarConversionUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToCalendar() throws Exception {
            final Date date = new Date();
            final Calendar cal = CalendarConversionUtil.toCalendar(date);
            assertEquals(date, cal.getTime());
        }
    
        /**
         *
         * @throws Exception
         */
        @Test
        public void testLocalize() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java

    import org.codelibs.core.beans.factory.BeanDescFactory;
    import org.codelibs.core.exception.MethodNotFoundRuntimeException;
    import org.junit.Test;
    
    /**
     * @author higa
     * @author manhole
     */
    public class BeanDescImplTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testPropertyDesc() 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)
  10. src/test/java/org/codelibs/core/beans/converter/DateConverterTest.java

    import static org.junit.Assert.assertThat;
    
    import java.sql.Timestamp;
    import java.util.Date;
    
    import org.junit.Test;
    
    /**
     * @author higa
     *
     */
    public class DateConverterTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetAsObjectAndGetAsString() throws Exception {
            final DateConverter converter = new DateConverter("yyyy/MM/dd");
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.6K bytes
    - Viewed (0)
Back to top