- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 200 for assertAll (0.11 sec)
-
guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
assertTrue(map.remove(one, three)); assertFalse(map.containsKey(one)); assertFalse(map.containsValue(one)); assertNull(map.putIfAbsent(two, three)); assertSame(three, map.remove(two)); assertNull(map.put(three, one)); assertNull(map.put(one, two)); assertThat(map).containsEntry(three, one); assertThat(map).containsEntry(one, two);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 12.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
assertEquals(0, segment.count); assertNull(segment.get(key, hash)); // cleared segment.setTableEntryForTesting(index, entry); segment.count++; assertEquals(1, segment.count); assertSame(oldValue, segment.get(key, hash)); oldValueRef.clear(); assertNull(segment.remove(key, hash)); assertEquals(0, segment.count); assertNull(segment.get(key, hash)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 35.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
assertEquals(0, segment.count); assertNull(segment.get(key, hash)); // cleared segment.setTableEntryForTesting(index, entry); segment.count++; assertEquals(1, segment.count); assertSame(oldValue, segment.get(key, hash)); oldValueRef.clear(); assertNull(segment.remove(key, hash)); assertEquals(0, segment.count); assertNull(segment.get(key, hash)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 35.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java
for (BoundType type : BoundType.values()) { assertNull(sortedMultiset.headMultiset(e0(), type).lastEntry()); assertNull(sortedMultiset.tailMultiset(e0(), type).firstEntry()); } } @CollectionSize.Require(ZERO) public void testEmptyMultisetLast() { assertNull(sortedMultiset.lastEntry()); assertThrows( NoSuchElementException.class, () -> assertNull(sortedMultiset.elementSet().last())); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 26.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/BigIntegerConversionUtilTest.java
/** * @author higa * */ public class BigIntegerConversionUtilTest extends TestCase { /** * @throws Exception */ public void testToBigIntegerForEmptyString() throws Exception { assertNull(BigIntegerConversionUtil.toBigInteger("")); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 960 bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SingletonImmutableTableTest.java
assertFalse(testTable.containsValue("")); } public void testGet() { assertEquals("blah", testTable.get('a', 1)); assertNull(testTable.get('a', 2)); assertNull(testTable.get('A', 1)); assertNull(testTable.get('A', 2)); } public void testIsEmpty() { assertFalse(testTable.isEmpty()); } public void testSize() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/EnumsTest.java
assertEquals(TestEnum.CHEETO, converter.convert("CHEETO")); assertEquals(TestEnum.HONDA, converter.convert("HONDA")); assertEquals(TestEnum.POODLE, converter.convert("POODLE")); assertNull(converter.convert(null)); assertNull(converter.reverse().convert(null)); } @GwtIncompatible // stringConverter public void testStringConverter_convertError() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 29 16:29:37 UTC 2024 - 8.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetTester.java
assertEquals("get(present) should return the associated value", v0(), get(k0())); } public void testGet_no() { assertNull("get(notPresent) should return null", get(k3())); } @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES) public void testGet_nullNotContainedButAllowed() { assertNull("get(null) should return null", get(null)); } @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 3K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheManualTest.java
Object one = new Object(); Object two = new Object(); assertNull(cache.getIfPresent(one)); stats = cache.stats(); assertEquals(1, stats.missCount()); assertEquals(0, stats.loadSuccessCount()); assertEquals(0, stats.loadExceptionCount()); assertEquals(0, stats.hitCount()); assertNull(cache.asMap().get(one)); assertFalse(cache.asMap().containsKey(one));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 5.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java
@CollectionSize.Require(ZERO) public void testEmptySetPollFirst() { assertNull(navigableSet.pollFirst()); } @CollectionSize.Require(ZERO) public void testEmptySetNearby() { assertNull(navigableSet.lower(e0())); assertNull(navigableSet.floor(e0())); assertNull(navigableSet.ceiling(e0())); assertNull(navigableSet.higher(e0())); } @CollectionFeature.Require(SUPPORTS_REMOVE)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.4K bytes - Viewed (0)