- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for equalTo (0.13 sec)
-
src/test/java/org/codelibs/core/collection/ArrayIteratorTest.java
* */ @Test public void testNext() { final ArrayIterator<String> itr = new ArrayIterator<String>("a", "b", "c"); assertThat(itr.next(), equalTo("a")); assertThat(itr.next(), equalTo("b")); assertThat(itr.next(), equalTo("c")); } /** * */ @Test public void testNoSuchElement() { exception.expect(NoSuchElementException.class);
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/message/MessageFormatterTest.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.core.message; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.not; import static org.hamcrest.CoreMatchers.notNullValue; import static org.junit.Assert.assertThat; import java.util.Locale;
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/Tuple5.java
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 6.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/Tuple4.java
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 5.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/ResourceTraversalTest.java
assertThat(path, path.startsWith("junit") || path.startsWith("org/junit") || path.startsWith("org/hamcrest") || path.startsWith("META-INF/") || path.equals("LICENSE-junit.txt"), is(true)); assertThat(is, is(notNullValue())); count++; } finally { CloseableUtil.close(is); } });
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java
} else if (methodName.startsWith("is")) { if (m.getParameterTypes().length != 0 || !m.getReturnType().equals(Boolean.TYPE) && !m.getReturnType().equals(Boolean.class)) { continue; } final String propertyName = StringUtil.decapitalize(methodName.substring(2)); setupReadMethod(m, propertyName);
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 26.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/AnnotationUtil.java
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
@SuppressWarnings("unchecked") Map<String, String> copy = (ArrayMap<String, String>) map.clone(); assertThat(map.equals(copy), is(true)); assertThat(map.equals(null), is(not(true))); map.put("3", "test3"); assertThat(map.equals(copy), is(not(true))); } /** * @throws Exception */ @Test public void testToString() throws Exception {
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 10.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/ArrayUtil.java
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 42.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/StringUtilTest.java
public void testEquals() throws Exception { assertEquals("1", true, StringUtil.equals("a", "a")); assertEquals("2", true, StringUtil.equals(null, null)); assertEquals("3", false, StringUtil.equals("a", null)); assertEquals("4", false, StringUtil.equals(null, "a")); assertEquals("5", false, StringUtil.equals("a", "b")); } /** * @throws Exception */ @Test
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 12K bytes - Viewed (0)