- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 67 for assertThat (0.18 sec)
-
src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java
assertThat(hoge.getBeanDesc(), is(sameInstance(beanDesc))); assertThat(hoge.getField(), is(MyBean.class.getDeclaredField("HOGE"))); assertThat(hoge.getFieldName(), is("HOGE")); assertThat(hoge.getFieldType(), is(sameClass(String.class))); assertThat(hoge.isPublic(), is(true)); assertThat(hoge.isStatic(), is(true)); assertThat(hoge.isFinal(), is(true));
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java
assertThat(option.prefix, is("search_")); } /** * @throws Exception */ @Test public void testBeanDelimiter() throws Exception { final CopyOptions option = new CopyOptions(); assertThat(option.beanDelimiter('#'), is(sameInstance(option))); assertThat(option.beanDelimiter, is('#')); } /**
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 12K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/ClassIteratorTest.java
assertThat(it.hasNext(), is(true)); assertThat(it.next(), is(sameClass(Integer.class))); assertThat(it.hasNext(), is(true)); assertThat(it.next(), is(sameClass(Number.class))); assertThat(it.hasNext(), is(true)); assertThat(it.next(), is(sameClass(Object.class))); assertThat(it.hasNext(), is(not(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) -
src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java
*/ // @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())); } /** * @throws Exception */ @Test
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) -
src/test/java/org/codelibs/core/io/ClassTraversalTest.java
if (count < 10) { System.out.println(ClassUtil.concatName(packageName, shortClassName)); } assertThat(packageName, is(notNullValue())); assertThat(shortClassName, is(notNullValue())); assertThat(packageName, packageName.startsWith("junit") || packageName.startsWith("org.junit") || packageName.startsWith("org.hamcrest"),
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) -
src/test/java/org/codelibs/core/io/LineIteratorTest.java
final LineIterator it = new LineIterator(reader); assertThat(it.hasNext(), is(true)); assertThat(it.next(), is("aaa")); assertThat(it.hasNext(), is(true)); assertThat(it.next(), is("bbb")); assertThat(it.hasNext(), is(true)); assertThat(it.next(), is("ccc")); assertThat(it.hasNext(), is(not(true))); } /** * @throws Exception */
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) -
src/test/java/org/codelibs/core/collection/IndexedIteratorTest.java
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) -
src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java
final BeanDesc beanDesc = new BeanDescImpl(moge.getClass()); final PropertyDesc propDesc = beanDesc.getPropertyDesc("name"); assertThat(propDesc, is(notNullValue())); assertThat((String) propDesc.getValue(moge), is("moge")); } /** * */ public static class MyBean { private int fff_; private BigDecimal ggg_;
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) -
src/test/java/org/codelibs/core/lang/StringUtilTest.java
*/ @Test public void testDefaultString() { assertThat(StringUtil.defaultString(null), is("")); assertThat(StringUtil.defaultString(""), is("")); assertThat(StringUtil.defaultString("aaa"), is("aaa")); } /** * */ @Test public void testDefaultStringDefaultStr() { assertThat(StringUtil.defaultString(null, "NULL"), is("NULL"));
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 12K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java
vector.add("a"); final EnumerationIterator<String> itr = new EnumerationIterator<String>(vector.elements()); assertThat(itr.hasNext(), is(true)); assertThat(itr.next(), is("a")); assertThat(itr.hasNext(), is(not(true))); } /** * @throws Exception */ @Test public void testRemove() throws Exception {
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)