- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 508 for assertNull (0.07 sec)
-
android/guava-tests/test/com/google/common/collect/AbstractRangeSetTest.java
expectedSpan = expectedSpan.span(itr.next()); } } try { Range<C> span = rangeSet.span(); assertEquals(expectedSpan, span); } catch (NoSuchElementException e) { assertNull(expectedSpan); } // test that asDescendingSetOfRanges is the reverse of asRanges assertEquals(Lists.reverse(asRanges), ImmutableList.copyOf(rangeSet.asDescendingSetOfRanges())); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/QueuePollTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class QueuePollTester<E> extends AbstractQueueTester<E> { @CollectionFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(ZERO) public void testPoll_empty() { assertNull("emptyQueue.poll() should return null", getQueue().poll()); expectUnchanged(); } @CollectionFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(ONE) public void testPoll_size1() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java
@Override protected ConcurrentMap<K, V> getMap() { return (ConcurrentMap<K, V>) super.getMap(); } @MapFeature.Require(SUPPORTS_PUT) public void testPutIfAbsent_supportedAbsent() { assertNull("putIfAbsent(notPresent, value) should return null", putIfAbsent(e3())); expectAdded(e3()); } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 4.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/ByteConversionUtilTest.java
assertEquals(0, ByteConversionUtil.toPrimitiveByte("")); } /** * @throws Exception */ public void testToByteForEmptyString() throws Exception { assertNull(ByteConversionUtil.toByte("")); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 1.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/DoubleConversionUtilTest.java
assertEquals(0, DoubleConversionUtil.toPrimitiveDouble(""), 0); } /** * @throws Exception */ public void testToDoubleForEmptyString() throws Exception { assertNull(DoubleConversionUtil.toDouble("")); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/FloatConversionUtilTest.java
assertEquals(0, FloatConversionUtil.toPrimitiveFloat(""), 0); } /** * @throws Exception */ public void testToFloatForEmptyString() throws Exception { assertNull(FloatConversionUtil.toFloat("")); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.junit.jupiter.api.Assertions.fail; import static org.mockito.Mockito.mock;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.doAnswer;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java
final ResponseData responseData = fsClient.doHead("file:" + path); assertNotNull(responseData.getLastModified()); assertTrue(responseData.getLastModified().getTime() < new Date().getTime()); assertNull(responseData.getResponseBody()); } public void test_doHead_dir() throws Exception { final File file = ResourceUtil.getResourceAsFile("test"); String path = file.getAbsolutePath();
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0)