- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 36 for nullValue (0.07 seconds)
-
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
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Fri Jun 20 13:40:57 GMT 2025 - 34.5K bytes - Click Count (0) -
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() {
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 6.2K bytes - Click Count (0) -
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 {
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 4.4K bytes - Click Count (0) -
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 */ @TestCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 9.4K bytes - Click Count (0) -
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();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 31 20:00:15 GMT 2026 - 5.8K bytes - Click Count (0) -
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;
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Fri Jun 20 13:40:57 GMT 2025 - 13.9K bytes - Click Count (0) -
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 */
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 5.5K bytes - Click Count (0) -
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 ExceptionCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.7K bytes - Click Count (0) -
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
*/ @Test public void testGet() throws Exception { assertThat(map.get("1"), is("test")); assertThat(map.get(null), is(nullValue())); assertThat(map.get("test3"), is(nullValue())); assertThat(map.getAt(0), is(nullValue())); } /** * @throws Exception */ @Test public void testPut() throws Exception {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 10.7K bytes - Click Count (0) -
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");
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 8.3K bytes - Click Count (0)