Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for null_value (0.15 sec)

  1. src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java

            sourceMap.put("string", "test");
            sourceMap.put("integer", 42);
            sourceMap.put("long", 100L);
            sourceMap.put("double", 3.14);
            sourceMap.put("boolean", false);
            sourceMap.put("null_value", null);
            sourceMap.put("nested", nestedMap);
    
            event.setSourceMap(sourceMap);
    
            Map<String, Object> result = event.toSource();
            assertEquals("test", result.get("string"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  2. 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
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  3. 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 {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  4. 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
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/collection/LruHashMapTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.collection;
    
    import static org.hamcrest.CoreMatchers.is;
    import static org.hamcrest.CoreMatchers.nullValue;
    import static org.junit.Assert.assertThat;
    
    import java.util.Iterator;
    
    import org.junit.Test;
    
    /**
     * @author taichi
     */
    public class LruHashMapTest {
    
        /**
         * @throws Exception
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  6. 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() {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java

    import static org.codelibs.core.TestUtil.sameClass;
    import static org.hamcrest.CoreMatchers.is;
    import static org.hamcrest.CoreMatchers.not;
    import static org.hamcrest.CoreMatchers.notNullValue;
    import static org.hamcrest.CoreMatchers.nullValue;
    import static org.junit.Assert.assertThat;
    
    import java.math.BigDecimal;
    import java.util.Date;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    
    import org.codelibs.core.beans.BeanDesc;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/collection/ArrayUtilTest.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.hamcrest.CoreMatchers.sameInstance;
    import static org.junit.Assert.assertArrayEquals;
    import static org.junit.Assert.assertFalse;
    import static org.junit.Assert.assertThat;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java

        assertThrows(NullPointerException.class, () -> ImmutableClassToInstanceMap.copyOf(nullKey));
    
        Map<? extends Class<? extends Number>, Number> nullValue = singletonMap(Number.class, null);
        assertThrows(NullPointerException.class, () -> ImmutableClassToInstanceMap.copyOf(nullValue));
      }
    
      public void testCopyOf_imap_empty() {
        Map<Class<?>, Object> in = emptyMap();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  10. 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
     */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 5.5K bytes
    - Viewed (0)
Back to top