- Sort Score
- Result 10 results
- Languages All
Results 11 - 19 of 19 for testIsEmpty (0.15 sec)
-
android/guava-tests/test/com/google/common/collect/AbstractTableReadTest.java
assertNull(table.get("bar", 3)); assertNull(table.get("cat", 1)); assertNull(table.get("foo", null)); assertNull(table.get(null, 1)); assertNull(table.get(null, null)); } public void testIsEmpty() { assertTrue(table.isEmpty()); table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); assertFalse(table.isEmpty()); } public void testSize() { assertSize(0);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 6.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayUtilTest.java
final String[] newArray = ArrayUtil.remove(array, "444"); assertThat(newArray, is(sameInstance(array))); } /** * */ @Test public void testIsEmpty() { assertTrue(ArrayUtil.isEmpty((Object[]) null)); assertTrue(ArrayUtil.isEmpty(new Object[] {})); assertFalse(ArrayUtil.isEmpty(new Object[] { "" }));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 10.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
assertThat(map.size(), equalTo(3)); map.put("3", "test3"); assertThat(map.size(), equalTo(4)); } /** * @throws Exception */ @Test public void testIsEmpty() throws Exception { assertThat(map.isEmpty(), is(not(true))); map.clear(); assertThat(map.isEmpty(), is(true)); } /** * @throws Exception */ @Test
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 10.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/StringUtilTest.java
assertFalse(StringUtil.isNumber("01234abcdef")); assertFalse(StringUtil.isNumber("abcdef01234")); } /** * */ @Test public void testIsEmpty() { assertTrue(StringUtil.isEmpty(null)); assertTrue(StringUtil.isEmpty("")); assertFalse(StringUtil.isEmpty(" ")); } /** * */ @Test
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 12K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
assertThat(ImmutableDoubleArray.of(0, 1, 3).subArray(1, 1).length()).isEqualTo(0); assertThat(ImmutableDoubleArray.of(0, 1, 3).subArray(1, 2).length()).isEqualTo(1); } public void testIsEmpty() { assertThat(ImmutableDoubleArray.of().isEmpty()).isTrue(); assertThat(ImmutableDoubleArray.of(0).isEmpty()).isFalse(); assertThat(ImmutableDoubleArray.of(0, 1, 3).isEmpty()).isFalse();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 21.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java
assertThat(ImmutableIntArray.of(0, 1, 3).subArray(1, 1).length()).isEqualTo(0); assertThat(ImmutableIntArray.of(0, 1, 3).subArray(1, 2).length()).isEqualTo(1); } public void testIsEmpty() { assertThat(ImmutableIntArray.of().isEmpty()).isTrue(); assertThat(ImmutableIntArray.of(0).isEmpty()).isFalse(); assertThat(ImmutableIntArray.of(0, 1, 3).isEmpty()).isFalse();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 20.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
assertThat(ImmutableDoubleArray.of(0, 1, 3).subArray(1, 1).length()).isEqualTo(0); assertThat(ImmutableDoubleArray.of(0, 1, 3).subArray(1, 2).length()).isEqualTo(1); } public void testIsEmpty() { assertThat(ImmutableDoubleArray.of().isEmpty()).isTrue(); assertThat(ImmutableDoubleArray.of(0).isEmpty()).isFalse(); assertThat(ImmutableDoubleArray.of(0, 1, 3).isEmpty()).isFalse();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 21.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FluentIterableTest.java
IllegalArgumentException.class, () -> { FluentIterable<String> unused = FluentIterable.from(Lists.newArrayList("a", "b", "c")).limit(-1); }); } public void testIsEmpty() { assertTrue(FluentIterable.<String>from(Collections.<String>emptyList()).isEmpty()); assertFalse(FluentIterable.<String>from(Lists.newArrayList("foo")).isEmpty()); } public void testToList() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 30.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IterablesTest.java
} public void testLimit_illegalArgument() { List<String> list = newArrayList("a", "b", "c"); assertThrows(IllegalArgumentException.class, () -> Iterables.limit(list, -1)); } public void testIsEmpty() { Iterable<String> emptyList = emptyList(); assertTrue(Iterables.isEmpty(emptyList)); Iterable<String> singletonList = singletonList("foo"); assertFalse(Iterables.isEmpty(singletonList)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 19:12:33 UTC 2024 - 45K bytes - Viewed (0)