Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for nullValue (0.18 sec)

  1. src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java

     */
    package org.codelibs.core.collection;
    
    import static org.hamcrest.CoreMatchers.is;
    import static org.hamcrest.CoreMatchers.not;
    import static org.hamcrest.CoreMatchers.nullValue;
    import static org.junit.Assert.assertThat;
    
    import java.util.HashMap;
    import java.util.Map;
    
    import org.junit.After;
    import org.junit.Before;
    import org.junit.Test;
    
    /**
     * @author higa
     */
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/lang/AnnotationUtilTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.lang;
    
    import static org.hamcrest.CoreMatchers.is;
    import static org.hamcrest.CoreMatchers.nullValue;
    import static org.junit.Assert.assertThat;
    
    import java.lang.annotation.Annotation;
    import java.lang.reflect.Method;
    import java.util.Map;
    
    import org.junit.Test;
    
    /**
     * @author higa
     */
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/lang/ClassUtilTest.java

            assertThat(ClassUtil.concatName("", "bbb"), is("bbb"));
            assertThat(ClassUtil.concatName(null, null), is(nullValue()));
            assertThat(ClassUtil.concatName(null, ""), is(nullValue()));
            assertThat(ClassUtil.concatName("", null), is(nullValue()));
            assertThat(ClassUtil.concatName("", ""), is(nullValue()));
        }
    
        /**
         *
         */
        @Test
        public void testGetResourcePath() {
    Java
    - Registered: Fri Apr 26 20:58:09 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/factory/ParameterizedClassDescFactoryTest.java

            assertThat(args.length, is(2));
            assertThat(args[0].getRawClass(), is(sameClass(String.class)));
            assertThat(args[0].getArguments(), is(nullValue()));
            assertThat(args[1].getRawClass(), is(sameClass(Integer.class)));
            assertThat(args[1].getArguments(), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testMethodReturnType() throws Exception {
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/lang/FieldUtilTest.java

     */
    package org.codelibs.core.lang;
    
    import static org.codelibs.core.TestUtil.sameClass;
    import static org.hamcrest.CoreMatchers.is;
    import static org.hamcrest.CoreMatchers.nullValue;
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertThat;
    
    import java.lang.reflect.Field;
    import java.util.Collection;
    import java.util.Map;
    
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

            list.addLast(null);
            list.addLast("1");
            list.addLast("2");
            list.clear();
            assertThat(list.size(), is(0));
            assertThat(list.getFirstEntry(), is(nullValue()));
            assertThat(list.getLastEntry(), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetEntry() throws Exception {
            list.addLast("1");
            list.addLast("2");
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

            src.ccc = "ccc";
            src.eee = "1";
            final DestBean dest = new DestBean();
            BeanUtil.copyBeanToBean(src, dest);
            assertThat(dest.bbb, is(nullValue()));
            assertThat(dest.ccc, is("ccc"));
            assertThat(dest.ddd, is(nullValue()));
            assertThat(dest.eee, is(1));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 34.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java

         */
        @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 Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/lang/MethodUtilTest.java

     */
    package org.codelibs.core.lang;
    
    import static org.codelibs.core.TestUtil.sameClass;
    import static org.hamcrest.CoreMatchers.is;
    import static org.hamcrest.CoreMatchers.not;
    import static org.hamcrest.CoreMatchers.nullValue;
    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
     */
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java

        //    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()));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11.4K bytes
    - Viewed (0)
Back to top