- Sort Score
- Num 10 results
- Language All
Results 1 - 9 of 9 for testEmpty (0.08 seconds)
-
android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java
* * @author Patrick Costello * @author Kurt Alfred Kluever */ @NullUnmarked public class Crc32cHashFunctionTest extends TestCase { public void testEmpty() { assertCrc(0, new byte[0]); } public void testZeros() { // Test 32 byte array of 0x00. byte[] zeros = new byte[32]; assertCrc(0x8a9136aa, zeros); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 6.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/EmptyCachesTest.java
/** * {@link LoadingCache} tests that deal with empty caches. * * @author mike nonemacher */ @NullUnmarked public class EmptyCachesTest extends TestCase { public void testEmpty() { for (LoadingCache<Object, Object> cache : caches()) { checkEmpty(cache); } } public void testInvalidate_empty() { for (LoadingCache<Object, Object> cache : caches()) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 11.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/QueuesTest.java
// asking to drain zero elements assertEquals(0, drain(q, ImmutableList.of(), 0, 10, MILLISECONDS, interruptibly)); } } public void testEmpty() throws Exception { for (BlockingQueue<Object> q : blockingQueues()) { checkEmpty(q); } } private void checkEmpty(BlockingQueue<Object> q) { assertDrained(q); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Nov 04 17:24:58 GMT 2025 - 12.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java
assertMapEquals(copy, "one", 1, "two", 2, "three", 3); assertThat(ImmutableBiMap.copyOf(copy)).isSameInstanceAs(copy); } public void testEmpty() { ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.of(); assertEquals(Collections.<String, Integer>emptyMap(), bimap); assertEquals(Collections.<Integer, String>emptyMap(), bimap.inverse()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 21.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/CharMatcherTest.java
matcher.setBits(bitset); for (int i = Character.MIN_VALUE; i <= Character.MAX_VALUE; i++) { assertEquals(matcher.matches((char) i), bitset.get(i)); } } public void testEmpty() throws Exception { doTestEmpty(CharMatcher.any()); doTestEmpty(CharMatcher.none()); doTestEmpty(is('a')); doTestEmpty(isNot('a')); doTestEmpty(anyOf("")); doTestEmpty(anyOf("x"));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 32.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/RangeTest.java
assertEquals(CLOSED, range.upperBoundType()); assertFalse(range.isEmpty()); assertThat(range.toString()).isEqualTo("[4..4]"); reserializeAndAssert(range); } public void testEmpty1() { Range<Integer> range = Range.closedOpen(4, 4); assertFalse(range.contains(3)); assertFalse(range.contains(4)); assertFalse(range.contains(5)); assertTrue(range.hasLowerBound());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 24.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/util/FieldConfigsTest.java
import org.apache.groovy.util.Maps; import org.codelibs.fess.unit.UnitFessTestCase; import org.junit.jupiter.api.Test; public class FieldConfigsTest extends UnitFessTestCase { @Test public void test_empty() { final FieldConfigs fieldConfigs = new FieldConfigs(Collections.emptyMap()); assertTrue(fieldConfigs.getConfig("test").isEmpty()); } @Test public void test_values() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 3.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/RangeTest.java
assertEquals(CLOSED, range.upperBoundType()); assertFalse(range.isEmpty()); assertThat(range.toString()).isEqualTo("[4..4]"); reserializeAndAssert(range); } public void testEmpty1() { Range<Integer> range = Range.closedOpen(4, 4); assertFalse(range.contains(3)); assertFalse(range.contains(4)); assertFalse(range.contains(5)); assertTrue(range.hasLowerBound());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 24.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java
anotherUser.setName("another"); FessUserBean anotherBean = new FessUserBean(anotherUser); assertSame(anotherUser, anotherBean.getFessUser()); } @Test public void test_empty() { // Test empty user bean creation FessUserBean emptyBean = FessUserBean.empty(); assertNotNull(emptyBean); // Test getUserId returns EMPTY_USER_ID
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.8K bytes - Click Count (0)